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

The reflection principle: paths from (0,a) to (n,b) staying strictly above level c are counted by a difference of two binomial coefficients

Statement

Let cZ, let nN and let a,bZ with a>c and b>c. Write A for the set of diagonal paths vW((0,a),(n,b)) that stay strictly above the level c, that is h(i)>c for every i with 0in (Diagonal lattice paths with steps U=(1,1) and D=(1,1), and the height function).

  1. A is finite and

    A+W((0,2ca),(n,b))=W((0,a),(n,b)).

  2. Suppose 2 divides n+ba and ban, and let uN be the natural number with 2u=n+ba. Then u+ac is a natural number and

    A+(nu+ac)=(nu),soA=(nu)(nu+ac).

  3. If 2 does not divide n+ba, or ba<n, or ba>n, then all three sets above are empty and all three counts are 0.

Facts & Assumptions

Given: an integer c, a natural number n, integers a>c and b>c, and the set A of the statement.

[F1]

The height function of a diagonal path of length n from (0,a) satisfies h(0)=a and h(i)h(i1){1,1}; the path touches the level c when h(i)=c for some in, and stays strictly above c when h(i)>c for every in; and the restriction of the path to {0,,k} is a diagonal path of length k (Diagonal lattice paths with steps U=(1,1) and D=(1,1), and the height function).

[L1]

If a diagonal path of length n has h(0)ch(n) or h(n)ch(0), then h(i)=c for some i with 0in (A diagonal path with h(0)ch(n) or h(n)ch(0) satisfies h(i)=c for some i).

[L3]

If A is finite and f:AB is a bijection then B is finite and B=A; and a finite set has cardinality 0 exactly when it is empty (The cardinality A of a finite set).

[L4]

For a>c and b>c, reflecting the initial segment at the first visit to level c is a bijection from the set of vW((0,a),(n,b)) that touch the level c onto W((0,2ca),(n,b)) (Reflecting the initial segment at the first visit to level c).

[L5]

W((0,α),(n,β)) is finite; if 2 divides n+βα and nβαn then its cardinality is (nu) for the natural number u with 2u=n+βα, and otherwise the set is empty (The number of diagonal paths from (0,a) to (n,b) is (nu) for the natural number u with 2u=n+ba, and 0 when no such u exists).

Proof

technique · direct
1.1

A path vW((0,a),(n,b)) fails to touch the level c if and only if it stays strictly above c. If it stays strictly above c then no height equals c. Conversely, if h(k)<c for some k, then the restriction of v to {0,,k} is a diagonal path whose height at the last index is h(k)ca, the height at index 0, so [L1] gives an index ik with h(i)=c and v touches c; hence a path that does not touch c has every height c and, none being equal to c, every height >c.

F1L1
2.1

Therefore W((0,a),(n,b)) is the union of the set T of paths that touch c and the set A, and these are disjoint. Both are subsets of the finite set W((0,a),(n,b)), hence finite by [L5] and [L6], so [L2] gives T+A=W((0,a),(n,b)).

L2L5L6step 1.1
3.1

By [L4] the set T is in bijection with W((0,2ca),(n,b)), so the two have the same cardinality by [L3], and substituting into step 2.1 gives clause 1.

L3L4step 2.1
4.1

For clause 2, put u:=u+ac, a natural number because ac1; then 2u=n+ba+2(ac)=n+b(2ca), so u is the natural number attached by [L5] to the endpoint data of W((0,2ca),(n,b)). If un then [L5] gives W((0,2ca),(n,b))=(nu); if u>n then b(2ca)>n, so [L5] makes the set empty and [L7] makes (nu) equal to 0 as well. The same two readings apply to W((0,a),(n,b)) and (nu), and clause 1 then reads as the displayed identity, whose subtracted form follows because the identity holds in N. For clause 3, [L5] makes W((0,a),(n,b)) empty in each of the three listed cases, so its cardinality is 0 by [L3] and clause 1 forces both summands to be 0, hence both those sets to be empty as well. As a check, n=0 with a=b gives u=0, A=1 and (0ac)=0 since ac1.

L3L5L7step 3.1algebra

Remarks

  • Where the two hypotheses are spent. The hypothesis a>c is what makes the reflected starting height lie strictly below c, so that every reflected path meets c and the correspondence is onto; the hypothesis b>c is what keeps the first visit strictly before the last index, so that reflection preserves the endpoint. Neither is a normalisation.

  • The identity is stated as a sum, and only then as a difference. The counting argument produces "touching plus avoiding equals all" in N, and the difference form is legitimate only because that identity has already been proved; written the other way round the subtraction would need its own justification whenever the second coefficient vanishes.

Depends on

Used by

Dependency tree · two levels

38 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