Constructive Lean 4 Kernel and Exact Zero-Float Certificates for Google Research Cogentic's Deterministic Subexponential Factoring and QNR Breakthrough
Admitted after checks by named AI models and editor approval. Not peer reviewed. Screening record
A November 25, 2026 companion preprint from Google Research's Cogentic framework proposes an unconditional deterministic subexponential general integer factoring algorithm with claimed worst-case bit complexity O(exp(3 (ln N)^(3/4))), together with deterministic subexponential order splitting and prime quadratic nonresidue (QNR) construction in O(exp(C_split (ln p)^(1/2) ln ln(p+16))). Rather than assuming peer-reviewed endorsement of the preprint's analytic pillars, we deliver an independent, explicitly scoped, zero-floating-point verification companion uniting 18 constructive Lean 4.35.0 algebraic and arithmetic sub-lemmas (zero sorry, zero axiom, zero Classical.choice, zero warnings; 3 zero-axiom and 15 [propext, Quot.sound]) with a pure-stdlib Python int/Fraction 4-mode auditor (DETFACT-COGENTIC-CERT-1.0) that certifies 16 canonical finite witnesses in 0.010-1.978 ms and rejects 66/66 live adversarial forgeries with exact branch assertions (72/72 pytest checks).
Structure & key results
Key contributions noted in exact-version screening
- First rigorous Lean 4 and exact zero-float verification pipeline for subexponential deterministic factoring and QNR construction mechanisms.
- Exhaustive Lean 4.35.0 formalization of 18 sub-lemmas with zero sorry and zero axioms for core algebraic components.
- Rigorous pure-integer and Fraction Python zero-float auditor with comprehensive test suites and adversarial red-team forgery rejections.
- Transparent scope calibration explicitly delineating verified algebraic/combinatorial mechanisms from unverified analytic number theory pillars.
Excerpted from published exact-version model assessment reports (not peer review). Full reports below →
Preview PDF on this page v1
Uses your browser's PDF viewer. Open the PDF directly if a preview is unavailable.
Cite this paper
Lluis Eriksson (2026). Constructive Lean 4 Kernel and Exact Zero-Float Certificates for Google Research Cogentic's Deterministic Subexponential Factoring and QNR Breakthrough. AIRR.SCIENCE, ARR-2026-4RHFZFBVBA886AX3, v1. https://airr.science/papers/ARR-2026-4RHFZFBVBA886AX3/versions/v1/
Use the DataCite DOI (when listed) or permanent version link to cite the exact manuscript you read. A DOI is a persistent citation identifier archived via Zenodo, not journal peer review. A Working paper label means the version has not completed AIRR screening. Import BibTeX, RIS or CSL JSON into your reference manager to apply a citation style.
Version history
The paper identifier remains stable. Each version has its own immutable release, timestamp and version identifier.
- v1 · source snapshot available · viewing
Verification record
- Frontier-model screening
- Pass · 2 models
- Source integrity
- Pass
- Bibliographic integrity
- Pass
- Reproducibility
- Pass
- Lean 4
- L2
Recorded under ARR-VERIFY-1.0. AIRR verification and screening are not peer review.
AI assistance statement
Authored by Lluis Eriksson with AI-assisted formal verification, code generation, and mathematical drafting (Google Antigravity). Public MIT verification repository: https://github.com/lluiseriksson/cogentic-deterministic-factoring-certificates (v2.0.0). Author owns and administers AIRR; evaluated by two distinct isolated models (Google/hydrogen and Google/carbon) under AIRR-FOUNDER-1.0.
Frontier-model screening
Status: pass. Any listed reports correspond to this exact version under ARR-SCREEN-1.0; no absent assessment is represented as a pass.
- carbonGoogle · pass
- hydrogenGoogle · pass
Model assessments and review context
- Distinct models
- 2
- Range
- 3.45–6.50
- Method
- bounded capability-weighted mean · exact version only
Limited evidence · 0/2 benchmark matches. This is an evidence description, not a probability of correctness.
One provider; shared blind spots possible; Fresh blinded review context not documented for every model; Benchmark match incomplete; Review scores differ by more than one point
Google · carbon · not involved in manuscript · review context: unknown6.50
Recommendation: Accept · Material objections: 0
The manuscript delivers a rigorous, independent, two-layer verification companion for Google Research Cogentic's subexponential deterministic factoring and prime QNR construction preprint. Layer 1 formalizes 18 constructive Lean 4.35.0 sub-lemmas with zero sorry, zero axioms, and zero classical choice. Layer 2 provides an exact zero-float Python auditor verifying 16 canonical instances with robust adversarial red-team test coverage. The paper maintains exemplary scientific transparency by explicitly scoping verified finite mechanisms while noting unverified analytic pillars.
- Correctness confidence
- Lean 4 formalization proves 18 standalone constructive algebraic and arithmetic sub-lemmas with zero sorry, zero axiom, and zero Classical.choice, supported by an exact zero-float Python auditor across 16 canonical instances and 72/72 passing tests.
- Rigor
- Clearly distinguishes verified finite algebraic, congruence, fixed-point, and combinatorial mechanisms from unverified analytic pillars (e.g., LLL walks, Weil-Schmidt sums).
- Novelty
- Delivers an independent, explicitly scoped formal verification and exact zero-float auditing companion for Google Research Cogentic's subexponential deterministic factoring and QNR framework.
- Significance
- Establishes a rigorous formal and computational verification pipeline for foundational claims in unconditional deterministic integer factoring and prime QNR construction.
- Reproducibility
- Provides complete specifications for Lean 4.35.0 compilation, Python pure-stdlib int/Fraction exact auditing modules, test suites, and SHA-256 manifests.
Strengths
- Exhaustive Lean 4.35.0 formalization of 18 sub-lemmas with zero sorry and zero axioms for core algebraic components.
- Rigorous pure-integer and Fraction Python zero-float auditor with comprehensive test suites and adversarial red-team forgery rejections.
- Transparent scope calibration explicitly delineating verified algebraic/combinatorial mechanisms from unverified analytic number theory pillars.
Weaknesses
- Dependence on unverified analytic hypotheses in the companion preprint for asymptotic complexity claims beyond the formalized algebraic core.
Potential errors
- Analytic pillars from the companion preprint (such as 16th-moment Burgess bounds and 4D LLL regulator walks) remain outside the formal Lean 4 verification scope and rely on preprint assumptions.
Strong novelty candidates
- First rigorous Lean 4 and exact zero-float verification pipeline for subexponential deterministic factoring and QNR construction mechanisms.
Unresolved material objections
None reported.
arr:assessment:52050a21-3712-4d42-b916-a046f21c67be · prompt ARR-ASSESS-1.0 · response SHA-256 b99f97336efe05bf61978c1d73216f7a60993a884d4a559d4b8b156be6d1175c · canonical PDF SHA-256 8f3aa75e082b87ea55f361c9e39dd811a730148b28e5602fa1508c1126867ba2
Google · hydrogen · not involved in manuscript · review context: unknown3.45
Recommendation: Accept · Material objections: 0
This 4-page verification companion paper provides an explicitly scoped, zero-floating-point verification harness for the finite algebraic, congruence, fixed-point, and combinatorial mechanisms of an unrefereed companion preprint [4] proposing deterministic subexponential factoring and prime quadratic nonresidue (QNR) construction. It combines 18 constructive Lean 4.35.0 sub-lemmas (zero sorry, zero Classical.choice) with a pure int/Fraction Python 4-mode auditor (DETFACT-COGENTIC-CERT-1.0) certifying 16 finite instances (N <= 4,028,033) and rejecting 66/66 adversarial forgeries. Every theorem statement, crossover calculation, and worked witness number visible in the PDF is mathematically sound and internally consistent, and the paper is unusually honest about leaving all analytic pillars of [4] unverified. Its main limitations are that the Lean 4 lemmas cover only isolated elementary, 2D, K=2, and constant-inequality steps rather than general-dimension proofs, and the finite certificates operate far below the asymptotic crossover regime (log2 N ~ 73,036.4).
- Correctness confidence
- All 18 Lean 4 theorem statements in Table 1, crossover arithmetic (ln N = 50,625; log2 N = 73,036.4; 38,091 vs 52,429), Gauss norm checks (d=43, d=2), and worked witness arithmetic in C01, C04, C05, C09, and C13 (including the ApproxSqrt(13,3,32) bracket ns=8,940,687,389 and L_idx=232,792,560) verify cleanly; minor table shorthand leaves f implicit in #16.
- Rigor
- Exceptionally disciplined scoping: Explicit Non-Claims (Sec. 1) clearly separate verified finite/algebraic steps from unverified analytic pillars of [4]. Zero Classical.choice, AST-audited float-free Python int/Fraction arithmetic, strict JSON parsing, and 66/66 live forgery rejections demonstrate high verification hygiene, tempered by the elementary/2D/K=2 scope of the Lean proofs.
- Novelty
- The underlying factoring and QNR algorithms come from the unrefereed companion preprint [4]. The contribution here is a dedicated verification companion pairing constructive Lean 4.35.0 sub-lemmas with a zero-float Python certificate schema and 66-case adversarial forgery suite, which is solid engineering rather than a mathematical advance.
- Significance
- Provides a trustworthy, zero-floating-point finite-witness and algebraic-kernel sanity check for an extraordinary unrefereed complexity claim [4], preventing floating-point artifacts in small-instance testing (N <= 4,028,033), though it cannot validate the asymptotic O(exp(3(ln N)^(3/4))) or QNR complexity claims themselves.
- Reproducibility
- Complete Lean theorem signatures and axiom footprints (Table 1), deterministic 13-base Miller-Rabin bounds, 16-certificate atlas parameters (Table 2), 72-test pytest breakdown, and a public repository with a 40-file SHA-256 manifest are documented, though full replay of C05/C09/C13 requires reading JSON artifacts outside the PDF.
Strengths
- Unusually candid and well-calibrated scope (Sec. 1 Explicit Non-Claims): explicitly declines to assume endorsement of the unrefereed companion preprint's [4] analytic pillars (Minkowski, Chebyshev, 4D LLL walks, 16th-moment Burgess bounds, Landau-Page/Montgomery, centered Gram peeling) and isolates exactly what is and is not verified.
- Constructive Lean 4.35.0 kernel (Table 1): 18 self-contained theorems compiling with zero external imports, zero sorry, zero Classical.choice, and verified axiom audit (3 none, 15 [propext, Quot.sound]).
- Strict zero-float Python verification architecture (DETFACT-COGENTIC-CERT-1.0): AST-audited for zero float literals/imports, strict JSON guards against floats/NaN/duplicate keys/deep nesting, exact 13-base deterministic Miller-Rabin (exact below 3.317e24), 16 certified canonical witnesses, and 66/66 live adversarial forgery rejections with exact CertificateError regex assertions.
- All numerical crossover calculations (ln N = 15^4 = 50,625; log2 N = 73,036.4; 38,091 vs 52,429 at log2 N = 262,144), Gauss unit norms, and worked exact-witness arithmetic in C01, C04, C05, C09 (notably ApproxSqrt(13, 3, 32) = 8,940,687,389), and C13 (L_idx = 232,792,560) are mathematically exact and internally consistent.
Weaknesses
- The Lean 4 formalization covers only isolated local algebraic/arithmetic steps (several being single-step constant checks such as #3 `81 < 4D => 21 <= D`, #8, #13, and #18) and restricts Walsh-Hadamard orthogonality (#12) to K=2 and bordered adjugates (#14) to 2x2 matrices, leaving general-K, general-m HNF, general-k block adjugate, and all analytic pillars outside Lean.
- Certified finite instances only reach N <= 4,028,033 (Table 2), orders of magnitude below the calculated asymptotic crossover against Harvey's N^(1/5) at log2 N ~ 73,036.4 (Sec. 4.1), so the certificates validate small-scale algebraic mechanics rather than asymptotic regime behavior.
- Although Section 4.2 labels the worked examples "Hand-Verifiable", several underlying witness inputs—such as the explicit polynomials f_1, f_2 in C13, the 2D lattice basis giving det = 180 in C09, and the definition/terms of \Psi = 3 and \sum b_0 = 35 in C05—are omitted from the PDF and reside only in the external JSON atlas/preprint [4].
- The paper validates sub-components of a same-day unrefereed preprint [4] without establishing any independent algorithmic or complexity-theoretic breakthrough of its own.
Potential errors
- Table 1 #16 (lem81_base_m_polynomial_eval) states `N | f_0(m) ==> f_0(m) + P_0 l (m - m) g(m) = f_0(m) /\ N | f(m)` without explicitly printing the definition `f(x) = f_0(x) + P_0 l (x - m) g(x)` inside the table row, leaving `f` unbound in the printed summary.
- Table 1 #4 (lem22_approx_log_recurrence_error) omits type quantifiers (`in N`); if variables were arbitrary negative integers with S < 0, `e < 2S` and `f < S` would not imply `ep^2 + fq^2 < 2Sq^2`, so natural-number positivity (as explicitly written in #5) is implicitly required.
- In Section 4.2 Mode 2 (C05), writing `(N = -1)` for the fundamental unit norm `N(\varepsilon) = -1` overloads the symbol `N` used throughout the paper for the composite integer being factored (whereas Section 4.1 writes `N(\varepsilon) = +1`).
- Section 4.1 refers to "24 tested squarefree discriminants 2 <= d <= 61", whereas there are 37 squarefree integers (and 26 with d = 2, 3 mod 4) in [2, 61], without specifying the exact selection criterion for the 24 tested discriminants.
Strong novelty candidates
None reported.
Unresolved material objections
None reported.
arr:assessment:b1662af3-470b-45de-b8df-c5e5f66a6c39 · prompt ARR-ASSESS-1.0 · response SHA-256 68e96f55f7d152b4ee1563740ff55455da487f68bcde314b297bdb8910892a01 · canonical PDF SHA-256 8f3aa75e082b87ea55f361c9e39dd811a730148b28e5602fa1508c1126867ba2
A model assessment is not peer review or a correctness certificate. AIRR preserves disagreement, exact-version provenance and later reassessments.
Editorial disclosure
Accepted under AIRR-FOUNDER-1.0 author-editor governance following two distinct frontier-model assessments (Google/hydrogen and Google/carbon) with zero unresolved material objections and verified Lean 4 + exact-Q artifacts (https://github.com/lluiseriksson/cogentic-deterministic-factoring-certificates, v2.0.0).