Teaching Natural Deduction as a Subversive Activity

Similar documents
Teaching Natural Deduction as a Subversive Activity

Natural Deduction for Propositional Logic

Structuring Logic with Sequent Calculus

Propositional Logic: Deductive Proof & Natural Deduction Part 1

Propositional Logic: Part II - Syntax & Proofs 0-0

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

15414/614 Optional Lecture 1: Propositional Logic

Propositions as Types

Introduction to Intuitionistic Logic

Implementing Proof Systems for the Intuitionistic Propositional Logic

Chapter 11: Automated Proof Systems (1)

Chapter 11: Automated Proof Systems

Propositional logic (revision) & semantic entailment. p. 1/34

Logical Preliminaries

Type Systems. Lecture 9: Classical Logic. Neel Krishnaswami University of Cambridge

AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC

CS 3110: Proof Strategy and Examples. 1 Propositional Logic Proof Strategy. 2 A Proof Walkthrough

185.A09 Advanced Mathematical Logic

3 Propositional Logic

Propositional Logic Language

Introduction to Artificial Intelligence. Logical Agents

Henk Barendregt and Freek Wiedijk assisted by Andrew Polonsky. Radboud University Nijmegen. March 5, 2012

Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

References A CONSTRUCTIVE INTRODUCTION TO FIRST ORDER LOGIC. The Starting Point. Goals of foundational programmes for logic:

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson

Comp487/587 - Boolean Formulas

Nonclassical logics (Nichtklassische Logiken)

Propositional logic. Programming and Modal Logic

Consequence Relations and Natural Deduction

Chapter 9. Proofs. In this chapter we will demonstrate how this system works. The precise definition of 9-1

Propositional Calculus - Hilbert system H Moonzoo Kim CS Dept. KAIST

Harvard School of Engineering and Applied Sciences CS 152: Programming Languages

Temporal Logic - Soundness and Completeness of L

Evaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic

Extended Abstract: Reconsidering Intuitionistic Duality

The Curry-Howard Isomorphism

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Propositional natural deduction

Gentzen Sequent Calculus LK

Formal (natural) deduction in propositional logic

Introduction to Metalogic

CS Lecture 19: Logic To Truth through Proof. Prof. Clarkson Fall Today s music: Theme from Sherlock

Notes on Inference and Deduction

Propositional logic. Programming and Modal Logic

Propositions and Proofs

CHAPTER 11. Introduction to Intuitionistic Logic

Logic for Computer Science - Week 4 Natural Deduction

Lecture Notes on Certifying Theorem Provers

Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST

Propositional and Predicate Logic. jean/gbooks/logic.html

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Classical Propositional Logic

Lecture Notes on Inductive Definitions

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Semantics of intuitionistic propositional logic

Propositional Calculus - Deductive Systems

Formal Logic and Deduction Systems

Marie Duží

Uniform Schemata for Proof Rules

Lecture Notes on Cut Elimination

INF5390 Kunstig intelligens. Logical Agents. Roar Fjellheim

Kleene realizability and negative translations

Overview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof.

Supplementary Logic Notes CSE 321 Winter 2009

CSE 20: Discrete Mathematics

Handout on Logic, Axiomatic Methods, and Proofs MATH Spring David C. Royster UNC Charlotte

Overview of Logic and Computation: Notes

Notation for Logical Operators:

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Intuitionistic Logic with Decidable Propositional Atoms

Lecture Notes on Sequent Calculus

Kecerdasan Buatan M. Ali Fauzi

Appendix: Bar Induction in the Proof 1 of Termination of Gentzens Reduction 2 Procedure 3

Lecture Notes on Kripke Semantics for Validity

Logic: Propositional Logic Truth Tables

Arguments and Proofs. 1. A set of sentences (the premises) 2. A sentence (the conclusion)

Foundations of Logic Programming

CIS260 Mathematical Foundations of Computer Science Some Notes

Lecture 10: Gentzen Systems to Refinement Logic CS 4860 Spring 2009 Thursday, February 19, 2009

