Propositional Logic: Completeness of Formal Deduction
Alice Gao
Lecture 10
CS 245 Logic and Computation Fall 2019 1 / 37
Propositional Logic: Completeness of Formal Deduction Alice Gao - - PowerPoint PPT Presentation
Propositional Logic: Completeness of Formal Deduction Alice Gao Lecture 10 CS 245 Logic and Computation Fall 2019 1 / 37 Learning Goals By the end of this lecture, you should be able to their defjnitions. theorem. CS 245 Logic and
CS 245 Logic and Computation Fall 2019 1 / 37
▶ Defjne the completeness of formal deduction. ▶ Defjne consistency and satisfjability. ▶ Prove properties of consistent and satisfjable sets based on
▶ Reproduce the key steps of the proof of the completeness
CS 245 Logic and Computation Fall 2019 2 / 37
CS 245 Logic and Computation Fall 2019 3 / 37
CS 245 Logic and Computation Fall 2019 4 / 37
CS 245 Logic and Computation Fall 2019 5 / 37
CS 245 Logic and Computation Fall 2019 6 / 37
CS 245 Logic and Computation Fall 2019 7 / 37
CS 245 Logic and Computation Fall 2019 8 / 37
CS 245 Logic and Computation Fall 2019 9 / 37
CS 245 Logic and Computation Fall 2019 10 / 37
CS 245 Logic and Computation Fall 2019 11 / 37
CS 245 Logic and Computation Fall 2019 12 / 37
CS 245 Logic and Computation Fall 2019 13 / 37
▶ Proof 1 defjnes 𝑞𝑢 = 1 ifg 𝑞 ∈ Σ∗. ▶ Proof 2 defjnes 𝑞𝑢 = 1 ifg Σ∗ ⊢ 𝑞.
▶ Proof 1 requires the maximally consistent set Σ∗ to satisfy
▶ Proof 2 requires the maximally consistent set Σ∗ to satisfy
CS 245 Logic and Computation Fall 2019 14 / 37
▶ For every formula 𝐵, if 𝐵 ∉ Σ, then Σ ∪ {𝐵} is inconsistent. ▶ For every formula 𝐵, 𝐵 ∈ Σ or (¬𝐵) ∈ Σ but not both.
▶ For every formula 𝐵, if Σ ⊬ 𝐵, then Σ ∪ {𝐵} is inconsistent. ▶ For every formula 𝐵, Σ ⊢ 𝐵 or Σ ⊢ (¬𝐵) but not both.
CS 245 Logic and Computation Fall 2019 15 / 37
CS 245 Logic and Computation Fall 2019 16 / 37
CS 245 Logic and Computation Fall 2019 17 / 37
▶ For every formula 𝐵, if 𝐵 ∉ Σ, then Σ ∪ {𝐵} is inconsistent. ▶ For every formula 𝐵, 𝐵 ∈ Σ or (¬𝐵) ∈ Σ but not both.
CS 245 Logic and Computation Fall 2019 18 / 37
CS 245 Logic and Computation Fall 2019 19 / 37
𝑜∈ℕ
▶ contains Σ, and ▶ is consistent.
CS 245 Logic and Computation Fall 2019 20 / 37
CS 245 Logic and Computation Fall 2019 21 / 37
CS 245 Logic and Computation Fall 2019 22 / 37
CS 245 Logic and Computation Fall 2019 23 / 37
▶ Base case: 𝐵 is a propositional variable 𝑞.
▶ Inductive case 1: 𝐵 = ¬𝐶.
CS 245 Logic and Computation Fall 2019 24 / 37
▶ Inductive case 2: 𝐵 = 𝐶 ∧ 𝐷.
CS 245 Logic and Computation Fall 2019 25 / 37
▶ Inductive case 3: 𝐵 = 𝐶 ∨ 𝐷.
▶ Inductive case 4: 𝐵 = 𝐶 → 𝐷.
▶ Inductive case 5: 𝐵 = 𝐶 ↔ 𝐷.
CS 245 Logic and Computation Fall 2019 26 / 37
CS 245 Logic and Computation Fall 2019 27 / 37
CS 245 Logic and Computation Fall 2019 28 / 37
▶ For every formula 𝐵, if Σ ⊬ 𝐵, then Σ ∪ {𝐵} is inconsistent. ▶ For every formula 𝐵, Σ ⊢ 𝐵 or Σ ⊢ (¬𝐵) but not both.
CS 245 Logic and Computation Fall 2019 29 / 37
CS 245 Logic and Computation Fall 2019 30 / 37
𝑜∈ℕ
▶ contains Σ, and ▶ is consistent.
CS 245 Logic and Computation Fall 2019 31 / 37
CS 245 Logic and Computation Fall 2019 32 / 37
CS 245 Logic and Computation Fall 2019 33 / 37
▶ Base case: 𝐵 is a propositional variable 𝑞.
▶ Inductive case 1: 𝐵 = ¬𝐶.
CS 245 Logic and Computation Fall 2019 34 / 37
▶ Inductive case 2: 𝐵 = 𝐶 ∧ 𝐷.
CS 245 Logic and Computation Fall 2019 35 / 37
▶ Inductive case 3: 𝐵 = 𝐶 ∨ 𝐷.
▶ Inductive case 4: 𝐵 = 𝐶 → 𝐷.
▶ Inductive case 5: 𝐵 = 𝐶 ↔ 𝐷.
CS 245 Logic and Computation Fall 2019 36 / 37
▶ Defjne the completeness of formal deduction. ▶ Defjne consistency and satisfjability. ▶ Prove properties of consistent and satisfjable sets based on
▶ Reproduce the key steps of the proof of the completeness
CS 245 Logic and Computation Fall 2019 37 / 37