Plan Discrete paths as Heyting algebras Discrete paths as - - PowerPoint PPT Presentation

plan
SMART_READER_LITE
LIVE PREVIEW

Plan Discrete paths as Heyting algebras Discrete paths as - - PowerPoint PPT Presentation

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions Algebra and logic of discrete paths 1 Luigi Santocanale LIS (team LIRICA), Aix-Marseille Universit e, France S


slide-1
SLIDE 1

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Algebra and logic of discrete paths1

Luigi Santocanale LIS (team LIRICA), Aix-Marseille Universit´ e, France S´ eminaire tutor´ e, M2 IMD, November 5, 2020

1Based on L.S. WORDS 2019 Thanks to: M. J. Gouveia (ULisboa), S. Brlek (UQAM), A. Joyal (UQAM), C. Muresan (UCagliari, UBucarest) 1/33

slide-2
SLIDE 2

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Plan

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

2/33

slide-3
SLIDE 3

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Binary words as discrete paths

Let P(n, m) := { w ∈ { x, y }∗ | |w|x = n and |w|y = m } .

3/33

slide-4
SLIDE 4

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Binary words as discrete paths

Let P(n, m) := { w ∈ { x, y }∗ | |w|x = n and |w|y = m } . A word w ∈ P(n, m) is a discrete path from (0, 0) to (n, m).

3/33

slide-5
SLIDE 5

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Binary words as discrete paths

Let P(n, m) := { w ∈ { x, y }∗ | |w|x = n and |w|y = m } . A word w ∈ P(n, m) is a discrete path from (0, 0) to (n, m).

0, 0 5, 4

3/33

slide-6
SLIDE 6

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Binary words as discrete paths

Let P(n, m) := { w ∈ { x, y }∗ | |w|x = n and |w|y = m } . A word w ∈ P(n, m) is a discrete path from (0, 0) to (n, m).

0, 0 5, 4

3/33

slide-7
SLIDE 7

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Binary words as discrete paths

Let P(n, m) := { w ∈ { x, y }∗ | |w|x = n and |w|y = m } . A word w ∈ P(n, m) is a discrete path from (0, 0) to (n, m).

0, 0 5, 4 x y y x x x y y x

3/33

slide-8
SLIDE 8

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is a lattice

4/33

slide-9
SLIDE 9

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is a lattice

4/33

slide-10
SLIDE 10

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is a lattice

π1 ≤ π2

4/33

slide-11
SLIDE 11

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is a lattice

4/33

slide-12
SLIDE 12

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is a lattice

π3 = π1 ∨ π2

4/33

slide-13
SLIDE 13

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is a lattice

4/33

slide-14
SLIDE 14

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is a lattice

4/33

slide-15
SLIDE 15

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is a lattice

π3 = π1 ∧ π2

4/33

slide-16
SLIDE 16

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is a lattice

4/33

slide-17
SLIDE 17

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is a lattice

Remark

P(n, m) is also called a binomial lattice since |P(n, m)| =

n+m

m

  • .

4/33

slide-18
SLIDE 18

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The fundamental bijection

Notation: [n] := { 1, . . . , n } , [n]+ := { 0, 1, . . . , n } .

5/33

slide-19
SLIDE 19

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The fundamental bijection

Notation: [n] := { 1, . . . , n } , [n]+ := { 0, 1, . . . , n } . Then: P(n, m)

height

− − − − − → { f : [n] − → [m]+ | f is monotone } ≃ { f : [n]+ − → [m]+ | f is monotone, f(0) = 0 } = { f : [n]+ − → [m]+ | f is preserves sups } = SLatt( [n]+, [m]+ ) .

5/33

slide-20
SLIDE 20

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The fundamental bijection

Notation: [n] := { 1, . . . , n } , [n]+ := { 0, 1, . . . , n } . Then: P(n, m)

height

