logic as a tool chapter 2 deductive reasoning in
play

Logic as a Tool Chapter 2: Deductive Reasoning in Propositional - PowerPoint PPT Presentation

Logic as a Tool Chapter 2: Deductive Reasoning in Propositional Logic 2.4 Propositional Natural Deduction Valentin Goranko Stockholm University November 2020 Goranko Natural Deduction Natural Deduction (ND): System for structured logical


  1. Logic as a Tool Chapter 2: Deductive Reasoning in Propositional Logic 2.4 Propositional Natural Deduction Valentin Goranko Stockholm University November 2020 Goranko

  2. Natural Deduction ◮ Natural Deduction (ND): System for structured logical derivation from a set of assumptions, based on rules, specific to the logical connectives. ◮ For each logical connective: introduction rules and elimination rules. ◮ Introduction (opening) and cancelation ( closing, discharge) of assumptions. ◮ Assumptions can be re-used many times before canceled. ◮ Cancelation of assumptions: only when the rules allow it, but not an obligation. ◮ All open assumptions at the end of the derivation must be declared. NB: the fewer (or, weaker) are the assumptions, the stronger is the claim of the derivation. Goranko

  3. ND rules for the propositional connectives Introduction rules: Elimination rules: A ∧ B A ∧ B A , B ( ∧ E ) ( ∧ I ) A B A ∧ B A B ( ∨ I ) [ A ] [ B ] A ∨ B A ∨ B . . . . . . A ∨ B C C ( ∨ E ) C Goranko

  4. Introduction rules: Elimination rules: [ A ] A , A → B ( → E ) . . B . B ( → I ) A → B A , ¬ A ( ¬ E ) ⊥ [ A ] . . . ⊥ ( ¬ I ) ¬ A Goranko

  5. Two more ND rules Ex falso quodlibet: Reductio ad absurdum: [ ¬ A ] ⊥ ( ⊥ ) . . . A ⊥ ( RA ) A Goranko

  6. Propositional Natural Deduction: Example 1 A ∧ B ⊢ ND B ∧ A : ( ∧ E ) A ∧ B ( ∧ E ) A ∧ B B A ( ∧ I ) B ∧ A Goranko

  7. Propositional Natural Deduction: Examples 2 ⊢ ND A → ¬¬ A : ( ¬ E ) [ A ] 2 , [ ¬ A ] 1 ⊥ ( ¬ I ) 1 ¬¬ A ( → I ) 2 A → ¬¬ A Goranko

  8. Exercise: ⊢ ND ¬¬ A → A Goranko

  9. Propositional Natural Deduction: Examples 3 A → B ⊢ ND ¬ B → ¬ A : [ A ] 1 , A → B , [ ¬ B ] 2 B ⊥ 1 ¬ A 2 ¬ B → ¬ A ¬ B → ¬ A ⊢ ND A → B : [ ¬ B ] 1 , ¬ B → ¬ A , [ A ] 2 [ ¬ A ] ⊥ 1 B ( → I ) 2 A → B Goranko

  10. Propositional Natural Deduction: Examples 4 A ∨ B ⊢ ND ¬ A → B : [ ¬ A ] 1 , [ A ] 3 ⊥ [ ¬ A ] 2 , [ B ] 3 B 1 2 A ∨ B ¬ A → B ¬ A → B 3 ¬ A → B Goranko

  11. Propositional Natural Deduction: Examples 5 ⊢ ND ( A → ( B → C )) → (( A ∧ B ) → C ) : ( ∧ E ) [ A ∧ B ] 1 ( ∧ E ) [ A ∧ B ] 1 [ A → ( B → C )] 2 , A ( → E ) B B → C ( → E ) C ( → I ) 1 ( A ∧ B ) → C ( → I ) ( A → ( B → C )) → (( A ∧ B ) → C ) 2 Goranko

  12. Propositional Natural Deduction: a challenge Derive in ND the formula: p ∨ ¬ p Goranko

  13. Derivations in Natural Deduction: an intuitive definition Intuitively, a derivation in ND is a finite tree-like object D , such that ◮ the leaves of D are labelled by assumptions (premises); these may be open, or cancelled during the derivation. ◮ every internal node of D is labelled by a formula which is the conclusion of an instance of some ND rule, applied to the formulae labelling its children nodes; ◮ the root of D is labelled by the derived formula (conclusion) of D . Goranko

  14. Derivations in Natural Deduction: inductive definition Formally, a derivation in ND is a (tree-like) object of the type D A where the set DND of such derivations, as well as the set of open assumptions of � D each derivation D � A , denoted by O , are defined inductively as follows: A (D1) For every propositional formula A , the object A A � A � belongs to DND and its set of open assumptions is O = { A } . A (D2) If D A is in DND and B is any propositional formula, then D , B A is in DND and its set of open assumptions is � D � � D , B � O = O ∪ { B } . A A Goranko

  15. Derivations in Natural Deduction: inductive definition continued A and D ′ ( ∧ I) If D B are in DND then D D ′ A B A ∧ B � D � � D ′ � is in DND and its set of open assumptions is O ∪ O . A B D ( ∧ E) If A ∧ B is in DND then D D A ∧ B A ∧ B and A B D � � are in DND and the set of open assumptions of each is O . A ∧ B Goranko

  16. Derivations in Natural Deduction: inductive definition continued ( ∨ l I) If D A is in DND then D A A ∨ B � D � is in DND and its set of open assumptions is O . A ( ∨ r I) If D B is in DND then D B A ∨ B � D � is in DND and its set of open assumptions is O . B A ∨ B , D , A D and D , B ( ∨ E) If are in DND then C C D , [ A ] D , [ B ] D A ∨ B C C C is in DND and its set of open assumptions is � � � � � � � � D , A D , B D � � O ∪ O \ { A } ∪ O \ { B } . A ∨ B C C Goranko

  17. Derivations in Natural Deduction: inductive definition continued ( → I) If D , A is in DND then B D , [ A ] B A → B � � D , A is in DND and its set of open assumptions is O \ { A } . B ( → E) If D D ′ A and A → B are in DND then D D ′ A → B A B � D � � D ′ � is in DND and its set of open assumptions is O ∪ O . A → B A Goranko

  18. Derivations in Natural Deduction: inductive definition continued ( ¬ I) If D , A is in DND then ⊥ D , [ A ] ⊥ ¬ A � � D , A is in DND and its set of open assumptions is O \ { A } . ⊥ ( ¬ E) If D A and D ′ ¬ A are in DND then D D ′ ¬ A A ⊥ � D � � D ′ � is in DND and its set of open assumptions is O ∪ O . A � A Goranko

  19. Derivations in Natural Deduction: inductive definition completed ( ⊥ ) If D ⊥ is in DND then D ⊥ A � D � is in DND and its set of open assumptions is O . ⊥ (RA) If D , ¬ A is in DND then ⊥ D , [ ¬ A ] ⊥ A � � D , ¬ A is in DND and its set of open assumptions is O \ {¬ A } . ⊥ Goranko

  20. Derivability from set of assumptions in Natural Deduction: definition and soundness of ND Definition Given a finite set of propositional formulae Γ and a formula A , A is derivable from the set of assumptions Γ, denoted Γ ⊢ ND A iff � D there is a derivation D � A such that its set of open assumptions O is Γ. A Now, for any set of propositional formulae Γ and a formula A , we define Γ ⊢ ND A iff Γ ′ ⊢ ND A for some finite set Γ ′ ⊆ Γ. Theorem (Soundness of the system of Natural Deduction ND ) For every set of propositional formulae Γ and a formula A, if Γ ⊢ ND A then Γ � A. Proof. For finite Γ: by structural induction on derivations in ND . Then extend for any Γ – straightforward. Exercise (for now). The system of Natural Deduction ND is also complete, and hence adequate, for the logical consequence (resp. validity) of the classical propositional logic (CPL). Sketch of the proof will be presented later. Goranko

  21. Constructive derivations and intuitionistic propositional logic A Natural Deduction derivation in propositional logic is constructive if it does not use the rule Reductio ad absurdum . Respectively, the inductive definition of constructive derivations does not involve the clause (RA). The logical consequence (resp. validity) that correspond to constructive derivations defines the Intuitionistic Propositional Logic (IPL). Goranko

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