Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-generated
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.

Cyclotomic scaled grid and norm-equation solver

Definition

Fix ω=eiπ/4 and D=Z[ω,1/2]. Use the automorphism ∙ from The nontrivial real-conjugation automorphism of the eighth cyclotomic field, which sends ω to −ω=ω5 and fixes i. Let 0<ε<1/2 and θ∈R. The scaled grid for this input is

G(θ,ε)={u∈D: ∣u∣≤1, ∣u∙∣≤1, Re⁡(eiθ/2u)≥1−ε2/2}.

The default iterator is Efficient exact-denominator Rz grid iterator, with w=e−iθ/2. It emits every candidate once in increasing least k=sde⁡(u), with randomized order within each layer and finite layer completion for every random-bit sequence. Its expected prefix cost and all fixed prefix moments are proved in Complete scaled-grid enumeration with expected polynomial prefix cost.

A complete finite-search alternative uses lexicographic power-basis coefficients within each layer. For each k≥0, write u=(a0+a1ω+a2ω2+a3ω3)/(2)k with least exponent k; the finite coefficient bound is ∣aj∣≤⌊2k/2⌋, proved in Finite coefficient bounds for the scaled cyclotomic grid. Test the three displayed conditions exactly. This defines a finite candidate list for each k.

For a candidate u, put ξ=1−u†u=1−∣u∣2∈D+=Z[2,1/2], using Conjugate norms from the dyadic eighth-cyclotomic ring are real dyadics. For scalars, z†=zˉ. Write ξ∙ξ=n/2ℓ with n∈Z and least ℓ≥0; compute it by writing ξ=a+b2 with a,b∈Z[1/2] and multiplying (a−b2)(a+b2)=a2−2b2. The two disk conditions give ξ,ξ∙≥0, so n≥0; if ξ≠0, injectivity of ∙ gives n>0. The complete norm-equation subprocedure receives ξ and, if n≠0, a prime factorization of n. It must decide whether some t∈D satisfies t†t=ξ, return an exact such t if one exists, and otherwise return NO_SOLUTION. If ξ=0, it returns t=0. A bounded factorization attempt may return FACTOR_TIMEOUT; that result skips this candidate and is not a proof of NO_SOLUTION.

Factored norm-equation subprocedure

When the supplied integer factorization is available, use the efficient construction in Efficient exact cyclotomic norm solving with a supplied integer factorization. Clear the denominator by η=4rξ, taking the least nonnegative r for which η∈Z[2]. For each rational prime in its known norm factorization, recover its real prime generators using gcd⁡(p,2−b) when b2=2(modp) exists, and otherwise retain p. Split these into cyclotomic prime generators by the displayed modular roots of −1 or −2 and cyclotomic gcds; retain the inert generators and include δ=1+ω over 2. Recover the exponents in η by exact division, allocate them under complex conjugation as below, and recover the real unit by multiplying by 1+2 or its inverse until its positive embedding lies in [1,1+2). The cited construction specifies all residue-class branches and its randomized modular square-root subroutine; balance gcd remainders by real units as there. It returns an exact solution or NO_SOLUTION and has expected polynomial bit cost in the explicit algebraic input size. For a grid candidate of exponent k, this is polynomial in k+1.

Calibrated bounded prime attempts

In bounded mode no prime recognition oracle is used. For candidate exponent k, use the fixed calibrated polynomial P(k)=2200(k+1)20 from Efficient exact cyclotomic norm solving with a supplied integer factorization. If n=0, return t=0. If n=1, run the complete efficient construction with the empty odd-prime factor list; its remaining powers of two are known.

For n>1, execute the factored construction prospectively, using the single factor hint n1, for at most 2P(k) of its elementary binary operations. This is an attempt, not a claim that n is prime. Instrument all loops, including random sampling, with this counter. Guard every partial operation: check divisors for zero and obtain modular inverses by the integer extended Euclidean algorithm, aborting if the gcd is not one. Impossible order/root searches, malformed outputs, negative solver outcomes, failed inverses, and work-cap interruptions all end the attempt with FACTOR_TIMEOUT, never with a claim of NO_SOLUTION.

Before accepting any prospective output, reduce its rational power-basis coefficients and check t†t=ξ exactly. Accept only when that equality holds; otherwise return FACTOR_TIMEOUT. Watchdog, guard and final certificate costs are charged; they are polynomial in k+1+P(k) even on composite inputs. The solver-work counter bounds every intermediate bit string by its input length plus 2P(k), so certification cannot hide an unbounded output cost. Use fresh independent random bits at each candidate.

After the capped prime attempt fails, return FACTOR_TIMEOUT for this candidate and continue to the next grid candidate. Bounded mode makes no additional factoring attempt and takes no factor-suggestion procedure or additional factor-attempt budget as input. Complete oracle mode instead supplies a valid full factorization and runs the complete efficient solver without this cap.

Complete finite-search alternative

Use the complete terminating construction of Constructive decision of the dyadic cyclotomic norm equation. Explicitly, after the zero case choose the least integer r≥0 clearing the coefficient denominators so that η=4rξ∈Z[2]. Factor η in O=Z[ω] by the finite divisor search in Constructive cyclotomic factorization and real unit squares. Group the prime associate classes under †. If any fixed class has odd exponent, return NO_SOLUTION. Otherwise form s by allocating half each fixed exponent, and all of the common exponent to one class from each conjugate pair. Compute the positive real unit e=η/(s†s), recover v∈Z[2] with v2=e by the unit construction, and return t=vs/2r. Every computation here uses exact power-basis arithmetic.

The supplied integer factorization is retained as an admissible input for implementations using rational-prime splitting. The finite-search mode above does not need it and has no asserted polynomial runtime. In bounded mode, FACTOR_TIMEOUT skips the current candidate and never changes the complete subprocedure's NO_SOLUTION criterion.

Comparison contract

The grid comparisons involve the supplied real parameters θ and ε. Their exact comparison interface is part of the outer real-input contract. It is independent of the algebraic norm solver, whose sign, equality, divisibility and associate tests are all exact and terminating.

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