− − − − − → { f : [n] − → [m]+ | f is monotone } ≃ { f : [n]+ − → [m]+ | f is monotone, f(0) = 0 } = { f : [n]+ − → [m]+ | f is preserves sups } = SLatt( [n]+, [m]+ ) . heightπ(1) = heightπ(2) = heightπ(3) = 1 heightπ(4) = 2 heightπ(5) = 4

5/33

slide-21
SLIDE 21

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is an Heyting algebra

Proposition

P(n, m) is a distributive lattice. Car (f ∨ g)(i) = max(f(i), g(i)) , (f ∧ g)(i) = min(f(i), g(i)) .

6/33

slide-22
SLIDE 22

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is an Heyting algebra

Proposition

P(n, m) is a distributive lattice. Car (f ∨ g)(i) = max(f(i), g(i)) , (f ∧ g)(i) = min(f(i), g(i)) . Heyting algebra: algebraic model of propositional intuitionisitic logic. Signature: ⊤, ∧, ⊥, ∨, →

6/33

slide-23
SLIDE 23

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, m) is an Heyting algebra

Proposition

P(n, m) is a distributive lattice. Car (f ∨ g)(i) = max(f(i), g(i)) , (f ∧ g)(i) = min(f(i), g(i)) . Heyting algebra: algebraic model of propositional intuitionisitic logic. Signature: ⊤, ∧, ⊥, ∨, →

Proposition

P(n, m) is an Heyting algebra. Car every finite distributive lattice is an Heyting algebra.

6/33

slide-24
SLIDE 24

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Heyting implication of paths

In every finite distributive lattice x → y =

  • { z | z ∧ x ≤ y }

7/33

slide-25
SLIDE 25

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Heyting implication of paths

In every finite distributive lattice x → y =

  • { z | z ∧ x ≤ y } =∗

       ⊤ , x ≤ y , y , y < x , * : if the lattice is a chain.

7/33

slide-26
SLIDE 26

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Heyting implication of paths

In every finite distributive lattice x → y =

  • { z | z ∧ x ≤ y } =∗

       ⊤ , x ≤ y , y , y < x , * : if the lattice is a chain. We can compute π1 → π2 as follows:

7/33

slide-27
SLIDE 27

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Heyting implication of paths

In every finite distributive lattice x → y =

  • { z | z ∧ x ≤ y } =∗

       ⊤ , x ≤ y , y , y < x , * : if the lattice is a chain. We can compute π1 → π2 as follows:

7/33

slide-28
SLIDE 28

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Heyting implication of paths

In every finite distributive lattice x → y =

  • { z | z ∧ x ≤ y } =∗

       ⊤ , x ≤ y , y , y < x , * : if the lattice is a chain. We can compute π1 → π2 as follows:

7/33

slide-29
SLIDE 29

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Heyting implication of paths

In every finite distributive lattice x → y =

  • { z | z ∧ x ≤ y } =∗

       ⊤ , x ≤ y , y , y < x , * : if the lattice is a chain. We can compute π1 → π2 as follows:

7/33

slide-30
SLIDE 30

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Heyting implication of paths

In every finite distributive lattice x → y =

  • { z | z ∧ x ≤ y } =∗

       ⊤ , x ≤ y , y , y < x , * : if the lattice is a chain. We can compute π1 → π2 as follows:

7/33

slide-31
SLIDE 31

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Heyting implication of paths

In every finite distributive lattice x → y =

  • { z | z ∧ x ≤ y } =∗

       ⊤ , x ≤ y , y , y < x , * : if the lattice is a chain. We can compute π1 → π2 as follows:

7/33

slide-32
SLIDE 32

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Heyting implication of paths

In every finite distributive lattice x → y =

  • { z | z ∧ x ≤ y } =∗

       ⊤ , x ≤ y , y , y < x , * : if the lattice is a chain. We can compute π1 → π2 as follows:

7/33

slide-33
SLIDE 33

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Heyting implication of paths

In every finite distributive lattice x → y =

  • { z | z ∧ x ≤ y } =∗

       ⊤ , x ≤ y , y , y < x , * : if the lattice is a chain. We can compute π1 → π2 as follows:

7/33

slide-34
SLIDE 34

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Heyting implication of paths

