Alphabeta Math
DefinitionDefinition: Literature-sourcedProof: Not applicableSession-authored (Fable 5 assisted)judge 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.

Dyck paths of semilength n

Definition

Let nN. A Dyck path of semilength n is a diagonal lattice path of length 2n from (0,0) to (2n,0) whose height function satisfies h(i)0 for every i with 0i2n (Diagonal lattice paths with steps U=(1,1) and D=(1,1), and the height function). Write

Dn:={vW((0,0),(2n,0)):h(i)0 for 0i2n}

for the set of them. The word semilength records that the path has 2n steps: its length is 2n and its semilength is n.

Small cases, read off the definition. For n=0 the path has length 0, so D0 consists of the empty path at (0,0) and has exactly one element. For n=1 there are two diagonal paths of length 2 from (0,0) to (2,0), with step words UD and DU and height sequences 0,1,0 and 0,1,0; only the first has h0, so D1 has exactly one element.

Ballot words. A ballot word of length 2n is a word w{U,D}2n in which the number of letters U equals the number of letters D and, for every i2n, the number of letters U among the first i is at least the number of letters D among them. Step words identify the two notions: by For each start point the step word is a bijection onto Sn the map v (step word of v) is a bijection from the diagonal paths of length 2n starting at (0,0) onto {U,D}2n, and under it the two conditions defining Dn become the two conditions defining a ballot word. For with μ(i) the number of letters U among the first i, the height formula h(i)=2μ(i)i of Diagonal lattice paths with steps U=(1,1) and D=(1,1), and the height function gives

h(i)0    μ(i)iμ(i),h(2n)=0    μ(2n)=n,

and iμ(i) is the number of letters D among the first i. So Dn and the set of ballot words of length 2n correspond bijectively, and either may be used to compute the other's size.

Remarks

  • Why the height condition is weak and not strict. A diagonal path from (0,0) has h(0)=0, so a strict condition h>0 would be satisfied by nothing at all. The condition that bites is at the interior indices, and the two endpoints are on the boundary of it by construction.

  • Semilength, not length, is the index. Every count below is stated in terms of n, and the path it counts has 2n steps. A statement about Dn is never a statement about paths of length n; the odd lengths carry no Dyck paths at all, since a path of odd length from (0,0) cannot return to height 0.

Depends on

Used by

Dependency tree · two levels

11 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