harrop a new tool in the kitchen of intuitionistic logic
play

Harrop: a new tool in the kitchen of intuitionistic logic Matteo - PowerPoint PPT Presentation

Harrop: a new tool in the kitchen of intuitionistic logic Matteo Manighetti 1 Andrea Condoluci 2 ESSLLI 2018 Student Session Sofia, August 16, 2018 1 INRIA Saclay & LIX, Ecole Polytechnique, France 2 DISI, Universit` a di Bologna, Italy


  1. Harrop: a new tool in the kitchen of intuitionistic logic Matteo Manighetti 1 Andrea Condoluci 2 ESSLLI 2018 Student Session Sofia, August 16, 2018 1 INRIA Saclay & LIX, ´ Ecole Polytechnique, France 2 DISI, Universit` a di Bologna, Italy

  2. Background: proof-theoretic kitchen

  3. Background: structural proof theory What are we talking about? • Proof theory: • Given some ingredients (axioms) and tools (inference rules) • What can we cook (prove) in the proof system? ⊢ ( A → B ) → A → B • Structural proof theory: how do recipes look like? A → B ⊢ A → B ⊢ ( A → B ) → A → B 1

  4. Backgound: natural deduction, intuitionistic propositional logic Natural deduction: a very well known set of tools to cook proofs in intuitionistic propositional logic ( IPC ) They look like this: Γ ⊢ A Γ ⊢ B Γ ⊢ A ∧ B Γ ⊢ A ∧ -I: ∧ -E ∨ -I Γ ⊢ A ∨ B Γ ⊢ A ∧ B Γ ⊢ A Γ ⊢ A ∨ B Γ , A ⊢ C Γ , B ⊢ C ∨ -E Γ ⊢ C That is: pairs of introduction and elimination tools for each connective 2

  5. Background: proof reductions A central notion in structural proof theory: proof reduction (aka “normalization”, “cut elimination”) Say we have a recipe ending with Π 1 Π 2 A ⊢ B → -I ⊢ A → B ⊢ A → -E ⊢ B There is a detour ! Preparing A → B first is not necessary Π 2 Π 1 Π 2 ⊢ A A ⊢ B � ⊢ A → B ⊢ A Π 1 ⊢ B ⊢ B 3

  6. Background: proof reductions Why do we like Intuitionistic Logic? • Disjunction property: if ⊢ A ∨ B is provable, we know which of the two is provable • Curry-Howard: proofs correspond to idealized functional programs Why Natural Deduction? • Transform directly axioms in elimination rules • Easily get Curry-Howard terms 4

  7. Intro: Admissibility in propositional intuitionistic logic

  8. Basic definitions Definition (Admissible and derivable rules) A rule A / B is admissible if whenever ⊢ A is provable, then ⊢ B is provable. It is derivable if ⊢ A → B is provable Definition (Structural completeness) A logic is structurally complete if all admissible rules are derivable So: an admissible rule is a tool we can actually do without If it is derivable: we can describe how to do without, with a recipe inside the logic! In a structurally complete logic: we always have recipes to explain how to avoid using admissible tools 5

  9. Basic definitions Definition (Admissible and derivable rules) A rule A / B is admissible if whenever ⊢ A is provable, then ⊢ B is provable. It is derivable if ⊢ A → B is provable Definition (Structural completeness) A logic is structurally complete if all admissible rules are derivable Note Classical logic is structurally complete. Just think of truth tables! Technical remark Rules here refer just to formulas, not to Natural Deduction judgements! Thus: different from cut/weakening admissibility 5

  10. Basic definitions Definition (Admissible and derivable rules) A rule A / B is admissible if whenever ⊢ A is provable, then ⊢ B is provable. It is derivable if ⊢ A → B is provable Definition (Structural completeness) A logic is structurally complete if all admissible rules are derivable Theorem (Harrop 1960) Intuitionistic propositional logic is not structurally complete Proof. Counterexample: ¬ B → ( A 1 ∨ A 2 ) / ( ¬ B → A 1 ) ∨ ( ¬ B → A 2 ) is admissible but not derivable We study: admissible but non-derivable “principles” (axioms/rules) 5

  11. A bit of history • Friedman (1975): Are the admissible rules of IPC countable? • Rybakov (1984) answered positively; De Jongh and Visser conjectured a basis for them • Iemhoff (2001) proved the conjecture semantically • Less known: Rozi` ere (1992) independently obtained the same result proof-theoretically 6

  12. Visser’s basis Theorem (Iemhoff 2001, Rozi` ere 1992) All admissible and non derivable rules are obtained by the usual intuitionistic rules and the following rules  � n j =1 (( B i → C i ) i =1 ... n → B j )      ∨     V n : ( B i → C i ) i =1 ... n → A 1 ∨ A 2 / (( B i → C i ) i =1 ... n → A 1 )   ∨       (( B i → C i ) i =1 ... n → A 2 )  7

  13. Our plan: proof reductions and admissible rules Problem Whenever we have a recipe for A , there is one for B . We can’t have a recipe for A → B How are the two recipes related? Looks like we miss some reductions ! Idea • Allow admissible inferences in a Natural Deduction system • Add reduction rules to make these inferences disappear • . . . end up with the desired intuitionistic recipe! 8

  14. Adding tools to the intuitionistic kitchen

  15. Harrop’s rule and the Kreisel-Putnam logic The most famous admissible principle of IPC : Harrop’s principle ( ¬ B → ( A 1 ∨ A 2 )) → ( ¬ B → A 1 ) ∨ ( ¬ B → A 2 ) By adding it to IPC we obtain the Kreisel-Putnam logic KP It’s a particular case of V 1 , with ⊥ for C : V 1 : (( B → C ) → ( A 1 ∨ A 2 )) → ((( B → C ) → A 1 ) ∨ (( B → C ) → A 2 )) Trivia KP was the first non-intuitionistic logic to be shown to have the disjunction property 9

  16. Harrop’s rule and the Kreisel-Putnam logic The most famous admissible principle of IPC : Harrop’s principle ( ¬ B → ( A 1 ∨ A 2 )) → ( ¬ B → A 1 ) ∨ ( ¬ B → A 2 ) Transform it to a Natural Deduction rule (based on disjunction elimination) Γ , ¬ B → A 1 ⊢ D Γ , ¬ B ⊢ A 1 ∨ A 2 Γ , ¬ B → A 2 ⊢ D D Ask a proof of the antecedent of Harrop, eliminate the conclusion 9

  17. Harrop’s rule and the Kreisel-Putnam logic The most famous admissible principle of IPC : Harrop’s principle ( ¬ B → ( A 1 ∨ A 2 )) → ( ¬ B → A 1 ) ∨ ( ¬ B → A 2 ) The final rule, together with a Curry-Howard term annotation: Γ , y : ¬ B → A 1 ⊢ u 1 : D Γ , x : ¬ B ⊢ t : A 1 ∨ A 2 Γ , y : ¬ B → A 2 ⊢ u 2 : D Γ ⊢ hop[ x . t | | y . u 1 | y . u 2 ] : D 9

  18. Harrop’s rule and the Kreisel-Putnam logic Let’s turn to the reduction rules! In the Curry-Howard notation: ✞ ☎ ✞ ☎ • Harrop-inj: hop[ x .inj i t | | y . u 1 | y . u 2 ] �→ u i { λ� x . t / y } ✝ ✆ ✝ ✆ • Harrop-app: hop[ x .efq [ x t ] | | y . u 1 | y . u 2 ] �→ u i { ( λ x . efq x t ) / y } Π Ξ 1 Ξ 2 Γ , ¬ B ⊢ A 1 ∨ -I Γ , ¬ B ⊢ A 1 ∨ A 2 Γ , ¬ B → A 1 ⊢ D Γ , ¬ B → A 2 ⊢ D Harrop: Γ ⊢ D . . . reduces to Π Γ , ¬ B ⊢ A i → -I Γ ⊢ ¬ B → A i Ξ i Γ ⊢ D 10

  19. Harrop’s rule and the Kreisel-Putnam logic Let’s turn to the reduction rules! In the Curry-Howard notation: �→ u i { λ� • Harrop-inj: hop[ x .inj i t | | y . u 1 | y . u 2 ] x . t / y } ✞ ☎ ✞ ☎ • Harrop-app: hop[ x .efq [ x t ] | | y . u 1 | y . u 2 ] �→ u i { ( λ x . efq x t ) / y } ✝ ✆ ✝ ✆ Π Γ , ¬ B ⊢ ⊥ Ξ 1 Ξ 2 efq Γ , ¬ B ⊢ A 1 ∨ A 2 Γ , ¬ B → A 1 ⊢ D Γ , ¬ B → A 2 ⊢ D Harrop: Γ ⊢ D . . . reduces to Π Γ , ¬ B ⊢ ⊥ efq Γ , ¬ B ⊢ A 1 → -I Γ ⊢ ¬ B → A 1 Ξ 1 Γ ⊢ D 11

  20. Harrop’s rule and the Kreisel-Putnam logic Definition (Normal form) A proof is in normal form if no reduction rule is applicable to it Definition (Strong Normalization) A proof system has the Strong Normalization property if all proofs reduce to a normal form, regardless of the strategy Theorem Our calculus for KP has the Strong Normalization property 12

  21. Harrop’s rule and the Kreisel-Putnam logic Lemma (Classification) Let Γ ¬ ⊢ t : τ for t in n.f. and t not an exfalso: • If τ = A → B, then t is an abstraction or a variable in Γ ¬ ; • If τ = A ∨ B, then t is an injection; • If τ = A ∧ B, then t is a pair; • If τ = ⊥ , then t = x v for some v and some x ∈ Γ ¬ ; Theorem (Disjunction property) If ⊢ t : A ∨ B, then there is t ′ such that either ⊢ t ′ : A or ⊢ t ′ : B. 13

  22. Rozi` ere’s logic AD What if we try to add the full V 1 principle? Theorem (Rozi` ere, 1992) In the logic characterized by the axiom V 1 , all V i are derivable and all admissible rules are derivable Rozi` ere called this logic AD and showed that it isn’t classical logic. However: Theorem (Iemhoff, 2001) The only logic with the disjunction property where all V n are admissible is IPC 14

  23. Rozi` ere’s logic AD We can as before provide a term assignment for AD : Γ , y : ( B → C ) → A 1 ⊢ u 1 : D Γ , y : ( B → C ) → A 2 ⊢ u 2 : D Γ , x : B → C ⊢ t : A 1 ∨ A 2 Γ , z : ( B → C ) → B ⊢ v : D Γ ⊢ V 1 [ x . t | | y . u 1 | y . u 2 | | z . v ] : D Although it doesn’t have the disjunction property, AD seems an interesting and not well studied logic. Rozi` ere posed the problem of finding a functional interpretation for it; we go in this direction by providing a term assignment to proofs 15

  24. Conclusions

  25. Conclusions • Transformed admissible rules into natural deduction rules • Studied arising logics • Studied associated Curry-Howard calculus (in the paper) 16

  26. Conclusions • Transformed admissible rules into natural deduction rules • Studied arising logics • Studied associated Curry-Howard calculus (in the paper) But hey! The resulting recipes are in KP , AD , . . . not IPC ! Check out (soon): M M and A C. “Admissible Tools in the Kitchen of Intuitionistic Logic”. In: 7th International Workshop on Classical Logic & Computation . 2018 Where we take a different road, sticking to IPC and characterizing all the Visser rule 16

Recommend


More recommend