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

Diagonal lattice paths with steps U=(1,1) and D=(1,1), and the height function

Definition

A diagonal lattice path is a lattice path whose steps lie in the step set {U,D} with U=(1,1), D=(1,1) (Lattice paths, step sets and step words). Write

W(P;n):=L{U,D}(P;n)

for the diagonal paths of length n from P.

Every diagonal path advances one unit in the first coordinate at each step. Both steps have first coordinate 1, so if vW((0,a);n) and x(i) denotes the first coordinate of v(i) then x(0)=0 and x(i)=x(i1)+1 for 1in; induction on i (The principle of mathematical induction) gives x(i)=i. Hence

v(i)=(i, h(i))(0in)

for a unique function h:{0,1,,n}Z (The integers as equivalence classes of pairs of naturals), the height function of v. It satisfies

h(0)=a,h(i)h(i1){1,1}(1in),

and conversely every such h is the height function of exactly one vW((0,a);n): the word w with wi1=U when h(i)h(i1)=1 and wi1=D otherwise is the only step word producing those heights, and step words correspond bijectively to paths (For each start point the step word is a bijection onto Sn). A diagonal path from (0,a) and its height function are therefore the same datum, and the two are used interchangeably below.

Height after i steps. With w the step word of v and

μ(i):={jN:j<i, wj=U}

the number of up-steps among the first i (The cardinality A of a finite set), one has

h(i)=a+μ(i)(iμ(i))=a+2μ(i)i(0in).

Indeed μ(0)=0 and h(0)=a; and if the formula holds at i1, then wi1=U raises h by 1 and μ by 1, while wi1=D lowers h by 1 and leaves μ unchanged, so it holds at i. Induction on i finishes it.

Prescribing the endpoint. For bZ put

W((0,a),(n,b)):={vW((0,a);n):h(n)=b},

which by the previous paragraph is the set of v whose step word has 2μ(n)=n+ba. It is nonempty exactly when 2 divides n+ba (Divisibility in Z: da when a=dq for some integer q) and

nban,

the second condition being ban, since x is x or x according as x0 or x<0 (The absolute value a of an integer). For if such a v exists then 2μ(n)=n+ba with 0μ(n)n, giving both conditions; and if they hold, then u:=μ(n) is forced to be the natural number with 2u=n+ba, which satisfies 0un, and the word UuDnu traces such a path.

Levels. For cZ a diagonal path with height function h touches the level c when h(i)=c for some i with 0in; it stays strictly above the level c when h(i)>c for every such i, and stays weakly above c when h(i)c for every such i.

Remarks

  • The two conditions on the endpoint are not interchangeable. The parity condition says which heights are reachable at all after n steps; the range condition says the height cannot move further than one unit per step. Dropping either leaves an empty set, and the count below is stated so that it returns 0 in both cases rather than being undefined.

  • The height function is the object, the path is the packaging. Every statement below about diagonal paths is a statement about h, and the pair (i,h(i)) is carried only so that the results of Lattice paths, step sets and step words apply unchanged.

Depends on

Used by

Dependency tree · two levels

29 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