I have the following clauses:
1. {P,Q,~R}
2. {~P,R}
3. {P,~Q,S}
4. {~P,~Q,~R}
5. {P,~S}
I have to prove the satisfiability using DP and DPLL separately. The problem is that I am getting different results for each algorithm. With DP:
1. {P,Q,~R}
2. {~P,R}
3. {P,~Q,S}
4. {~P,~Q,~R}
5. {P,~S}
6. {Q} from 1 and 2
2. {~P,R}
3'. {P,S}
4'. {~P,~R}
5. {P,~S}
7. {P} from 3' and 5
2. {R}
4'. {~R}
8. {}
So it is unsatisfiable. But with DPLL:
1. {P,Q,~R}
2. {~P,R}
3. {P,~Q,S}
4. {~P,~Q,~R}
5. {P,~S}
6. {P} split(P)
2'. {R}
4'. {Q,~R}
7.{Q}
Which would mean it is satisfiable... What did I do wrong?
question from:https://stackoverflow.com/questions/65857819/satisfiability-with-dp-and-dpll-yields-different-results