What is a Proof? Jean Gallier and Kurt W.A.J.H.Y. Reillag CIS, Upenn and Hospices de Beaune. Friday, February 22, 13

The semantics of propositional logic

1 IPL and Heyting Prelattices

Lecture Notes on Inductive Definitions

Learning Goals of CS245 Logic and Computation

An Introduction to Proof Theory

Mathematical Logic. Lecture 1. Dr Marco Benini. a.a. 2017/18. Dipartimento di Scienza e Alta Tecnologia Università degli Studi dell Insubria

Lecture Notes on The Curry-Howard Isomorphism

Mathematical Writing and Methods of Proof

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Notes on proof-nets. Daniel Murfet. 8/4/2016 therisingsea.org/post/seminar-proofnets/

On Sequent Calculi for Intuitionistic Propositional Logic

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Logic: Propositional Logic (Part I)

Prefixed Tableaus and Nested Sequents

Topic 1: Propositional logic

Chapter 1 Elementary Logic

Introduction to Metalogic

A Note on Bootstrapping Intuitionistic Bounded Arithmetic

Transcription:

Teaching Natural Deduction as a Subversive Activity James Caldwell Department of Computer Science University of Wyoming Laramie, WY Third International Congress on Tools for Teaching Logic 3 June 2011 Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 1 / 24

A Story Lazy Professor: (To class) Do exercise xxx from the text. The Problematic Exercise Prove the following formula using Natural Deduction.... Two days pass. ((P Q) R) ((P R) (Q R)) Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 2 / 24

A Story Lazy Professor: (To class) Do exercise xxx from the text. The Problematic Exercise Prove the following formula using Natural Deduction. ((P Q) R) ((P R) (Q R))... Two days pass. A Chorus of Students: There is a typo in the book! Student A: The formula is false. Student A: Disputation If P and Q together obtain R, then surely it is not always the case that either P alone or Q alone obtains R e.g. let P be over 18 and Q be male and R be must register for military service a. a In the US women do not register with the selective service. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 2 / 24

The story continues Lazy Professor: But it is valid. (Expressing sympathy and explaining that the counterexample, though compelling, is incorrectly formulated as stated; that predicates and quantifiers are required to formulate it and that in fact, when properly formulated, the obviously false thing is not valid.) Student A: Classical logic is clearly wrong. A Chorus of Students: Yes, classical logic is wrong.... More time passes... Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 3 / 24

The story continues Lazy Professor: But it is valid. (Expressing sympathy and explaining that the counterexample, though compelling, is incorrectly formulated as stated; that predicates and quantifiers are required to formulate it and that in fact, when properly formulated, the obviously false thing is not valid.) Student A: Classical logic is clearly wrong. A Chorus of Students: Yes, classical logic is wrong.... More time passes... Lazy Professor: Consider the student s disputation of the following formula, is the student correct? Professor A: It would seem so. Lazy Professor: But the formula is valid After a moment of reflection... Professor A: Ah, of course, there is no way to falsify it. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 3 / 24

Some Remarks and a Claim ((P Q) R) ((P R) (Q R)) A so-called paradox of material implication. Generalization of De Morgan (take R to be and φ def = φ ) (P Q) ( P Q) It is a superintuitionistic theorem of classical logic (not intuitionistically provable) such theorems are difficult to prove in natural deduction. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 4 / 24

Some Remarks and a Claim ((P Q) R) ((P R) (Q R)) A so-called paradox of material implication. Generalization of De Morgan (take R to be and φ def = φ ) (P Q) ( P Q) It is a superintuitionistic theorem of classical logic (not intuitionistically provable) such theorems are difficult to prove in natural deduction. The Lazy Professor s students are in good company - Intuitionist and Relevant logicians reject the formula. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 4 / 24

Some Remarks and a Claim ((P Q) R) ((P R) (Q R)) A so-called paradox of material implication. Generalization of De Morgan (take R to be and φ def = φ ) (P Q) ( P Q) It is a superintuitionistic theorem of classical logic (not intuitionistically provable) such theorems are difficult to prove in natural deduction. The Lazy Professor s students are in good company - Intuitionist and Relevant logicians reject the formula. The failure to find a proof led to reflection on the meaning of the formula (this is good) and rejection of classical logic (is this bad?). Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 4 / 24

Some Remarks and a Claim ((P Q) R) ((P R) (Q R)) A so-called paradox of material implication. Generalization of De Morgan (take R to be and φ def = φ ) (P Q) ( P Q) It is a superintuitionistic theorem of classical logic (not intuitionistically provable) such theorems are difficult to prove in natural deduction. The Lazy Professor s students are in good company - Intuitionist and Relevant logicians reject the formula. The failure to find a proof led to reflection on the meaning of the formula (this is good) and rejection of classical logic (is this bad?). A Claim These difficulties do not arise when students are taught to do sequent proofs instead of Natural Deduction proofs. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 4 / 24

A Note on Subversive Activities Subversive? This is what Neil Postman a called Subversive Teaching - the method leads students to raise interesting questions for themselves about accepted ideas. a Teaching as a Subversive Activity, Neil Postman and Charles Weingartner, Delta Books, NY 1971. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 5 / 24

A Note on Subversive Activities Subversive? This is what Neil Postman a called Subversive Teaching - the method leads students to raise interesting questions for themselves about accepted ideas. a Teaching as a Subversive Activity, Neil Postman and Charles Weingartner, Delta Books, NY 1971. But is it the best way to teach classical logic? Intuitionist and Relevant logicians raise serious questions about classical logic, but is a students first encounter with logic the best point to raise these questions? Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 5 / 24

Gentzen s Proof Systems Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 6 / 24

Natural Deduction and Sequent Proof Systems Natural Deduction and Sequent proof systems were introduced by Gentzen in 1935 in his paper Investigations into Logical Deduction 1 Proof Systems N J Intuitionistic Natural Deduction N K Classical Natural Deduction LJ Intuitionistic Sequent Calculus LK Classical Sequent Calculus 1 M.E.Szabo, The Collected Works of Gerhard Gentzen, pp. 68-131, North Holland 1969. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 7 / 24

Natural Deduction and Sequent Proof Systems Natural Deduction and Sequent proof systems were introduced by Gentzen in 1935 in his paper Investigations into Logical Deduction 1 Proof Systems Relationships N J Intuitionistic Natural Deduction N K Classical Natural Deduction LJ Intuitionistic Sequent Calculus LK Classical Sequent Calculus N K is obtained from N J Reductio ad Absurdum. Rather surprisingly, LK is obtained from LJ multiple formula on the right side. by adding a rule for Tertium non datur or simply by allowing 1 M.E.Szabo, The Collected Works of Gerhard Gentzen, pp. 68-131, North Holland 1969. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 7 / 24

Natural Deduction Proof Rules Elimination Rules φ ψ φ φ ψ φ e 1 j [φ]. σ σ φ ψ ψ φ φ φ e φ ψ ψ k [ψ]. σ e e e 2 e j [ φ]. φ Introduction Rules φ ψ φ ψ i φ φ ψ i 1 Raa j [φ]. ψ φ ψ j [φ]. φ ψ φ ψ i 2 i i Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 8 / 24

Comments on Natural Deduction There is an elegant symmetry in the Introduction and Elimination rules for the logical connectives (N J ). Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 9 / 24

Comments on Natural Deduction There is an elegant symmetry in the Introduction and Elimination rules for the logical connectives (N J ). The Curry-Howard Isomorphism relates N J proofs with lambda terms. Proofs Programs Propositions Types Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 9 / 24

Comments on Natural Deduction There is an elegant symmetry in the Introduction and Elimination rules for the logical connectives (N J ). The Curry-Howard Isomorphism relates N J proofs with lambda terms. Proofs Programs Propositions Types N K proofs require a combination of forward and backward reasoning. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 9 / 24

