Multiple Conclusion Deductions in Classical Logic
Total Page:16
File Type:pdf, Size:1020Kb
Multiple Conclusion Deductions in Classical Logic Marcel Mareti´c LAP 2013-09 1 Introduction 2 Multiple Conclusion Deductions 3 Proof search 4 Semantic version of analysis 5 Synthesis 6 First Order Logic 7 Conclusion 1. Introduction Natural deductions Natural deductions are calculi with assumptions Lukasiewicz, Ja´skowski1926.–1930. Gentzen 1933.–1935. "ein Kalkül des natürlichen Schliessen" "Untersuchungen über das logische Schliessen" AA ! B A ^ C B C B ^ C 4 / 103 Linear Jaskowski-type (Fitch) −A ! −B B −A ! −B −A −A ! −B −B B A B ! A (−A ! −B) ! (B ! A) Example (1) AA ! B (2) B −B ? (1) −A (2) −B ! −A Deduction of −B ! −A from A ! B. 6 / 103 Gentzen’s NK calculus introductions & eliminations ^ ^ (I^) AB (E^) A B A B A ^ B A B (i) (i) A B . A B A _ B C C (I_) (E_) (i) A _ B A _ B C 7 / 103 (i) A . B A ! BA (I!) (i) (E!) A ! B B (i) A . ? AA (I−) (i) (E−) A ? (TND) A _ A Features of NK "Local" and "global" inference rules AB (I^) A ^ B vs. (i) (i) A B . A _ B C C (E_) (i) C Premisses (E_) are deductions, not formulae! 9 / 103 Redundant deductions motivation for normal form A B . A ^ B B . A B A _ B C C A ^ B C Principle of inversion (Prawitz) About elimination following an introduction: one essentially restores what had already been established Equivalently: No formula-node is a major formula of two consecutive inferences. 10 / 103 Normal form theorem for NK Theorem 1. If G ` A in NK then there is a natural deduction of A from G that is in normal formal. Gentzen’s unpublished proof for NJ was found much later. 11 / 103 LK — Logistischer Klasischer Kalkül Inference rules G ` A, D G, A ` D (− `) (` −) G, A ` D G ` A, D G, A, B ` D G ` A, DG ` B, D (^ `) (` ^) G, A ^ B ` D G ` A ^ B, D G, A ` DG, B ` D G ` A, B, D (_ `) (` _) G, A _ B ` D G ` A _ B, D G ` A, DG, B ` D G, A ` B, D (!`) (`!) G, A ! B ` D G ` A ! B, D Hauptsatz Cut elimination theorem; or "normal form theorem for LK" Theorem 2 (Hauptsatz). Cut rule is eliminable in LK. Nice consequences: subformula property consistency Craig’s lemma bottom-up proof search LK proof calculus is analytic Consistency Derivation of empty sequent ` : A ` A A, −A ` ` A ^ −A A ^ −A ` ` But there is no cut-free derivation of empty sequent (cut is the only simplyfing rule) 2. Multiple Conclusion Deductions Kneale Critique of NK — Gentzen’s natural deduction calculus for classical logic Duality of ^, _ presents itself in symmetry of the pair: A B A ^ B A ^ B (I_) (E^) A _ B A _ B A B . but not in the other one: (i) (i) A B . AB A _ B C C (I^) (E_) (i) A ^ B C Kneale Hypothetical rules (I!), (I−), (E_) are complicated: (i) (i) A A . B ? (I!) (i) (I−) (i) A ! B A (i) (i) A B . A _ B C C (E_) (i) C Kneale’s Remedy Multiple Conclusion Inference Rules AB A ^ B A ^ B (I^) (E^) A ^ B A B A B A _ B (I_) (E_) A _ B A _ B AB B AA ! B (I!) (E!) A ! B AA ! B B A −A (I−) (E−) A −A Kneale’s Remedy Multiple Conclusion Inference Rules AB A ^ B A ^ B (I^) (E^) A ^ B A B A B A _ B (I_) (E_) A _ B A _ B AB B AA ! B (I!) (E!) A ! B AA ! B B A −A (I−) (E−) A −A Note: major formulas are conclusions of introductions and premisses eliminations. Example "development" Proofs are formula trees. Instances of inference rules are building blocks of proofs. −A _ B A ! B A −A B A ! B Proofs are branching up and down. Example Building a Kneale development/deduction Kneale’s "development" −A _ B A ! B A −A B A ! B proves −A _ B `KN A ! B. Building blocks are: A −A −A _ B B A ! BA −AB A ! B Trees don’t have cycles Joining A _ B AB + ? AB A ^ B Certainly not A _ B AB A ^ B What do we get with KN? Symmetry of dual ^ and _: AB A _ B (I^) (E_) A ^ B AB What do we get with KN? (i) (i) A B . A _ B C C (E_) (i) C A _ B A B −−−−−−−−!becomes . C C No discharging. All inferences are local. What do we get with KN? Kneale version of another hypothetical deduction: (i) A . B (I!) (i) A ! B is built from A B . AA ! B A ! B B ... AA ! B . B A ! B Kneale developments Theorem 3. KN is sound, but incomplete. KN-unprovable tautologies: (A ! A) ^ (A _ (A ! A)) distributive law: A _ (B ^ C) ` (A _ B) ^ (A _ C) Contractions Some (simple) cycles have to be allowed: AA A and . A AA For example: A _ A AA A . Contractions We "borrow" NK-notation for discharging hypothesis. We’ll "discharge" duplicate premisses (conclusions). Ex: (A ^ B) _ (A ^ C) A ^ B A ^ C Z A(1) AZ(1) 29 / 103 MCD deduction of a formula unprovable in KN with contractions A A ! A (1) (1) A ! A A ! A (2) (2) A ! A A _ (A ! A) B MCD deduction of a formula unprovable in KN with contractions A A!A A ! A A!A A _ (A ! A) (A ! A) ^ (A _ (A ! A)) 3. Proof search II. Synthesis proof search in MPD calculus I. Analysis X We can search for proofs in normal form. Top and bottom nodes are obvious pieces of the puzzle. proof search in MPD calculus I. Analysis X II. Synthesis We can search for proofs in normal form. Top and bottom nodes are obvious pieces of the puzzle. proof search (sketch) Proof search sketch G ` D I. Analysis find all analytic deductions of G formulas as premisses find all analytic deductions of D formulas as conclusions II. Synthesis try to match/build G ` D from analytic parts We’ll present such a procedure and prove it to be equivalent to tableaux method. A ^ B A ^ B AB A B A ^ B A ^ B A ^ B A B A ^ B Motivating Example A ^ B ` A ^ B Proof search for A ^ B ` A ^ B: A ^ B A ^ B A B A ^ B Motivating Example A ^ B ` A ^ B Proof search for A ^ B ` A ^ B: A ^ B A ^ B AB A B A ^ B Motivating Example A ^ B ` A ^ B Proof search for A ^ B ` A ^ B: A ^ B A ^ B AB A B A ^ B A ^ B A ^ B A B A ^ B Algorithm 1: Analysis of F going down input :non-atomic F F # output:appropriate inference(s) with appropriate major formula F. F F F F F 7! or 7! , # F1 F2 # F1 F2 Algorithm returns all analytical deductions of F as premiss. (normal form, one major formula) Example " X ! (Y ^ Z) " Y ^ Z X ! (Y ^ Z) , XX ! (Y ^ Z) YZ Y ^ Z X ! (Y ^ Z) , XX ! (Y ^ Z) 40 / 103 N.B. We don’t get a necessarily minimal deduction, but we get one in normal form. Connections are Intro-Elim. Matching (sparivanje) ad hoc, for now Matching – series of connections that yields p za G ` D (premisses are in G, conclusions are in D) Matching (sparivanje) ad hoc, for now Matching – series of connections that yields p za G ` D (premisses are in G, conclusions are in D) N.B. We don’t get a necessarily minimal deduction, but we get one in normal form. Connections are Intro-Elim. Matching (sparivanje) ad hoc, for now Matching – series of connections that yields p za G ` D (premisses are in G, conclusions are in D) N.B. We don’t get a necessarily minimal deduction, but we get one in normal form. Connections are Intro-Elim. 4. Semantic version of analysis TF semantic analysis (−A)> (−A)? −> −? A? A> (A ^ B)> (A ^ B)? ^> ^? A> A? B? B> (A _ B)> (A _ B)? _> _? A> B> A? B? (A ! B)> (A ! B)? ! > !? A? B> A> B? We get F> j= −A1, .., −An, B1, .., Bm . F implies clause f−A1, .., −An, B1,..., Bmg . Atoms on top are ?-marked. Atoms on the bottom are >-marked. Analytic deductions and clauses Let p be a.d. of F as premiss: F, A1, .., An ` B1, .., Bm (Ai and Bj are atoms) F implies clause f−A1, .., −An, B1,..., Bmg . Atoms on top are ?-marked. Atoms on the bottom are >-marked. Analytic deductions and clauses Let p be a.d. of F as premiss: F, A1, .., An ` B1, .., Bm (Ai and Bj are atoms) We get F> j= −A1, .., −An, B1, .., Bm . Atoms on top are ?-marked. Atoms on the bottom are >-marked. Analytic deductions and clauses Let p be a.d. of F as premiss: F, A1, .., An ` B1, .., Bm (Ai and Bj are atoms) We get F> j= −A1, .., −An, B1, .., Bm . F implies clause f−A1, .., −An, B1,..., Bmg . Analytic deductions and clauses Let p be a.d. of F as premiss: F, A1, .., An ` B1, .., Bm (Ai and Bj are atoms) We get F> j= −A1, .., −An, B1, .., Bm . F implies clause f−A1, .., −An, B1,..., Bmg . Atoms on top are ?-marked. Atoms on the bottom are >-marked.