In every finite distributive lattice x → y =

  • { z | z ∧ x ≤ y } =∗

       ⊤ , x ≤ y , y , y < x , * : if the lattice is a chain. We can compute π1 → π2 as follows:

7/33

slide-35
SLIDE 35

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The equational theory of the P(n, m)?

Problem: characterize the equational theory of the P(n, m). That is : what are the IPC (Intuitionistic Propositonal Calculus) formulas that are true in this kind of models?

8/33

slide-36
SLIDE 36

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The equational theory of the P(n, m)?

Problem: characterize the equational theory of the P(n, m). That is : what are the IPC (Intuitionistic Propositonal Calculus) formulas that are true in this kind of models? An example, Gabbay/De Jong formula(s): for each n, m, P(n, m) |=

  • i=1,2,3

((pi →

  • ji

pj) →

  • ji

pj) .

8/33

slide-37
SLIDE 37

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Plan

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

9/33

slide-38
SLIDE 38

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Composition of paths/words?

SLatt is a category, can we characterize composition?

SLatt([n]+, [m]+) × SLatt([m]+, [k]+) P(n, m) × P(m, k) SLatt([n]+, [k]+) P(n, k)

? ≃

10/33

slide-39
SLIDE 39

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The product ⊗ on binary words as synchronisation

By example: xyxyxxy ∈ P

x,y(4, 3) and yzzyyz ∈ P y,z(3, 3).

11/33

slide-40
SLIDE 40

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The product ⊗ on binary words as synchronisation

By example: xyxyxxy ∈ P

x,y(4, 3) and yzzyyz ∈ P y,z(3, 3).

x y x y xx y y zz y y z

11/33

slide-41
SLIDE 41

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The product ⊗ on binary words as synchronisation

By example: xyxyxxy ∈ P

x,y(4, 3) and yzzyyz ∈ P y,z(3, 3).

x y x y xx y y zz y y z

11/33

slide-42
SLIDE 42

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The product ⊗ on binary words as synchronisation

By example: xyxyxxy ∈ P

x,y(4, 3) and yzzyyz ∈ P y,z(3, 3).

x y x y xx y x xzz xx z y zz y y z

11/33

slide-43
SLIDE 43

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The product ⊗ on binary words as synchronisation

By example: xyxyxxy ∈ P

x,y(4, 3) and yzzyyz ∈ P y,z(3, 3).

y y y x xzz xx z y y y

11/33

slide-44
SLIDE 44

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The product ⊗ on binary words as synchronisation

By example: xyxyxxy ∈ P

x,y(4, 3) and yzzyyz ∈ P y,z(3, 3).

x xzz xx z

11/33

slide-45
SLIDE 45

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The product ⊗ on binary words as synchronisation

By example: xyxyxxy ∈ P

x,y(4, 3) and yzzyyz ∈ P y,z(3, 3).

x xzz xx z

xyxyxxy ⊗ yzzyyz = xxzzxxz ∈ P

x,z(4, 3) .

11/33

slide-46
SLIDE 46

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The category P of discrete words/paths

  • Objects: natural numbers 0, 1, . . . , n, . . .
  • An arrow from n to m is a word w ∈ P(n, m),
  • Composition is ⊗ (up to renaming of letters).

12/33

slide-47
SLIDE 47

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting factorizations

Given f ∈ SLatt([n]+, [k]+) and m ≥ 0, how many g ∈ SLatt([n]+, [m]+) and h ∈ SLatt([m]+, [k]+) are there such that f = h ◦ g?

[n]+ [m]+ [k]+

f g h

13/33

slide-48
SLIDE 48

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting factorizations by NE-turns

Guess right places where to put m vertical bars.

14/33

slide-49
SLIDE 49

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting factorizations by NE-turns

Guess right places where to put m vertical bars. Here xzzxzzzxx has i = 2 NE-turns, we want to insert m = 4 bars. xzzxzzzxx

14/33

slide-50
SLIDE 50

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting factorizations by NE-turns

Guess right places where to put m vertical bars. Here xzzxzzzxx has i = 2 NE-turns, we want to insert m = 4 bars. xzz|xzzz|xx

14/33

slide-51
SLIDE 51

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting factorizations by NE-turns

Guess right places where to put m vertical bars. Here xzzxzzzxx has i = 2 NE-turns, we want to insert m = 4 bars. xzz|xz|zz|x|x

14/33

slide-52
SLIDE 52

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting factorizations by NE-turns

Guess right places where to put m vertical bars. Here xzzxzzzxx has i = 2 NE-turns, we want to insert m = 4 bars. xzz|xz|zz|x|x yielding xyxyyxyx zzyzyzzyy

14/33

slide-53
SLIDE 53

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting factorizations by NE-turns

Guess right places where to put m vertical bars. Here xzzxzzzxx has i = 2 NE-turns, we want to insert m = 4 bars. xzzxz|zzx|x yielding xyxyyxyx zzyzyzzyy n + k + m − i n + k

  • 14/33
slide-54
SLIDE 54

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting factorizations by NE-turns

Guess right places where to put m vertical bars. Here xzzxzzzxx has i = 2 NE-turns, we want to insert m = 4 bars. xzzxz|zzx|x yielding xyxyyxyx zzyzyzzyy n + k + m − i n + k n i k i

  • 14/33
slide-55
SLIDE 55

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting factorizations by NE-turns

Guess right places where to put m vertical bars. Here xzzxzzzxx has i = 2 NE-turns, we want to insert m = 4 bars. xzzxz|zzx|x yielding xyxyyxyx zzyzyzzyy n + m n m + k k

  • =

m

  • i=0

n + k + m − i n + k n i k i

  • 14/33
slide-56
SLIDE 56

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting factorizations by NE-turns

