Im trying to work out whether the following clause is satisfiable:
{x, y},{x,¬y},{¬x, y},{¬x,¬y},{x, z},{x,¬z},{y, z},{y,¬z}
My basic understanding is to work this out, you must give each literal a true or false assignment to work out if each clause is satisfiable so:
x=1 y=1 z=1
{1,1}, {x,0}, {0,1}, {0,0}, {1,1}, {1,0}, {1,1}, {1,0}
Therefore the clause {x,y} and {x,z} are satisfiable?
I also heard you can switch the statement so:
x=1 y=0 z=1
This means {x,y} is not satisfiable.
If we changed z to 0 as well {x,z} would not be satisfiable. What really confuses me here is when the truth assignments are changed, neither clauses are satisfiable.
where am I going wrong?
Thanks in advance!
No. It is not satisfiable.
You can see this by focusing on a subset of the clauses. In particular: $$\{x, y\},\{x,¬y\},\{¬x, y\},\{¬x,¬y\}$$ Think of them as ordered pairs, $$(x, y),(x,¬y),(¬x, y),(¬x,¬y)$$ Notice that we have all $4$ possible clauses which can be formed from $x$ and $y$. Also, since they are all distinct clauses, any assignment of $0$ or $1$ to $x$ and $y$ will give distinct values for the $4$ ordered pairs.
Since there are $4$ possible ordered pairs of $0$'s and $1$'s (and our clauses must evaluate to $4$ distinct pairs), any assignment must take on all values from the set,
$$\{(0, 0),(0,1),(1, 0),(1,1)\}$$
Hence we must have $(0,0)$
In particular, it is not satisfiable.