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.
The reflection principle: paths from to staying strictly above level are counted by a difference of two binomial coefficients
Statement
Let , let and let with and . Write for the set of diagonal paths that stay strictly above the level , that is for every with (Diagonal lattice paths with steps and , and the height function).
-
is finite and
-
Suppose divides and , and let be the natural number with . Then is a natural number and
-
If does not divide , or , or , then all three sets above are empty and all three counts are .
Facts & Assumptions
Given: an integer , a natural number , integers and , and the set of the statement.
The height function of a diagonal path of length from satisfies and ; the path touches the level when for some , and stays strictly above when for every ; and the restriction of the path to is a diagonal path of length (Diagonal lattice paths with steps and , and the height function).
If a diagonal path of length has or , then for some with (A diagonal path with or satisfies for some ).
If and are finite and disjoint, then is finite and (The sum rule: a finite disjoint union is finite with and , and a sum over a finite index set splits along a partition, clause 1).
If is finite and is a bijection then is finite and ; and a finite set has cardinality exactly when it is empty (The cardinality of a finite set).
For and , reflecting the initial segment at the first visit to level is a bijection from the set of that touch the level onto (Reflecting the initial segment at the first visit to level ).
is finite; if divides and then its cardinality is for the natural number with , and otherwise the set is empty (The number of diagonal paths from to is for the natural number with , and when no such exists).
A subset of a finite set is finite (A subset of a finite set is finite, with , and equality holds if and only if , clause 1).
Proof
A path fails to touch the level if and only if it stays strictly above . If it stays strictly above then no height equals . Conversely, if for some , then the restriction of to is a diagonal path whose height at the last index is , the height at index , so [L1] gives an index with and touches ; hence a path that does not touch has every height and, none being equal to , every height .
Therefore is the union of the set of paths that touch and the set , and these are disjoint. Both are subsets of the finite set , hence finite by [L5] and [L6], so [L2] gives .
By [L4] the set is in bijection with , so the two have the same cardinality by [L3], and substituting into step 2.1 gives clause 1.
For clause 2, put , a natural number because ; then , so is the natural number attached by [L5] to the endpoint data of . If then [L5] gives ; if then , so [L5] makes the set empty and [L7] makes equal to as well. The same two readings apply to and , and clause 1 then reads as the displayed identity, whose subtracted form follows because the identity holds in . For clause 3, [L5] makes empty in each of the three listed cases, so its cardinality is by [L3] and clause 1 forces both summands to be , hence both those sets to be empty as well. As a check, with gives , and since .
Remarks
-
Where the two hypotheses are spent. The hypothesis is what makes the reflected starting height lie strictly below , so that every reflected path meets and the correspondence is onto; the hypothesis is what keeps the first visit strictly before the last index, so that reflection preserves the endpoint. Neither is a normalisation.
-
The identity is stated as a sum, and only then as a difference. The counting argument produces "touching plus avoiding equals all" in , and the difference form is legitimate only because that identity has already been proved; written the other way round the subtraction would need its own justification whenever the second coefficient vanishes.
Depends on
- Reflecting the initial segment at the first visit to level $c$
- The number of diagonal paths from $(0,a)$ to $(n,b)$ is $\binom{n}{u}$ for the natural number $u$ with $2u=n+b-a$, and $0$ when no such $u$ exists
- A diagonal path with $h(0)\le c\le h(n)$ or $h(n)\le c\le h(0)$ satisfies $h(i)=c$ for some $i$
- Diagonal lattice paths with steps $U=(1,1)$ and $D=(1,-1)$, and the height function
- 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 cardinality $\lvert A\rvert$ of a finite set
- 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 set $[A]^{k}$ of $k$-element subsets and the binomial coefficient $\binom{n}{k} := \lvert [n]^{k}\rvert$
Used by
Dependency tree · two levels
38 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.3, Theorem 10.3.1 (standard reference, not scraped)