Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck 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.

M(x)=1+x M(x)+x2M(x)2, and 2x2M(x)=1−x−(1−2x−3x2)1/2

Statement

In Q⟦x⟧ the Motzkin generating function (Motzkin paths, Schröder paths, the Motzkin numbers Mn, the large Schröder numbers Rn, and their generating functions) satisfies

M=1+x M+x2M2,

and, with (1−2x−3x2)1/2 the formal binomial power of Formal exponential, logarithm, and binomial powers over a commutative Q-algebra,

2x2M=1−x−(1−2x−3x2)1/2,

the series 1−x−2x2M being the unique element of 1+xQ⟦x⟧ whose square is 1−2x−3x2 (Every 1+u with u∈xR⟦x⟧ has a unique kth root with constant coefficient 1 in a commutative Q-algebra).

Facts & Assumptions

[F1]

Motm is the set of lattice paths of length m with steps in {U,D,L}, where U=(1,1), D=(1,−1) and L=(1,0), from (0,0) to (m,0) with h(i)≥0 for every i≤m; each such path advances the first coordinate by 1 at every step; Mm=∣Motm∣ is finite; M0=1 and M1=1; and M(x)=∑m≥0Mmxm (Motzkin paths, Schröder paths, the Motzkin numbers Mn, the large Schröder numbers Rn, and their generating functions).

[F2]

A natural number written where a rational is expected denotes its image under an injective embedding preserving addition, multiplication and finite sums, and Q⟦x⟧ is a commutative Q-algebra (The Catalan generating function C(x)=∑n≥0Cnxn in Q⟦x⟧).

[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]

If A and B are finite and disjoint then ∣A∪B∣=∣A∣+∣B∣; and if I is finite and (Ai)i∈I are pairwise disjoint finite sets then ∣⋃i∈IAi∣=∑i∈I∣Ai∣ (The sum rule: a finite disjoint union is finite with ∣A∪B∣=∣A∣+∣B∣ and ∣⋃i∈IAi∣=∑i∈I∣Ai∣, and a sum over a finite index set splits along a partition, clauses 1 and 2).

[L4]

If A and B are finite then A×B is finite and ∣A×B∣=∣A∣⋅∣B∣ (The product rule: ∣A×B∣=∣A∣ ∣B∣, and ∣∏i<mAi∣=∏i<m∣Ai∣, clause 1).

[L5]

For a finite index set S and a:S→N the sum ∑i∈Sai is defined, and ∑i∈∅ai=0 (The sum ∑i∈Sai over a finite index set, and its product form, clause (c)).

[L6]

[xm](f+g)=[xm]f+[xm]g; f=g if and only if [xm]f=[xm]g for every m; [xm](xkf)=[xm−k]f for k≤m and 0 for k>m; and [xm](fg)=∑i=0m[xi]f [xm−i]g (Coefficient extraction is R-linear, separates formal series, shifts under multiplication by xk, and converts products to finite convolution).

[L7]

For a commutative Q-algebra R, u∈xR⟦x⟧ and k≥1, there is a unique v∈1+xR⟦x⟧ with vk=1+u, namely v=(1+u)1/k (Every 1+u with u∈xR⟦x⟧ has a unique kth root with constant coefficient 1 in a commutative Q-algebra).

[L8]

For u∈xR⟦x⟧ and c∈R the formal binomial power is (1+u)c:=exp⁡(clog⁡(1+u)) (Formal exponential, logarithm, and binomial powers over a commutative Q-algebra).

[L9]

The coefficientwise sum and Cauchy product make Q⟦x⟧ a commutative ring (Cauchy multiplication makes R⟦x⟧ a commutative ring containing R[x] as the finitely supported subring).

[L10]

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

[L11]

Every nonempty subset S⊆N has a least element (The well-ordering principle).

Proof

technique · direct
1.1F1L1L2L11

