Alphabeta Math
LemmaStatement: 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.

If a=1 then j#{r:0r<m, Sa(j+r)Sa(j)} is a bijection from {0,,m1} onto {1,,m}

Statement

Let m1 and let a be a word of length m of integers with a=1 (Cyclic shifts of an integer word and its periodic partial-sum function). For jZ put

X(j):={rN:0r<m, Sa(j+r)Sa(j)},

the number of the m partial sums of the shift σja, counted from r=0, at which Sa has not risen strictly above its value at j. Then

X:{0,1,,m1}{1,2,,m}

is a bijection (Injection, surjection, bijection). In particular each of the values 1,2,,m is realised by exactly one j in {0,,m1}.

Facts & Assumptions

Given: a natural number m1 and a word a of length m of integers with a=1.

[F1]

Sa(j+m)=Sa(j)+a for every jZ; Sa(0)=0; and jmodm is the unique r with j=qm+r and 0r<m (Cyclic shifts of an integer word and its periodic partial-sum function).

[L1]

For d,xZ, d divides x when x=dq for some qZ (Divisibility in Z: da when a=dq for some integer q).

[L2]

For x,bZ with b0 there is exactly one pair (q,r) of integers with x=qb+r and 0r<b (Division with remainder for any nonzero divisor: for aZ and b0 there are unique q,rZ with a=qb+r and 0r<b).

[L3]

Let A be a finite set and BA; then B is finite, BA, and B=A if and only if B=A (A subset of a finite set is finite, with BA, and equality holds if and only if B=A, clauses 1, 2 and 3).

[L4]

If m<n then there is no injection from n to m (The pigeonhole principle on N, clause 2).

[L5]

n=n for a natural number n, and a bijection transports finiteness and cardinality (The cardinality A of a finite set).

[L6]

A function is a bijection when it is both injective and surjective (Injection, surjection, bijection).

Proof

technique · direct
1.1

The integer key T(i):=mSa(i)i is m-periodic: T(i+m)=m(Sa(i)+1)(i+m)=mSa(i)i=T(i), using a=1 in the quasiperiodicity clause of [F1].

F1algebra
1.2

T is injective on {0,,m1}: if T(i)=T(j) with i,j in that range, then m(Sa(i)Sa(j))=ij, so m divides ij while m<ij<m, and writing ij=mq forces q=0 by [L2], since q1 would give ijm and q1 would give ijm.

L1L2algebra
1.3

For every jZ and every r with 0r<m: Sa(j+r)Sa(j) if and only if T(j+r)T(j). Put d:=Sa(j+r)Sa(j), so T(j+r)T(j)=mdr. If d0 then mdrr0; if d1 then mdrmr1, and this is the only place the hypothesis r<m is used. So the sign of mdr decides, and the two conditions agree.

F1algebra
2.1

For 0j<m one has X(j)={iN:i<m, T(i)T(j)}. Indeed r(j+r)modm is a bijection of {0,,m1} onto itself, with inverse i(ij)modm; by step 1.1 and the periodicity of T one has T((j+r)modm)=T(j+r), and T(j) is the value at j itself since jmodm=j in this range; so step 1.3 identifies the set counted by X(j) with the displayed set through that bijection, and [L5] preserves the count.

F1L5step 1.1step 1.3
3.1

X is injective on {0,,m1}. Let ij lie in that range; by step 1.2 the values T(i) and T(j) differ, say T(i)<T(j). Then {l<m:T(l)T(i)} is contained in {l<m:T(l)T(j)} and does not contain j, which the second set does; so it is a proper subset of a finite set and [L3] gives a strictly smaller cardinality, that is X(i)<X(j) by step 2.1.

L3step 1.2step 2.1
3.2

X takes values in {1,,m}: the index r=0 always satisfies Sa(j)Sa(j), so the counted set is nonempty and X(j)1; and it is a subset of an m-element set, so X(j)m by [L3] and [L5].

L3L5step 2.1
4.1

Both {0,,m1} and {1,,m} have exactly m elements. If X omitted a value of {1,,m}, then by steps 3.1 and 3.2 it would be an injection from an m-element set into a set of at most m1 elements, which [L4] forbids; so X is surjective as well as injective and is a bijection by [L6].

L4L5L6step 3.1step 3.2

Remarks

  • This is not the cycle lemma. The cycle lemma counts the shifts all of whose partial sums are positive, and for weight 1 that is exactly one shift. This lemma sorts every shift, by how many of its partial sums fail to rise above the starting value, and finds that the m shifts realise the m possible counts once each. The shift with count 1 is the one the cycle lemma singles out.

  • Why an integer key and not a rational one. The source perturbs Sa by i/m to break ties; multiplying through by m gives T(i)=mSa(i)i, which does the same work without leaving Z. The tie-breaking is exactly the injectivity of step 1.2.

Depends on

Used by

Dependency tree · two levels

34 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