How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Lattice paths, step sets and step words
Definition
Points of the plane are pairs of integers (The integers as equivalence classes of pairs of naturals), added componentwise:
Since is a commutative group (The integers form a commutative ring) and each monoid axiom holds one coordinate at a time, is a commutative monoid (Semigroup and monoid). A natural number written where an integer is expected denotes its image under the embedding , , of The naturals embed in the integers, which is injective and preserves addition, multiplication and the order; no symbol is written for it, so , and denote integers when they occur in an integer expression.
A step set is a finite subset (The cardinality of a finite set); its elements are steps.
Definition. Let and . A lattice path of length with steps in from is a function with and for every with . It is a path from to when moreover . Write
and for the subset of those with .
A path is nothing but this function. No geometry of the plane is used, no continuous curve is attached to it, and the points are the only data.
The length-zero case, stated rather than left implicit. For the domain has one point and the condition on differences is vacuous, so has exactly one element, the function with . This is the empty path at ; it is a path from to , and it exists even when .
The step word. Words of length over an alphabet are the functions , and denotes the set of them (Finite words, contiguous factors, avoidance and proper-prefix states). The step word of a path is the word with
equivalently for . The step word of the empty path is the empty word.
The path traced by a word. Conversely let and . The path traced by from is
the sum being the finite product of The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity in the commutative monoid , written additively. Its two defining clauses read and , so
and is a lattice path of length with steps in from , since each displayed difference is the letter .
Concatenation. Let be a path of length from to and let be a path of length from to , with step words and . Their concatenation is the path of length traced from by the concatenated word (Finite words, contiguous factors, avoidance and proper-prefix states). The common endpoint condition ensures that its first steps are and its last steps are . Concatenating on the left with the empty path at , or on the right with the empty path at , changes nothing because .
Remarks
-
Why the step set is required to be finite. Nothing in the definition of a path needs it; it is imposed because every count on this page is a count of words over , and a finite makes every finite. If the finiteness requirement were relaxed, the converse would hold for ; at the set is the singleton containing the empty word for every .
-
A path records where it starts. Two paths with the same step word and different starting points are different functions. Every set of paths written down here therefore fixes a start point, and translation from one start point to another is a separate statement each time it is used.
Depends on
- The integers as equivalence classes of pairs of naturals
- Finite words, contiguous factors, avoidance and proper-prefix states
- The cardinality $\lvert A\rvert$ of a finite set
- Semigroup and monoid
- The product $g_0 g_1 \cdots g_{n-1}$ of a finite list in a monoid, by recursion, with the empty product ($n = 0$) equal to the identity
- The integers form a commutative ring
- The naturals embed in the integers
Used by
- The step set {(1,1),(1,-2)} breaks the reflection argument Counterexample
- Diagonal lattice paths with steps U=(1,1) and D=(1,-1), and the height function Definition
- Monotone lattice paths with steps E=(1,0) and N=(0,1) Definition
- Motzkin paths, Schröder paths, the Motzkin numbers Mₙ, the large Schröder numbers Rₙ, and their generating functions Definition
- For each start point the step word is a bijection onto Sⁿ Lemma
- Conventions fixed on this page Remark
Dependency tree · two levels
32 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- C. Krattenthaler, "Lattice Path Enumeration", ch. 10 of the Handbook of Enumerative Combinatorics, §10.1 (standard reference, not scraped)
- A. Postnikov (notes by A. Lin), MIT 18.212 Algebraic Combinatorics, Spring 2019 (standard reference, not scraped)