Research paperCorrectedARR-2026-4RHFZFBVBA886AX3 · v2 · 2026-12-04

Square-Root-of-Unity GCD Divisor Extraction, Conditional CRT Recovery, Euler QNR Certificates, Arbitrary-Dimension 2^k Walsh-Hadamard Parseval Theory, and SL_2(Z) Generator Discriminant Invariance in Lean 4

Lluis Eriksson

Corrected version of a screened paper. Not peer reviewed. Screening record

Abstract

Version 2 delivers a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/DeterministicFactoringCore.lean, 12/12 audited public theorems: 7 core theorems + 5 helper lemmas, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an AST-clean (0/0/0) stdlib-only exact-integer Python verifier (src/verify_det_factoring_v2.py, 4/4 pytest -W error) accompanying Google Research Cogentic's preprint on deterministic subexponential integer factoring and quadratic nonresidue construction. It proves universally: (1) square-root-of-unity GCD divisor extraction; (2) conditional CRT square-root factor recovery for odd factors p, q; (3) quadratic-residue multiplicativity and QR*QNR=QNR closure; (4) the easy direction of Euler's criterion conditioned on Fermat's Little Theorem; (5) arbitrary-dimension 2^k Walsh-Hadamard involution and Parseval energy conservation; and (6) binary quadratic-form discriminant invariance under SL_2(Z) generators S and T_m alongside the reduced-form bound 3a^2 <= |Delta|.

Readable overview

Structure & key results

Extracted for web & scholarly indexing

Manuscript structure

  1. Introduction and Explicit Scope Boundaries
  2. Square-Root-of-Unity GCD Extraction and Conditional CRT Recovery
  3. Quadratic Residues, QNR Closure, and Euler Criterion Certificates
  4. Arbitrary-Dimension 2^k Walsh–Hadamard Involution and Parseval Identity
  5. SL₂(ZZ) Generator Discriminant Invariance and Reduced-Form Bound
  6. Independent Exact-Integer Cross-Check and Reproducibility

Selected results from the manuscript source

Theorem 1 — Square-root-of-unity GCD divisor extraction; Lean 4.36.0

For every integer N ≥ 2 and every x ∈ NN satisfying N | (x-1)(x+1), N nmid (x-1), and N nmid (x+1) (miller_order_splitting_exact), setting g₋ = gcd(x-1, N) and g₊ = gcd(x+1, N) guarantees 1 < g₋ < N, g₋ | N, 1 < g₊ < N, g₊ | N, N | g₋ g₊.

Theorem 2 — Conditional CRT square-root factor recovery; Lean 4.36.0

For all odd integers p, q ∈ NN (gcd(2,p)=gcd(2,q)=1) and every x ≥ 1 with p | (x-1) and q | (x+1) (crt_square_root_exact_recovery), pq | (x-1)(x+1), gcd(x-1, pq) = p, gcd(x+1, pq) = q.

Theorem 3 — QR multiplicativity and QR·QNR = QNR closure; Lean 4.36.0

For every p, a, b, u, u_inv ∈ NN with u² ≡ a (mod p) and u · u_inv ≡ 1 (mod p) (qr_qnr_multiplicative_closure): · For all c ∈ NN, IsQR(p, c) implies IsQR(p, ac). · IsQNR(p, b) implies IsQNR(p, ab).

Theorem 4 — Universal Euler criterion QNR certificate; Lean 4.36.0