Comments on Natural Deduction There is an elegant symmetry in the Introduction and Elimination rules for the logical connectives (N J ). The Curry-Howard Isomorphism relates N J proofs with lambda terms. Proofs Programs Propositions Types N K proofs require a combination of forward and backward reasoning. Raa Any theorem of N K not provable in N J will require a use of Raa - such theorems are called superintuitionistic. Raa breaks the symmetry of the intro/elim rules. There is a similarity between i and Raa but the rule i is easily derived from i while Raa is not derivable and introduces a negation. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 9 / 24

Comments on Natural Deduction There is an elegant symmetry in the Introduction and Elimination rules for the logical connectives (N J ). The Curry-Howard Isomorphism relates N J proofs with lambda terms. Proofs Programs Propositions Types N K proofs require a combination of forward and backward reasoning. Raa Any theorem of N K not provable in N J will require a use of Raa - such theorems are called superintuitionistic. Raa breaks the symmetry of the intro/elim rules. There is a similarity between i and Raa but the rule i is easily derived from i while Raa is not derivable and introduces a negation. N K does not enjoy the subformula property proofs of superintuitionistic theorems containing no negations will will require the introduction of a negation. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 9 / 24

Comments on Natural Deduction There is an elegant symmetry in the Introduction and Elimination rules for the logical connectives (N J ). The Curry-Howard Isomorphism relates N J proofs with lambda terms. Proofs Programs Propositions Types N K proofs require a combination of forward and backward reasoning. Raa Any theorem of N K not provable in N J will require a use of Raa - such theorems are called superintuitionistic. Raa breaks the symmetry of the intro/elim rules. There is a similarity between i and Raa but the rule i is easily derived from i while Raa is not derivable and introduces a negation. N K does not enjoy the subformula property proofs of superintuitionistic theorems containing no negations will will require the introduction of a negation. Failure to find a proof does not provide evidence one does not exist. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 9 / 24

Sequents A Sequent characterizes the state of a proof. 2 Velleman, How to Prove it: A Structured Approach, Cambridge Press 2006 Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 10 / 24

Sequents A Sequent characterizes the state of a proof. A sequent is a pair of (possibly empty) formula lists Γ, We write Γ. Γ is the antecedent. is the succedent. Velleman calls these Givens and Goals 2 2 Velleman, How to Prove it: A Structured Approach, Cambridge Press 2006 Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 10 / 24

Sequents A Sequent characterizes the state of a proof. A sequent is a pair of (possibly empty) formula lists Γ, We write Γ. Γ is the antecedent. is the succedent. Velleman calls these Givens and Goals 2 The semantics of a sequent is given by: [[Γ ]] def = ( φ) ψ φ Γ ψ Thus, a sequent is valid if some formula on the left is false or all formulas on the left are true and some formula on the right is as well. 2 Velleman, How to Prove it: A Structured Approach, Cambridge Press 2006 Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 10 / 24

Sequents A Sequent characterizes the state of a proof. A sequent is a pair of (possibly empty) formula lists Γ, We write Γ. Γ is the antecedent. is the succedent. Velleman calls these Givens and Goals 2 The semantics of a sequent is given by: [[Γ ]] def = ( φ) ψ φ Γ ψ Thus, a sequent is valid if some formula on the left is false or all formulas on the left are true and some formula on the right is as well. LJ restricts 1 while LK has no restriction on the length of the succedent. 2 Velleman, How to Prove it: A Structured Approach, Cambridge Press 2006 Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 10 / 24

Sequent Proof Rules Axioms Γ 1, φ, Γ 2 1, φ, (Ax) Left Rules Γ 1,, Γ 2 ( Ax) Right Rules Γ 1, φ, ψ, Γ 2 Γ 1, φ ψ, Γ 2 ( L) Γ 1, φ, 2 Γ 1, ψ, 2 Γ 1, φ ψ, 2 ( R) Γ 1, φ, Γ 2 Γ 1, ψ, Γ 2 Γ 1, φ ψ, Γ 2 ( L) Γ 1, φ, ψ, 2 Γ, 1, φ ψ, 2 ( R) Γ 1, Γ 2 φ, Γ 1, ψ, Γ 2 Γ 1, φ ψ, Γ 2 ( L) Γ, φ 1, ψ, 2 Γ 1, φ ψ, 2 ( R) Γ 1, Γ 2 φ, Γ 1, φ, Γ 2 ( L) Γ, φ 1, 2 Γ 1, φ, 2 ( R) Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 11 / 24

