CS2: Introduction to Proof Systems Flashcards
Lemma
Resolution
Let F be a CNF formula represented as a set of clauses. If R is a resolvent of clauses C₁ and C₂ of F, then F ≡ F ∪ {R}
Proof
(Resolution)
Let F be a CNF formula represented as a set of clauses. If R is a resolvent of clauses C₁ and C₂ of F, then F ≡ F ∪ {R}
3 points
- If A ⊧ F ∪ {R}, then clearly A ⊧ F
- Let R = (C₁\{L}) ∪ (C₂\{¬L})
- Consider cases where A ⊧ L or A ⊧ ¬L
Theorem
Compactness
Propositional Logic
A set of formulae S is satisfiable if and only if each finite subset of S is satisfiable
Lemma
Relevance
Suppose that A and A’ are σ-assignments with the same universe and identical interpretations of the predicate, function and constant symbols in σ. If A and A’ give the same interpretation to each variable ocurring free in some σ-formula F then A ⊧ F if and only if A’ ⊧ F
Proof
(Relevance)
Suppose that A and A’ are σ-assignments with the same universe and identical interpretations of the predicate, function and constant symbols in σ. If A and A’ give the same interpretation to each variable ocurring free in some σ-formula F then A ⊧ F if and only if A’ ⊧ F
4 points
- Use structural induction
- Show that for every term t A(t) = A’(t)
- Consider constants, variables and k-ary functions
- For A ⊧ F if and only if A’ ⊧ F, consider predicate symbols, connectives and quantifiers
Lemma
Translation
If t is a term and F is a formula such that no variable in t occurs bound in F, then A ⊧ F[t/x] iff A_([x ↦ A(t)]) ⊧ F
Proof
(Translation)
If t is a term and F is a formula such that no variable in t occurs bound in F, then A ⊧ F[t/x] iff A_([x ↦ A(t)]) ⊧ F
4 points
- Use structural induction
- Show that for every term u A(u[t/x]) = A_([x ↦ A(t)])(u)
- Consider constants, variables (x and others) and k-ary functions
- For A ⊧ F[t/x] iff A_([x ↦ A(t)]) ⊧ F, consider predicates, connectives and quantifiers (not over x)
Theorem
Herbrand
Let F = ∀x₁ ∀x₂ … ∀xₙ F* be a formula in Skolem form. Then F is satisfiable if and only if F has a Herbrand model
Warning
Natural Deduction ∀I
Cannot apply if c occurs in an assumption that hasn’t been discharged
Warning
Natural Deduction ∃E
c must not occur in C and all assumptions of the form A(c) must be discharged before inference step
Warning
Sequent ∀R
Can only be applied if a does not appear elsewhere
Warning
Sequent ∃L
Can only be applied if a does not occur elsewhere
Theorem
Compactness
First-Order Logic
Let S be a countably infinite set of first-order formulas. Then, S is satisfiable if and only if every finite subset of S is satisfiable