logica i e
play

Logica (I&E) najaar 2018 - PowerPoint PPT Presentation

Logica (I&E) najaar 2018 http://liacs.leidenuniv.nl/~vlietrvan1/logica/ Rudy van Vliet kamer 140 Snellius, tel. 071-527 2876 rvvliet(at)liacs(dot)nl college 4, maandag 24 september 2018 1.4 Semantics of propositional logic 1.2 Natural


  1. Logica (I&E) najaar 2018 http://liacs.leidenuniv.nl/~vlietrvan1/logica/ Rudy van Vliet kamer 140 Snellius, tel. 071-527 2876 rvvliet(at)liacs(dot)nl college 4, maandag 24 september 2018 1.4 Semantics of propositional logic 1.2 Natural deduction Als ik zou willen dat je het begreep, had ik het wel beter uitgelegd. 1

  2. Huiswerkopgave 1 2

  3. A slide from lecture 3: Or-elimination φ ψ . . . . . . φ ∨ ψ χ χ ∨ e χ 3

  4. Example 1.16. q → r ⊢ p ∨ q → p ∨ r Proof. . . 4

  5. Example 1.18. Disjunctions distribute over conjunctions. p ∧ ( q ∨ r ) ⊢ ( p ∧ q ) ∨ ( p ∧ r ) ( p ∧ q ) ∨ ( p ∧ r ) ⊢ p ∧ ( q ∨ r ) Proof. . . 5

  6. The rule ‘copy’ ⊢ p → ( q → p ) Proof. . . 6

  7. The rules for negation 7

  8. Definition 1.19. Contradictions are expressions of the form φ ∧¬ φ or ¬ φ ∧ φ , where φ is any formula. Not-elimination: φ ¬ φ ¬ e ⊥ 8

  9. p ∧ ¬ p ⊢ q p: The moon is made of green cheese. q: I like pepperoni on my pizza. 9

  10. ( p ∧ q ) ∨ ( ¬ p ∧ ¬ q ) � p → q ( p ∧ q ) ∨ ( ¬ p ∧ ¬ q ) p q ¬ p ¬ q p ∧ q ¬ p ∧ ¬ q p → q T T F F T F T T T F F T F F F F F T T F F F F T F F T T F T T T 10

  11. φ ∧ ¬ φ � ψ φ ¬ φ φ ∧ ¬ φ ψ T F F . . . F T F . . . 11

  12. Bottom-elimination: ⊥ ⊥ e φ 12

  13. Example 1.20. ¬ p ∨ q ⊢ p → q Proof. . . 13

  14. Not-introduction: φ . . . ⊥ ¬ i ¬ φ 14

  15. Example 1.21. p → q, p → ¬ q ⊢ . . . 15

  16. Example 1.21. p → q, p → ¬ q ⊢ ¬ p Proof. . . 16

  17. A slide from lecture 3: Example 1.7. p → ( q → r ) , p, ¬ r ⊢ ¬ q Proof. . . 17

  18. Example 1.22. p → ( q → r ) , p, ¬ r ⊢ ¬ q Proof without Modus Tollens. . . 18

  19. A slide from lecture 2: Propositional logic Example 1.1. If the train arrives late and there are no taxis at the station, then John is late for his meeting. John is not late for his meeting. The train did arrive late. Therefore, there were taxis at the station. Example 1.2. If it is raining and Jane does not have her umbrella with her, then she will get wet. Jane is not wet. It is raining. Therefore, Jane has her umbrella with her. General structure: p ∧ ¬ q → r, ¬ r, p ⊢ q 19

  20. Example 1.23. p ∧ ¬ q → r, ¬ r, p ⊢ q Proof. . . 20

  21. 1.2.2. Derived rules Modus tollens φ → ψ ¬ ψ MT ¬ φ Proof. . . 21

  22. 1.2.2. Derived rules Double negation-introduction φ ¬¬ i ¬¬ φ Proof. . . 22

  23. 1.2.2. Derived rules Proof by contradiction ¬ φ . . . ⊥ PBC φ Proof. . . 23

  24. 1.2.2. Derived rules Law of the excluded middle LEM φ ∨ ¬ φ Proof. . . 24

  25. Example 1.24. p → q ⊢ ¬ p ∨ q Proof (using LEM). . . 25

  26. Basic rules of natural induction introduction elimination φ ψ φ ∧ ψ φ ∧ ψ ∧ ∧ i ∧ e R ∧ e L φ ∧ ψ φ ψ φ ψ . . . . . . φ ∨ ψ χ χ φ ψ ∨ φ ∨ ψ ∨ i R φ ∨ ψ ∨ i L ∨ e χ φ . . . ψ φ φ → ψ → φ → ψ → i → e ψ 26

  27. Basic rules of natural induction introduction elimination φ . . . ⊥ φ ¬ φ ¬ ¬ i ¬ e ¬ φ ⊥ ⊥ ⊥ φ ⊥ e ¬¬ φ ¬¬ ¬¬ e φ 27

  28. Some useful derived rules φ → ψ ¬ ψ φ MT ¬¬ φ ¬¬ i ¬ φ ¬ φ . . . ⊥ PBC φ ∨¬ φ LEM φ 28

  29. 1.2.4 Provable equivalence Definition 1.25. Let φ and ψ be formulas of propositional logic. We say that φ and ψ are provably equivalent , if and only if the sequents φ ⊢ ψ and ψ ⊢ φ are valid; Notation: φ ⊣⊢ ψ 29

  30. 1.2.4 Provable equivalence Examples: ¬ ( p ∧ q ) ⊣⊢ ¬ q ∨ ¬ p ¬ ( p ∨ q ) ⊣⊢ ¬ q ∧ ¬ p p → q ⊣⊢ ¬ q → ¬ p p → q ⊣⊢ ¬ p ∨ q p ∧ q → r ⊣⊢ p → ( q → r ) p ∧ q → p ⊣⊢ r ∨ ¬ r 30

  31. 1.2.5. An aside: proof by contradiction Intuitionistic logicians do not accept ¬ φ . . . ⊥ ¬¬ φ PBC LEM ¬¬ e φ φ ∨ ¬ φ φ 31

  32. Theorem 1.26. There exist irrational numbers a and b such that a b is rational. Proof. . . 32

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend