introduction to linear logic
play

Introduction to Linear Logic Shane Steinert-Threlkeld November 29, - PowerPoint PPT Presentation

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


  1. Introduction MILL MLL MALL Exponentials Conclusion Introduction to Linear Logic Shane Steinert-Threlkeld November 29, 2011

  2. 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.

  3. Introduction MILL MLL MALL Exponentials Conclusion What is Linear Logic? High-Level Motivations Linear logic is: a logic of actions [Gir89].

  4. 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: A → B A B

  5. 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: A → B A B In the conclusion, A still holds. This is perfectly well-suited to mathematics, which deals with stable truths.

  6. 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: A → B A 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].

  7. 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.)

  8. 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

  9. Introduction MILL MLL MALL Exponentials Conclusion Additive vs. Multiplicative Connectives Two Sequent Calculi Consider a standard sequent calculus. Call these “M”-rules: Γ ′ , B ⊢ ∆ ′ Γ , A , B ⊢ ∆ Γ , A ⊢ ∆ (LM ∧ ) Γ , A ∧ B ⊢ ∆ (LM ∨ ) Γ , Γ ′ , A ∨ B ⊢ ∆ , ∆ ′ Γ ′ ⊢ ∆ ′ , B Γ ⊢ ∆ , A Γ ⊢ A , B , ∆ (RM ∨ ) Γ ⊢ A ∨ B , ∆ (RM ∧ ) Γ , Γ ′ ⊢ ∆ , ∆ ′ , A ∧ B Table: “M”-rules for sequent calculus.

  10. 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) Γ , A ∧ B ⊢ ∆ (LA ∨ ) Γ , A ∨ B ⊢ ∆ Γ , B ⊢ ∆ Γ ⊢ ∆ , A (LA ∧ -2) Γ , A ∧ B ⊢ ∆ (RA ∨ -1) Γ ⊢ ∆ , A ∨ B Γ ⊢ ∆ , A Γ ⊢ ∆ , B Γ ⊢ ∆ , B (RA ∨ -2) Γ ⊢ ∆ , A ∨ B (RA ∧ ) Γ ⊢ ∆ , A ∧ B Table: “A”-rules for sequent calculus.

  11. 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 ⊢ ∆ Γ ′ ⊢ ∆ ′ , B Γ ⊢ ∆ , A (LA ∧ -1) Γ , A ∧ B , B ⊢ ∆ Γ , Γ ′ ⊢ ∆ , ∆ ′ , A Γ , Γ ′ ⊢ ∆ , ∆ ′ , B (LA ∧ -2) Γ , A ∧ B , A ∧ B ⊢ ∆ (RA ∧ ) Γ , Γ ′ ⊢ ∆ , ∆ ′ , A ∧ B Γ , A ∧ B ⊢ ∆ Table: “M” rules derived in “A” system.

  12. 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.

  13. Introduction MILL MLL MALL Exponentials Conclusion Additive vs. Multiplicative Connectives Interderivability of “M” and “A” Rules Notice anything?

  14. 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.

  15. 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: ( · ) ⊥

  16. Introduction MILL MLL MALL Exponentials Conclusion The Plan Outline I Introduction 1 What is Linear Logic? Additive vs. Multiplicative Connectives The Plan MILL 2 Syntax and Sequent Calculus Natural Deduction and Term Calculus Categorical Semantics MLL 3 Sequent Calculus Proof Nets MALL 4 Additives Proof Nets Phase Semantics

  17. Introduction MILL MLL MALL Exponentials Conclusion The Plan Outline II Exponentials 5 Exponential Modalities Translation of Intuitionistic Logic Extension of Phase Semantics Conclusion 6 Other Topics References

  18. Introduction MILL MLL MALL Exponentials Conclusion Syntax and Sequent Calculus Sequent Calculus We now consider the ( ⊗ , ⊸ , 1 )-fragment, multiplicative intuitionistic linear logic . Γ , P , Q , ∆ ⊢ C (Ax) P ⊢ P (Ex) Γ , Q , P , ∆ ⊢ C Γ ⊢ P P , ∆ ⊢ Q (Cut) Γ , ∆ ⊢ Q ( 1 -R) ⊢ 1 Γ ⊢ P ( 1 -L) Γ , 1 ⊢ P Γ ⊢ P ∆ ⊢ Q Γ , P , Q ⊢ R ( ⊗ -L) Γ , P ⊗ Q ⊢ R ( ⊗ -R) Γ , ∆ ⊢ P ⊗ Q Γ , P ⊢ Q Γ ⊢ P Q , ∆ ⊢ R ( ⊸ -R) Γ ⊢ P ⊸ Q ( ⊸ -L) Γ , P ⊸ Q , ∆ ⊢ R Table: Sequent Calculus for MILL

  19. 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 !).

  20. Introduction MILL MLL MALL Exponentials Conclusion Natural Deduction and Term Calculus Natural Deduction of MILL P ⊢ P Γ , P ⊢ Q Γ ⊢ P ⊸ Q ∆ ⊢ Q ( ⊸ I ) Γ ⊢ P ⊸ Q ( ⊸ E ) Γ , ∆ ⊢ Q Γ ⊢ P ∆ ⊢ I ( I E ) ⊢ I Γ , ∆ ⊢ P Γ ⊢ P ⊗ Q ∆ , P , Q ⊢ R Γ ⊢ P ∆ ⊢ Q ( ⊗ I ) ( ⊗ E ) Γ , ∆ ⊢ P ⊗ Q Γ , ∆ ⊢ R Table: Natural Deduction (Sequent Style) for MILL

  21. 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 ) Γ ⊢ λ x . f : P ⊸ Q ( ⊸ E ) Γ , ∆ ⊢ fg : Q Γ ⊢ f : P ∆ ⊢ g : I ( I E ) Γ , ∆ ⊢ let g be ∗ in f : P ⊢ ∗ : I Γ ⊢ f : P ∆ ⊢ g : Q Γ ⊢ f : P ⊗ Q ∆ , x : P , y : Q ⊢ g : R ( ⊗ I ) ( ⊗ E ) Γ , ∆ ⊢ f ⊗ g : P ⊗ Q Γ , ∆ ⊢ let f be x ⊗ y in g : R Table: Term Assignment for MILL Natural Deduction

  22. 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

  23. 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 {⊗ , & , ⊸ } fragment using an extended notion of substitution.

  24. 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 .

  25. 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.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend