Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passaudited 2026-08-17
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.

Gauss's lemma as a lower-half lattice-point count

Statement

Let p and q be distinct odd primes. Put Sp,q:={(x,y)Z2:1x(p1)/2, 0<py<qx}.

Then (qp)=(1)Sp,q.

Thus Gauss's sign count (Gauss's quadratic-residue lemma) can be read as the parity of a finite set of lattice points, without introducing floor notation.

Facts & Assumptions

Given: Distinct odd primes p,q, and m=(p1)/2.

[L1]

If N(q,p) is the number of least positive residues of q,2q,,mq modulo p that exceed p/2, then (qp)=(1)N(q,p) (Gauss's quadratic-residue lemma).

[L2]

For every integer A and positive integer p, there are unique integers t,ρ such that A=pt+ρ and 0ρ<p (Division with remainder in Z: for aZ and b>0 there are unique q,rZ with a=qb+r and 0r<b).

[L3]

For each 1xm, there are unique εx{1,1} and ux{1,,m} such that qxεxux(modp), and u1,,um is a permutation of 1,,m (Multiplication by a with pa permutes an odd prime's signed half-system up to sign).

Proof

technique · direct
1.1

For each 1xm, [L2] gives qx=ptx+ρx with 0ρx<p; since pqx, one has 0<ρx<p. The positive integers y satisfying py<qx=ptx+ρx are exactly 1,,tx, so Sp,q=x=1mtx.

L2givenalgebra
2.1

In the notation of [L3], ρx=ux when εx=1 and ρx=pux when εx=1; the negative signs are exactly the residues counted by N(q,p). Summing the equations of step 1.1 and reducing modulo 2 gives xxSp,q+xρx(mod2), because p and q are odd. Also xρxxux+N(q,p)(mod2), while the permutation in [L3] gives xux=xx. Hence Sp,qN(q,p)(mod2), and [L1] yields (qp)=(1)Sp,q.

step 1.1L1L3algebra

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 78 results over 24 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources