Natural Deduction for Classical Propositional Logic Valentin - - PowerPoint PPT Presentation

natural deduction for classical propositional logic
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

✬ ✫ ✩ ✪

Natural Deduction for Classical Propositional Logic

Valentin Goranko DTU Informatics September 2010

slide-2
SLIDE 2

1

✬ ✫ ✩ ✪

Natural Deduction

  • ND: System for structured deduction from a set of assumptions, based
  • n 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
  • bligation.
  • 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

slide-3
SLIDE 3

2

✬ ✫ ✩ ✪

ND rules for the propositional connectives

Introduction rules: Elimination rules: (∧I) A, B A ∧ B (∧E) A ∧ B A , A ∧ B B (∨I) A A ∨ B , B A ∨ B (∨E) A ∨ B [A] . . . C [B] . . . C C

Deductive systems Natural Deduction Valentin Goranko

slide-4
SLIDE 4

3

✬ ✫ ✩ ✪ Introduction rules: Elimination rules: (→ I) [A] . . . B A → B (→ E) A, A → B B (¬I) [A] . . . ⊥ ¬A (¬E) A, ¬A ⊥

Deductive systems Natural Deduction Valentin Goranko

slide-5
SLIDE 5

4

✬ ✫ ✩ ✪

Two more ND rules

Ex falsum quodlibet: Reductio ad absurdum: (⊥) ⊥ A (RA) [¬A] . . . ⊥ A

Deductive systems Natural Deduction Valentin Goranko

slide-6
SLIDE 6

5

✬ ✫ ✩ ✪

Propositional Natural Deduction: Example 1

A ∧ B ⊢ND B ∧ A : (∧I) (∧E) A ∧ B B (∧E) A ∧ B A B ∧ A

Deductive systems Natural Deduction Valentin Goranko

slide-7
SLIDE 7

6

✬ ✫ ✩ ✪

Propositional Natural Deduction: Examples 2

⊢ND A → ¬¬A : (→ I) (¬I)

(¬E) [A]2, [¬A]1

⊥ ¬¬A 1 A → ¬¬A 2

Deductive systems Natural Deduction Valentin Goranko

slide-8
SLIDE 8

7

✬ ✫ ✩ ✪ ⊢ND ¬¬A → A : (→ I) (RA)

(¬E) [¬¬A]2, [¬A[1

⊥ A 1 ¬¬A → A 2

Deductive systems Natural Deduction Valentin Goranko

slide-9
SLIDE 9

8

✬ ✫ ✩ ✪

Propositional Natural Deduction: Examples 3

A → B ⊢ND ¬B → ¬A : [A]1, A → B B , [¬B]2 ⊥ ¬A ¬B → ¬A

2

1

Deductive systems Natural Deduction Valentin Goranko

slide-10
SLIDE 10

9

✬ ✫ ✩ ✪ ¬B → ¬A ⊢ND A → B : [¬B]1, ¬B → ¬A [¬A] , [A]2 ⊥

(→I)

B A → B

2

1

Deductive systems Natural Deduction Valentin Goranko

slide-11
SLIDE 11

10

✬ ✫ ✩ ✪

Propositional Natural Deduction: Example 4

A ∨ B ⊢ND ¬A → B : A ∨ B [¬A]1, [A]3 ⊥ B ¬A → B 1 [¬A]2, [B]3 ¬A → B 2 ¬A → B 3

Deductive systems Natural Deduction Valentin Goranko

slide-12
SLIDE 12

11

✬ ✫ ✩ ✪

Propositional Natural Deduction: Example 5

⊢ND (A → (B → C)) → ((A ∧ B) → C) : (→ E) (∧E) [A ∧ B]1 B (→ E)

(∧E) [A ∧ B]1

A

,

[A → (B → C)]2 B → C (→ I)

(→I)

C (A ∧ B) → C

1

(A → (B → C)) → ((A ∧ B) → C) 2

Deductive systems Natural Deduction Valentin Goranko

slide-13
SLIDE 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