Guess right places where to put m vertical bars. Here xzzxzzzxx has i = 2 NE-turns, we want to insert m = 4 bars. xzzxz|zzx|x yielding xyxyyxyx zzyzyzzyy Worpitzky style identity (Dzhumadil` daev, 2011): n + m n m + k k

  • =

m

  • i=0

n + k + m − i n + k n i k i

  • 14/33
slide-57
SLIDE 57

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Plan

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

15/33

slide-58
SLIDE 58

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, n) as a quantale

  • For each n, m P(n, m) is a poset.
  • Actually, it is a (complete and distributive) lattice.
  • ⊗ distributes with suprema:
  • i∈I

wi ⊗

  • j∈J

uj =

  • (i,j)∈I×J

wi ⊗ uj .

  • We have

w ⊸ u :=

  • { v | w ⊗ v ≤ u } ,

u w :=

  • { v | v ⊗ w ≤ u } .

16/33

slide-59
SLIDE 59

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, n) as a quantale

  • For each n, m P(n, m) is a poset.
  • Actually, it is a (complete and distributive) lattice.
  • ⊗ distributes with suprema:
  • i∈I

wi ⊗

  • j∈J

uj =

  • (i,j)∈I×J

wi ⊗ uj .

  • We have

w ⊸ u :=

  • { v | w ⊗ v ≤ u } ,

u w :=

  • { v | v ⊗ w ≤ u } .

A quantale is a monoid object in SLatt (a model of non-commutative intuitionistic propositional linear logic).

16/33

slide-60
SLIDE 60

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, n) as a quantale

  • For each n, m P(n, m) is a poset.
  • Actually, it is a (complete and distributive) lattice.
  • ⊗ distributes with suprema:
  • i∈I

wi ⊗

  • j∈J

uj =

  • (i,j)∈I×J

wi ⊗ uj .

  • We have

w ⊸ u :=

  • { v | w ⊗ v ≤ u } ,

u w :=

  • { v | v ⊗ w ≤ u } .

A quantale is a monoid object in SLatt (a model of non-commutative intuitionistic propositional linear logic).

Proposition

For each n ≥ 1, P(n, n) is a quantale.

16/33

slide-61
SLIDE 61

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Quantales and residuated lattices

Not exactly the same thing, but strictly related. A residuated lattice is an algebra for the signature

⊤ , ∧ , ⊥ , ∨ , 1 , ⊗ , ⊸ , ,

satisfying a bunch of axioms.

17/33

slide-62
SLIDE 62

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Reflection as linear negation

y x x y y x x y x x y y x x y y x y

18/33

slide-63
SLIDE 63

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Reflection as linear negation

y x x y y x x y x x y y x x y y x y

Reflection (exchange of xs and ys) yields a linear negation:

( · )⋆ : P(n, m) − − − − → P(m, n)

such that w ⊗ u ≤ z iff u ⊗ z⋆ ≤ w⋆ iff z⋆ ⊗ w ≤ u⋆ .

18/33

slide-64
SLIDE 64

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The dual product ⊕

Recall: xyxyxxy ⊗ yzzyyz =x|xzz|xx|z .

19/33

slide-65
SLIDE 65

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The dual product ⊕

Recall: xyxyxxy ⊗ yzzyyz =x|xzz|xx|z . We can also define xyxyxxy ⊕ yzzyyz :=x|zzx|xx|z .

19/33

slide-66
SLIDE 66

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

The dual product ⊕

Recall: xyxyxxy ⊗ yzzyyz =x|xzz|xx|z . We can also define xyxyxxy ⊕ yzzyyz :=x|zzx|xx|z . Then, we have w ⊕ u = (u⋆ ⊗ w⋆)⋆ .

19/33

slide-67
SLIDE 67

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, n) as a Girard quantale

A Girard quantale (or involutive residuated lattice) is quantale coming with a “good” involution . . .

20/33

slide-68
SLIDE 68

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, n) as a Girard quantale

A Girard quantale (or involutive residuated lattice) is quantale coming with a “good” involution . . . That is, it is

  • a model of non-commutative classical cyclic propositional

linear logic, or

  • a non-symmetric ∗-autonomous poset.

20/33

slide-69
SLIDE 69

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

P(n, n) as a Girard quantale

A Girard quantale (or involutive residuated lattice) is quantale coming with a “good” involution . . . That is, it is

  • a model of non-commutative classical cyclic propositional

linear logic, or

  • a non-symmetric ∗-autonomous poset.

Proposition

For each n ≥ 1, P(n, n) is a Girard quantale.

20/33

slide-70
SLIDE 70

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Plan

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

21/33

slide-71
SLIDE 71

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Why idempotents?

  • As in standard algebra, idempotents play an important role.
  • Conguences of residuated lattices:

analogous to normal subgroups of a group.

22/33

slide-72
SLIDE 72

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Why idempotents?

  • As in standard algebra, idempotents play an important role.
  • Conguences of residuated lattices:

analogous to normal subgroups of a group.

  • f is idempotent: f ◦ f = f,
  • f is central: f ◦ g = g ◦ f, for each g.

22/33

slide-73
SLIDE 73

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Why idempotents?

  • As in standard algebra, idempotents play an important role.
  • Conguences of residuated lattices:

analogous to normal subgroups of a group.

  • f is idempotent: f ◦ f = f,
  • f is central: f ◦ g = g ◦ f, for each g.

Lemma

If L is a finite residuated lattice, then the central idempotent elements below the unit are in bijective correspondence with the congruences.

22/33

slide-74
SLIDE 74

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Why idempotents?

  • As in standard algebra, idempotents play an important role.
  • Conguences of residuated lattices:

analogous to normal subgroups of a group.

  • f is idempotent: f ◦ f = f,
  • f is central: f ◦ g = g ◦ f, for each g.

Lemma

If L is a finite residuated lattice, then the central idempotent elements below the unit are in bijective correspondence with the congruences.

Proposition

For each n, P(n, n) is simple (=no nontrivial congruences). For each complete lattice L, SLatt(L, L) is simple.

22/33

slide-75
SLIDE 75

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Idempotents as emmentalers

Definition

Let L be a complete lattice. An emmentaler of L is a collection { [yi, xi] | i ∈ I } of pairwise disjoint intervals of L such that

  • { yi | i ∈ I } closed under infs,
  • { xi | i ∈ I } closed under sups.

Proposition

Let

  • L be a complete lattice,
  • f : L −

→ L sup-preserving and idempotent,

  • g be the right-adjoint of f.

Then { [f(x), g(f(x))] | x ∈ L } is an emmentaler of L. This sets up a bijective correspondence between idempotents and emmentalers.

23/33

slide-76
SLIDE 76

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Emmentalers of [n]+ as (upper) zigzags

An emmentaler becomes an alternating sequence 0 = y0 ≤ x0 < y1≤ x1 < . . . yk ≤ xk = n

24/33

slide-77
SLIDE 77

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Emmentalers of [n]+ as (upper) zigzags

An emmentaler becomes an alternating sequence 0 = y0 ≤ x0 < y1≤ x1 < . . . yk ≤ xk = n

24/33

slide-78
SLIDE 78

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Emmentalers of [n]+ as (upper) zigzags

An emmentaler becomes an alternating sequence 0 = y0 ≤ x0 < y1≤ x1 < . . . yk ≤ xk = n

y0 x0 y1 x1 y2 x2

24/33

slide-79
SLIDE 79

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Emmentalers of [n]+ as (upper) zigzags

An emmentaler becomes an alternating sequence 0 = y0 ≤ x0 < y1≤ x1 < . . . yk ≤ xk = n

y0 x0 y1 x1 y2 x2

24/33

slide-80
SLIDE 80

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Emmentalers of [n]+ as (upper) zigzags

An emmentaler becomes an alternating sequence 0 = y0 ≤ x0 < y1≤ x1 < . . . yk ≤ xk = n

y0 x0 y1 x1 y2 x2

24/33

slide-81
SLIDE 81

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Emmentalers of [n]+ as (upper) zigzags

An emmentaler becomes an alternating sequence 0 = y0 ≤ x0 < y1≤ x1 < . . . yk ≤ xk = n

y0 x0 y1 x1 y2 x2

24/33

slide-82
SLIDE 82

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Emmentalers of [n]+ as (upper) zigzags

An emmentaler becomes an alternating sequence 0 = y0 ≤ x0 < y1≤ x1 < . . . yk ≤ xk = n

y0 x0 y1 x1 y2 x2

24/33

slide-83
SLIDE 83

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Emmentalers of [n]+ as (upper) zigzags

An emmentaler becomes an alternating sequence 0 = y0 ≤ x0 < y1≤ x1 < . . . yk ≤ xk = n

24/33

slide-84
SLIDE 84

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Emmentalers of [n]+ as (upper) zigzags

An emmentaler becomes an alternating sequence 0 = y0 ≤ x0 < y1≤ x1 < . . . yk ≤ xk = n

24/33

slide-85
SLIDE 85

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Emmentalers of [n]+ as (upper) zigzags

An emmentaler becomes an alternating sequence 0 = y0 ≤ x0 < y1≤ x1 < . . . yk ≤ xk = n

Definition

A path w is an upper zigzag if every NE-turn is above y = x + 1

2, every

EN-turn is below this line.

24/33

slide-86
SLIDE 86

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting idempotents

Pn := P(n, n) , On := { f : [n] − → [n] | f monotone } ≃ { w ∈ Pn | heightw(1) ≥ 1 } .

25/33

slide-87
SLIDE 87

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting idempotents

Pn := P(n, n) , On := { f : [n] − → [n] | f monotone } ≃ { w ∈ Pn | heightw(1) ≥ 1 } .

Howie 1971, Laradji and Umar 2006:

|E(On)| = Fib2n , |{ f ∈ E(On) | f(n) = n }| = Fib2n−1 .

25/33

slide-88
SLIDE 88

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting idempotents

Pn := P(n, n) , On := { f : [n] − → [n] | f monotone } ≃ { w ∈ Pn | heightw(1) ≥ 1 } .

Howie 1971, Laradji and Umar 2006:

|E(On)| = Fib2n , |{ f ∈ E(On) | f(n) = n }| = Fib2n−1 .

Combinatorial interpretation/bijective proof:

Proposition

  • The number of upper zigzags in Pn equals Fib2n+1.
  • The number of upper zigzags in Pn with y as a first step

equals Fib2n.

25/33

slide-89
SLIDE 89

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Fibonacci sequences

Recursive formulas: Fib2n+2 = Fib2n+1 + Fib2n , Fib2n+3 = Fib2n+2 + Fib2n+1 .

26/33

slide-90
SLIDE 90

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Fibonacci sequences

Recursive formulas: Fib2n+2 = Fib2n+1 + Fib2n , Fib2n+3 = Fib2n+2 + Fib2n+1 . Whence we need to show that:

|E(On+1)| = |E(Pn)| + |E(On)| , |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

26/33

slide-91
SLIDE 91

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, I

|E(On+1)| = |E(Pn)| + |E(On)| , |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

27/33

slide-92
SLIDE 92

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, I

|E(On+1)| = |E(Pn)| + |E(On)| , |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

27/33

slide-93
SLIDE 93

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, I

|E(On+1)| = |E(Pn)| + |E(On)| , |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

27/33

slide-94
SLIDE 94

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, I

|E(On+1)| = |E(Pn)| + |E(On)| , |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

27/33

slide-95
SLIDE 95

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, II

|E(On+1)| = |E(Pn)| + |E(On)| , |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

28/33

slide-96
SLIDE 96

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, II

|E(On+1)| = |E(Pn)| + |E(On)| , |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

28/33

slide-97
SLIDE 97

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, II

|E(On+1)| = |E(Pn)| + |E(On)| , |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

28/33

slide-98
SLIDE 98

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, III

|E(On+1)| = |E(Pn)| + |E(On)| |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

29/33

slide-99
SLIDE 99

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, III

|E(On+1)| = |E(Pn)| + |E(On)| |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

29/33

slide-100
SLIDE 100

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, III

|E(On+1)| = |E(Pn)| + |E(On)| |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

29/33

slide-101
SLIDE 101

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, III

|E(On+1)| = |E(Pn)| + |E(On)| |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

29/33

slide-102
SLIDE 102

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Counting upper zigzags, III

|E(On+1)| = |E(Pn)| + |E(On)| |E(Pn+1)| = |E(On+1)| + |E(Pn)| .

29/33

slide-103
SLIDE 103

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Plan

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

30/33

slide-104
SLIDE 104

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Open problems

A topic across different domains:

  • discrete geometry, logic, algebra, (enumerative) combinatorics.

31/33

slide-105
SLIDE 105

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Open problems

A topic across different domains:

  • discrete geometry, logic, algebra, (enumerative) combinatorics.

Category and order theory:

  • axiomatization of the category SLatt,
  • quantaloids in autonomous categories other than SLatt.

31/33

slide-106
SLIDE 106

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Open problems

A topic across different domains:

  • discrete geometry, logic, algebra, (enumerative) combinatorics.

Category and order theory:

  • axiomatization of the category SLatt,
  • quantaloids in autonomous categories other than SLatt.

Algebraic logic:

  • equational theories of the P(n, m) as Heyting algebras,
  • equational theories of the P(n, n) as residuated lattices.

31/33

slide-107
SLIDE 107

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Open problems

A topic across different domains:

  • discrete geometry, logic, algebra, (enumerative) combinatorics.

Category and order theory:

  • axiomatization of the category SLatt,
  • quantaloids in autonomous categories other than SLatt.

Algebraic logic:

  • equational theories of the P(n, m) as Heyting algebras,
  • equational theories of the P(n, n) as residuated lattices.

Combinatorics on words:

  • lattice theoretic approach to 3d Christoffel words,
  • discrete approximations of 3 (or >3) dimensional curves.

31/33

slide-108
SLIDE 108

Discrete paths as Heyting algebras Discrete paths as categories Discrete paths as quantales Counting idempotents Conclusions

Thank you !

32/33