natural deduction for classical propositional logic
play

Natural Deduction for Classical Propositional Logic Valentin - PowerPoint PPT Presentation

Natural Deduction for Classical Propositional Logic Valentin Goranko DTU Informatics September 2010 1 Natural Deduction ND: System for structured deduction from a set of assumptions, based on rules, specific


  1. ✬ ✩ Natural Deduction for Classical Propositional Logic Valentin Goranko DTU Informatics September 2010 ✫ ✪

  2. ✬ ✩ 1 Natural Deduction • ND: System for structured deduction from a set of assumptions, based on rules, specific to the logical connectives. • For each logical connective: introduction rule(s) and elimination rule(s) • 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. The less assumptions, the stronger the derivation. ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

  3. ✬ ✩ 2 ND rules for the propositional connectives Introduction rules: Elimination rules: A, B A ∧ B A ∧ B ( ∧ I ) ( ∧ E ) , A ∧ B A B [ A ] [ B ] . . . . . . A ∨ B A B C C ( ∨ I ) ( ∨ E ) , A ∨ B A ∨ B C ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

  4. ✬ ✩ 3 Introduction rules: Elimination rules: [ A ] . . . B A, A → B ( → I ) ( → E ) A → B B [ A ] . . . ⊥ A, ¬ A ( ¬ I ) ( ¬ E ) ¬ A ⊥ ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

  5. ✬ ✩ 4 Two more ND rules Ex falsum quodlibet: Reductio ad absurdum: [ ¬ A ] . . . ⊥ ⊥ ( ⊥ ) ( RA ) A A ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

  6. ✬ ✩ 5 Propositional Natural Deduction: Example 1 A ∧ B ⊢ ND B ∧ A : A ∧ B A ∧ B ( ∧ E ) ( ∧ E ) B A ( ∧ I ) B ∧ A ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

  7. ✬ ✩ 6 Propositional Natural Deduction: Examples 2 ⊢ ND A → ¬¬ A : ( ¬ E ) [ A ] 2 , [ ¬ A ] 1 ⊥ ( ¬ I ) 1 ¬¬ A ( → I ) 2 A → ¬¬ A ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

  8. ✬ ✩ 7 ⊢ ND ¬¬ A → A : ( ¬ E ) [ ¬¬ A ] 2 , [ ¬ A [ 1 ⊥ ( RA ) 1 A ( → I ) 2 ¬¬ A → A ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

  9. ✬ ✩ 8 Propositional Natural Deduction: Examples 3 A → B ⊢ ND ¬ B → ¬ A : [ A ] 1 , A → B , [ ¬ B ] 2 B ⊥ 1 ¬ A 2 ¬ B → ¬ A ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

  10. ✬ ✩ 9 ¬ B → ¬ A ⊢ ND A → B : [ ¬ B ] 1 , ¬ B → ¬ A , [ A ] 2 [ ¬ A ] ⊥ 1 B ( → I ) 2 A → B ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

  11. ✬ ✩ 10 Propositional Natural Deduction: Example 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 ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

  12. ✬ ✩ 11 Propositional Natural Deduction: Example 5 ⊢ ND ( A → ( B → C )) → (( A ∧ B ) → C ) : ( ∧ E ) [ A ∧ B ] 1 , [ A → ( B → C )] 2 [ A ∧ B ] 1 A ( ∧ E ) ( → E ) B B → C ( → E ) C ( → I ) 1 ( A ∧ B ) → C ( → I ) 2 ( A → ( B → C )) → (( A ∧ B ) → C ) ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

  13. ✬ ✩ 12 Propositional Deduction: a challenge! Derive in ND the formula: p ∨ ¬ p Award for the first correct entry! ✫ ✪ Deductive systems Natural Deduction Valentin Goranko

Recommend


More recommend