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.
Motzkin paths, Schröder paths, the Motzkin numbers , the large Schröder numbers , and their generating functions
Definition
Put , , and , and recall the lattice paths of Lattice paths, step sets and step words. For a lattice path of length write for the second coordinate of and for its first coordinate.
Definition. Let .
- A Motzkin path of length is a lattice path of length with steps in from to with for every . Write for the set of them.
- A Schröder path of half-length is a lattice path with steps in from to , of any length, with for every index . Write for the set of them.
Each step of a Motzkin path advances the first coordinate by exactly , so a Motzkin path of length automatically ends at first coordinate ; this is the same induction as in Diagonal lattice paths with steps and , and the height function. A Schröder path has a step of width , so its length is not determined by and is recorded below.
Counting the steps of a Schröder path. Let have up steps, down steps and level steps. Each raises by , each lowers it by and each leaves it unchanged, so induction on the index (The principle of mathematical induction) gives as the number of steps among the first minus the number of steps among them; from at the last index we get . Likewise the first coordinate of is the number of and steps among the first plus twice the number of steps among them, so and . Hence
of which are not level. In particular the length of a Schröder path of half-length is at most .
Both sets are finite, and the two counts are therefore defined. By For each start point the step word is a bijection onto the paths of a given length from with steps in a three-element step set form a finite set of elements. So is a subset of a finite set and is finite (A subset of a finite set is finite, with , and equality holds if and only if ); and is a subset of the union of the finitely many sets of paths of length for , which is finite by The sum rule: a finite disjoint union is finite with and , and a sum over a finite index set splits along a partition because paths of different lengths are functions with different domains, so is finite as well. Define
(The cardinality of a finite set), the Motzkin numbers and the large Schröder numbers. Both are defined as counts, and every formula for them below is a theorem.
Small values, read off the definition. At both conditions leave only the empty path at , so and . For : a single step from to must be , since ends at height and at height , so . For : the words and qualify, and fails the height condition at the middle vertex, so . For : a path from to is or , and fails the height condition, so .
The two generating functions. In (Formal power series over a commutative ring and the coefficient-extraction functional ) put
each count read as a rational coefficient exactly as in The Catalan generating function in ; two series are equal exactly when all their coefficients agree (Coefficient extraction is -linear, separates formal series, shifts under multiplication by , and converts products to finite convolution).
Remarks
-
The indeterminate marks length in and half-length in . That is the indexing of the source, and it is what makes the two functional equations below differ in the power of multiplying the square: a and a consume two units of length but only one unit of half-length. Reading either series with the other convention gives a false equation.
-
The letter for the large Schröder numbers is a deliberate departure. The source writes ; here already names a step set (Lattice paths, step sets and step words) and the periodic partial-sum function (Cyclic shifts of an integer word and its periodic partial-sum function), so the numbers are written and the paths . Nothing else about the source's convention is changed: counts the Schröder paths of half-length , so and .
-
Why the finiteness clause treats the two cases differently. A Motzkin path of length has exactly steps, so one word length suffices. A Schröder path of half-length has steps, and is not determined by ; the bound is what makes the union above finite, and it is attained exactly when the path has no level step.
Depends on
- Lattice paths, step sets and step words
- For each start point the step word is a bijection onto $S^n$
- A subset of a finite set is finite, with $\lvert B\rvert \le \lvert A\rvert$, and equality holds if and only if $B = A$
- The cardinality $\lvert A\rvert$ of a finite set
- Formal power series over a commutative ring and the coefficient-extraction functional $[x^n]$
- Coefficient extraction is $R$-linear, separates formal series, shifts under multiplication by $x^k$, and converts products to finite convolution
- The Catalan generating function $C(x)=\sum_{n\ge0}C_nx^n$ in $\mathbb{Q}\llbracket x\rrbracket$
- The sum rule: a finite disjoint union is finite with $\lvert A \cup B\rvert = \lvert A\rvert + \lvert B\rvert$ and $\lvert\bigcup_{i \in I} A_i\rvert = \sum_{i \in I}\lvert A_i\rvert$, and a sum over a finite index set splits along a partition
- The principle of mathematical induction
Used by
Dependency tree · two levels
48 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.8–10.9 (standard reference, not scraped)