a sequent calculus for
play

A sequent calculus for a semi-associative law 1 Noam Zeilberger - PowerPoint PPT Presentation

A sequent calculus for a semi-associative law 1 Noam Zeilberger University of Birmingham 25-May-2018 CLA 2018 (Paris) 1 Based on a paper: https://arxiv.org/abs/1803.10080 1 / 33 Introduction 2 / 33 The Tamari order The partial order on


  1. A sequent calculus for a semi-associative law 1 Noam Zeilberger University of Birmingham 25-May-2018 CLA 2018 (Paris) 1 Based on a paper: https://arxiv.org/abs/1803.10080 1 / 33

  2. Introduction 2 / 33

  3. The Tamari order The partial order on binary trees induced by right 2 rotation − → Equivalently, order on bracketings induced by semi-associativity ( A ∗ B ) ∗ C ≤ A ∗ ( B ∗ C ) plus monotonicity ( A ≤ A ′ and B ≤ B ′ implies A ∗ B ≤ A ′ ∗ B ′ ) 2 Alternatively: left 3 / 33

  4. Example: ( p ∗ ( q ∗ r )) ∗ s ≤ p ∗ ( q ∗ ( r ∗ s )) − → − → 4 / 33

  5. First studied by Dov Tamari. [An excerpt from “Monoïdes préordonnés et chaînes de Malcev,” PhD Thesis, Université de Paris, 1951.] 5 / 33

  6. Tamari lattices � 2 n � / ( n + 1) Catalan objects of size n , Let Y n be the set of C n = n ordered by the Tamari order. Y n is in fact a lattice . ◮ H. Friedman and D. Tamari, “Problèmes d’associativité: une structure de treillis finis induite par une loi demi-associative,” J. Combinatorial Theory , vol. 2, 1967. ◮ S. Huang and D. Tamari, “Problems of associativity: A simple proof for the lattice property of systems ordered by a semi-associative law,” J. Combin. Theory Ser. A , vol. 13, no. 1, 1972. The Hasse diagram of Y n is the skeleton of an n − 1 dimensional polytope known as an “associahedron”. 6 / 33

  7. Y 3 7 / 33

  8. Y 4 0 1 2 3 0 0 1 2 0 0 2 3 0 0 0 2 0 1 0 0 3 1 2 0 0 0 1 0 0 0 1 3 0 0 1 0 0 1 0 1 0 0 0 0 3 0 2 0 0 1 0 0 0 0 0 0 (cf. Knuth, “The associative law, or the anatomy of rotations in binary trees”, https://www.youtube.com/watch?v=Xp7bnx1wDz4 ) 8 / 33

  9. Counting intervals in Tamari lattices Theorem (Chapoton 2006) Tam 2(4 n +1)! Let I n = { ( A , B ) ∈ Y n × Y n | A ≤ B } . Then |I n | = ( n +1)!(3 n +2)! . For example, Y 3 contains 13 intervals: Note: the formula (A000260) was originally derived by Tutte, but for a completely different family of objects! 9 / 33

  10. Counting rooted maps [An excerpt from “A census of planar triangulations,” Canad. J. Math. , vol. 14, pp. 21–38, 1962] 10 / 33

  11. Counting lambda terms family of lambda terms family of rooted maps OEIS linear terms 3-valent maps A062980 planar terms planar 3-valent maps A002005 unitless linear bridgeless 3-valent A267827 unitless planar bridgeless planar 3-valent A000309 normal linear terms/ ∼ maps A000698 normal planar terms planar maps A000168 normal unitless linear/ ∼ bridgeless maps A000699 normal unitless planar bridgeless planar A000260 11 / 33

  12. So the Tamari order must be related to lambda calculus?? Perhaps it would be helpful to study it as a logical system... 12 / 33

  13. Sequent calculus 13 / 33

  14. A formula is either a product ( A ∗ B ) or atomic ( p , q , . . . ) A context (Γ , ∆ , . . . ) is a list of formulas A sequent is a pair of a context and a formula (Γ − → A ) A derivation is a tree of sequents, constructed via four rules: Θ − → A Γ , A , ∆ − → B → A id cut A − Γ , Θ , ∆ − → B A , B , ∆ − → C Γ − → A ∆ − → B → C ∗ L ∗ R A ∗ B , ∆ − Γ , ∆ − → A ∗ B (Note: no “weakening”, “contraction”, or “exchange” rules.) 14 / 33

  15. Tamari vs Lambek These rules are almost straight from Lambek 3 ... A , B , ∆ − → C Γ , A , B , ∆ − → C versus → C ∗ L → C ∗ L amb A ∗ B , ∆ − Γ , A ∗ B , ∆ − . . . but this simple restriction makes all the difference! 3 J. Lambek, “The mathematics of sentence structure,” The American Mathematical Monthly , vol. 65, no. 3, pp. 154–170, 1958. 15 / 33

  16. ≤ Example: ( p ∗ ( q ∗ r )) ∗ s ≤ p ∗ ( q ∗ ( r ∗ s )) r − → r s − → s R q − → q r , s − → r ∗ s R q , r , s − → q ∗ ( r ∗ s ) → q ∗ ( r ∗ s ) L p − → p q ∗ r , s − R p , q ∗ r , s − → p ∗ ( q ∗ ( r ∗ s )) → p ∗ ( q ∗ ( r ∗ s )) L p ∗ ( q ∗ r ) , s − → p ∗ ( q ∗ ( r ∗ s )) L ( p ∗ ( q ∗ r )) ∗ s − 16 / 33

  17. �≤ Counterexample: p ∗ ( q ∗ ( r ∗ s )) �≤ ( p ∗ ( q ∗ r )) ∗ s q − → q r − → r R p − → p q , r − → q ∗ r R p , q , r − → p ∗ ( q ∗ r ) s − → s R p , q , r , s − → ( p ∗ ( q ∗ r )) ∗ s → ( p ∗ ( q ∗ r )) ∗ s L amb p , q , r ∗ s − → ( p ∗ ( q ∗ r )) ∗ s L amb p , q ∗ ( r ∗ s ) − → ( p ∗ ( q ∗ r )) ∗ s L p ∗ ( q ∗ ( r ∗ s )) − 17 / 33

  18. Theorem (Completeness) Tam If A ≤ B then A − → B. Theorem (Soundness) Tam If Γ − → B then φ [Γ] ≤ B, where φ [ A 0 , . . . , A n ] = (( A 0 ∗ A 1 ) · · · ) ∗ A n is the left-associated product 18 / 33

  19. Proof of completeness (easy) Reflexivity + transitivity: immediate by id and cut . Monotonicity: A − → A ′ B − → B ′ R → A ′ ∗ B ′ A , B − → A ′ ∗ B ′ L A ∗ B − Semi-associativity: B − → B C − → C R A − → A B , C − → B ∗ C R A , B , C − → A ∗ ( B ∗ C ) → A ∗ ( B ∗ C ) L A ∗ B , C − → A ∗ ( B ∗ C ) L ( A ∗ B ) ∗ C − 19 / 33

  20. Proof of soundness (mildly satisfying) Key lemmas about φ [ − ]: ◮ “colaxity”: φ [Γ , ∆] ≤ φ [Γ] ∗ φ [∆] ◮ φ [Γ , ∆] = φ [Γ] ⊛ ∆, where the (monotonic) right action − ⊛ ∆ is defined by A ⊛ ( B 1 , . . . , B n ) = (( A ∗ B 1 ) · · · ) ∗ B n Soundness follows by induction on derivations... (Case id ): by reflexivity. (Case ∗ L ): φ [ A ∗ B , Γ] = φ [ A , B , Γ] ≤ C (Case ∗ R ): φ [Γ , ∆] ≤ φ [Γ] ∗ φ [∆] ≤ A ∗ B (Case cut ): φ [Γ , Θ , ∆] = φ [Γ , Θ] ⊛ ∆ ≤ ( φ [Γ] ∗ φ [Θ]) ⊛ ∆ ≤ ( φ [Γ] ∗ A ) ⊛ ∆ = φ [Γ , A , ∆] ≤ B 20 / 33

  21. We say that a derivation is focused if it only uses ∗ L and the following restricted forms of ∗ R and id (and no cut ): Γ irr − → A ∆ − → B ∗ R foc → p id atm Γ irr , ∆ − → A ∗ B p − where Γ irr denotes an “irreducible” context (atomic on the left) Theorem (Focusing completeness) Every derivable sequent has a focused derivation. Theorem (Coherence) Every derivable sequent has exactly one focused derivation. (Proofs not difficult by standard inductions – no surprises other than that it works!) 21 / 33

  22. Application #1: counting intervals 22 / 33

  23. By the coherence theorem, the problem of counting intervals is equivalent to the problem of counting focused derivations! Consider the bivariate OGFs L ( z , x ) and R ( z , x ), where [ z n x k ] L ( z , x ) = # focused derivations of sequents of the form Γ − → A with len (Γ) = k and size ( A ) = n . [ z n x k ] R ( z , x ) = # focused derivations of sequents of the form Γ irr − → A with len (Γ irr ) = k and size ( A ) = n . We have (by the coherence theorem) that |I n | = [ z n ] L 1 ( z ) where L 1 ( z ) = [ x 1 ] L ( z , x ). 23 / 33

  24. From the inductive definition of focused derivations. . . Γ irr − A , B , ∆ − → C → A ∆ − → B ∗ R foc → C ∗ L → p id atm Γ irr , ∆ − A ∗ B , ∆ − → A ∗ B p − we immediately obtain the following functional equations: L ( z , x ) = ( L ( z , x ) − xL 1 ( z )) / x + R ( z , x ) = x R ( z , x ) − R ( z , 1) (1) x − 1 R ( z , x ) = zR ( z , x ) L ( z , x ) + x (2) These can be solved via quadratic method (Cori & Schaeffer ’03) 2(4 n +1)! to obtain the formula [ z n ] L 1 ( z ) = [ z n ] R ( z , 1) = ( n +1)!(3 n +2)! . 24 / 33

  25. Comparison to Chapoton Chapoton likewise defined a bivariate OGF Φ( z , x ), where x keeps track of “the number of segments along the left border” of the tree at the lower end of the interval, and obtains the following equation: 1 + Φ( z , x ) − Φ( z , 1) � � Φ( z , x ) = x 2 z (1 + Φ( z , x ) / x ) (3) x − 1 In fact (3) can be derived from (1) and (2) by taking Φ( z , x ) = R ( z , x ) − x because Chapoton excludes the case n = 0. (In other words, our proof in the end is very similar to Chapoton’s, just a little more systematic.) 25 / 33

  26. Application #2: lattice property 26 / 33

  27. We can use the calculus to give a new proof of the lattice property of the Tamari order, i.e., that each Y n has joins (and meets). First step: extend the order to contexts via substitution ordering , i.e., least relation such that: 1) Γ − → A implies Γ ≤ A ; 2) · ≤ · ; and 3) if Γ 1 ≤ Γ 2 and Θ 1 ≤ Θ 2 then (Γ 1 , Θ 1 ) ≤ (Γ 2 , Θ 2 ). Defines a family of posets F(Y) [ n ] of forests with n + 1 leaves . 27 / 33

  28. Key observation: there is an adjoint triple ψ φ i Y n F(Y) [ n ] φ [Γ] ≤ A ⇐ ⇒ Γ ≤ i [ A ] ψ [ A ] ≤ Θ ⇐ ⇒ A ≤ φ [Θ] where i is the evident inclusion, φ is the left-associated product, and ψ the maximal decomposition of a tree along its left border. 4 We can use this to reduce any join of trees to a join of forests: 5 A ∨ B = φ [ ψ [ A ] ⊔ ψ [ B ]] 4 The adjunction φ ⊣ i corresponds to soundness & completeness of the sequent calculus, while ψ ⊣ φ follows from focusing completeness. 5 Since “left adjoints preserve colimits”. 28 / 33

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