Convert the following formula into CNF with Tseitin’s transformation:
将以下命题公式转化为CNF范式: (P→(¬Q∧R))∧(P→¬Q)
The original formula is equivalence to (¬P∨(¬Q∧R))∧(¬P∨¬Q)
Tseitin算法开始
So we have T1↔T2∧T3 T2↔¬P∨T4 T3↔¬P∨¬Q T4↔¬Q∧R
Thus F1:(¬T1∨T2)∧(¬T1∨T3)∧(T1∨¬T2∨¬T3) F2:(¬T2∨¬P∨T4)∧(T2∨P)∧(T2∨¬T4) F3:(¬T3∨¬P∨¬Q)∧(T3∨P)∧(T3∨Q) F4:(¬T4∨¬Q)∧(¬T4∨R)∧(T4∨Q∨¬R)
Finally, the original formula is equivalent in satisfiability with T1∧F1∧F2∧F3∧F4