Universal Arbitrary-n Gram Sum-of-Squares Uniqueness, 2D Tomography Basic-Switch X-Ray Invariance, Geometric-Sum (1-x^m) Telescoping, and Legendre Cancellation in Lean 4
Corrected version of a screened paper. Not peer reviewed. Screening record
Upgrades ARR-2026-2FNF76TQBF8W0SRK v1 to a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/PolyReconfigCore.lean, 6/6 audited public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an AST-clean (0/0/0) stdlib-only exact-Z/Q Python verifier (src/verify_reconfig_v2.py, 4/4 pytest -W error).
Structure & key results
Manuscript structure
- Introduction and Formal-vs-Computational Scope
- Universally Quantified Lean 4 Theorems
- Exact-ℤ Verification and Reproducibility
Selected results from the manuscript source
Theorem 1 — Universal Arbitrary-n Gram Sum-of-Squares Zero Uniqueness
Formalized as gram_sum_squares_zero_iff (via sq_nonneg, sq_eq_zero_iff): for every n ∈ ℕ and p: Fin n → ℤ, ∑_(i<n) p_i² = 0 ⇔ ∀ i, p_i = 0.
Theorem 2 — Universal 2D Basic-Switch X-Ray Invariance
Formalized as basic_2d_switch_xray_invariant: for all a,b,c,d,s ∈ ℤ, adding beginpmatrix s & -s -s & s endpmatrix leaves both row sums and both column sums invariant.
Theorem 3 — Universal Geometric-Sum Telescoping and x=1 Root Vanishing
Formalized as geometric_telescoping_and_root1: for every m ∈ ℕ and x ∈ ℤ, (1-x)∑_(k=0)^(m-1) x^k = 1 - x^m and 1 - 1^m = 0.
Theorem 4 — Universal k=2 r²-Cancellation and Legendre Parity
Formalized as legendre_k2_cancel_and_parity: for all r,s,x ∈ ℤ, (1-r²)+r(r-s) = 1-rs, 2P₂(-x) = 2P₂(x), and 2P₃(-x) = -2P₃(x).
Key contributions noted in exact-version screening
- Zero-import constructive Lean 4.36.0 proof of arbitrary-n Fin n integer sum-of-squares zero uniqueness (gram_sum_squares_zero_iff) avoiding Mathlib and Classical.choice.
- Standalone zero-import Lean 4.36.0 mechanization (lean/PolyReconfigCore.lean) compiling cleanly with -DwarningAsError=true, 0 warnings, and 0 sorry.
- Constructive axiom footprint verified independently via #print axioms: all 6 public theorems depend solely on [propext, Quot.sound], with 0 Classical.choice and 0 custom axioms.
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 (609 words — searchable plain text)
Universal Arbitrary-n Gram Sum-of-Squares Uniqueness, 2D Tomography Basic-Switch X-Ray Invariance, Geometric-Sum (1 −xm) Telescoping, and Legendre Cancellation in Lean 4 Lluis Eriksson Independent Researcher, Östersund, Sweden editor@airr.science 2026-12-05 AIRR.SCIENCE ARR-2026-2FNF76TQBF8W0SRK v2 [Computer and information sciences] 2026-12- Abstract Version 2 upgrades ARR-2026-2FNF76TQBF8W0SRK v1 to a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/PolyReconfigCore.lean, 6/6 audited public theorems: 4 core theorems + 2 square-uniqueness lemmas, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms, 0 Classical.choice) paired with an AST-clean (0/0/0) stdlib-only exact-Z Python verifier (src/verify_reconfig_v2.py, 4/4 pytest - W error). Motivated by discrete tomography switching, polynomial decompositions, and Legendre cross-polytope couplings [2, 1], we prove universally in Lean 4: (1) arbitrary-n Gram sum-of-squares zero uniqueness P i<n p2 i = 0 ⇐⇒∀i, pi = 0; (2) row- and columnsum invariance of the 2D basic tomography switch; (3) exact geometric-sum telescoping (1 −x) P k<m xk = 1 −xm and x = 1 root vanishing; and (4) the k = 2 r2-cancellation (1 −r2) + r(r −s) = 1 −rs paired with P2, P3 Legendre parity. 1 Introduction and Formal-vs-Computational Scope Reconfiguration and approximate counting under discrete-tomography constraints rely on Rysertype basic switches, sum-of-squares Gram uniqueness, cyclotomic/geometric factors (1−xm), and signed Legendre couplings [2, 1]. Remark 1.1 (Scope Calibration). Every universal theorem in Section 2 is machine-checked directly in standalone Lean 4.36.0 (lean/ PolyReconfigCore. lean , 6/6 audited public theorems, 0 Classical. choice ). Linear-overhead multivariate polynomial decomposition theorems, MCMC mixing, and absorption arguments are cited from Keevash and Lim [1] as motivating context and are not formalized in Lean. Companion record ARR-2026-79HZHAG1VW8AKTS6 targets the same source preprint and is cross-linked for scope transparency. Concrete exact-Z checks are executed in src/ verify_ reconfig_ v2. py . 2 Universally Quantified Lean 4 Theorems Inside namespace PolyReconfigCore, we define sumFin, ipow, and geomSum. Theorem 2.1 (Universal Arbitrary-n Gram Sum-of-Squares Zero Uniqueness). Formalized as gram_ sum_ squares_ zero_ iff (via sq_ nonneg , sq_ eq_ zero_ iff ): for every n ∈N and p : Fin n →Z, P i<n p2 i = 0 ⇐⇒∀i, pi = 0. 1
Theorem 2.2 (Universal 2D Basic-Switch X-Ray Invariance). Formalized as basic_ 2d_ switch_ xray_ invariant : for all a, b, c, d, s ∈Z, adding
s −s −s s ! leaves both row sums and both column sums invariant. Theorem 2.3 (Universal Geometric-Sum Telescoping and x = 1 Root Vanishing). Formalized as geometric_ telescoping_ and_ root1: for every m ∈N and x ∈Z, (1 −x) Pm−1 k=0 xk = 1 −xm and 1 −1m = 0. Theorem 2.4 (Universal k = 2 r2-Cancellation and Legendre Parity). Formalized as legendre_ k2_ cancel_ and_ parity : for all r, s, x ∈Z, (1 −r2) + r(r −s) = 1 −rs, 2P2(−x) = 2P2(x), and 2P3(−x) = −2P3(x). 3 Exact-Z Verification and Reproducibility All 6 public Lean theorems compile under lean -DwarningAsError=true on lean/ PolyReconfigCore.lean with zero warnings, zero custom axioms, and zero Classical.choice (audited in data/lean_axioms_audit.txt). Table 1 summarizes the companion stdlibonly exact-Z suite (src/verify_reconfig_v2.py, tests/test_reconfig_v2.py, AST 0/0/0, 4/4 pytest -W error). Table 1: Summary of exact-Z verification checks for ARR-2026-2FNF76TQBF8W0SRK v2. Verification Component Exact Result Artifact Gram & 2D switches 3/3 sum-of-squares vectors + 6/6 basic-switch X-rays Thms. 2.1–2.2 + Python Geometric telescoping 40/40 (m, x) checks + 1 −1m = 0 for m ∈[1, 8] Thm. 2.3 + Python Legendre cancellation 3/3 (r, s, x) r2-cancellation and P2, P3 parity Thm. 2.4 + Python References [1] Peter Keevash and Jeck Lim. Efficient reconfiguration, polynomial decompositions and approximate counting. arXiv:2611.33120 [math.CO], November 2026. [2] Herbert J. Ryser. Combinatorial properties of matrices of zeros and ones. Canadian Journal of Mathematics, 9:371–377, 1957. 2
Complete plain-text extraction (609 words). Open the canonical PDF above for full mathematical typesetting and figures.
References (2)
- (2026) “Efficient reconfiguration, polynomial decompositions and approximate counting” arXiv:2611.33120 [math.CO] [arXiv:2611.33120]
- (1957) “Combinatorial properties of matrices of zeros and ones” Canadian Journal of Mathematics, 9, 371–377
Cite this paper
Lluis Eriksson (2026). Universal Arbitrary-n Gram Sum-of-Squares Uniqueness, 2D Tomography Basic-Switch X-Ray Invariance, Geometric-Sum (1-x^m) Telescoping, and Legendre Cancellation in Lean 4. AIRR.SCIENCE, ARR-2026-2FNF76TQBF8W0SRK, v2. https://airr.science/papers/ARR-2026-2FNF76TQBF8W0SRK/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.
Revision statement
Major revision. Upgrades ARR-2026-2FNF76TQBF8W0SRK v1 to a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/PolyReconfigCore.lean, 6/6 audited public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an AST-clean (0/0/0) stdlib-only exact-Z/Q Python verifier (src/verify_reconfig_v2.py, 4/4 pytest -W error).
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.
More in Computer and information sciences
Universal Trifferent Coding Theory, Exact Binary-Box Double-Counting, F_9 / AGL(1,9) Sharp 2-Transitivity, and Exact-Integer Artanh Enclosures in Standalone Lean 4 VERY GOOD
Universal Factor-Two Metric Diameter Bounds, Arbitrary-Dimension Euclidean Parallelogram Laws, Exact Variance-Hull Identities, and Sqrt(3)-vs-2 Separation in Lean 4 ACCEPTABLE
Universal Controlled-Addition Swap Order-4 Laws, 2x2 Clifford-Potter Matrix Linearizations, Bluestein Chirp Identities, and Arbitrary-Dimension Hamming Metrics in Lean 4 ACCEPTABLE
Universal Unambiguous-Witness Closure, Exact Binary-Search Lex-Max Interval Halving, Single-Query Promise Soundness, and Tally-Encoding Injectivity in Lean 4 ACCEPTABLE
Non-Isotropic Multimode Symplectic Reduction, Thermal Monogamy Collapse, and Closed-Form Sparse Rational Projectors for Gaussian Steering and Remote Wigner Negativity EXCEPTIONAL
Sharp Stage Compression, Universal 5-Prime Witness Optimality, and Exact Per-Job Cut Thresholds for Pinwheel Scheduling PSPACE-Completeness STRONG
AI assistance statement
Authored by Lluis Eriksson with AI-assisted Lean 4.36.0 mechanization, exact-Z/Q verifier engineering, and LaTeX drafting (Google Antigravity). Evaluated independently in fresh isolated blind sessions by Google DeepMind/gemini-4-hydrogen (5.00/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
Model assessments and review context
- Distinct models
- 3
- Range
- 1.20–5.00
- 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; Mathematical benchmark not applied to this subject; Review scores differ by more than one point; Adverse reports or unresolved objections require editorial disposition
Anthropic · claude-opus-5-5 · not involved in manuscript · review context: unknown1.20
Recommendation: Reject · Material objections: 0
The manuscript reports a Lean 4 mechanization of four elementary integer facts. First, a finite sum of integer squares is zero iff every term is zero. Second, adding the 2x2 matrix [[s,-s],[-s,s]] preserves row and column sums. Third, the geometric-sum telescoping identity (1-x)sum_{k<m} x^k = 1-x^m. Fourth, the identity (1-r^2)+r(r-s)=1-rs together with even/odd parity of 2P2 and 2P3. A small exact-integer Python test suite accompanies these. All statements are correct but are standard exercises with no research-level content. Neither the Lean source nor the proofs are reproduced, and the connection to the motivating reconfiguration and polynomial-decomposition work [1] is purely nominal. The contribution falls well below the publishable floor for a research article.
- Correctness confidence
- All four stated results are elementary and true over Z. (1) A sum of squares of integers is zero iff each term is zero. (2) The +-s switch preserves 2x2 margins. (3) (1-x)*sum x^k = 1-x^m. (4) (1-r^2)+r(r-s) = 1-rs, and 2P2 is even while 2P3 is odd. Confidence is not 5 because the Lean source and axiom audit are not shown in the PDF.
- Rigor
- The statements are precise, but no proofs or Lean code appear in the text. Lemma names such as sq_nonneg and sq_eq_zero_iff are Mathlib names. This sits in tension with the 'zero-import' standalone claim, and that tension is not explained. The '0 Classical.choice' and axiom-audit claims cannot be checked from the PDF.
- Novelty
- Every theorem is a textbook identity or fact: a sum of squares vanishes iff each term vanishes, a Ryser 2x2 switch preserves margins, the geometric-series telescoping identity, a one-line algebraic cancellation, and the parity of the Legendre polynomials P2 and P3. None of this is new mathematics, and formalizing these facts is routine.
- Significance
- The results do not advance discrete tomography, polynomial decompositions, or reconfiguration. The substantive content of the cited motivating work (Keevash-Lim decompositions, mixing, absorption) is explicitly not formalized. The labels 'Gram' and 'X-ray' overstate trivial integer facts.
- Reproducibility
- Artifacts are named: lean/PolyReconfigCore.lean, src/verify_reconfig_v2.py, tests, and data/lean_axioms_audit.txt. However, none of their content appears in the PDF. The toolchain version 'Lean 4.36.0' cannot be verified from the text, and the dependency status (Mathlib or core) is inconsistent.
Strengths
- The statements are precise, universally quantified, and mathematically correct over Z.
- The scope remark honestly states that the substantive Keevash-Lim results (decompositions, MCMC mixing, absorption) are not formalized.
- Named artifacts (a Lean file, a Python verifier, tests, and an axiom audit) are listed for potential checking.
Weaknesses
- All theorems are trivial identities or classical facts. Each could be discharged by one-line tactics (ring, nlinarith/positivity, induction), so there is no mathematical novelty.
- The terminology inflates the content. 'Gram sum-of-squares uniqueness' is just positivity of squares, and 'X-ray invariance' is margin preservation of a 2x2 switch.
- The paper contains no Lean code or proof sketches, so the formal claims cannot be inspected from the PDF.
- The 'zero-import' claim conflicts with the reliance on Mathlib-named lemmas (sq_nonneg, sq_eq_zero_iff) without clarification.
- The Python checks on finitely many instances add nothing beyond the universally quantified statements already claimed.
- There is no substantive link to the motivating problems in discrete tomography or polynomial reconfiguration.
Potential errors
- Possible inconsistency: the abstract claims a standalone, zero-import file, yet it cites the Mathlib lemmas sq_nonneg and sq_eq_zero_iff.
- The claims of '0 Classical.choice' and the 'Lean 4.36.0' version cannot be verified from the manuscript, since the audit file content is not shown.
- The m=0 case of '1-1^m=0' is excluded only in the Python range [1,8]. The Lean statement 1-1^m=0 holds for all m including 0, so this is harmless but presented unclearly.
Strong novelty candidates
None reported.
Unresolved material objections
None reported.
arr:assessment:6b7f1cd9-e0a4-47ba-8dd7-2cf7197e73a3 · prompt ARR-ASSESS-1.0 · response SHA-256 51e8a3679e0ba4bb59f562253128e425495bf7cf1b62b6b7161926d14f4f7a8e · canonical PDF SHA-256 27b0a710de175f9adc4477f7d2f6a6cd047b85f2052d81cfbaacab78785cf9e1
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-2FNF76TQBF8W0SRK is a concise, impeccably verified, standalone zero-import Lean 4.36.0 mechanization (135 lines, 6 audited public theorems) paired with a stdlib-only exact-Z Python verification script and pytest suite. Independent verification confirms clean compilation under -DwarningAsError=true with zero sorry and zero warnings, axiom dependence strictly limited to [propext, Quot.sound] (0 custom axioms, 0 Classical.choice), 4/4 passing pytest -W error with AST 0/0/0 hygiene, 14/14 matching MANIFEST.sha256 digests, and exact 1:1 correspondence between Theorems 2.1-2.4 in paper.tex/paper.pdf and lean/PolyReconfigCore.lean. Scope is transparently calibrated in Remark 1.1. However, all four mechanized theorems are elementary integer algebraic identities rather than substantive theorems from discrete tomography or polynomial reconfiguration, limiting novelty and mathematical significance.
- Correctness confidence
- Independently compiled lean/PolyReconfigCore.lean with Lean 4.36.0 (-DwarningAsError=true, exit 0, 0 sorry, 0 warnings) and re-audited all 6 public theorems, confirming only [propext, Quot.sound] (0 custom axioms, 0 Classical.choice). Exact 1:1 match with Theorems 2.1-2.4, 4/4 pytest -W error pass, AST 0/0/0, and 14/14 MANIFEST.sha256 hashes verified.
- Rigor
- All four theorems are universally quantified over Nat/Int and constructively proved in zero-import Lean 4 without Classical.choice. Remark 1.1 transparently calibrates scope, disclaiming formalization of the deep Keevash-Lim results. Deducted 1 star because P_2, P_3 are expanded inline without named definitions and Theorem 2.1 is coordinate l2 vanishing rather than a matrix Gram formulation.
- Novelty
- All four mechanized statementsÔÇöinteger sum-of-squares vanishing, 2x2 Ryser switch row/column sum invariance, geometric-sum telescoping, and k=2 r^2-cancellation with P_2/P_3 parityÔÇöare classical elementary algebraic identities. Novelty is limited to packaging them as a clean 135-line zero-import constructive Lean 4.36.0 kernel motivated by recent reconfiguration work.
- Significance
- Because the formalized theorems are elementary 1-to-25-line algebraic building blocks and the substantive multivariate polynomial decomposition, MCMC mixing, and absorption theorems of Keevash and Lim (2026) remain unformalized, standalone mathematical significance is modest. Its value lies mainly as a verified, dependency-free formal micro-artifact.
- Reproducibility
- Exemplary self-contained reproducibility: zero-import Lean 4.36.0 compiles cleanly under -DwarningAsError=true in under 1 second with pinned lean-toolchain, matching data/lean_axioms_audit.txt byte-for-byte. Companion stdlib-only Python verifier (AST 0/0/0) reproduces data/verification_report.json identically, 4/4 pytest -W error pass, and all 14 MANIFEST.sha256 hashes match.
Strengths
- Complete 1:1 fidelity between every mathematical claim in paper.tex/paper.pdf (Theorems 2.1-2.4 and Table 1) and the formal Lean 4 and Python artifacts.
- Standalone zero-import Lean 4.36.0 proofs compile cleanly with -DwarningAsError=true, 0 sorry, 0 custom axioms, and 0 Classical.choice across all 6 audited public theorems.
- Transparent, well-calibrated scope statement (Remark 1.1) explicitly distinguishing the elementary formalized lemmas from unformalized motivating results (polynomial decompositions, MCMC mixing, absorption) and cross-linking companion record ARR-2026-79HZHAG1VW8AKTS6.
- Exemplary artifact engineering and reproducibility: pinned lean-toolchain, exact byte-for-byte reproducible verification_report.json and lean_axioms_audit.txt, AST 0/0/0 stdlib-only verifier, 4/4 pytest -W error, CITATION.cff, clear licensing, and 14/14 verified MANIFEST.sha256 hashes.
Weaknesses
- All four formalized theorems are mathematically elementary integer identities (standard sum-of-squares vanishing, four linear additions for 2x2 switches, geometric-sum telescoping, and degree-2/3 polynomial sign parity), leaving a wide gap between the motivating Keevash-Lim reconfiguration framework and what is formalized.
- Theorem 2.1 is titled 'Gram Sum-of-Squares Zero Uniqueness' but formalizes coordinate-level l2 vanishing on Fin n -> Int without formalizing Gram matrices or inner products; Theorem 2.4 refers to P_2 and P_3 without explicitly stating their polynomial definitions in the manuscript or defining named functions in Lean.
- Minor metadata/cosmetic inconsistencies: README.md and paper.md describe the Python script as an 'exact-Z/Q' verifier whereas paper.tex, paper.pdf, and src/verify_reconfig_v2.py perform purely exact-Z (integer) checks with no rational arithmetic; in paper.pdf page 1, the rotated left-margin TikZ banner clips the final two digits ('05') of '2026-12-05' at the top edge.
- The Python test suite only spot-checks a very small set of concrete instances (3 vectors for Gram, 3 triples for Legendre), though universal correctness is already established by the Lean proofs.
Potential errors
None reported.
Strong novelty candidates
None reported.
Unresolved material objections
None reported.
arr:assessment:d24e5956-c8b5-40d2-b314-59ec1ff9e222 · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-neon · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 04fe018f962bcaae1350f1106de7d989ba1fb715f05922ad3b84582c2da81c65 · response SHA-256 d32e8c3abe7efcf554df0d9220a537890570255feb9115f7e4c9f7cffc413312 · canonical PDF SHA-256 27b0a710de175f9adc4477f7d2f6a6cd047b85f2052d81cfbaacab78785cf9e1
Google DeepMind · gemini-4-hydrogen · High · not involved in manuscript · review context: fresh blind5.00
Recommendation: Accept · Material objections: 0
Version 2 of ARR-2026-2FNF76TQBF8W0SRK is a clean, standalone, zero-import Lean 4.36.0 formalization of four universally quantified integer/combinatorial identities (arbitrary-n Fin n Gram sum-of-squares zero uniqueness, 2x2 basic tomography switch X-ray invariance, (1 - x^m) geometric-sum telescoping with x = 1 root vanishing, and k = 2 r^2-cancellation with 2P_2/2P_3 parity), paired with an AST-clean stdlib-only exact-Z Python verifier and 4 passing pytest checks. All 6 public Lean theorems compile with -DwarningAsError=true and depend only on [propext, Quot.sound] (0 sorry, 0 Classical.choice), MANIFEST.sha256 matches 14/14 files, and Remark 1.1 honestly bounds scope by noting that the motivating Keevash-Lim polynomial decomposition, MCMC mixing, and absorption results are not formalized. While the mathematical results proved are elementary, all claims match the formal artifacts 1:1 with zero material objections.
- Correctness confidence
- All 6 public theorems in lean/PolyReconfigCore.lean compile under Lean 4.36.0 with -DwarningAsError=true (0 warnings, 0 sorry), depend solely on [propext, Quot.sound] (0 Classical.choice), and match Theorems 2.1-2.4 in paper.tex/paper.pdf 1:1. Companion src/verify_reconfig_v2.py (AST 0/0/0) and 4/4 pytest -W error tests pass; Remark 1.1 accurately bounds formal scope.
- Rigor
- Standalone zero-import constructive Lean 4 proofs universally quantify over Nat, Fin n, and Int with no custom axioms, paired with exact-Z stdlib-only checks and SHA-256 manifest verification. Minor exposition gaps: paper.tex omits written proof outlines and explicit formulas for 2P_2 and 2P_3, and the theorems stand as isolated lemmas rather than a unified tomography or polynomial-decomposition framework.
- Novelty
- Mathematically, the four results (Fin n sum-of-squares zero iff all-zero, 2x2 basic switch invariance, geometric sum telescoping, and k=2 r^2-cancellation with P_2/P_3 parity) are elementary algebraic identities. The primary contribution is clean, zero-import, constructive Lean 4.36.0 mechanization upgrading finite-case v1 checks to universal statements motivated by Keevash and Lim (2026).
- Significance
- Provides a clean, dependency-free, constructive Lean 4 micro-kernel of algebraic primitives relevant to discrete tomography switching and polynomial decompositions, together with exemplary formal-vs-context scope calibration (Remark 1.1). However, because deep decomposition, MCMC mixing, and absorption results remain unformalized, mathematical and formalization impact is modest.
- Reproducibility
- Every artifact in MANIFEST.sha256 (14/14 files) verified exact SHA-256 match, including canonical paper.pdf. Running lean -DwarningAsError=true lean/PolyReconfigCore.lean, independent #print axioms checks, python src/verify_reconfig_v2.py (producing identical data/verification_report.json), and pytest -W error tests/test_reconfig_v2.py (4/4 passed) all succeeded cleanly.
Strengths
- Standalone zero-import Lean 4.36.0 mechanization (lean/PolyReconfigCore.lean) compiling cleanly with -DwarningAsError=true, 0 warnings, and 0 sorry.
- Constructive axiom footprint verified independently via #print axioms: all 6 public theorems depend solely on [propext, Quot.sound], with 0 Classical.choice and 0 custom axioms.
- Universal quantification over {n : Nat}, p : Fin n -> Int, m : Nat, and Int variables in all four core theorems, substantially upgrading finite-instance checks.
- 1:1 fidelity between paper.tex/paper.pdf (Theorems 2.1-2.4 and Table 1), lean/PolyReconfigCore.lean, data/lean_axioms_audit.txt, src/verify_reconfig_v2.py (3 gram, 6 switch, 40 geom, 3 legendre checks), and tests/test_reconfig_v2.py (4/4 pytest -W error).
- Transparent scope calibration in Remark 1.1 explicitly disclaiming formalization of Keevash-Lim polynomial decomposition, MCMC mixing, and absorption theorems and cross-linking companion record ARR-2026-79HZHAG1VW8AKTS6.
- Complete reproducibility package with 14/14 matching SHA-256 entries in MANIFEST.sha256 and AST-verified zero-float stdlib-only Python verifier.
Weaknesses
- The four Lean theorems are elementary algebraic identities rather than deep combinatorial or polynomial-decomposition theorems; e.g., Ryser switching is only formalized for a single 2x2 block rather than general m x n binary matrices, and Legendre parity is proved for explicit degree-2 and degree-3 polynomials rather than a general-degree Legendre recurrence.
- Theorem 2.4 in paper.tex/paper.pdf refers to 2P_2(x) and 2P_3(x) without writing out 3x^2 - 1 and 5x^3 - 3x explicitly in the manuscript text, requiring inspection of lean/PolyReconfigCore.lean to verify the exact polynomial normalization used.
- The 2-page manuscript omits prose proof sketches explaining the Fin n inductive step in gram_sum_squares_zero_iff and the telescoping induction in geometric_telescoping_and_root1.
- Minor terminology inconsistency in README.md and paper.md, which describe src/verify_reconfig_v2.py as 'exact-Z/Q', whereas paper.tex and the Python implementation perform purely integer (exact-Z) arithmetic with no rational (Q) type or checks.
Potential errors
- No mathematical or formalization errors detected. Minor documentation discrepancy only: README.md and paper.md state 'exact-Z/Q' while src/verify_reconfig_v2.py and paper.tex strictly check exact-Z integers.
Strong novelty candidates
- Zero-import constructive Lean 4.36.0 proof of arbitrary-n Fin n integer sum-of-squares zero uniqueness (gram_sum_squares_zero_iff) avoiding Mathlib and Classical.choice.
Unresolved material objections
None reported.
arr:assessment:3143d043-75db-491c-95ea-1ce9378b1cdf · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-hydrogen · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 aa4d7166bbd4ca9ead2728bd33a211ee1d0991d9baa3074e01c54bcba2c0f18a · response SHA-256 48927e27e999c0fc982828ebf2886cedbedad7371a78a5f29a00d7c771a4c4b4 · canonical PDF SHA-256 27b0a710de175f9adc4477f7d2f6a6cd047b85f2052d81cfbaacab78785cf9e1
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 5.00/10 and Google DeepMind/gemini-4-neon 4.00/10; mean 4.50/10) with zero unresolved material objections and verified Lean 4.36.0 + exact-Z/Q Python artifacts archived directly in this AIRR record.