Remarks on Sequent Rules and Derivations Left rules correspond to Elimination rules and Right rules correspond to Introduction rules - there is no rule corresponding to Raa. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 12 / 24

Remarks on Sequent Rules and Derivations Left rules correspond to Elimination rules and Right rules correspond to Introduction rules - there is no rule corresponding to Raa. Construction of sequent derivations is syntax driven. Non-deterministically choose a compound formula in the left or right side and apply the corresponding rule. If all formulas are atomic, check if the sequent is an instance of one of the axiom rules. Repeat until all leaves of the tree are instances of axioms (and you have a proof) or until some atomic sequent turns out not to be an instance of an axiom rule (and you can build a counter example.) Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 12 / 24

Remarks on Sequent Rules and Derivations Left rules correspond to Elimination rules and Right rules correspond to Introduction rules - there is no rule corresponding to Raa. Construction of sequent derivations is syntax driven. Non-deterministically choose a compound formula in the left or right side and apply the corresponding rule. If all formulas are atomic, check if the sequent is an instance of one of the axiom rules. Repeat until all leaves of the tree are instances of axioms (and you have a proof) or until some atomic sequent turns out not to be an instance of an axiom rule (and you can build a counter example.) Failed derivations yield counterexamples. Consider an atomic sequent of the form Γ that is not an instance of an axiom rule The assignment (λx.if (x ) then True else False) falsifies Γ It also falsifies any sequent rooting a derivation ending with Γ. Proofs from assumptions are obtained by adding the assumed formulas to Γ. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 12 / 24

N K Proof of Excluded Middle We will prove φ φ in both N K and LK. Examining the rules, it becomes clear that the explicit intro rules i 1 and i 2 can only arise from a proof of φ or a proof of φ which is impossible without assumptions. The only rule that can help is Raa. 1 [ (φ φ)]. [1] φ φ Raa We must derive from the assumption (φ φ). Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 13 / 24

N K Proof of Excluded Middle (Cont.) The only rule having as its conclusion is e. 1 [ (φ φ)]. φ φ 1 [ (φ φ)] [1] Raa φ φ Now we must derive φ φ from (φ φ). e Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 14 / 24

N K Proof of Excluded Middle (Cont.) Again, e may be able to help. We need φ φ so we assume φ and then use i 1. 2 [φ] φ φ i 1. φ φ 1 [ (φ φ)] e [1] Raa φ φ 1 [ (φ φ)] Now of course we have a new hypothesis to discharge. e Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 15 / 24

N K Proof of Excluded Middle An application of i can be used to discharge hypothesis 2 and yields φ. 2 [φ] φ φ 1 i 1 [ (φ φ)] [2] i φ. φ φ e [1] Raa φ φ 1 [ (φ φ)] Now the goal is to derive φ φ from φ. This is easily done with the rule i 2. e Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 16 / 24

N K proof of Excluded Middle (Cont.) This completes the proof. 2 [φ] φ φ 1 i 1 [ (φ φ)] [2] i φ i φ φ 2 e [1] Raa φ φ 1 [ (φ φ)] This is the shortest natural deduction proof of excluded middle the author knows of. e Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 17 / 24

LK proof of Excluded Middle Now we derive the sequent φ φ having no assumptions. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 18 / 24

LK proof of Excluded Middle Now we derive the sequent φ φ having no assumptions. The only rule that applies here is R. φ, φ r φ φ Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 18 / 24

LK proof of Excluded Middle Now we derive the sequent φ φ having no assumptions. The only rule that applies here is R. φ, φ r φ φ At this point we have two goals, it is enough to prove either one. The only rule that applies is R. φ φ R φ, φ R φ φ Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 18 / 24

