Alphabeta Math
DefinitionDefinition: AI-adaptedProof: 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.

Lattice paths, step sets and step words

Definition

Points of the plane are pairs of integers (The integers as equivalence classes of pairs of naturals), added componentwise:

(x,y)+(x,y):=(x+x,y+y),(x,y):=(x,y).

Since (Z,+,0) is a commutative group (The integers form a commutative ring) and each monoid axiom holds one coordinate at a time, (Z×Z,+,(0,0)) is a commutative monoid (Semigroup and monoid). A natural number written where an integer is expected denotes its image under the embedding NZ, k[(k,0)], of The naturals embed in the integers, which is injective and preserves addition, multiplication and the order; no symbol is written for it, so 2, n and S denote integers when they occur in an integer expression.

A step set is a finite subset SZ×Z (The cardinality A of a finite set); its elements are steps.

Definition. Let nN and PZ×Z. A lattice path of length n with steps in S from P is a function v:{0,1,,n}Z×Z with v(0)=P and v(i)v(i1)S for every i with 1in. It is a path from P to Q when moreover v(n)=Q. Write

LS(P;n):={v:v is a lattice path of length n with steps in S from P},

and LS(P,Q;n) for the subset of those with v(n)=Q.

A path is nothing but this function. No geometry of the plane is used, no continuous curve is attached to it, and the points v(0),,v(n) are the only data.

The length-zero case, stated rather than left implicit. For n=0 the domain {0} has one point and the condition on differences is vacuous, so LS(P;0) has exactly one element, the function v with v(0)=P. This is the empty path at P; it is a path from P to P, and it exists even when S=.

The step word. Words of length n over an alphabet are the functions {0,,n1}S, and Sn denotes the set of them (Finite words, contiguous factors, avoidance and proper-prefix states). The step word of a path vLS(P;n) is the word wSn with

wi1:=v(i)v(i1)(1in),

equivalently wj=v(j+1)v(j) for 0jn1. The step word of the empty path is the empty word.

The path traced by a word. Conversely let wSn and PZ×Z. The path traced by w from P is

vw(i):=P+j<iwj(0in),

the sum being the finite product of The product g0g1gn1 of a finite list in a monoid, by recursion, with the empty product (n=0) equal to the identity in the commutative monoid Z×Z, written additively. Its two defining clauses read j<0wj=(0,0) and j<i+1wj=j<iwj+wi, so

vw(0)=P,vw(i)=vw(i1)+wi1(1in),

and vw is a lattice path of length n with steps in S from P, since each displayed difference is the letter wi1S.

Concatenation. Let v be a path of length m from P to Q and let v be a path of length n from Q to R, with step words w and w. Their concatenation vv is the path of length m+n traced from P by the concatenated word ww (Finite words, contiguous factors, avoidance and proper-prefix states). The common endpoint condition ensures that its first m steps are v and its last n steps are v. Concatenating on the left with the empty path at P, or on the right with the empty path at Q, changes nothing because εw=w=wε.

Remarks

  • Why the step set is required to be finite. Nothing in the definition of a path needs it; it is imposed because every count on this page is a count of words over S, and a finite S makes every Sn finite. If the finiteness requirement were relaxed, the converse would hold for n1; at n=0 the set S0 is the singleton containing the empty word for every S.

  • A path records where it starts. Two paths with the same step word and different starting points are different functions. Every set of paths written down here therefore fixes a start point, and translation from one start point to another is a separate statement each time it is used.

Depends on

Used by

Dependency tree · two levels

32 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