Lecture 8: First-order predicate logic
- Prof. Julia Hockenmaier
juliahmr@illinois.edu
- http://cs.illinois.edu/fa11/cs440
- CS440/ECE448: Intro to Artificial Intelligence
Back to resolution in propositional logic
The resolution rule
Unit resolution: p1∨… ∨ pi-1∨ pi ∨ pi+1∨… ∨ pn ¬ pi
!!!!!!!!!!!!!!!!!!!!!!!!!!!!
p1∨… ∨ pi-1 ∨ pi+1∨… ∨ pn Full resolution: p1∨… ∨…∨ pi∨ …∨ …∨ pn q1∨… ∨…∨ ¬ pi ∨ …∨ …∨ qm
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
p1∨ … ∨ pn ∨ q1∨… ∨…∨ qm Final step: factoring (remove any duplicate literals from the result A∨ A ≡A)
- Proof by contradiction
How do we prove that " ⊨ # ? " entails # (‘" ⊨ #’) iff " ∧¬ # not satisfiable.
- Proof:
" ∧¬ # not satisfiable iff ⊨ ¬ ( " ∧¬ #) Assume
- ⊨ ¬ ( " ∧¬ #).
⊨ ¬ " ∨ #)
- ⊨ "! #.