I think that I need to use super generating functions but I am not sure if this is correct or where to find more information.
Let's say I have a few relations where each variable $x_i \in \{0,1\}$:
$x_1+x_2+x_3+x_4 = 1 \\ x_3+x_4+x_5+x_6 \neq 1$
I want to count all possible solutions. For a single constraint I know how to use a single generating function to count all possible solutions, however, how do I link several constraints that share variables?
For instance, in the example for $x_3,x_4$: Do I need to use two generating functions? If so, then how do I connect the constraints?
Clearly, this is just a very simple example. I am trying to understand the concept, not to solve this very simple case.