least and greatest fixed points in ludics
play

Least and greatest fixed points in ludics 10 September 2015 - CSL - PowerPoint PPT Presentation

Least and greatest fixed points in ludics 10 September 2015 - CSL 2015 David Baelde, Amina Doumane and Alexis Saurin Least and greatest fixed points in Ludics Least and greatest fixed points in Ludics A logic modelling inductive and coinductive


  1. Least and greatest fixed points in ludics 10 September 2015 - CSL 2015 David Baelde, Amina Doumane and Alexis Saurin

  2. Least and greatest fixed points in Ludics

  3. Least and greatest fixed points in Ludics A logic modelling inductive and coinductive reasoning: not only to express statements, but also a proof system in sequent calculus : in the paper, MALL with fixed points . extends the proof-program correspondence to recursive and co-recusive programming, with coinductive datatypes.

  4. Least and greatest fixed points in Ludics A logic modelling inductive and coinductive reasoning: not only to express statements, but also a proof system in sequent calculus : in the paper, MALL with fixed points . extends the proof-program correspondence to recursive and co-recusive programming, with coinductive datatypes. Semantics of proofs: Interprets not only formulas, but also inteprets proofs . Interactive semantics (ludics, geometry of interaction, Hyland-Ong game semantics, ...) completeness properties (not only at the level of provability , but also at the level of proofs ). On the completeness of an interactive semantics for a logic with least and greatest fixed points.

  5. Logics with fixed points

  6. Formulas F ::= F ⊗ F | F � F | ... Propositional logic with | µ X . F least fixed point and | ν X . F greatest fixed point. µ and ν are dual. Examples: Nat := µ X . 1 � X List( A ) := µ X . 1 � ( A ⊗ X ) Stream( A ) := ν X . 1 � ( A ⊗ X )

  7. Sequent calculus Usual logical rules ∆ ⊢ Γ , F 1 , F 2 ∆ 1 ⊢ Γ 1 , F 1 ∆ 2 ⊢ Γ 2 , F 2 ... ( � ) ( ⊗ ) ∆ ⊢ Γ , F 1 � F 2 ∆ 1 , ∆ 2 ⊢ Γ 1 , Γ 2 , F 1 ⊗ F 2 Identity rules ∆ 1 ⊢ Γ 1 , F F , ∆ 2 ⊢ Γ 2 (ax) (cut) F ⊢ F ∆ 1 , ∆ 2 ⊢ Γ 1 , Γ 2

  8. Sequent calculus Usual logical rules ∆ ⊢ Γ , F 1 , F 2 ∆ 1 ⊢ Γ 1 , F 1 ∆ 2 ⊢ Γ 2 , F 2 ... ( � ) ( ⊗ ) ∆ ⊢ Γ , F 1 � F 2 ∆ 1 , ∆ 2 ⊢ Γ 1 , Γ 2 , F 1 ⊗ F 2 Identity rules ∆ 1 ⊢ Γ 1 , F F , ∆ 2 ⊢ Γ 2 (ax) (cut) F ⊢ F ∆ 1 , ∆ 2 ⊢ Γ 1 , Γ 2 Rules for µ and ν See next couple of slides

  9. Knaster-Tarski fixed point theorem Theorem Let C be a complete lattice and F a monotonic operator on C . F has a least fixed point µ X . F . µ X . F is the least pre-fixed point, i.e.: F ( µ X . F ) ⊆ µ X . F ∀ S F ( S ) ⊆ S ⇒ µ X . F ⊆ S and

  10. Knaster-Tarski fixed point theorem Theorem Let C be a complete lattice and F a monotonic operator on C . F has a least fixed point µ X . F . µ X . F is the least pre-fixed point, i.e.: F ( µ X . F ) ⊆ µ X . F ∀ S F ( S ) ⊆ S ⇒ µ X . F ⊆ S and This gives right and left rules for µ : H ⊢ F [ µ X . F / X ] F [ S / X ] ⊢ S ( µ r ) ( µ l ) H ⊢ µ X . F µ X . F ⊢ S

  11. Knaster-Tarski fixed point theorem Theorem Let C be a complete lattice and F a monotonic operator on C . F has a greatest fixed point ν X . F . ν X . F is the greatest post-fixed point, i.e.: ν X . F ⊆ F ( ν X . F ) and ∀ S S ⊆ F ( S ) ⇒ S ⊆ ν X . F This gives right and left rules for ν : F [ ν X . F / X ] ⊢ H S ⊢ F [ S / X ] ( ν l ) ( ν r ) ν X . F ⊢ H S ⊢ ν X . F

  12. Ludics

  13. Semantics of proofs In matematics, more interest for theorems and their truth than for their proofs. ⇒ In Logic one traditionaly interprets formulas only. The proof-programs correspondence changed this perspective: Curry-Howard correspondence Proof theory Programming languages Formulas Types Proofs Programs Cut elimination Evaluation Consequently, one aims at understanding the meaning of programs and proofs.

  14. Semantics of proofs and programs From extentional semantics : interpret programs (or proofs) by the functions they compute. What? To intentional semantics : the semantics keeps information about how computation is achieved, e.g. Game semantics. How? Proof theory Programming languages Game semantics Proofs Programs Strategies Formulas Types Arenas Cut elimination Evaluation Interaction

  15. Semantics of proofs and programs From extentional semantics : interpret programs (or proofs) by the functions they compute. What? To intentional semantics : the semantics keeps information about how computation is achieved, e.g. Game semantics. How? Proof theory Programming languages Ludics Proofs Programs Designs Formulas Types Behaviours Cut elimination Evaluation Interaction

  16. Ludics Designs Signature: A set of names Designs The set of positive designs p and negative designs n are coinductively generated by: p := Daimon Success � | Ω Omega Failure | n 0 | a � n 1 ,..., n k � Named application := Variables n x | ∑ a ( � x a ) . p a Sum of named abstractions Reduction rule: ( ∑ a ( � x a ) . p a ) | b � � n � → p b [ � n /� x b ].

  17. Ludics Behaviours Orthogonality between two designs p and n : p [ n / x ] → ⋆ � p ⊥ n ⇐ ⇒ Orthogonal of a set of designs X : X ⊥ = { d | ∀ e ∈ X , e ⊥ d } . Behaviours are set of designs such that: X = X ⊥⊥

  18. Interpretation of propositional logic Interpretation of formulas � X � E = E ( X ) { ( x |⊗� r 1 , r 2 � ) : r 1 ∈ � F 1 � E , r 2 ∈ � F 2 � E } ⊥⊥ � F 1 ⊗ F 2 � E = ⊥ � F 1 � F 2 � E = � ¬ F 1 ⊗¬ F 2 � E Interpretation of proofs By induction on the last applied rule: p ⊢ Γ , x : F 1 , y : F 2 n 1 ⊢ ∆ , F 1 n 2 ⊢ Γ , F 2 ( � ) ( ⊗ ) � ( x , y ) . p ⊢ Γ , F 1 � F 2 x |⊗� n 1 , n 2 � ⊢ Γ , ∆ , x : F 1 ∧ F 2

  19. Properties of the interpretation Theorem (Soundness) If π is a proof of F, then � π � ∈ � F � . Theorem The interpretation is invariant under cut elimination. Theorem (Completeness) If s ∈ � F � and � / ∈ s, then there is a proof π of F such that s = � π � .

  20. Interpretation of fixed points

  21. Interpretation of fixed point Interpretation of fixed point formulas � µ X . F � E = lfp (Φ) and � ν X . F � E = gfp (Φ) where Φ : C �− → � F � E ∪ ( X �→ C ) . Interpretation of fixed point rules Should behave well w.r.t cut elimination!

  22. Interpretation of fixed point Interpretation of fixed point formulas � µ X . F � E = lfp (Φ) and � ν X . F � E = gfp (Φ) where Φ : C �− → � F � E ∪ ( X �→ C ) . Interpretation of fixed point rules p ⊢ Γ , x : P [ µ X . P / X ] Rule µ : ( µ ) p ⊢ Γ , x : µ X . P d ⊢ x : S , N [ S ⊥ / X ] Rule ν : ( ν ) G N , d ⊢ S , ν X . N Should behave well w.r.t cut elimination!

  23. Interpretation of ν rule The key ( µ ) − ( ν ) step: Π Θ ⊢ Γ , N ⊥ [( µ X . N ⊥ ) / X ] ( µ ) ⊢ S , N [ S ⊥ / X ] ( ν ) ⊢ Γ , µ X . N ⊥ ⊢ S , ν X . N ( cut ) ⊢ Γ , S ↓ Θ ⊢ S , N [ S ⊥ / X ] ( ν ) ⊢ S , ν X . N Θ ( N ) ⊢ S , N [ S ⊥ / X ] ⊢ N ⊥ [ S / X ] , N [( ν X . N ) / X ] ( cut ) Π ⊢ Γ , N ⊥ [( µ X . N ⊥ ) / X ] ⊢ S , N [( ν X . N ) / X ] ( cut ) ⊢ Γ , S When we annotate these two proofs, we obtain an equation which we take as the definition of the ν rule.

  24. Properties of the interpretation Theorem (Soundness) If π is a proof of F, then � π � ∈ � F � . Theorem The interpretation is invariant under cut elimination.

  25. Properties of the interpretation Theorem (Soundness) If π is a proof of F, then � π � ∈ � F � . Theorem The interpretation is invariant under cut elimination. What about completeness?

  26. On completeness

  27. Completeness for Essentially Finite Designs Completeness is at the level of proof, not at the level of provability, that means a class of elements of the models which are all interpretations of proofs. Definition (Essentially finite designs – EFD) Designs with a finite prefix, followed by a copycat . Theorem (Completeness for EFD) Let d be an EFD. If d ∈ � F � then there is a proof π of F such that d = � π � .

  28. Idea of the proof The completeness for EFD reduces to: Theorem (Completeness for semantic inclusion) If � Q � ⊆ � P � then there is a proof π of P ⊢ Q . Introducing an infinitary proof system S ∞ with a validity condition, inspired by Santocanale’s proof systems. Every valid proof in S ∞ can be translated into a proof in our proof system. If � Q � ⊆ � P � then there is a valid proof of Q ⊢ P in S ∞ (and conversely)

  29. Idea of the proof The completeness for EFD reduces to: Theorem (Completeness for semantic inclusion) If � Q � ⊆ � P � then there is a proof π of P ⊢ Q . Introducing an infinitary proof system S ∞ with a validity condition, inspired by Santocanale’s proof systems. Every valid proof in S ∞ can be translated into a proof in our proof system. If � Q � ⊆ � P � then there is a valid proof of Q ⊢ P in S ∞ (and conversely) As a bonus Validity of S ∞ proofs is a decidable property. This gives us decidability of semantic inclusion.

  30. Conclusion A correct semantics for a fixed point logic in Ludics. Completeness for essentially finite designs. Decidability of semantic inclusion. Future work Completeness for regular strategies. Full abstraction.

  31. Conclusion A correct semantics for a fixed point logic in Ludics. Completeness for essentially finite designs. Decidability of semantic inclusion. Future work Completeness for regular strategies. Full abstraction. Thank you for your attention!

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