LK proof of Excluded Middle Now we derive the sequent φ φ having no assumptions. The only rule that applies here is R. φ, φ r φ φ At this point we have two goals, it is enough to prove either one. The only rule that applies is R. φ φ R φ, φ R φ φ This is an instance of the axiom rule and the proof is complete. Ax φ φ R φ, φ R φ φ Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 18 / 24

N K derivation of GDM 3 [φ] φ ψ 4 [ψ] i 1 [(φ ψ) σ ] σ [3] i φ σ e i 1 (φ σ) (ψ σ) σ e [4] i ψ σ (φ σ) (ψ σ) 2 [ ((φ σ) (ψ σ))] i 2 e [ ((φ σ) (ψ σ))] [2] Raa (φ σ) (ψ σ) [1] i ((φ ψ) σ) (φ σ) (ψ σ) 2 e Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 19 / 24

Sequent derivation of GDM Ax Ax φ, ψ φ, σ φ, ψ ψ, σ R φ, ψ φ ψ, σ R Ax φ φ ψ, ψ σ σ, φ σ, ψ σ L (φ ψ) σ, φ σ, σ ψ R (φ ψ) σ φ σ, ψ σ R (φ ψ) σ (φ σ) (ψ σ) R ((φ ψ) σ) ((φ σ) (ψ σ)) Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 20 / 24

Against Sequents It is often claimed that natural deduction proofs reflect the mathematical thought process but that sequents do not. I claim it is the rules, not the tree structure of a proof, that serves to explain the logical laws. Consider disjunction: To prove φ ψ prove ψ or prove ψ. Natural Deduction φ φ ψ i ψ 1 φ ψ i 2 Sequent Calculus Γ 1, φ, ψ, 2 ( R) Γ, 1, φ ψ, 2 The sequent rule works perfectly well as an explanation. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 21 / 24

Against Sequents It is often claimed that natural deduction proofs reflect the mathematical thought process but that sequents do not. I claim it is the rules, not the tree structure of a proof, that serves to explain the logical laws. Consider disjunction: To prove φ ψ prove ψ or prove ψ. Natural Deduction φ φ ψ i ψ 1 φ ψ i 2 Sequent Calculus Γ 1, φ, ψ, 2 ( R) Γ, 1, φ ψ, 2 The sequent rule works perfectly well as an explanation. Sequent proofs require too much writing. Not in superintuitionistic cases (see examples above). Ink is cheap. With tool support this claim is moot. It is perfectly OK to elide unneeded formulas in the antecedent. Γ Γ, (Thin) where Γ Γ Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 21 / 24

Against Sequents Multiple formulas on the right are hard to motivate. The sequent semantics and R are justification enough. [[Γ ]] def = ( φ) ψ φ Γ ψ Velleman (a best selling book on informal proof methods) uses them. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 22 / 24

Against Sequents Multiple formulas on the right are hard to motivate. The sequent semantics and R are justification enough. [[Γ ]] def = ( φ) ψ φ Γ ψ Velleman (a best selling book on informal proof methods) uses them. Cut is hard to motivate? I find this one hard to understand. Γ φ, Γ, φ (Cut) Γ Cut is not needed though it can be convenient in predicate logic proofs. More conveniently, we add a lemma rule for previously proved theorems. Γ, φ (Lemma) where φ Γ Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 22 / 24

For Sequents The provide a decision procedure for propositional logic. Counter-examples are easily generated from failed proofs. Students gain confidence as they become more adept at manipulating the formalism. There is no question Is this a proof? Curry-Howard still holds (for LJ proofs.) It is easy to identify the superintuitionistic theorems which ones necessarily have two formulas on the right at some point in the derivation. Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 23 / 24

Propositional Logic is Easy! Teaching propositional logic using Natural Deduction is a bit like teaching arithmetic using Roman numerals You could force students to suffer through it, but aren t Arabic numerals better suited to the task? Caldwell (University of Wyoming) Teaching Natural Deduction... TICTTL 2011 24 / 24