I am a little stumped on the concept of resolution, and want to clarify that something is correct, primarily negation.
if an expression in CNF is ${x = (a \lor b) \land (\lnot a \lor \lnot b)}$
It's negation should be: ${\lnot x = (\lnot a \land \lnot b \land a \land b)}$
I got that as follows:
${\lnot x = \lnot(a \lor b) \land \lnot(\lnot a \lor \lnot b)}$
${\lnot x = (\lnot a \land \lnot b) \land (a \land b)}$
${\lnot x = (\lnot a \land \lnot b \land a \land b)}$
Is this correct, because I am using this as the basis for something in a larger assignment. Which involves something I read here: http://logic.stanford.edu/classes/cs157/2009/notes/chap05.html about halfway down the page is this example:
${\frac{(p, q)\\(\lnot p, \lnot q)}{(p, \lnot p)\\(q, \lnot q)}}$
where () denotes a cluase and the --- denotes the resolution from above to below. From my understanding, they have taken a pair of clauses above that are satisfiable, and made a pair of clauses that are valid (satisfiable under any assignment) below, have I misunderstood this?
Thanks.