can somebody tell me how to convert a formula to its corresponding clause form step by stepi?
$¬(∀x∃y P(x,y) → (∀y∃z ¬Q(x,z)∧∀y¬∀z R(y,z))$
i know the formua has to be transformed into cnf fisrt im a bit confused on the first step which is to transform the original formula to rectified form. my teacher told me the only thing i have to do is to check if there is any same variable with quantifiers. then rename it. is it true? can somebody answer the above question step by step so i can watch and learn??
See Mordechai Ben-Ari, Mathematical Logic for Computer Science (3rd ed - 2012), page 174.
In order to get the CNF for a closed formula of f-o logic, we have to :
Now with your example : rename bound variables :
remove $\rightarrow$ [we have tu use the equivalence between : $p \rightarrow q$ and $\lnot p \lor q$] :
push $\lnot$ inwards [we have to use (more than one time) De Morgan laws and the equivalence between $\lnot \forall$ and $\exists \lnot$, etc. and, of course, double negation] :
and again :
Then we have to move the quantifiers upfront :