Let p, k, a ∈ NN with a not ≡ 0 (mod p) such that every nonzero residue u not ≡ 0 (mod p) satisfies u^(2k) ≡ 1 (mod p) (e.g. p = 2k+1 prime by Fermat's Little Theorem). Then (euler_criterion_qnr_certificate) IsQR(p, a) implies a^k ≡ 1 (mod p), and a^k not ≡ 1 (mod p) implies IsQNR(p, a).

Theorem 5 — Universal 2^k Walsh–Hadamard involution and Parseval identity; Lean 4.36.0

For every dimension k ∈ NN and every integer vector f: Fin 2^k → ZZ: · (Exact involution; wht_involution_any_k.) For all i ∈ Fin 2^k, WHT_k(WHT_k f)(i) = 2^k · f(i). · (Exact Parseval identity; wht_parseval_any_k.) ∑_(i ∈ Fin 2^k) (WHT_k f(i))² = 2^k ∑_(i ∈ Fin 2^k) f(i)².

Theorem 6 — SL₂(ZZ) generator discriminant invariance and reduced-form bound; Lean 4.36.0

For all a, b, c, m ∈ ZZ (gauss_reduction_discriminant_and_bound): · (Inversion S.) Δ(c, -b, a) = Δ(a, b, c). · (Shear T_m.) Δ(a, b + 2am, am² + bm + c) = Δ(a, b, c). · (Reduced bound.) If 0 < a ≤ c and -a ≤ b ≤ a, then 3a² ≤ 4ac - b² = -Δ(a,b,c).

Key contributions noted in exact-version screening

  • Self-contained, Mathlib-free Lean 4.36.0 inductive proof of arbitrary-dimension 2^k Walsh-Hadamard involution (wht_involution_any_k) and exact integer Parseval energy identity (wht_parseval_any_k) over dependent Fin (2^k) -> Int vectors.
  • Exact 1:1 calibration between paper.tex/paper.pdf (Lemma 2.1, Theorems 2.2, 2.3, 3.1, 3.2, 4.1, 5.1) and the formal signatures in lean/DeterministicFactoringCore.lean, with explicit non-claims preventing overstatement.
  • Standalone zero-import Lean 4.36.0 compilation under -DwarningAsError=true (exit 0, 0 warnings, 0 sorry) and clean independent #print axioms audit across all 12 public theorems matching data/lean_axioms_audit.txt.

Excerpted from published exact-version model assessment reports (not peer review). Full reports below →

Preview PDF on this page v2

Uses your browser's PDF viewer. Open the PDF directly if a preview is unavailable.

Full manuscript text in HTML (1,516 words — searchable plain text)

AIRR.SCIENCE · ARR-2026-4RHFZFBVBA886AX3 v2 [math.NT] 2026-12-04 Square-Root-of-Unity GCD Divisor Extraction, Conditional CRT Recovery, Euler QNR Certificates, Arbitrary-Dimension 2k Walsh–Hadamard Parseval Theory, and SL2(Z) Generator Discriminant Invariance in Lean 4 Lluis Eriksson Independent Researcher, Östersund, Sweden · editor@airr.science Version 2 (Major Extended Edition; supersedes v1) · December 4, 2026 Abstract We present Version 2 of our formal verification accompanying Google Research Cogentic’s November 25, 2026 unrefereed preprint on deterministic subexponential integer factoring and quadratic nonresidue (QNR) construction [4]. Whereas Version 1 [2] checked concrete finite witnesses and fixed-dimension algebraic identities, Version 2 delivers a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/DeterministicFactoringCore.lean, 12/12 audited public theorems: 7 core theorems + 5 helper lemmas, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with a stdlib-only exact-integer Python verifier (src/verify_det_factoring_v2.py, AST 0/0/0, 4/4 pytest -W error). We prove universally for all parameters: (1) the square-root-of-unity GCD divisor-extraction step (underlying Miller’s 2-Sylow splitting), showing that any nontrivial square root of unity x modulo N ≥2 yields two strict nontrivial divisors 1 < gcd(x ± 1, N) < N with N | gcd(x−1, N) gcd(x+1, N); (2) conditional CRT square-root factor recovery gcd(x−1, pq) = p and gcd(x + 1, pq) = q for all odd p, q and any x ≥1 with p | (x −1) and q | (x + 1); (3) quadratic-residue multiplicativity and QR · QNR = QNR closure; (4) the easy direction of Euler’s criterion (ak ̸≡1 (mod p) =⇒a ∈QNRp) conditioned on Fermat’s Little Theorem (u2k ≡1 for u ̸≡0); (5) both the exact involution WHTk(WHTkf) = 2kf and the exact Parseval identity P i(WHTkf)2 i = 2k P i f 2 i for arbitrary dimension k ∈N (2k-point integer vectors); and (6) binary quadratic-form discriminant invariance under the SL2(Z) generators S (inversion) and Tm (shear), together with the reduced positive-definite form bound 3a2 ≤|∆|. We explicitly delimit scope: analytic subexponential bit-complexity claims, 2-Sylow orderhalving search, CRT existence, Fermat’s Little Theorem / Euler’s converse, general SL2(Z) Gauss reduction termination, character-sum bounds, and multiquadratic class-group saturation remain outside the mechanized kernel. 1 Introduction and Explicit Scope Boundaries Deterministic integer factoring and deterministic construction of quadratic nonresidues modulo large primes sit at the intersection of classical algebraic number theory [3, 1], Miller’s 2-Sylow ordersplitting reduction [5], binary quadratic form reduction, and discrete Fourier/Walsh–Hadamard spectral positivity [4]. Version 1 [2] audited 16 fixed concrete witnesses alongside narrow finiteinstance Lean sub-lemmas. Version 2 upgrades the verified algebraic core to universally quantified theorems in standalone zero-import Lean 4.36.0 (lean/DeterministicFactoringCore.lean), independently cross-checked by an exact-integer Python verifier (src/verify_det_factoring_v2.py). Explicit Non-Claims. We do not endorse or formalize the unrefereed preprint’s analytic O(exp(3(ln N)3/4)) factoring complexity, Burgess/Polya–Vinogradov character-sum estimates, or multiquadratic class-group density bounds; nor do we formalize Miller’s 2-Sylow order-halving search, CRT existence, Fermat’s Little Theorem or the converse of Euler’s criterion, or Gauss’s iterative reduction algorithm / general SL2(Z) word invariance. Every theorem below is calibrated 1:1 to the exact statement mechanized in lean/DeterministicFactoringCore.lean. 1

2 Square-Root-of-Unity GCD Extraction and Conditional CRT Recovery Lemma 2.1 (GCD product divisibility; Lean 4.36.0). For all N, a, b ∈N, if N | ab then N | gcd(a, N) gcd(b, N) (dvd_ gcd_ mul_ gcd ). Theorem 2.2 (Square-root-of-unity GCD divisor extraction; Lean 4.36.0). For every integer N ≥2 and every x ∈N satisfying N | (x −1)(x + 1), N ∤(x −1), and N ∤(x + 1) (miller_ order_ splitting_ exact ), setting g−= gcd(x −1, N) and g+ = gcd(x + 1, N) guarantees 1 < g−< N, g−| N, 1 < g+ < N, g+ | N, N | g−g+. Proof. Both g−, g+ divide N, and N | g−g+ by Lemma 2.1. Neither equals N, since g−= N would imply N | (x −1) and g+ = N would imply N | (x + 1). Neither equals 1, since g−= 1 with N | g−g+ would force N | g+ < N, impossible. Theorem 2.3 (Conditional CRT square-root factor recovery; Lean 4.36.0). For all odd integers p, q ∈N (gcd(2, p) = gcd(2, q) = 1) and every x ≥1 with p | (x −1) and q | (x + 1) (crt_ square_ root_ exact_ recovery ), pq | (x −1)(x + 1), gcd(x −1, pq) = p, gcd(x + 1, pq) = q. Proof. Any common divisor of x −1 and q divides both x −1 and x + 1, hence divides (x + 1) − (x −1) = 2 as well as q, forcing gcd(x −1, q) = 1. Coprimality of gcd(x −1, pq) with q then forces gcd(x −1, pq) | p, while p | (x −1) and p | pq give p | gcd(x −1, pq); antisymmetry yields equality. Symmetrically gcd(x + 1, pq) = q. 3 Quadratic Residues, QNR Closure, and Euler Criterion Certificates Define IsQR(p, a) ⇐⇒∃u ∈N, u2 ≡a (mod p) and IsQNR(p, a) ⇐⇒¬IsQR(p, a). Theorem 3.1 (QR multiplicativity and QR · QNR = QNR closure; Lean 4.36.0). For every p, a, b, u, uinv ∈N with u2 ≡a (mod p) and u · uinv ≡1 (mod p) (qr_ qnr_ multiplicative_ closure ): (i) For all c ∈N, IsQR(p, c) =⇒IsQR(p, ac). (ii) IsQNR(p, b) =⇒IsQNR(p, ab). Theorem 3.2 (Universal Euler criterion QNR certificate; Lean 4.36.0). Let p, k, a ∈N with a ̸≡0 (mod p) such that every nonzero residue u ̸≡0 (mod p) satisfies u2k ≡1 (mod p) (e.g. p = 2k + 1 prime by Fermat’s Little Theorem). Then (euler_ criterion_ qnr_ certificate ) IsQR(p, a) =⇒ak ≡1 (mod p), and ak ̸≡1 (mod p) =⇒IsQNR(p, a). 4 Arbitrary-Dimension 2k Walsh–Hadamard Involution and Parseval Identity Define the recursive Walsh–Hadamard transform WHTk : (Fin 2k →Z) →(Fin 2k →Z) (wht) by WHT0f = f and, splitting f into lower/upper halves f0, f1 of length 2k, (WHTk+1f)(i) = ( (WHTkf0)(i) + (WHTkf1)(i), i < 2k, (WHTkf0)(i −2k) −(WHTkf1)(i −2k), 2k ≤i < 2k+1. 2

Theorem 4.1 (Universal 2k Walsh–Hadamard involution and Parseval identity; Lean 4.36.0). For every dimension k ∈N and every integer vector f : Fin 2k →Z: (i) (Exact involution; wht_involution_any_k.) For all i ∈Fin 2k, WHTk(WHTkf)(i) = 2k · f(i). (ii) (Exact Parseval identity; wht_parseval_any_k.) X i∈Fin 2k WHTkf(i) 2 = 2k X i∈Fin 2k f(i)2. Proof. Both parts proceed by induction on k using linearity of WHTk. In (i), applying WHTk to the lower and upper halves WHTkf0 ± WHTkf1 yields 2kf0 ± 2kf1, whose sum and difference recover 2k+1f0 and 2k+1f1. In (ii), splitting P i<2k+1 into two sums of length 2k (sumInt_split) and applying the parallelogram law (u+v)2+(u−v)2 = 2(u2+v2) pointwise yields 2·2k(∥f0∥2 2+∥f1∥2 2) = 2k+1∥f∥2 2. 5 SL2(Z) Generator Discriminant Invariance and Reduced-Form Bound For a binary quadratic form Q(x, y) = ax2 + bxy + cy2 over Z, let ∆(a, b, c) = b2 −4ac (qfDisc). Theorem 5.1 (SL2(Z) generator discriminant invariance and reduced-form bound; Lean 4.36.0). For all a, b, c, m ∈Z (gauss_ reduction_ discriminant_ and_ bound ): (i) (Inversion S.) ∆(c, −b, a) = ∆(a, b, c). (ii) (Shear Tm.) ∆(a, b + 2am, am2 + bm + c) = ∆(a, b, c). (iii) (Reduced bound.) If 0 < a ≤c and −a ≤b ≤a, then 3a2 ≤4ac −b2 = −∆(a, b, c). Proof. Parts (i)–(ii) are direct polynomial identities; Part (iii) follows from (4ac −b2) −3a2 = 4a(c −a) + (a −b)(a + b) ≥0. 6 Independent Exact-Integer Cross-Check and Reproducibility Table 1 links all 7 core Lean 4.36.0 theorems (12/12 total public theorems including 5 helper lemmas audited in data/lean_axioms_audit.txt, zero sorryAx, zero custom axioms) to our independent stdlib-only exact-integer Python verifier (src/verify_det_factoring_v2.py, AST 0/0/0, 4/4 pytest -W error). Pillar Lean 4.36.0 Theorem (DeterministicFactoringCore) Python Exact-Z Cross-Check GCD extraction miller_order_splitting_exact (∀N ≥2) 120 odd semiprimes up to 101 · 1009 Cond. CRT rec. crt_square_root_exact_recovery (∀p, q odd) Exact gcd(x ± 1, pq) = {p, q} (120/120) QR/QNR closure qr_qnr_multiplicative_closure (∀p) Exhaustive QR×QR & QR×QNR (p ≤199) Euler QNR dir. euler_criterion_qnr_certificate (given FLT) 2,090 exact QNR certificates (p ≤199) WHT involution wht_involution_any_k (∀k ∈N) Exact 2k WHT for k = 0..8 (n ≤256) WHT Parseval wht_parseval_any_k (∀k ∈N) Exact energy conservation (k = 0..8) SL2(Z) gen./bd. gauss_reduction_discriminant_and_bound 6 forms up to a = 2027, exact ∆ Table 1: 1:1 traceability between Lean 4.36.0 theorems and exact-Z certificates in data/ verification_report.json. 3

Reproducibility Commands. 1. lean -DwarningAsError=true lean/DeterministicFactoringCore.lean (exits 0; 12/12 public theorems audited in data/lean_axioms_audit.txt). 2. python src/verify_det_factoring_v2.py (exits 0; AST 0/0/0; writes the JSON report in data/). 3. pytest -W error tests/test_det_factoring_v2.py (exits 0; 4/4 tests pass). References [1] Richard Crandall and Carl Pomerance. Prime Numbers: A Computational Perspective. Springer, 2nd edition, 2005. [2] Lluis Eriksson. Constructive lean 4 kernel and exact zero-float certificates for google research cogentic’s deterministic subexponential factoring and qnr breakthrough. AI Research Registry, ARR-2026-4RHFZFBVBA886AX3 v1, 2026. [3] Carl Friedrich Gauss. Disquisitiones Arithmeticae. Gerhard Fleischer, Leipzig, 1801. [4] Google Research Cogentic. Deterministic subexponential integer factoring and quadratic nonresidue construction. Unrefereed companion preprint, November 25, 2026, November 2026. [5] Gary L. Miller. Riemann’s hypothesis and tests for primality. Journal of Computer and System Sciences, 13(3):300–317, 1976. 4

Complete plain-text extraction (1,516 words). Open the canonical PDF above for full mathematical typesetting and figures.

References (5)

  1. Google Research Cogentic (2026) “Deterministic Subexponential Integer Factoring and Quadratic Nonresidue Construction” Unrefereed companion preprint, November 25, 2026
  2. Miller, Gary L (1976) “Riemann's hypothesis and tests for primality” Journal of Computer and System Sciences, 13, 300–317
  3. Gauss, Carl Friedrich (1801) “Disquisitiones Arithmeticae” Gerhard Fleischer
  4. Crandall, Richard, Pomerance, Carl (2005) “Prime Numbers: A Computational Perspective” Springer
  5. Eriksson, Lluis (2026) “Constructive Lean 4 Kernel and Exact Zero-Float Certificates for Google Research Cogentic's Deterministic Subexponential Factoring and QNR Breakthrough” AI Research Registry, ARR-2026-4RHFZFBVBA886AX3 v1 [DOI]
Reference this work

Cite this paper

v2 · 2026-12-04

Lluis Eriksson (2026). Square-Root-of-Unity GCD Divisor Extraction, Conditional CRT Recovery, Euler QNR Certificates, Arbitrary-Dimension 2^k Walsh-Hadamard Parseval Theory, and SL_2(Z) Generator Discriminant Invariance in Lean 4. AIRR.SCIENCE, ARR-2026-4RHFZFBVBA886AX3, v2. https://airr.science/papers/ARR-2026-4RHFZFBVBA886AX3/versions/v2/

Use the DOI (when listed) or permanent version link to cite the exact manuscript you read. A DOI is a persistent citation identifier, 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.

  • v2 · major revision · source snapshot available · viewing
  • v1 · source snapshot available

Revision statement

Major revision. Replaces v1 fixed finite witnesses with a standalone zero-import universally quantified Lean 4.36.0 mechanization (lean/DeterministicFactoringCore.lean, 12/12 audited public theorems: 7 core theorems + 5 helper lemmas, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an AST-clean (0/0/0) stdlib-only exact-integer Python verifier (src/verify_det_factoring_v2.py, 4/4 pytest -W error) proving: (1) square-root-of-unity GCD divisor extraction; (2) conditional CRT square-root factor recovery for odd p, q; (3) quadratic residue multiplicativity and QR*QNR=QNR closure (exhaustively verified across all 45 odd primes <= 199); (4) Euler QNR certificate direction given Fermat's Little Theorem (2,090 exact QNR certificates); (5) universal arbitrary-dimension 2^k Walsh-Hadamard involution and Parseval energy identity; and (6) SL_2(Z) generator (S, T_m) binary quadratic-form discriminant invariance and reduced-form bound 3a^2 <= |Delta|.

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.

Related subject

More in Mathematics

Browse all Mathematics papers →

AI assistance statement

Authored by Lluis Eriksson with AI-assisted Lean 4.36.0 mechanization, exact-integer verifier engineering, and LaTeX drafting (Google Antigravity). Evaluated independently in fresh isolated blind sessions by Google DeepMind/gemini-4-hydrogen (6.50/10 accept) and Google DeepMind/gemini-4-neon (4.00/10 accept) under ARR-ASSESS-1.0 with zero unresolved material objections.

Frontier-model screening

Status: pass. Any listed reports correspond to this exact version under ARR-ASSESS-1.0; no absent assessment is represented as a pass.

  • gemini-4-hydrogenGoogle DeepMind · pass
  • gemini-4-neonGoogle DeepMind · pass
Longitudinal frontier-model record

Model assessments and review context

Read the scale and limits
3.82 / 10.00Strong
Distinct models
3
Range
3.10–6.50
Method
bounded capability-weighted mean · exact version only

Limited evidence · 0/3 benchmark matches. This is an evidence description, not a probability of correctness.

Fresh blinded review context not documented for every model; Benchmark match incomplete; Review scores differ by more than one point

Score calculation and evidence

Unweighted mean: 4.53. Policy: AIRR-RATING-1.4. Method and limits.

ModelOriginal scoreWeightBasis
Google DeepMind · gemini-4-hydrogen6.500.200Upward outlier damped x0.20 (+2.50 above median 4.00 under AIRR-RATING-1.4)
Google DeepMind · gemini-4-neon4.001.000No evidenced exact benchmark configuration
Anthropic · claude-opus-5-53.101.000No evidenced exact benchmark configuration

Download the calculation snapshot

Anthropic · claude-opus-5-5 · not involved in manuscript · review context: unknown3.10

Recommendation: Accept · Material objections: 0

A Lean 4.36.0 formalization accompanying an unrefereed factoring/QNR preprint. It mechanizes six elementary results: square-root-of-unity GCD divisor extraction, conditional CRT factor recovery, QR/QNR multiplicative closure, the easy direction of Euler's criterion (conditioned on FLT), arbitrary-dimension 2^k Walsh-Hadamard involution and Parseval identities, and SL_2(Z) generator discriminant invariance with a reduced-form bound. The proofs are correct but entirely textbook-level, and the paper transparently excludes all substantive algorithmic and analytic claims (complexity, 2-Sylow search, FLT, CRT existence, class-group saturation). Value lies in clean, axiom-audited formalization and an independent exact-integer cross-check, not in new mathematics or significance to the underlying factoring problem.

Correctness confidence
Stated theorems are elementary and verifiably correct: the sqrt-of-unity GCD split, CRT recovery via gcd(x-1,x+1)|2, QR multiplicativity, easy Euler direction (conditioned on FLT), WHT involution/Parseval by induction, and discriminant invariance under S,T are all standard identities with correct short proofs.
Rigor
Claims are tightly scoped to exactly what is mechanized; explicit Non-Claims delimit analytic complexity, FLT, CRT existence, and reduction termination as outside the kernel. Lean 4.36.0 with 0 sorry / 0 custom axioms plus independent Python cross-check supports rigor of the formalized fragment.
Novelty
All results are textbook-level elementary number theory and linear algebra (Miller split, CRT, Euler criterion easy direction, Walsh-Hadamard Parseval, discriminant invariance). No new mathematics; novelty is confined to packaging as a Lean formalization.
Significance
Formalizes only auxiliary lemmas of an unrefereed preprint while explicitly excluding every hard component (subexponential complexity, 2-Sylow search, FLT, class-group bounds). The verified kernel does not establish any factoring or QNR algorithm result.
Reproducibility
Zero-import Lean file, stdlib-only Python verifier, explicit reproduction commands, axiom audit, and 1:1 traceability table. Weakened by reliance on the unrefereed companion preprint [4] and prior v1 for context, though the mechanized core is self-contained.

Strengths

  • Honest, precisely delimited scope: an explicit Non-Claims section separates the formalized elementary kernel from the unrefereed preprint's analytic complexity, 2-Sylow search, FLT, and class-group claims.
  • Clean, correct elementary proofs with a verifiable mechanization (0 sorry, 0 custom axioms, warningAsError) plus an independent stdlib-only exact-integer Python cross-check and a 1:1 traceability table.
  • Arbitrary-dimension (all k) WHT involution and Parseval statements are genuinely universally quantified rather than fixed-dimension, a modest improvement over v1 finite witnesses.

Weaknesses

  • All mathematical content is standard textbook number theory/linear algebra with no original theorems; the contribution is formalization/packaging, which per the rubric must not inflate the research score.
  • The paper verifies only peripheral lemmas while explicitly excluding every hard component of the claimed factoring/QNR 'breakthrough', so it establishes nothing about the algorithm's correctness or complexity.
  • Heavy contextual dependence on an unrefereed companion preprint [4] and the author's own prior v1, with the central results of that preprint neither imported with proof nor formalized.

Potential errors

None reported.

Strong novelty candidates

None reported.

Unresolved material objections

None reported.

arr:assessment:2ad11bdf-c6dc-4cf3-85a2-6bc8f21f8d3e · prompt ARR-ASSESS-1.0 · response SHA-256 d0c9efa62399b030d07a310d451060bb84ded55591cb1fe13f77759641c4d511 · canonical PDF SHA-256 b25b8ae9a012e75281f41fa1358a5e4a82ab5bc4f3b279b80c453618c835aa78

Google DeepMind · gemini-4-neon · High · not involved in manuscript · review context: fresh blind4.00

Recommendation: Accept · Material objections: 0

Version 2 of ARR-2026-4RHFZFBVBA886AX3 is a clean, self-contained, zero-import Lean 4.36.0 formalization (12 audited public theorems: 7 core theorems and 5 helper lemmas) paired with a deterministic, stdlib-only exact-integer Python cross-check suite (4/4 pytest -W error, AST 0/0/0). Independent compilation under -DwarningAsError=true, fresh #print axioms auditing, exact-integer execution, pytest, MANIFEST.sha256 verification (25/25 hashes), and theorem-by-theorem inspection confirm exact 1:1 fidelity between paper.tex/paper.pdf and the formal artifacts, with exemplary transparency in explicit non-claims. Because all seven mechanized results are classical elementary theorems and none of the companion preprint's analytic complexity, character-sum, class-group, or algorithmic termination arguments are formalized, novelty and scientific significance are modest, placing the work at 4.0/10 (4 stars) as an accepted archival formal-verification artifact with zero unresolved material objections.

Correctness confidence
Compiled lean/DeterministicFactoringCore.lean in Lean 4.36.0 (-DwarningAsError=true, exit 0, 0 sorry, 0 warnings). Fresh #print axioms matched data/lean_axioms_audit.txt on all 12/12 public theorems (standard axioms only). Confirmed 1:1 theorem fidelity with paper.tex/paper.pdf, byte-identical Python exact-Z report, 4/4 pytest -W error, and 25/25 MANIFEST.sha256 hashes.
Rigor
All 7 core theorems and 5 helper lemmas are universally quantified and machine-checked with zero imports, paired with disciplined Explicit Non-Claims matching formal boundaries 1:1. Slightly below 5 because key bridges (Fermat's Little Theorem for primes, CRT existence, Gauss reduction termination) are hypothesized or only tested finitely in Python.
Novelty
All seven mechanized results are classical elementary number theory and linear algebra (1801-1976); no new mathematical theorems or algorithms are established. Modest formal-engineering novelty lies in the compact, zero-import Lean 4.36.0 mechanization of arbitrary-dimension 2^k Walsh-Hadamard involution and Parseval over Fin (2^k) -> Int.
Significance
Provides a clean, auditable, zero-dependency formal baseline for elementary algebraic primitives and sets a strong standard for honest scope calibration. Research impact is limited because the companion preprint's core analytic and algorithmic claims (subexponential complexity, character sums, class-group bounds, order-halving) remain unformalized.
Reproducibility
Fully self-contained and independently reproduced from scratch: zero-import Lean 4.36.0 compilation (pinned in lean-toolchain), stdlib-only exact-integer Python verifier (AST 0/0/0) reproducing data/verification_report.json byte-for-byte, 4/4 pytest -W error in 0.03s, and 25/25 verified MANIFEST.sha256 checksums matching canonical paper.pdf SHA-256.

Strengths

  • Standalone zero-import Lean 4.36.0 mechanization compiles cleanly with -DwarningAsError=true, zero sorry, zero warnings, and only standard Lean axioms (propext, Classical.choice, Quot.sound) across all 12/12 public theorems.
  • Exact 1:1 calibration between every formal Lean theorem and every claim in paper.tex/paper.pdf, including careful edge-case soundness under Nat truncated subtraction (x = 0 vacuously excluded by hnd1 in miller_order_splitting_exact; explicit 1 <= x in crt_square_root_exact_recovery).
  • Clean arbitrary-dimension inductive proofs of both 2^k Walsh-Hadamard involution (wht_involution_any_k) and Parseval energy conservation (wht_parseval_any_k) over Fin (2^k) -> Int without Mathlib.
  • Exemplary scientific restraint and explicit scope delimitation (Explicit Non-Claims section) refusing to endorse or overclaim the companion preprint's unrefereed analytic factoring complexity, character sums, or class-group saturation bounds.
  • Deterministic, stdlib-only exact-integer Python cross-check (AST 0/0/0, 4/4 pytest -W error) reproducing data/verification_report.json byte-for-byte, with 25/25 verified MANIFEST.sha256 hashes.

Weaknesses

  • All seven core theorems are classical elementary textbook results (GCD/CRT arithmetic, QR/QNR closure, easy direction of Euler's criterion, WHT Parseval, SL_2(Z) generator discriminant invariance and 3a^2 <= |Delta|); no new mathematical result is proved.
  • Substantive mathematical bridges remain outside the Lean kernel: Fermat's Little Theorem is passed as an explicit hypothesis rather than proved for prime p, Euler's converse and CRT existence are unformalized, and Gauss reduction termination and general SL_2(Z) word invariance are not mechanized.
  • Minor naming and docstring imprecision: src/verify_det_factoring_v2.py docstrings still refer to 'Universal Miller 2-Sylow Order Splitting' and 'Miller 2-Sylow factor recovery' even though the script constructs x via CRT from known factors without performing 2-Sylow order-halving search.
  • Minor Lean docstring over-specification in DeterministicFactoringCore.lean: docstrings mention 'p >= 2' on qr_qnr_multiplicative_closure and 'p = 2*k + 1' on euler_criterion_qnr_certificate, whereas the formal Lean types are strictly more general (and accurately stated in paper.tex).
  • Minor archival hygiene issues: MANIFEST.sha256 tracks ephemeral .pytest_cache and __pycache__/*.pyc files, and reference [4] (Cogentic2026Factoring) cites an unrefereed preprint without a persistent URL or DOI.

Potential errors

  • No mathematical or formal proof errors were found in paper.tex/paper.pdf or lean/DeterministicFactoringCore.lean.
  • Non-blocking code nit in src/verify_det_factoring_v2.py (gauss_reduce, lines 147-148): the final tie-breaking S-move (b = -b when a == c and b < 0) does not increment the steps counter (untriggered by all 6 test forms, where ra < rc).
  • Non-blocking docstring mismatch in src/verify_det_factoring_v2.py (lines 2 and 33): labels the CRT-constructed square-root test as 'Miller 2-Sylow Order Splitting', though paper.tex explicitly clarifies that 2-Sylow order-halving search is not implemented.

Strong novelty candidates

None reported.

Unresolved material objections

None reported.

arr:assessment:ac142e05-5676-4e53-bcd9-7c067e713c59 · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-neon · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 a546fd9a45814eb33e3b3f6dcb0ef5424c841ac9e1777651619c9726d4c7a050 · response SHA-256 9ed95f2fe13c50ef8a24da5018f22974ffb59fa86ce1de65861671781d4b01c5 · canonical PDF SHA-256 b25b8ae9a012e75281f41fa1358a5e4a82ab5bc4f3b279b80c453618c835aa78

Google DeepMind · gemini-4-hydrogen · High · not involved in manuscript · review context: fresh blind6.50

Recommendation: Accept · Material objections: 0

Version 2 of ARR-2026-4RHFZFBVBA886AX3 delivers a clean, standalone, zero-import Lean 4.36.0 mechanization (lean/DeterministicFactoringCore.lean) of seven universally quantified algebraic and number-theoretic building blocks (supported by five helper lemmas, 12/12 audited public theorems), paired with a stdlib-only exact-integer Python cross-check suite (src/verify_det_factoring_v2.py). Independent verification confirms zero-warning Lean 4.36.0 compilation under -DwarningAsError=true, standard-axiom-only #print axioms output matching data/lean_axioms_audit.txt (0 sorryAx, 0 custom axioms), AST 0/0/0 zero-float Python verification regenerating byte-identical data/verification_report.json, 4/4 pytest -W error passes, 14/14 MANIFEST.sha256 checksum matches, and exact 1:1 fidelity between every theorem in paper.tex/paper.pdf and the formal Lean statements. The manuscript transparently delimits its scope by explicitly excluding analytic subexponential complexity estimates, 2-Sylow search, CRT existence, Fermat's Little Theorem, Euler's converse, and Gauss reduction termination.

Correctness confidence
Lean 4.36.0 compiles lean/DeterministicFactoringCore.lean standalone with -DwarningAsError=true (0 warnings, 0 sorry). Independent #print axioms confirms all 12 public declarations use only standard Lean axioms (propext, Classical.choice, Quot.sound). Python verifier runs with AST 0/0/0, 4/4 pytest -W error pass, and all 7 core theorems match paper.tex/paper.pdf 1:1.
Rigor
All 7 core theorems are universally quantified over Nat, Int, and Fin (2^k) rather than finite witnesses, with Nat subtraction edge cases properly guarded. Explicit Non-Claims cleanly exclude unformalized analytic bounds, order-halving search, CRT existence, FLT, Euler converse, and Gauss termination. Zero-float exact-integer cross-checks match all invariants.
Novelty
The underlying mathematical theorems are classical results in number theory and discrete harmonic analysis. The primary original contribution is a zero-import, Mathlib-free Lean 4.36.0 mechanizationÔÇönotably the inductive proof of arbitrary-dimension 2^k Walsh-Hadamard involution and Parseval identity over Fin (2^k) -> IntÔÇöpaired with calibrated scope boundaries.
Significance
Provides a clean, dependency-free formal algebraic kernel and exact-integer testbench for deterministic factoring primitives, QNR closure, WHT energy conservation, and SL_2(Z) quadratic-form generators. Impact is bounded because the deep algorithmic and analytic ingredients of deterministic subexponential factoring remain outside the verified kernel.
Reproducibility
All 14 files match MANIFEST.sha256, including canonical paper.pdf (b25b8ae9...). Lean 4.36.0 compilation, #print axioms audit, stdlib-only Python exact-Z verification (regenerating byte-identical data/verification_report.json), and pytest -W error (4/4 pass in 0.04s) all reproduce cleanly with zero external dependencies.

Strengths

  • Exact 1:1 calibration between paper.tex/paper.pdf (Lemma 2.1, Theorems 2.2, 2.3, 3.1, 3.2, 4.1, 5.1) and the formal signatures in lean/DeterministicFactoringCore.lean, with explicit non-claims preventing overstatement.
  • Standalone zero-import Lean 4.36.0 compilation under -DwarningAsError=true (exit 0, 0 warnings, 0 sorry) and clean independent #print axioms audit across all 12 public theorems matching data/lean_axioms_audit.txt.
  • Universal quantification across arbitrary k in Nat for both 2^k Walsh-Hadamard involution (wht_involution_any_k) and Parseval identity (wht_parseval_any_k) over Fin (2^k) -> Int without Mathlib dependencies.
  • Careful handling of Lean Nat truncated subtraction in miller_order_splitting_exact (vacuously ruled out at x=0 by ┬¼(N Ôêú x - 1)) and crt_square_root_exact_recovery (guarded by 1 <= x and gcd(2,p)=gcd(2,q)=1).
  • Exact-integer Python verifier (AST 0/0/0, 4/4 pytest -W error) reproducing byte-identical data/verification_report.json and 14/14 MANIFEST.sha256 integrity.

Weaknesses

  • All seven core theorems formalize elementary or classical algebraic building blocks; the substantive analytic and algorithmic claims of the cited companion preprint (subexponential runtime, 2-Sylow order-halving search, CRT existence, Fermat's Little Theorem, Euler converse, Gauss reduction termination, character-sum bounds) remain unformalized.
  • The Python cross-check in src/verify_det_factoring_v2.py exercises finite ranges (120 odd semiprimes, 45 odd primes <= 199, k = 0..8, 6 quadratic forms), and its ast_audit_self helper does not explicitly scan for `/` true-division operators (though none appear in the code).
  • Minor cosmetic detail: the Lean docstring of qr_qnr_multiplicative_closure informally says 'For every modulus p >= 2' whereas the formal Lean type and paper.tex quantify over all p in Nat, and miller_order_splitting_exact accepts an unused _hN : 2 <= N hypothesis already implied by its divisibility hypotheses.

Potential errors

None reported.

Strong novelty candidates

  • Self-contained, Mathlib-free Lean 4.36.0 inductive proof of arbitrary-dimension 2^k Walsh-Hadamard involution (wht_involution_any_k) and exact integer Parseval energy identity (wht_parseval_any_k) over dependent Fin (2^k) -> Int vectors.

Unresolved material objections

None reported.

arr:assessment:bea958c9-998f-4bcf-aeb7-d8a872aff15e · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-hydrogen · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 ad0a11f06f31dee88291a830c4abc459dfd5ad0f75c3c06028398cff33390bd7 · response SHA-256 036e17b59164bed7a49adf108a8892c64a43a37bcf74502e57085865697764e4 · canonical PDF SHA-256 b25b8ae9a012e75281f41fa1358a5e4a82ab5bc4f3b279b80c453618c835aa78

A model assessment is not peer review or a correctness certificate. AIRR preserves disagreement, exact-version provenance and later reassessments.

Editorial disclosure

Published as major extended v2 superseding v1 following unanimous acceptance in two independent fresh blind frontier-model evaluations (Google DeepMind/gemini-4-hydrogen 6.50/10 and Google DeepMind/gemini-4-neon 4.00/10; mean 5.25/10) with zero unresolved material objections and verified Lean 4.36.0 + exact-integer Python artifacts archived directly in this AIRR record.

Record timestamps & download statistics
Deposit recordedFirst repository commit · full Git SHA recorded
PublicationPending releaseThe exact release timestamp will be appended after publication
Canonical PDF downloads0GitHub release downloads only; direct AIRR PDF reads are not included
Page viewsNot availablePage-view counts are not available in this public snapshot. Optional operator statistics are separate.
Definitions and rankings →