Introduction to Linear Logic

Introduction to Linear Logic

Introduction MILL MLL MALL Exponentials Conclusion Introduction to Linear Logic Shane Steinert-Threlkeld November 29, 2011 Introduction MILL MLL MALL Exponentials Conclusion What is Linear Logic? Structural Motivations Introduced by Jean-Yves Girard in 1987 [Gir87]. Linear logic is: Sequent calculus without weakening and contraction. As (or more) constructive than intuitionistic logic, while maintaining desirable features of classical logic. Finding more and more applications in theoretical computer science. In all traditional logics, consider modus ponens: AA ! B B In the conclusion, A still holds. This is perfectly well-suited to mathematics, which deals with stable truths. \But wrong in real life, since real implication is causal." For beautiful connections with physics, see Baez and Stay 2011 \Physics, Topology, Logic, Computation: a Rosetta Stone" [BS11]. Introduction MILL MLL MALL Exponentials Conclusion What is Linear Logic? High-Level Motivations Linear logic is: a logic of actions [Gir89]. In the conclusion, A still holds. This is perfectly well-suited to mathematics, which deals with stable truths. \But wrong in real life, since real implication is causal." For beautiful connections with physics, see Baez and Stay 2011 \Physics, Topology, Logic, Computation: a Rosetta Stone" [BS11]. Introduction MILL MLL MALL Exponentials Conclusion What is Linear Logic? High-Level Motivations Linear logic is: a logic of actions [Gir89]. In all traditional logics, consider modus ponens: AA ! B B \But wrong in real life, since real implication is causal." For beautiful connections with physics, see Baez and Stay 2011 \Physics, Topology, Logic, Computation: a Rosetta Stone" [BS11]. Introduction MILL MLL MALL Exponentials Conclusion What is Linear Logic? High-Level Motivations Linear logic is: a logic of actions [Gir89]. In all traditional logics, consider modus ponens: AA ! B B In the conclusion, A still holds. This is perfectly well-suited to mathematics, which deals with stable truths. Introduction MILL MLL MALL Exponentials Conclusion What is Linear Logic? High-Level Motivations Linear logic is: a logic of actions [Gir89]. In all traditional logics, consider modus ponens: AA ! B B In the conclusion, A still holds. This is perfectly well-suited to mathematics, which deals with stable truths. \But wrong in real life, since real implication is causal." For beautiful connections with physics, see Baez and Stay 2011 \Physics, Topology, Logic, Computation: a Rosetta Stone" [BS11]. This motivates thinking of formulas in linear logic as resources as opposed to eternally true/false propositions. For instance [Gir89, p. 74]: state of a Turing machine state of a chess game chemical solution before/after reaction Introduction MILL MLL MALL Exponentials Conclusion What is Linear Logic? High-Level Motivations In linear logic, we do not have A ( A ⊗ A By eliminating weakening and contraction, we eliminate free duplication and elimination of formulas. (We will develop tools to restore these in a controlled manner.) Introduction MILL MLL MALL Exponentials Conclusion What is Linear Logic? High-Level Motivations In linear logic, we do not have A ( A ⊗ A By eliminating weakening and contraction, we eliminate free duplication and elimination of formulas. (We will develop tools to restore these in a controlled manner.) This motivates thinking of formulas in linear logic as resources as opposed to eternally true/false propositions. For instance [Gir89, p. 74]: state of a Turing machine state of a chess game chemical solution before/after reaction Introduction MILL MLL MALL Exponentials Conclusion Additive vs. Multiplicative Connectives Two Sequent Calculi Consider a standard sequent calculus. Call these \M"-rules: Γ; A; B ` ∆ Γ; A ` ∆ Γ0; B ` ∆0 (LM^) (LM_) Γ; A ^ B ` ∆ Γ; Γ0; A _ B ` ∆; ∆0 Γ ` ∆; A Γ0 ` ∆0; B Γ ` A; B; ∆ (RM^) (RM_) Γ; Γ0 ` ∆; ∆0; A ^ B Γ ` A _ B; ∆ Table: \M"-rules for sequent calculus. Introduction MILL MLL MALL Exponentials Conclusion Additive vs. Multiplicative Connectives Two Sequent Calculi Consider a standard sequent calculus. Call these \A"-rules: Γ; A ` ∆ Γ; A ` ∆ Γ; B ` ∆ (LA^-1) (LA_) Γ; A ^ B ` ∆ Γ; A _ B ` ∆ Γ; B ` ∆ Γ ` ∆; A (LA^-2) (RA_-1) Γ; A ^ B ` ∆ Γ ` ∆; A _ B Γ ` ∆; A Γ ` ∆; B Γ ` ∆; B (RA^) (RA_-2) Γ ` ∆; A ^ B Γ ` ∆; A _ B Table: \A"-rules for sequent calculus. Introduction MILL MLL MALL Exponentials Conclusion Additive vs. Multiplicative Connectives Interderivability of \M" and \A" Rules In both intuitionistic and classical logic, the two formulations are equivalent. Here we derive the \M" rules for ^ using the \A" rules: Γ; A; B ` ∆ Γ ` ∆; A Γ0 ` ∆0; B (LA^-1) Γ; A ^ B; B ` ∆ Γ; Γ0 ` ∆; ∆0; A Γ; Γ0 ` ∆; ∆0; B (LA^-2) (RA^) Γ; A ^ B; A ^ B ` ∆ Γ; Γ0 ` ∆; ∆0; A ^ B Γ; A ^ B ` ∆ Table: \M" rules derived in \A" system. Introduction MILL MLL MALL Exponentials Conclusion Additive vs. Multiplicative Connectives Interderivability of \M" and \A" Rules In both intuitionistic and classical logic, the two formulations are equivalent. Here we derive the \A" rules for ^ using the \M" rules: Γ ` ∆; A Γ ` ∆; B Γ; A ` ∆ (RM^) Γ; Γ ` ∆; ∆; A ^ B Γ; A; B ` ∆ (LM^) Γ ` ∆; A ^ B Γ; A ^ B ` ∆ Table: \A" rules derived in \M" system. Exercise. Carry out the same procedure for the _ rules. Every one of those proofs used contraction and/or weakening. In linear logic, we will have both multiplicative and additive connectives corresponding to these two sets of rules which are no longer equivalent. Introduction MILL MLL MALL Exponentials Conclusion Additive vs. Multiplicative Connectives Interderivability of \M" and \A" Rules Notice anything? Introduction MILL MLL MALL Exponentials Conclusion Additive vs. Multiplicative Connectives Interderivability of \M" and \A" Rules Notice anything? Every one of those proofs used contraction and/or weakening. In linear logic, we will have both multiplicative and additive connectives corresponding to these two sets of rules which are no longer equivalent. Introduction MILL MLL MALL Exponentials Conclusion The Plan The Full Language of (Propositional) Classical Linear Logic Propositional variables: A; B; C; ··· ; P; Q; R; ··· Constants: Multiplicative: 1; ? (units, resp. of ⊗; `) Additive: >; 0 (units, resp. of &; ⊕) Connectives: Multiplicative: ⊗; `; ( Additive: &; ⊕ Exponential modalities: !; ? Linear negation: (·)? Introduction MILL MLL MALL Exponentials Conclusion The Plan OutlineI 1 Introduction What is Linear Logic? Additive vs. Multiplicative Connectives The Plan 2 MILL Syntax and Sequent Calculus Natural Deduction and Term Calculus Categorical Semantics 3 MLL Sequent Calculus Proof Nets 4 MALL Additives Proof Nets Phase Semantics Introduction MILL MLL MALL Exponentials Conclusion The Plan OutlineII 5 Exponentials Exponential Modalities Translation of Intuitionistic Logic Extension of Phase Semantics 6 Conclusion Other Topics References Introduction MILL MLL MALL Exponentials Conclusion Syntax and Sequent Calculus Sequent Calculus We now consider the (⊗; (; 1)-fragment, multiplicative intuitionistic linear logic. (Ax) Γ; P; Q; ∆ ` C (Ex) P ` P Γ; Q; P; ∆ ` C Γ ` PP; ∆ ` Q (Cut) Γ; ∆ ` Q (1-R) (1-L) Γ ` P ` 1 Γ; 1 ` P Γ ` P ∆ ` Q Γ; P; Q ` R (⊗-R) (⊗-L) Γ; ∆ ` P ⊗ Q Γ; P ⊗ Q ` R Γ; P ` Q Γ ` PQ; ∆ ` R ((-R) ((-L) Γ ` P ( Q Γ; P ( Q; ∆ ` R Table: Sequent Calculus for MILL Introduction MILL MLL MALL Exponentials Conclusion Syntax and Sequent Calculus Consequences Theorem MILL satisfies cut-elimination. Proof. Requires defining new commuting conversions, but otherwise is similar to regular intuitionistic case. See [BBPH93] for a proof (also with !). Introduction MILL MLL MALL Exponentials Conclusion Natural Deduction and Term Calculus Natural Deduction of MILL P ` P Γ; P ` Q Γ ` P ( Q ∆ ` Q ((I ) ((E ) Γ ` P ( Q Γ; ∆ ` Q (I ) Γ ` P ∆ ` I ` I E Γ; ∆ ` P Γ ` P ∆ ` Q Γ ` P ⊗ Q ∆; P; Q ` R (⊗ ) (⊗ ) I Γ; ∆ ` P ⊗ Q E Γ; ∆ ` R Table: Natural Deduction (Sequent Style) for MILL Introduction MILL MLL MALL Exponentials Conclusion Natural Deduction and Term Calculus Term Assignment x : P ` x : P Γ; x : P ` f : Q Γ ` f : P ( Q ∆ ` g : Q ((I ) ((E ) Γ ` λx:f : P ( Q Γ; ∆ ` fg : Q Γ ` f : P ∆ ` g : I (I ) ` ∗ : I E Γ; ∆ ` let g be ∗ in f : P Γ ` f : P ∆ ` g : Q Γ ` f : P ⊗ Q ∆; x : P; y : Q ` g : R (⊗ ) (⊗ ) I Γ; ∆ ` f ⊗ g : P ⊗ Q E Γ; ∆ ` let f be x ⊗ y in g : R Table: Term Assignment for MILL Natural Deduction Introduction MILL MLL MALL Exponentials Conclusion Natural Deduction and Term Calculus Good Features of This Formulation Substitution property Subject reduction theorem (with commuting conversions added to β) Normalization and uniquenesss of normal form Introduction MILL MLL MALL Exponentials Conclusion Natural Deduction and Term Calculus Bad Features of This Formulation No subformula property (because of ⊗-E) Unnecessarily extends term calculus (with let construction) [Min98] proves a uniqueness of normal form theorem for the {⊗; &; (g fragment using an extended notion of substitution. I will fly through the relevant definitions; feel free to pursue them when more time is available. Introduction MILL MLL MALL Exponentials Conclusion Categorical Semantics Closed Symmetric Monoidal Categories In the same way that intuitionistic propositional logic is the logic of Cartesian Closed Categories [Min00, Gol06, TS00], MILL is the logic of closed symmetric monoidal categories. Introduction MILL MLL MALL Exponentials Conclusion Categorical Semantics Closed Symmetric Monoidal Categories In the same way that intuitionistic propositional logic is the logic of Cartesian Closed Categories [Min00, Gol06, TS00], MILL is the logic of closed symmetric monoidal categories. I will fly through the relevant definitions; feel free to pursue them when more time is available. Introduction MILL MLL MALL Exponentials Conclusion Categorical Semantics Category Definition A category C is given by a class of objects, ob(C) (we often write X 2 C when X is in ob(C) and for every pair of objects X and Y , a set of morphisms, hom(X ; Y ) (if f 2 hom(X ; Y ), we write f : X ! Y ). These objects and morphisms must satisfy: For each X 2 ob(C), 91X 2 hom(X ; X ).

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    88 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us