
TL;DR
This paper characterizes idempotent paths on a lattice as upper zigzag paths, linking their enumeration to odd Fibonacci numbers, and provides a geometric proof for counting idempotents in certain monoids.
Contribution
It explicitly describes the monoid structure of discrete paths and characterizes idempotent paths using join-continuous maps, connecting combinatorics with algebraic structures.
Findings
Idempotent paths are upper zigzag paths.
Number of idempotent paths corresponds to odd Fibonacci numbers.
Provides a geometric proof for counting idempotents in monoids.
Abstract
The set of discrete lattice paths from (0, 0) to (n, n) with North and East steps (i.e. words w { x, y } * such that |w| x = |w| y = n) has a canonical monoid structure inherited from the bijection with the set of join-continuous maps from the chain { 0, 1,. .. , n } to itself. We explicitly describe this monoid structure and, relying on a general characterization of idempotent join-continuous maps from a complete lattice to itself, we characterize idempotent paths as upper zigzag paths. We argue that these paths are counted by the odd Fibonacci numbers. Our method yields a geometric/combinatorial proof of counting results, due to Howie and to Laradji and Umar, for idempotents in monoids of monotone endomaps on finite chains.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
On discrete idempotent paths
Luigi Santocanale
Laboratoire d’Informatique et des Systèmes,
UMR 7020, Aix-Marseille Université, CNRS
Abstract.
The set of discrete lattice paths from to with North and East steps (i.e. words such that ) has a canonical monoid structure inherited from the bijection with the set of join-continuous maps from the chain to itself. We explicitly describe this monoid structure and, relying on a general characterization of idempotent join-continuous maps from a complete lattice to itself, we characterize idempotent paths as upper zigzag paths. We argue that these paths are counted by the odd Fibonacci numbers. Our method yields a geometric/combinatorial proof of counting results, due to Howie and to Laradji and Umar, for idempotents in monoids of monotone endomaps on finite chains.
Key words and phrases:
Keywords. discrete path, idempotent, join-continuous map.
Partially supported by the “LIA LYSM AMU CNRS ECM INdAM” and by the “LIA LIRCO”
1. Introduction
Discrete lattice paths from to with North and East steps have a standard representation as words such that and . The set of these paths, with the dominance ordering, is a distributive lattice (and therefore of a Heyting algebra), see e.g. [2, 9, 8, 18]. A simple proof that the dominance ordering is a lattice relies on the bijective correspondence between these paths and monotone maps from the chain to the chain , see e.g. [3, 2]. In turn, these maps bijectively correspond to join-continuous maps from to (those order preserving maps that sends [math] to [math]). Join-continuous maps from a complete lattice to itself form, when given the pointwise ordering, a complete lattice in which composition distributes with joins. This kind of algebraic structure combining a monoid operation with a lattice structure is called a quantale [19] or (roughly speaking) a residuated lattice [10]. Therefore, the aforementioned bijection also witnesses a richer structure for , that of a quantale and of a residuated lattice. The set is actually a star-autonomous quantale or, as a residuated lattice, involutive, see [12].
A main aim of this paper is to draw attention to the interplay between the algebraic and enumerative combinatorics of paths and these algebraic structures (lattices, Heyting algebras, quantales, residuated lattices) that, curiously, are all related to logic. We focus in this paper on the monoid structure that corresponds under the bijection to function composition—which, from a logical perspective, can be understood as a sort of non-commutative conjunction. In the literature, the monoid structure appears to be less known than the lattice structure. A notable exception is the work [17] where a different kind of lattice paths, related to Delannoy paths, are considered so to represent monoids of injective order-preserving partial transformations on chains.
We explicitly describe the monoid structure of and characterize those paths that are idempotents. Our characterization relies on a general characterization of idempotent join-continuous maps from a complete lattice to itself. When the complete lattice is the chain , this characterization yields a description of idempotent paths as those paths whose all North-East turns are above the line and whose all East-North turns are below this line. We call these paths upper zigzag. We use this characterization to provide a geometric/combinatorial proof that upper zigzag paths in are counted by the odd Fibonacci numbers . Simple algebraic connections among the monoid structure on , the monoid of order preserving maps from to itself, and the submonoid of of maps fixing , yield a geometric/combinatorial proof of counting results due to Howie [13] (the number of idempotents in is the even Fibonacci numbers ) and Laradji and Umar [16] (the number of idempotents in is the odd Fibonacci numbers ).
2. A product on paths
In the following, shall denote the set of words such that and . We identify a word with a discrete path from to which uses only East and North steps of length . For example, the word is identified with the path in Figure 1.
Let be complete lattices. A map is join-continuous if , for each subset of . We use to denote the set of join-continuous maps from to . If , then we write for .
The set can be ordered pointwise (i.e. if and only if , for each ); with this ordering it is a complete lattice. Function composition distributes over (possibly infinite) joins:
[TABLE]
whenever are complete lattices, and . A quantale (see [19]) is a complete lattice endowed with a semigroup operation satisfying the distributive law (1). Thus, is a quantale, for each complete lattice .
For , we shall use to denote the chain . Notice that is join-continuous if and only if it is monotone (or order-preserving) and . For each , there is a well-known bijective correspondence between paths in and join-continuous maps in ; next, we recall this bijection. If , then the occurrences of in split into (possibly empty) blocks of contiguous s, that we index by the numbers :
[TABLE]
We call the words the -blocks of . Given , the index of the block of the -th occurrence of the letter in is denoted by . We have therefore . Notice that equals the number of s preceding the -th occurrence of in so, in particular, can be interpreted as the height of the -th occurrence of when is considered as a path. Similar definitions, and , for , are given for the blocks obtained by splitting by means of the s:
[TABLE]
The map , sending to , is monotone from the chain to the chain . There is an obvious bijective correspondence from the set of monotone maps from to to the set obtained by extending a monotone by setting . We shall tacitly assume this bijection and, accordingly, we set . Next, by setting , we notice that
[TABLE]
for , so is uniquely determined by the map . Therefore, the mapping sending to is a bijection from to the set . The dominance ordering on arises from the pointwise ordering on via the bijection.
For and , the product is defined by concatenating the -blocks of and the -blocks of :
Definition 1**.**
For and , we let
[TABLE]
Example 1*.*
Let and , so the -blocks of are and the -blocks of are ; we have . We can trace the original blocks by inserting vertical bars in so to separate from , . That is, we can write , so is obtained from by deleting vertical bars. Notice that also and can be recovered from , for example is obtained from by deleting the letter and then renaming the vertical bars to the letter . Figure 2 suggests that is a form of synchronisation product, obtained by shuffling the -blocks of with the -blocks of so to give “priority” to all the s (that is, the s precede the s in each block). It can be argued that there are other similar products, for example, the one where the s precede the s in each block, so . It is easy to see that , where is the image of along the morphism that exchanges the letters and .
Proposition 1**.**
The product corresponds, under the bijection, to function composition. That is, we have
[TABLE]
Proof.
In order to count the number of s preceding the -th occurrence of in , it is enough to identify the block number of this occurrence in , and then count how many s precede the -th occurrence of in . That is, we have with . ∎
Remark 1*.*
Let us exemplify how the algebraic structure of yields combinatorial identities. The product is a function , so we study how many preimages a word might have. By reverting the operational description of the product previously given, this amounts to inserting vertical bars marking the beginning-end of blocks (so to guess a word of the form ) under a constraint that we describe next. Each position can be barred more than once, so adding bars can be done in ways. The only constraint we need to satisfy is the following. Recall that a position is a North-East turn (or a descent), see [15], if , and . If a position is a North-East turn, then such a position is necessarily barred. Let us illustrate this with the word which has just one descent, which is necessarily barred: . Assuming , we need to add two more vertical bars. For example, for we obtain the following decomposition:
[TABLE]
Therefore, if has descents, then these positions are barred, while the other barred positions can be chosen arbitrarily, and there are ways to do this. Recall that there are words with descents, since such a is determined by the subsets of and of cardinality , determining the descents. Summing up w.r.t. the number of descents, we obtain the following formulas:
[TABLE]
Similar kind of combinatorial transformations and identities appear in [11, 5, 6], yet it is not clear to us at the moment of writing whether these works relate in some way to the product of paths studied here.
Remark 2*.*
The previous remark also shows that if has descents, then there is a canonical factorization with and . It is readily seen that, via the bijection, this is the standard epi-mono factorization in the category of join-semilattices. The word , barred at its unique descent as , is decomposed into and .
Remark 3*.*
As in [17], many semigroup-theoretic properties of the monoid can be read out of (and computed from) the bijection with . For example
[TABLE]
since, as in the previous remark, a path with North-East turns corresponds to a join-continuous map such that . Similarly
[TABLE]
since a map such that (i.e. ) corresponds to a path in whose last step is an East step, thus to a path in . A similar argument can be used to count maps such that , cf. [16, Proposition 3.7].
Remark 4*.*
Further properties of the monoid can be easily verified, for example, this monoid is aperiodic. For the next observation, see also [16, Proposition 2.3] and [17, Theorem 3.4]. Recall that is nilpotent if, for some , is the bottom of the lattice, that is, it is the constant map with value [math]. It is easily seen that is nilpotent if and only if , for each . Therefore, a path is nilpotent if and only it lies below the diagonal, that is, it is a Dyck path. Therefore, there are nilpotents in .
3. Idempotent join-continuous maps as emmentalers
We provide in this section a characterization of idempotent join-continuous maps from a complete lattice to itself. The characterization originates from the notion of -duet used to study some elementary subquotients in the category of lattices, see [20, Definition 9.1].
Definition 2**.**
An emmentaler of a complete lattice is a collection of closed intervals of such that
- •
, for with ,
- •
is a subset of closed under arbitrary joins,
- •
is a subset of closed under arbitrary meets.
The main result of this section is the following statement.
Theorem 1**.**
For an arbitrary complete lattice , there is a bijection between idempotent join-continuous maps from to and emmentalers of .
For an emmentaler of , we let
[TABLE]
It is a standard fact that is a closure operator on (that is, it is a monotone inflating idempotent map from to itself) and that is an interior operator on (that is, a monotone, deflating, and idempotent endomap of ). In the following statements an emmentaler is fixed.
Lemma 1**.**
For each , and . Therefore restricts to an order isomorphism from to whose inverse is .
Proof.
Clearly, . Let us suppose that yet , then and for some with . But then , a contradiction. The equality is proved similarly. ∎
In view of the following lemma we think of as a sublattice of with prescribed holes/fillings, whence the naming “emmentaler”.
Lemma 2**.**
If is an emmentaler of , then is a subset of closed under arbitrary joins and meets. Moreover, the map sending to is a complete lattice homomorphism from to .
Proof.
Let with for each . Then, for some ,
[TABLE]
where in the second line we have used the fact that is the join in of the family and also the fact that is an order isomorphism (so it is join-continuous) from to . Therefore, and, in a similar way, .
Next, let be the map sending to . The computations in (2) show that is join-continuous. With similar computations it is seen that is sent to which is the meet of the family within . Therefore, is meet-continuous as well. ∎
We recall next some facts on adjoint pairs of maps, see e.g. [4, §7]. Two monotone maps form an adjoint pair if if and only if , for each . More precisely, is left (or lower) adjoint to , and is right (or upper) adjoint to . Each map determines the other: that is, if is left adjoint to and , then ; if is right adjoint to and , then . If is a complete lattice, then a monotone is a left adjoint (that is, there exists for which is left adjoint to ) if and only if it is join-continuous; under the same assumption, a monotone is a right adjoint if and only if it is meet-continuous.
Proposition 2**.**
If is an emmentaler of , then the maps and defined by
[TABLE]
are idempotent and adjoint to each other. In particular, is join-continuous, so it belongs to .
Proof.
Clearly, is idempotent:
[TABLE]
since for some and . In a similar way, is idempotent. Let us argue that and are adjoint. If , then and . Similarly, if , then . ∎
Lemma 3**.**
* and .*
Proof.
Clearly, if for some , then . Conversely, if , then , so . The other equality is proved similarly. ∎
For the next proposition, recall that if are adjoint, then and .
Proposition 3**.**
Let be idempotent and let be its right adjoint. Then
- (1)
, for each , 2. (2)
the collection of intervals is an emmentaler of , 3. (3)
* and .*
Proof.
If , then and therefore the relation follows from . The subset is closed under arbitrary joins since is join-continuous. Similarly, is closed under arbitrary meets, since is meet-continuous. Let us show that . To this end, observe that if for some , then , so with .
Finally, let . Then . We already observed that , so , for . We have therefore and . ∎
Lemma 4**.**
If is idempotent then, for each ,
- (1)
, 2. (2)
if , then , 3. (3)
if , then , and so .
Proof.
-
Recall that and , so is a fixed point of . Then, using monotonicity, .
-
From and recalling that is the greatest element of below , it immediately follows that .
-
Recall that , where is right adjoint to . Let be such that , so we aim at proving that . This is follows from and adjointness. ∎
Proposition 4**.**
For each idempotent , we have .
Proof.
Since , then , by the previous Lemma. Therefore we need to prove that . This immediately follows from the relation that we prove next.
We show that is the least element of above . We have by adjointness. Suppose now that and . If is such that , then yields and . ∎
We can now give a proof of the main result of this section, Theorem 1.
Proof of Theorem 1.
We argue that the mappings and are inverse to each other.
We have seen (Proposition 4) that, for an idempotent , . Given an emmentaler , we have by Lemma 3, and , by Proposition 3. Therefore, and, similarly, . Since the two sets and completely determine an emmentaler, we have . ∎
4. Idempotent discrete paths
It is easily seen that an emmentaler of the chain can be described by an alternating sequence of the form
[TABLE]
so and . Indeed, is closed under arbitrary joins if and only if , while is closed under arbitrary meets if and only if .
The correspondences between idempotents of , their paths, and emmentalers can be made explicit as follows: for such that , the path corresponding to touches the point coming from the left of the diagonal; for , the path corresponding to touches coming from below the diagonal. For , with and , the path corresponding to is illustrated in Figure 3. On the left of the figure, points of the form with are squared, while points of the form with are circled.
Our next goal is to give a geometric characterization of idempotent paths using their North-East and East-North turns. To this end, observe that we can describe North-East turns of a path by discrete points in the plane. Namely, if if with , , and (so has a North-East turn at position ), then we can denote this North-East turn with the point . In a similar way, we can describe East-North turns by discrete points in the plane.
Let us call a path an upper zigzag if every of its North-East turns is above the line while every of its East-North turns is below this line. Notice that a path is an upper zigzag if and only every North-East turn is of the form with and every East-North turn is of the form with . This property is illustrated on the right of Figure 3.
Theorem 2**.**
A path is idempotent if and only if it is an upper zigzag.
The proof of the theorem is scattered into the next three lemmas.
Lemma 5**.**
An upper zigzag path is idempotent.
Proof.
Let be an upper zigzag with the set of its North-East turns. For , let be the path that has a unique North-East turn at . Notice that . By equation (1),
[TABLE]
It is now enough to observe that if and, otherwise, , where is the least element of . Therefore, we have: (i) , since , (ii) if , then , since , (iii) if , then , since ; in the latter case, we also have , since . Consequently, the expression on the right of (3) evaluates to . ∎
Next, let us say that is an increase of if . It is easy to see that the set of North-East turns of is the set .
Lemma 6**.**
Let and let be its right adjoint. Then is an increase of if and only if .
Proof.
Suppose for some . If , then , a contradiction. Therefore .
Conversely, if , then , , and . Since , then , so . ∎
Lemma 7**.**
The North-East turns of an idempotent path corresponding to the emmentaler of are of the form , for . Its East-North turns are of the form , for . Therefore is an upper zigzag.
Proof.
For the first statement, since and using Lemma 6, we need to verify that : this is Lemma 4, point 3. The last statement is a consequence of the fact that East-North turns are computable from North-East turns: if , , are the North-East turns of , with and for , then East-North turns of are of the form (if ), , , and (if ). ∎
5. Counting idempotent discrete paths
The goal of this section is to exemplify how the characterizations of idempotent discrete paths given in Section 4 can be of use. It is immediate to establish a bijective correspondence between emmentalers of the chain and words on the alphabet that avoid the pattern and such that and ; this bijection can be exploited for the sake of counting. We prefer to count idempotents using the characterization given in Theorem 2. In the following, we provide a geometric/combinatorial proof of counting results [16, 13] for the number of idempotent elements in the monoid and, also, in the monoid of order preserving maps from to itself. Let us recall that the Fibonacci sequence is defined by , , and . Howie [13] proved that (for ), where is the number of idempotents in the monoid . Laradji and Umar [16] proved that (), where now is the number of idempotent elements of , the submonoid in of maps fixing . Clearly, is a monoid isomorphic (and anti-isomorphic as well) to . We infer that the number of idempotents in the monoid equals (for ).
Remark 5*.*
It is argued in [13] that , which can easily be verified using the fact that with and , see [7]. In a similar way, we derive the following explicit formula:
[TABLE]
Let us observe that the monoid can be identified with the submonoid of of join-continuous maps such that . A path corresponds to such an if and only if its first step is a North step. Having observed that , the following proposition suffices to assert that and .
Proposition 5**.**
The following recursive relations hold:
[TABLE]
Proof.
Every discrete path from to ends with —that is, it visits the point —or ends with —that is, it visits the point . Consider now an upper zigzag path from to that visits , see Figure 4.
By clipping on the rectangle with left-bottom corner and right-up corner , we obtain an upper zigzag path from to . If starts with , then does as well. This proves the right part of the recurrences above, i.e. and .
Consider now an upper zigzag path ending with , see Figure 5.
The reflection along the line sends to , so it preserves upper zigzag paths. Applying this reflection to , we obtain an upper zigzag path from to whose first step is . This proves the part of the recurrences above.
Consider now an upper zigzag path ending with and beginning with , see Figure 6.
By clipping on the rectangle with left-bottom corner and right-up corner and then by applying the translation , we obtain a path whose all North-East turns are above the line and whose all East-North turns are below this line. By reflecting along diagonal, we obtain an upper zigzag path from to . This proves the part of the recurrences above. ∎
The geometric ideas used in the proof of Proposition 5 can be exploited further, so to show that the number of idempotent maps such that equals , see the analogous statement in [16, Corollary 4.5]. Indeed, if , then the path corresponding to visits the points and ; therefore, since it is an upper zigzag, also the points and . By clipping on the rectangle from to , we obtain an upper zigzag path in ending in . As seen in the proof of Proposition 5, these paths bijectively correspond to upper zigzag paths in beginning with .
6. Conclusions
We have presented the monoid structure on the set of discrete lattice paths (with North and East steps) that corresponds, under a well-known bijection, to the monoid of join-continuous functions from the chain to itself. In particular, we have studied the idempotents of this monoid, relying on a general characterization of idempotent join-continuous functions from a complete lattice to itself. This general characterization yields a bijection with a language of words on a three letter alphabet and a geometric description of idempotent paths. Using this characterization, we have given a geometric/combinatorial proof of counting results for idempotents in monoids of monotone endomaps of a chain [13, 16].
Our initial motivations for studying idempotents in originates from the algebra of logic, see e.g. [14]. Willing to investigate congruences of as a residuated lattice [10], it can be shown, using idempotents, that every subalgebra of a residuated lattice is simple. This property does not generalize to infinite complete chains: if is the interval , then is simple but has subalgebras that are not simple [1]. Despite the results we presented are not related to our original motivations, we aimed at exemplifying how a combinatorial approach based on paths might be fruitful when investigating various kinds of monotone maps and the multiple algebraic structures these maps may carry.
We used the Online Encyclopedia of Integer Sequences to trace related research. In particular, we discovered Howie’s work [13] on the monoid through the OEIS sequences A001906 and A088305. The sequence is a shift of the sequence A001519. Related to this sequence is the doubly parametrized sequence A144224 collecting some counting results from [16] on idempotents. Relations with other kind of combinatorial objects counted by the sequence still need to be understood.
Acknowledgment.
The author is thankful to Srecko Brlek, Claudia Muresan, and André Joyal for the fruitful discussions he shared with them on this topic during winter 2018. The author is also thankful to the anonymous referees for their insightful comments and for pointing him to the reference [16].
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Ball, R.N., Droste, M.: Normal subgroups of doubly transitive automorphism groups of chains. Transactions of the American Mathematical Society 290 (2), 647–664 (1985)
- 2[2] Bennett, M.K., Birkhoff, G.: Two families of Newman lattices. Algebra Universalis 32 (1), 115–144 (1994)
- 3[3] Birkhoff, G.: Lattice Theory, American Mathematical Society Colloquium Publications, vol. 25. American Mathematical Society, Providence, R. I., third edn. (1979)
- 4[4] Davey, B.A., Priestley, H.A.: Introduction to lattices and order. Cambridge University Press, New York, second edn. (2002)
- 5[5] Dzhumadil’daev, A.S.: Worpitzky identity for multipermutations. Mathematical Notes, 2011 90 (3), 448–450. (2011)
- 6[6] Engbers, J., Stocker, C.: Two combinatorial proofs of identities involving sums of powers of binomial coefficients. INTEGERS 16 (2016)
- 7[7] Fernandes, V.H., Gomes, G.M.S., Jesus, M.M.: The cardinal and the idempotent number of various monoids of transformations on a finite chain. Bull. Malays. Math. Sci. Soc. (2) 34 (2011), no. 1, 79–85 34 (2), 79–85 (2011)
- 8[8] Ferrari, L.: Dyck algebras, interval temporal logic, and posets of intervals. SIAM J. Discrete Math. 30 (4), 1918–1937 (2016)
