cut elimination for infinitary proofs
play

Cut elimination for infinitary proofs Amina Doumane IRIF-Universit - PowerPoint PPT Presentation

Cut elimination for infinitary proofs Amina Doumane IRIF-Universit Paris Diderot August 2016 - CSL Joint work with: David Baelde Alexis Saurin LSV-ENS Cachan IRIF-Universit Paris 7 Introduction Introduction Inductive and


  1. Cut elimination for infinitary proofs Amina Doumane IRIF-Université Paris Diderot August 2016 - CSL Joint work with: David Baelde Alexis Saurin � LSV-ENS Cachan IRIF-Université Paris 7

  2. Introduction

  3. Introduction Inductive and coinductive definitions A natural number is either 0 or the successor of a natural number.

  4. Introduction Inductive and coinductive definitions N = 1 ⊕ N

  5. Introduction Inductive and coinductive definitions N = µ X . 1 ⊕ X

  6. Introduction Inductive and coinductive definitions N = µ X . 1 ⊕ X A stream is made of a natural number (head) and a stream (tail).

  7. Introduction Inductive and coinductive definitions N = µ X . 1 ⊕ X S = N ⊗ S

  8. Introduction Inductive and coinductive definitions N = µ X . 1 ⊕ X S = ν X . N ⊗ X

  9. Introduction Inductive and coinductive definitions N = µ X . 1 ⊕ X S = ν X . N ⊗ X

  10. Introduction Inductive and coinductive definitions N = µ X . 1 ⊕ X S = ν X . N ⊗ X Proofs-programs over these data types double ( n ) = 0 if n = 0 = succ ( succ ( double ( m ))) if n = succ ( m )

  11. Introduction Inductive and coinductive definitions N = µ X . 1 ⊕ X S = ν X . N ⊗ X Proofs-programs over these data types double ( n ) = 0 if n = 0 = succ ( succ ( double ( m ))) if n = succ ( m ) Π double N ⊢ N ( ⊕ 2 ) N ⊢ 1 ⊕ N (1) ( µ r ) 1 ⊢ 1 N ⊢ N Π double = ( ⊕ 1 ) ( ⊕ 2 ) 1 ⊢ 1 ⊕ N N ⊢ 1 ⊕ N ( µ l ) ( µ r ) 1 ⊢ N N ⊢ N ( ⊕ l ) 1 ⊕ N ⊢ N ( µ l ) N ⊢ N

  12. Infinitary (circular) proofs in the litterature Verification device : Complete deduction sytem giving algorithms for checking validity (Tableaux, sequent calculi) Success → Validity µ -calulus formula → Proof search ր ց Failure → Invalidity

  13. Infinitary (circular) proofs in the litterature Verification device : Complete deduction sytem giving algorithms for checking validity (Tableaux, sequent calculi) Success → Validity µ -calulus formula → Proof search ր ց Failure → Invalidity Completeness arguments : Intermediate objects between syntax and semantics (Kozen, Kaivola, Walukiewicz) µ -calulus formula → Circular proof → Finite axiomatization

  14. Infinitary (circular) proofs in the litterature Verification device : Complete deduction sytem giving algorithms for checking validity (Tableaux, sequent calculi) Success → Validity µ -calulus formula → Proof search ր ց Failure → Invalidity Completeness arguments : Intermediate objects between syntax and semantics (Kozen, Kaivola, Walukiewicz) µ -calulus formula → Circular proof → Finite axiomatization But rarely as proof/programm objects in themselves

  15. Structural proof theory Two main properties: Syntactic cut-elimination

  16. Structural proof theory Two main properties: Syntactic cut-elimination Motivation: At the heart of proofs-as-programms viewpoint Focalization Motivation: Proof search strategy based on the notion of polarity State of art de la focalization: le nothing peut être provoquant.

  17. Structural proof theory Two main properties: Syntactic cut-elimination Motivation: At the heart of proofs-as-programms viewpoint State of art: Semantical cut elimination (Brotherstone), Additive fragment (Fortier-Santocanale) Focalization Motivation: Proof search strategy based on the notion of polarity State of art: Nothing State of art de la focalization: le nothing peut être provoquant.

  18. Structural proof theory Two main properties: Syntactic cut-elimination Motivation: At the heart of proofs-as-programms viewpoint State of art: Semantical cut elimination (Brotherstone), Additive fragment (Fortier-Santocanale) Focalization Motivation: Proof search strategy based on the notion of polarity State of art: Nothing State of art de la focalization: le nothing peut être provoquant.

  19. Infinitary proof system µ MALL ∞

  20. Formulas µ MALL ∞ formulas X | ⊤ |⊥| 0 | 1 | F ⊗ F | F � F | F � F | F ⊕ F F ::= MALL | µ X . F least fixed point | ν X . F greatest fixed point µ and ν are dual. Example: ¬ ( ν X . X ⊗ X ) = µ X . X � X . Data types encoding Nat := µ X . 1 ⊕ X Stream( A ) := ν X . A ⊗ X

  21. Sequent calculus µ MALL ∞ pre-proofs are the trees coinductively generated by: Usual logical rules ⊢ Γ , F ⊢ ∆ , G ⊢ Γ , F , G ⊢ Γ , F ⊢ Γ , G ⊢ Γ , F i ( ⊗ ) ( ⊕ i ) ( � ) ( � ) ⊢ Γ , ∆ , F ⊗ G ⊢ Γ , F � G ⊢ Γ , F � G ⊢ Γ , F 1 ⊕ F 2 Identity rules ⊢ Γ , F ⊢ ∆ , ¬ F (ax) ⊢ F , ¬ F (cut) ⊢ Γ , ∆ Rules for µ and ν ⊢ Γ , F [ µ X . F / X ] ⊢ Γ , F [ ν X . F / X ] ( µ ) ( ν ) ⊢ Γ , µ X . F ⊢ Γ , ν X . F

  22. Sequent calculus . . . . . . ( µ ) ( ν ) ⊢ µ X . X ⊢ ν X . X , F ( µ ) ( ν ) ⊢ µ X . X ⊢ ν X . X , F (cut) ⊢ F

  23. Sequent calculus . . . . . . ( µ ) ( ν ) ⊢ µ X . X ⊢ ν X . X , F ( µ ) ( ν ) ⊢ µ X . X ⊢ ν X . X , F (cut) ⊢ F Pre-proofs are unsound, hence the need for a validity condition.

  24. Sequent calculus . . . . . . ( µ ) ( ν ) ⊢ µ X . X ⊢ ν X . X , F ( µ ) ( ν ) ⊢ µ X . X ⊢ ν X . X , F (cut) ⊢ F Pre-proofs are unsound, hence the need for a validity condition. Validity condition A proof is a pre-proof such that every infinite branch must unfold a ν formula infinitly often.

  25. Focalization

  26. Focalization in MALL Idea: classify the connectives into 2 categories Negative connectives: Invertible connectives ie. we don’t lose provability by applying these rules ( � , � ). If ⊢ Γ , A � B is provable then ⊢ Γ , A , B is also provable. Positive connectives: Non Invertible connectives ie. there is a choice to make, a bad choice may lead to a loss of provability ( ⊕ , ⊗ ). ⊢ 1 , X ⊥ ⊢ X ⊢ ⊥ ( ⊕ ) ( ⊗ ) ⊢ ⊤⊕⊥ ⊢ X ⊗ 1 , X ⊥

  27. Focalization in MALL To prove a sequent Γ , apply the following: Γ contains a negative formula Γ contains no negative formula choose a negative choose some positive formula and formula and apply the unique decompose it hereditarily until negative rule available. negative subformulas are reached. ( ax ) ( ax ) ⊢ B , B ⊥ ⊢ C , C ⊥ ( ⊕ ) ( ⊕ ) ⊢ B , D ⊕ B ⊥ ⊢ C , D ⊕ C ⊥ ( ⊗ ) ⊢ B ⊗ C , D ⊕ B ⊥ , D ⊕ C ⊥ ( ⊕ ) ⊢ A ⊕ ( B ⊗ C ) , D ⊕ B ⊥ , D ⊕ C ⊥ ( � ) ⊢ A ⊕ ( B ⊗ C ) , ( D ⊕ B ⊥ ) � ( D ⊕ C ⊥ )

  28. Focalization in MALL To prove a sequent Γ , apply the following: Γ contains a negative formula Γ contains no negative formula choose a negative choose some positive formula and formula and apply the unique decompose it hereditarily until negative rule available. negative subformulas are reached. ( ax ) ( ax ) ⊢ B , B ⊥ ⊢ C , C ⊥ ( ⊕ ) ( ⊕ ) ⊢ B , D ⊕ B ⊥ ⊢ C , D ⊕ C ⊥ ( ⊗ ) ⊢ B ⊗ C , D ⊕ B ⊥ , D ⊕ C ⊥ ( � ) ⊢ B ⊗ C , ( D ⊕ B ⊥ ) � ( D ⊕ C ⊥ ) ( ⊕ ) ⊢ A ⊕ ( B ⊗ C ) , ( D ⊕ B ⊥ ) � ( D ⊕ C ⊥ )

  29. Focalization in MALL To prove a sequent Γ , apply the following: Γ contains a negative formula Γ contains no negative formula choose a negative choose some positive formula and formula and apply the unique decompose it hereditarily until negative rule available. negative subformulas are reached. ( ax ) ⊢ C , C ⊥ ( ⊕ ) ( ax ) ⊢ B , B ⊥ ⊢ C , D ⊕ C ⊥ ( ⊗ ) ⊢ B ⊗ C , B ⊥ , D ⊕ C ⊥ ( ⊕ ) ⊢ B ⊗ C , B ⊥ , D ⊕ C ⊥ ( ⊕ ) ⊢ A ⊕ ( B ⊗ C ) , D ⊕ B ⊥ , D ⊕ C ⊥ ( � ) ⊢ A ⊕ ( B ⊗ C ) , ( D ⊕ B ⊥ ) � ( D ⊕ C ⊥ )

  30. Focalization for µ MALL Classification of connectives ν is classified negative and µ is classified positive , even though both are invertible. If µ is classified negative, we would have . . ⊢ . ( µ ) ⊢ ⊤⊗⊤ , µ X . X ( µ ) ⊢ ⊤⊗⊤ , µ X . X ... which is not a valid proof.

  31. Proof of completeness of Focalization for MALL Transforms a MALL proof into a focused proof by using: Strong commutation of Negatives: negative connectives commute down with all other connectives. Exemple: ( � / � ) ⊢ F , P , Q ⊢ G , P , Q ⊢ F , P , Q ⊢ G , P , Q ( � ) ( � ) ( � ) ⊢ F , P � Q ⊢ G , P � Q → ⊢ F � G , P , Q ( � ) ( � ) ⊢ F � G , P � Q ⊢ F � G , P � Q Weak commutation of positives: positive connectives commute with each others only. Exemple: ( ⊕ / ⊕ ) ⊢ G , P , Γ ⊢ G , P , Γ ( ⊕ ) ( ⊕ ) ⊢ G , P ⊕ Q , Γ → ⊢ F ⊕ G , P , Γ ( ⊕ ) ( ⊕ ) ⊢ F ⊕ G , P ⊕ Q , Γ ⊢ F ⊕ G , P ⊕ Q , Γ

  32. Proof of completeness of Focalization for µ MALL Works in the same way, under some adaptations. Rules commutations cannot be performed locally: π ( ⋆ ) ⊢ F , P , Q ( � ) ⊢ F , P � Q ⊢ F , P � Q π ( � ) ⊢ F � F , P � Q ⊢ F , P , Q ( � ) ⊢ F , P � Q ⊢ F , P � Q ( � ) ⊢ F � F , P � Q ( ν ) ( ⋆ ) ⊢ F , P � Q The commutation process is productive. The commutation process preserves validity.

  33. Cut elimination

  34. Cut elimination procedure Strategy: “push” the cuts away from the root. Cut-Cut: ⊢ Γ , F ⊢ ¬ F , ∆ , G (cut) ⊢ Γ , ∆ , G ⊢ ¬ G , Σ (cut) ⊢ Γ , ∆ , Σ � ⊢ ¬ F , ∆ , G ⊢ ¬ G , Σ (cut) ⊢ Γ , F ⊢ ¬ F , ∆ , Σ (cut) ⊢ Γ , ∆ , Σ

Recommend


More recommend