Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedjudge pass (gpt-6-luna)
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.

Constructive cyclotomic factorization and real unit squares

Statement

Put R=Z[2], O=Z[ω], and λ=1+2. Both rings are norm-Euclidean domains and hence unique factorization domains with effective gcd and associate tests. There is a terminating finite-search algorithm factoring every nonzero element of O into primes and a unit. The units of R are exactly ±λj (j∈Z); a unit is positive at both real embeddings if and only if it is a square of a unit of R. These assertions include effective square root recovery. No polynomial runtime bound is asserted for finite-search factorization.

Facts & Assumptions

Given: ω=eiπ/4, i=ω2, and ∙ sends ω to −ω and fixes i; † is complex conjugation.

[F1]

Canonical dyadic coefficient encoding supplies unique power-basis coordinates and exact arithmetic. The automorphisms in The nontrivial real-conjugation automorphism of the eighth cyclotomic field commute with conjugation.

Proof

1.1F1givenalgebra

For x=a+b2∈Q(2) put NR(x)=∣a2−2b2∣. For z=A+Bω with A,B∈Q(i) put NO(z)=∣A2−iB2∣2=∣z∣2∣z∙∣2. These functions are multiplicative, positive on nonzero elements, and take positive integer values on nonzero elements of their respective rings: A,B∈Z[i] for z∈O, and zz∙=A2−iB2∈Z[i]. Integer norm one is equivalent to being a unit: the converse follows by multiplicativity, and the forward implication follows by taking the product of the other conjugates divided by the norm (with a sign in R). All coordinates of that inverse remain in the ring.

1.2F1givenalgebra

The real elements of O are exactly R. Indeed, for z=a0+a1ω+a2i+a3ω3, its imaginary part is a2+(a1+a3)/2; irrationality of 2 makes this zero exactly when a2=0 and a3=−a1. The real part is then a0+a12. A real unit of O consequently is a unit of R, since its inverse is real too. Also λ−1=2−1∈R and λ∙=−λ−1.

2.1step 1.1algebraconstruct

To divide in R, round the rational coefficients of a quotient to nearest integers. Its error e=a+b2 has ∣a∣,∣b∣≤1/2, so NR(e)=∣a2−2b2∣≤1/2<1. To divide in O, express a quotient as A+Bω and round A,B to Gaussian integers. For the errors C,D, ∣C∣2,∣D∣2≤1/2, whence NO(C+Dω)=∣C2−iD2∣2≤(∣C∣2+∣D∣2)2≤1. If the last upper bound equals one, all four real coordinates of C,D are ±1/2. Then C2,D2 are purely imaginary of magnitude 1/2, so C2 and −iD2 are perpendicular and the actual norm is 1/2. Otherwise the displayed bound is already strict. Multiplicativity therefore gives a remainder of norm strictly below that of the divisor in both rings. This proves the Euclidean assertions, including ties in rounding.

2.2step 1.1step 1.2algebraconstruct

If u∈R is a unit, choose a sign and an integer power of λ to make v=±λju lie in [1,λ). Such a power exists because λ>1. Write v=a+b2. Its signed field norm is ±1, so v∙=±1/v. For norm +1, a=(v+1/v)/2∈[1,2), hence a=1; the equation a2−2b2=1 forces b=0 and v=1. For norm −1, a=(v−1/v)/2∈[0,1), hence a=0, incompatible with −2b2=−1. This proves u=±λm. Its two embeddings are positive exactly when the sign is positive and m is even. In this case λm/2 is the required real unit square root. Enumerating integer powers until the exact coefficients agree recovers m in finite time. Signs and comparisons of a+b2 are decided by signs of the rational coefficients and, when necessary, comparing a2 and 2b2.

3.1step 1.1step 2.1algebraconstruct

Repeated division terminates because nonzero remainder norms strictly decrease through positive integers. Back substitution expresses the gcd as a linear combination. If an irreducible p does not divide a, the gcd of p,a is a unit, so multiplying a Bezout identity by b shows that p∣ab implies p∣b. Thus irreducibles are prime. A nonunit has a factorization into irreducibles by induction on its norm: a proper factorization has two factors of norm at least two, each of smaller norm. The prime-divisor property and cancellation give uniqueness up to ordering and units. Divisibility is decidable by computing the quotient in the field and checking its integral coordinates; two elements are associates exactly when their quotient has integral coordinates and norm one.

4.1step 1.1step 3.1step 1.2algebraconstruct∎

Here is an explicit finite factor search, which makes the existence proof algorithmic without a primality oracle for O. For a nonunit α∈O put M=NO(α)≥2 and enumerate all power-basis integer tuples with coefficients between −(M+3) and M+3. Test whether such an element d divides α and 1<NO(d)<M; any successful d splits α into smaller-norm factors. If α is reducible, choose a nonunit proper divisor and multiply it by a power of the unit λ so 1≤∣d∣<λ. Its norm is unchanged and less than M, and ∣d∙∣=NO(d)/∣d∣≤M. Recovering power-basis coefficients from the two complex embeddings gives ∣a0∣,∣a2∣≤(∣d∣+∣d∙∣)/2 and ∣a1∣,∣a3∣≤(∣d∣+∣d∙∣)/2. They are all below λ+M<M+3, so the list contains this normalized proper divisor. Failure of the finite search therefore certifies irreducibility. Recursing on successful factors terminates by strict norm descent, and the residual norm-one elements supply the unit.

Depends on

Used by

Dependency tree · two levels

6 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