Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-adaptedprecheck 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 4 divides x2+y2+z2 then x, y and z are all even

Statement

Let x,y,z∈Z and suppose 4∣x2+y2+z2 (Divisibility in Z: d∣a when a=dq for some integer q). Then x, y and z are all even.

Facts & Assumptions

Given: Integers x,y,z with 4∣x2+y2+z2.

[F1]

For a,b,n∈Z, a≡b(modn) means n∣(a−b) (Congruence modulo an integer: a≡b(modn) when n∣(a−b), including the moduli 0 and 1).

[F2]

For d,a∈Z, d∣a means a=dq for some q∈Z (Divisibility in Z: d∣a when a=dq for some integer q).

[L1]

For every integer x: if x is odd then x2≡1(mod4), and if x is even then x2≡0(mod4) (A square is congruent to 0, 1 or 4 modulo 8).

[L2]

If a≡a′(modn) and b≡b′(modn), then a+b≡a′+b′(modn) and a−b≡a′−b′(modn) (Congruent integers may be added, subtracted and multiplied: representative changes preserve both arithmetic operations).

[L3]

For a,b∈Z with b≠0 there is exactly one pair (q,r) of integers with a=qb+r and 0≤r<∣b∣; moreover b∣a holds exactly when r=0 (Division with remainder for any nonzero divisor: for a∈Z and b≠0 there are unique q,r∈Z with a=qb+r and 0≤r<∣b∣).

Proof

technique · direct
1.1givenL3construct

By [L3] with b=2 each of x,y,z is even or odd; let t be how many of the three are odd, so t is one of 0,1,2,3.

1.2L1

By [L1], modulo 4 each odd coordinate contributes a square congruent to 1 and each even coordinate contributes a square congruent to 0.

2.1step 1.1step 1.2L2F1algebra

Adding the three contributions by [L2], x2+y2+z2≡t(mod4), since the t odd coordinates each contribute 1 and the remaining ones contribute 0.

3.1givenstep 2.1L2F1F2algebra

The hypothesis 4∣x2+y2+z2 says x2+y2+z2≡0(mod4) by [F1] and [F2]; subtracting this from step 2.1 by the difference clause of [L2] gives 0≡t(mod4), that is 4∣t.

4.1step 1.1step 3.1L3algebra∎

Since 0≤t<4, [L3] applied with a=t and b=4 has the unique pair (q,r)=(0,t), and it says 4∣t holds exactly when r=0; so step 3.1 forces t=0, meaning none of x,y,z is odd, that is x, y and z are all even.

Remarks

The modulus cannot be relaxed to 2. Divisibility of x2+y2+z2 by 2 leaves t=0 and t=2 both possible, and 12+12+02=2 realises the second, so 2 dividing the sum does not force the coordinates even. It is the count t being pinned to a single residue modulo 4 that makes the argument work, and that needs the modulus 4.

Where it is used. This is the halving step of Positive integers 4am with m≡7(mod8) are not sums of three integer squares: it is what licenses passing from a representation of 4σ(a)m to one of 4am.

Depends on

Used by

Dependency tree · two levels

17 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