First-return decomposition. Let v∈Motn+1 with step word w and heights h. Its first step is not D, since h(1)≥0 would fail, so it is L or U. If it is L then h(1)=0 and the path of length n with step word w1⋯wn has heights h(1+j), so it lies in Motn. If it is U then h(1)=1; the set of positive indices j≤n+1 with h(j)=0 contains n+1, so by [L11] it has a least element τ≥2, and h(τ−1)≥1 by minimality while h(τ)=0, so the step at τ is D and h(τ−1)=1; putting i:=τ−2, the path P of length i with step word w1⋯wi has heights h(1+j)−1≥0 ending at h(τ−1)−1=0, so P∈Moti, and the path Q of length n−1−i with step word wτ⋯wn has heights h(τ+j)≥0 ending at 0, so Q∈Motn−1−i, with 0≤i≤n−1 because τ≤n+1. Conversely, prepending L to a member of Motn, and sending (i,P,Q) to the path with step word U, that of P, D, that of Q, produce members of Motn+1 whose first-return data are the ones started from; the two constructions are two-sided inverses, so by [L1] and [L2] the set Motn+1 is in bijection with the disjoint union of Motn and the sets {i}×Moti×Motn−1−i for 0≤i≤n−1.

2.1F1L3L4L5L10step 1.1

Counting the two sides of step 1.1 with [F1], [L3], [L4], [L5] and [L10] gives, in N, Mn+1=Mn+∑i=0n−1MiMn−1−i, the sum being over the finite index set {0,…,n−1}. At n=0 that index set is empty and the sum is 0, so M1=M0=1, which is correct because a path of length 1 beginning with U cannot return to height 0. At n=1 it gives M2=M1+M0M0=2, at n=2 it gives M3=M2+M0M1+M1M0=4, and at n=3 it gives M4=M3+M0M2+M1M1+M2M0=9.

3.1F1F2L6L9step 2.1

Comparing coefficients gives the functional equation. At the index 0: [x0](1+xM+x2M2)=1 by [L6], and [x0]M=M0=1. At an index n+1: [xn+1](xM)=[xn]M=Mn, while [xn+1](x2M2) is [xn−1](M2)=∑i=0n−1MiMn−1−i when n≥1 and 0 when n=0, by the shift and Cauchy-product clauses of [L6]; in both cases this matches the sum of step 2.1, so [xn+1](1+xM+x2M2)=Mn+1=[xn+1]M. Extensionality in [L6] gives M=1+xM+x2M2.

4.1L6L7L8L9step 3.1∎

Rearranging step 3.1 in the commutative ring Q⟦x⟧ gives x2M2+(x−1)M+1=0, and hence (1−x−2x2M)2=(x−1)2+4x2(x2M2+(x−1)M)=(x−1)2−4x2=1−2x−3x2. The series 1−x−2x2M has coefficient 1 at the index 0, so it lies in 1+xQ⟦x⟧, and 1−2x−3x2=1+u with u=−2x−3x2∈xQ⟦x⟧; by the uniqueness clause of [L7] with k=2 it is therefore the series (1−2x−3x2)1/2 of [L8], which gives 2x2M=1−x−(1−2x−3x2)1/2. No division by 2x2 occurs, and none is available: that series has coefficient 0 at the index 0 and is not a unit.

Remarks

  • The route is the page's own, run on a third step set. No combinatorial class, no symbolic-method operator and no fixed-point theorem is used; the argument is the first-return decomposition of Every Dyck path of semilength n+1 factors uniquely as U P D Q with P∈Di and Q∈Dn−i with a level step added, and the added case is the whole difference between the Dyck recurrence and this one. The source reaches the same equation from an infinite continued fraction, which needs machinery this page does not build, so the proof here is local while the statement is the source's.

  • Where the level step shows in the equation. It contributes the summand xM, and the pair of a U with its matching D contributes the factor x2: two units of length for one pair. The convolution index therefore stops at n−1 and not at n, which is exactly the point at which the Schröder equation differs.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

61 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