Alphabeta Math
CorollaryStatement: Literature-sourcedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26
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.

Mn=kN,2kn(n2k)Ck

Statement

For every nN, in N,

Mn=kN, 2kn(n2k)Ck,

the sum being over the finite index set {kN:2kn} (The sum iSai over a finite index set, and its product form), with Mn the Motzkin numbers (Motzkin paths, Schröder paths, the Motzkin numbers Mn, the large Schröder numbers Rn, and their generating functions) and Ck the Catalan numbers (The Catalan number Cn:=Dn).

Facts & Assumptions

Given: a natural number n.

[F1]

Motn is the set of lattice paths of length n with steps in {U,D,L} from (0,0) to (n,0) with h(i)0 at every index, and Mn=Motn is finite (Motzkin paths, Schröder paths, the Motzkin numbers Mn, the large Schröder numbers Rn, and their generating functions).

[F2]

Dk corresponds bijectively, through step words, to the ballot words of length 2k, that is the words over {U,D} with equally many letters of each kind in which every prefix has at least as many U as D; and Ck=Dk (Dyck paths of semilength n, The Catalan number Cn:=Dn).

[F3]

For a diagonal path of length from (0,0) with step word w^ and μ(r) the number of up steps among the first r, the height is h^(r)=2μ(r)r; in particular h^(r)+r is even (Diagonal lattice paths with steps U=(1,1) and D=(1,1), and the height function).

[L1]

For a step set S, a point P and N, the map sending a lattice path to its step word is a bijection LS(P;)S (For each start point the step word is a bijection onto Sn).

[L2]
[L3]

For a finite set A and jN, [A]j is the set of j-element subsets of A, and [A]j=(Aj) (The set [A]k of k-element subsets and the binomial coefficient (nk):=[n]k).

[L4]

If I is finite and (Ai)iI are pairwise disjoint finite sets then iIAi is finite with iIAi=iIAi (The sum rule: a finite disjoint union is finite with AB=A+B and iIAi=iIAi, and a sum over a finite index set splits along a partition, clause 2).

[L5]

If A and B are finite then A×B is finite and A×B=AB (The product rule: A×B=AB, and i<mAi=i<mAi, clause 1).

[L6]

For a finite index set S and a:SN the sum iSai is defined (The sum iSai over a finite index set, and its product form).

[L7]

If A is finite and f:AB is a bijection then B is finite and B=A (The cardinality A of a finite set).

Proof

technique · direct
1.1

Let vMotn have step word w, put A:={jN:j<n, wjL} and let w^ be the word over {U,D} obtained by reading the letters of w at the positions of A in increasing order. A level step leaves the height unchanged, so for every in the height h(i) of v equals the height h^(r) of the diagonal path traced by w^ at r=Ai, the number of non-level positions before i; and every r with 0rA arises as such a count, taking i to be n or the position immediately after the r-th member of A. Hence h(i)0 for all i if and only if h^(r)0 for all r, and h(n)=0 if and only if h^(A)=0.

F1F3
1.2

Consequently A is even, say A=2k with 2kn, since h^(A)=0 and h^(r)+r is even by [F3]; and w^ is then a ballot word of length 2k, so by [F2] it is the step word of a unique Dyck path of semilength k.

F2F3
2.1

Let Pw^Dk be the unique Dyck path whose step word is w^, supplied by [F2]. The map v(k,A,Pw^) is a bijection from Motn onto the disjoint union over k with 2kn of {k}×[n]2k×Dk. Its inverse takes (k,A,P) to the path of length n whose step word carries the letters of the step word of P at the positions of A in increasing order and the letter L elsewhere: by steps 1.1 and 1.2 that path lies in Motn, and the two constructions undo one another, so [L1] and [L2] apply.

F2L1L2step 1.1step 1.2
3.1

The index set {k:2kn} is a subset of the finite set {0,,n}, hence finite by [L8], and for each of its members [n]2k is finite with (n2k) elements by [L3] while Dk is finite with Ck elements by [F2]. So [L5] gives {k}×[n]2k×Dk=(n2k)Ck and [L4] with [L6] adds these over the index set; transporting along the bijection of step 2.1 by [L7] gives the stated identity. At n=0 the index set is {0} and the single term is (00)C0=1; at n=1 it is {0} again, giving 1; at n=2 the terms are 1 and (22)C1=1, giving 2; at n=3 they are 1 and (32)C1=3, giving 4; and at n=4 they are 1, (42)C1=6 and (44)C2=2, giving 9.

F2L3L4L5L6L7L8step 2.1

Remarks

  • A bijective proof, and therefore a second route. The functional equation of M(x)=1+xM(x)+x2M(x)2, and 2x2M(x)=1x(12x3x2)1/2 determines the same numbers, but nothing of it is used here: this argument deletes the level steps and reads what is left. It is also the identity that makes the Catalan numbers of this page count something other than Dyck paths.

  • Why the parity of A is proved and not assumed. The subword at the non-level positions must return to height 0, and a diagonal path returns to its starting height only after an even number of steps. Assuming evenness would hide exactly the step that forces the summation index to be 2k rather than k.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

53 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