Universal Arbitrary-Ring Algebraic Branching Program Bisection, Exact Potts Path/Cycle and Rooted-Tree Dynamic Programming, and 2 x n Ladder Chromatic Transfer Matrices in Lean 4
Corrected version of a screened paper. Not peer reviewed. Screening record
Version 2 delivers a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/StateSumContractionCore.lean, 28/28 audited public theorems: 7 core theorems + 21 CommRing/sumFin infrastructure lemmas, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an AST-clean (0/0/0) stdlib-only exact-Q Python verifier (src/verify_state_sum_v2.py, 4/4 pytest -W error) for graph state-sum contraction and bounded-treewidth dynamic programming. Over an arbitrary commutative ring R and arbitrary matrix/tree sizes, we prove universally: (1) matrix multiplication associativity, path algebraic branching program bisection, and trace cyclicity Tr(AB)=Tr(BA); (2) exact Potts transfer-matrix powers on paths and cycles for all q and n; (3) exact bottom-up dynamic programming for arbitrary-branching rooted trees (RTree); and (4) 2 x n ladder Potts transfer-matrix identities together with the universal n-step inductive chromatic polynomial q(q-1)(q^2-3q+3)^(n-1).
Structure & key results
Manuscript structure
- Introduction and Explicit Scope Boundaries
- Arbitrary-Ring Matrix Bisection and Trace Cyclicity
- Universal q-State Potts/Chromatic Formulas for Paths, Cycles, and Trees
- Symmetry-Reduced 2× n Ladder Transfer Matrix and Grids
- Independent Exact-QQ Cross-Check and Reproducibility
Selected results from the manuscript source
Theorem 1 — Universal q× q matrix associativity and path ABP bisection; Lean 4.36.0
For every commutative ring K, every state count q ∈ NN, all A, B, C ∈ Mat_q(R), and all matrix lists L₁, L₂ (matMul_assoc, matMul_id_left, path_state_sum_bisection): (AB)C = A(BC), I_q A = A, Π(L₁ mathbin++ L₂) = Π(L₁)· Π(L₂).
Theorem 2 — Universal trace cyclicity and cycle rotation invariance; Lean 4.36.0
For every commutative ring K, every q ∈ NN, all A, B, M ∈ Mat_q(R), and every list ms (cycle_trace_cyclic_invariance): Tr(AB) = Tr(BA) and Tr(Π(M:: ms)) = Tr(Π(ms mathbin++ [M])).
Theorem 3 — Exact Potts matrix-power decomposition and path/cycle closed forms; Lean 4.36.0
For every commutative ring K, every q, n ∈ NN, and every x ∈ R: · (Exact matrix power; potts_mat_pow_exact, potts_offdiag_q_identity.) (M(x)ⁿ)_(a,b) = c_n + xⁿ δ_(a,b) and q c_n + xⁿ = (q + x)ⁿ. · (Universal path state sum; potts_path_and_cycle_exact.) Z_(P_(n+1), q)(x) = ∑_(a,b ∈ Fin q) (M(x)ⁿ)_(a,b) = q(q + x)ⁿ. · (Universal cycle state sum; potts_path_and_cycle_exact.) For all q ≥ 1, Z_(C_n, q)(x) = Tr(M(x)ⁿ) = (q + x)ⁿ + (q - 1) xⁿ.
Theorem 4 — Universal arbitrary-branching rooted tree bottom-up DP; Lean 4.36.0
Let RTree be the inductive type of finite arbitrary-branching rooted trees (node: List RTree -> RTree), let |E(t)| (treeEdges) be its edge count, and let treeDP K q x t: Fin q -> R be the bottom-up dynamic program contracting child subtrees via M(x). For every commutative ring K, every q ∈ NN, every x ∈ R, and every finite rooted tree t (rooted_tree_dp_potts_exact, rooted_tree_total_state_sum): ∀ c ∈ Fin q, treeDP(t)(c) = (q + x)^(|E(t)|) and ∑_(c ∈ Fin q) treeDP(t)(c) = q(q + x)^(|E(t)|).
Theorem 5 — 2× n ladder transfer identities and arbitrary-n chromatic propagation over ZZ; Lean 4.36.0
For all q, x ∈ ZZ (ladder_2xn_potts_and_chromatic_exact) and all step counts k ∈ NN (ladder_2xn_chromatic_any_n): · At x = 0, both column sums T₀₀+T₁₀ and T₀₁+T₁₁ equal q². · At x = -1, T₀₀ = T₀₁ = 0 and T₁₁ = q² - 3q + 3; iterating the resulting 2× 2 chromatic transfer operator k times from (0, q(q-1)) yields ladderChromState(q, k) = (0, q(q-1)(q² - 3q + 3)^k) universally for every k ∈ NN and q ∈ ZZ.
Key contributions noted in exact-version screening
- Zero-import arbitrary-CommRing Lean 4 mechanization unifying q x q matrix associativity, path ABP bisection, trace cyclicity, Potts matrix-power decomposition, and mutual-inductive RTree bottom-up DP without custom axioms.
- Universal arbitrary-step k induction ladder_2xn_chromatic_any_n establishing ladderChromState(q, k) = (0, q(q-1)(q^2 - 3q + 3)^k) over Int with exact n=2 compatibility against Z_{C_4,q}(x).
- Standalone zero-import Lean 4.36.0 formalization (lean/GraphStateSumCore.lean) compiling cleanly under -DwarningAsError=true with all 28/28 public theorems (12 core theorems + 16 arbitrary-ring sum/algebra lemmas) audited free of sorryAx and 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 (1,587 words — searchable plain text)
AIRR.SCIENCE · ARR-2026-5YWN4YZAA09TS9RM v2 [cs.CC] 2026-12-04 Universal Arbitrary-Ring Matrix Bisection, Trace Cyclicity, Exact Potts/Chromatic State-Sum Contractions for Paths, Cycles, Rooted Trees, and 2 × n Ladders 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 of graph state-sum contraction evaluators ZG,q(x) for paths, cycles, arbitrary rooted trees, and square-grid ladders. Whereas Version 1 [3] checked only four fixed q = 2 small graphs (P3, P4, a 4-vertex tree, and C4) over Z, Version 2 delivers a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/ GraphStateSumCore.lean, 28/28 audited public theorems: 12 core theorems + 16 arbitraryring sum/algebra lemmas, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) over an abstract commutative ring CommRing R, paired with an AST-clean (0/0/0) stdlib-only exact-Q Python verifier (src/verify_state_sum_v2.py, 4/4 pytest -W error). We prove universally for every commutative ring R, every state count q ∈N, every edge interaction x ∈R, and arbitrary sequence/tree sizes: (1) full q × q matrix associativity and divide-and-conquer path algebraic branching program (ABP) bisection P(L1 ++ L2) = P(L1)P(L2); (2) arbitrary-size trace cyclicity Tr(AB) = Tr(BA) and cycle matrix-product rotation invariance; (3) exact matrix-power decomposition M n = xnI + cnJ yielding the closed forms P a,b(M n)a,b = q(q + x)n and Tr(M n) = (q + x)n + (q −1)xn (q ≥1); (4) exact closed-form evaluation of the bottom-up dynamic program treeDP on an inductive arbitrarybranching rooted tree type RTree, establishing treeDP(t)(c) = (q +x)|E(t)| for every root color c and P c treeDP(t)(c) = q(q +x)|E(t)|; and (5) the 7 algebraic identities of the 2×2 rung-class Potts ladder transfer matrix Tred(q, x) over Z (including exact n = 2 compatibility with ZC4,q(x)) together with the universal arbitrary-n induction ladder_2xn_chromatic_any_n proving ladderChromState(q, k) = (0, q(q −1)(q2 −3q + 3)k) for all k ∈N and q ∈Z. We explicitly note scope boundaries: Lean mechanizes the transfer-matrix, treeDP, and reducedladder recurrences directly, while the semantic bridge to explicit q|V | configuration sums (and the q2-to-2 ladder reduction for q ∈{2, 3, 4}, n ≤5) is verified computationally in exact-Q Python; complexity-class separations (VP vs. VNP) remain outside scope. 1 Introduction and Explicit Scope Boundaries Graph state-sum partition functions ZG,q(x) = P σ:V (G)→Fin q Q (u,v)∈E(G)(1 + x δσ(u),σ(v)) unify the Potts model [4, 1], Birkhoff’s chromatic polynomial at x = −1 [2], and canonical polynomial families studied across Valiant’s algebraic complexity hierarchy [5]. Computing ZG,q(x) on paths, trees, and bounded-width grids relies on transfer-matrix associativity (ABP bisection), cyclic trace invariance, bottom-up tree dynamic programming, and symmetry reduction of rung transfer operators. Version 1 [3] mechanized only four fixed q = 2 instances (P3, P4, a 4-vertex tree, and C4) over Z. Version 2 replaces all fixed-instance identities with a single universally quantified arbitrary-ring mechanization in standalone zero-import Lean 4.36.0 (lean/GraphStateSumCore.lean), backed by an independent exact-Q Python verifier (src/verify_state_sum_v2.py). Explicit Non-Claims. We do not prove algebraic complexity lower bounds or separations (VF ⊊VBP ⊊VP ⊊VNP), nor closed-form partition functions for arbitrary m × n grids with unbounded width m. Every theorem below is strictly self-contained and verified 1:1 against lean/GraphStateSumCore.lean. 1
2 Arbitrary-Ring Matrix Bisection and Trace Cyclicity Let K = (R, 0, 1, +, −, ·) be an arbitrary commutative ring (CommRing R), and let Matq(R) = Fin q →Fin q →R with multiplication (AB)ij = P k∈Fin q AikBkj (matMul), identity Iq (matId), trace Tr(A) = P i∈Fin q Aii (matTrace), and list product Π([]) = Iq, Π(M :: ms) = M · Π(ms) (matProdList). Theorem 2.1 (Universal q × q matrix associativity and path ABP bisection; Lean 4.36.0). For every commutative ring K, every state count q ∈N, all A, B, C ∈Matq(R), and all matrix lists L1, L2 (matMul_ assoc , matMul_ id_ left , path_ state_ sum_ bisection ): (AB)C = A(BC), IqA = A, Π(L1 ++ L2) = Π(L1) · Π(L2). Proof. Matrix associativity follows by distributing ring multiplication into finite sums (crSum_mul_ left, crSum_mul_right) and exchanging double sums (crSum_swap). Path bisection then follows by list induction on L1 using IqA = A (crSum_single) and associativity. Theorem 2.2 (Universal trace cyclicity and cycle rotation invariance; Lean 4.36.0). For every commutative ring K, every q ∈N, all A, B, M ∈Matq(R), and every list ms (cycle_ trace_ cyclic_ invariance ): Tr(AB) = Tr(BA) and Tr Π(M :: ms) = Tr Π(ms ++ [M]) . 3 Universal q-State Potts/Chromatic Formulas for Paths, Cycles, and Trees Define the q × q Potts transfer matrix Ma,b(x) = 1 + x δa,b (pottsMat) over K, and define the off-diagonal recurrence c0 = 0, cn+1 = (q + x)cn + xn (pottsOffDiag). Theorem 3.1 (Exact Potts matrix-power decomposition and path/cycle closed forms; Lean 4.36.0). For every commutative ring K, every q, n ∈N, and every x ∈R: (i) (Exact matrix power; potts_mat_pow_exact, potts_offdiag_q_identity.) (M(x)n)a,b = cn + xnδa,b and q cn + xn = (q + x)n. (ii) (Universal path state sum; potts_path_and_cycle_exact.) ZPn+1,q(x) = X a,b∈Fin q (M(x)n)a,b = q(q + x)n. (iii) (Universal cycle state sum; potts_path_and_cycle_exact.) For all q ≥1, ZCn,q(x) = Tr M(x)n = (q + x)n + (q −1)xn. Theorem 3.2 (Universal arbitrary-branching rooted tree bottom-up DP; Lean 4.36.0). Let RTree be the inductive type of finite arbitrary-branching rooted trees (node : List RTree - > RTree ), let |E(t)| (treeEdges ) be its edge count, and let treeDP K q x t : Fin q -> R be the bottom-up dynamic program contracting child subtrees via M(x). For every commutative ring K, every q ∈N, every x ∈R, and every finite rooted tree t (rooted_ tree_ dp_ potts_ exact , rooted_ tree_ total_ state_ sum ): ∀c ∈Fin q, treeDP(t)(c) = (q + x)|E(t)| and X c∈Fin q treeDP(t)(c) = q(q + x)|E(t)|. Proof. Mutual structural induction over RTree and List RTree: each child contraction pulls (q + x)|E(ti)| outside the sum, leaving the row sum P c′ Mc,c′(x) = q + x (pottsMat_row_sum), and multiplying across children adds exponents via crPow_add. 2
4 Symmetry-Reduced 2 × n Ladder Transfer Matrix and Grids Partitioning rung colorings (a, b) ∈(Fin q)2 of a 2 × n square-grid ladder Ln into same-color (a = b) and distinct-color (a ̸= b) classes yields the 2 × 2 rung transfer matrix Tred(q, x) with entries T00 = (1 + x) (1 + x)2 + q −1 , T01 = (1 + x)(q + 2x), T10 = (q −1)(q + 2x), T11 = (1 + x)2 + 1 + 2(q −2)(1 + x) + 2(q −2) + (q −2)(q −3). Theorem 4.1 (2 × n ladder transfer identities and arbitrary-n chromatic propagation over Z; Lean 4.36.0). For all q, x ∈Z (ladder_ 2xn_ potts_ and_ chromatic_ exact ) and all step counts k ∈N (ladder_ 2xn_ chromatic_ any_ n ): (i) At x = 0, both column sums T00 + T10 and T01 + T11 equal q2. (ii) At x = −1, T00 = T01 = 0 and T11 = q2−3q+3; iterating the resulting 2×2 chromatic transfer operator k times from (0, q(q −1)) yields ladderChromState(q, k) = (0, q(q −1)(q2 −3q +3)k) universally for every k ∈N and q ∈Z. (iii) At n = 2 (L2 ∼= C4), the 2-rung algebraic expression q(1 + x)(T00 + T10) + q(q −1)(T01 + T11) equals (q + x)4 + (q −1)x4 identically for all q, x ∈Z, matching Theorem 3.1(iii). 5 Independent Exact-Q Cross-Check and Reproducibility Table 1 links our Lean 4.36.0 theorems (28/28 audited public theorems in data/lean_axioms_audit. txt, zero sorryAx, zero custom axioms) to our stdlib-only exact-Q Python verifier (src/verify_ state_sum_v2.py, AST 0/0/0, 4/4 pytest -W error), which additionally tests non-commuting 3 × 3 matrix-list bisection and trace cyclicity, cross-checks all 6/6 tree DP instances against exhaustive q|V | configuration sums (up to 38 = 6,561), verifies the full q2 × q2 ladder transfer operator against Tred for q ∈{2, 3, 4}, n ≤5, and verifies the 3×3 square-grid transfer contraction (q = 2, x = 1) against exhaustive 29-state brute-force summation (Z3×3,2(1) = 70,146). Result Lean 4.36.0 Theorem (GraphStateSumCore) Python Exact-Q Cross-Check Matrix ABP bisection path_state_sum_bisection Non-commuting 3 × 3 P(L1 ++ L2) + 120 Potts Cycle trace invariance cycle_trace_cyclic_invariance Non-commuting Tr(AB) = Tr(BA) + 4-mat rot. Potts paths & cycles potts_path_and_cycle_exact 120 (q, x, n) + brute-force P5, C5 Arbitrary rooted trees rooted_tree_dp_potts_exact 6/6 binary/irregular tree DP vs. brute force 2 × n ladders & grids ladder_2xn_chromatic_any_n q2-state vs. Tred (n ≤5) + 3 × 3 grid Table 1: 1:1 traceability between Lean 4.36.0 theorems and exact-Q certificates in data/ verification_report.json. Reproducibility Commands. 1. lean -DwarningAsError=true lean/GraphStateSumCore.lean (exits 0; 28/28 public theorems audited in data/lean_axioms_audit.txt). 2. python src/verify_state_sum_v2.py (exits 0; AST 0/0/0; writes JSON report in data/). 3. pytest -W error tests/test_state_sum_v2.py (exits 0; 4/4 exact-Q tests pass). References [1] Rodney J. Baxter. Exactly Solved Models in Statistical Mechanics. Academic Press, London, 1982. 3
[2] George D. Birkhoff. A determinant formula for the number of ways of coloring a map. Annals of Mathematics, 14(1/4):42–46, 1912. [3] Lluis Eriksson. Exact-q graph state-sum contraction evaluators and machine-checked algebraic kernel for paths, binary trees, and square grids. AI Research Registry, ARR-2026-5YWN4YZAA09TS9RM v1, 2026. [4] Cees M. Fortuin and Pieter W. Kasteleyn. On the random-cluster model. I. Introduction and relation to other models. Physica, 57(4):536–564, 1972. [5] Leslie G. Valiant. Completeness classes in algebra. In Proceedings of the 11th Annual ACM Symposium on Theory of Computing (STOC), pages 249–261, 1979. 4
Complete plain-text extraction (1,587 words). Open the canonical PDF above for full mathematical typesetting and figures.
References (5)
- (1979) “Completeness classes in algebra” Proceedings of the 11th Annual ACM Symposium on Theory of Computing (STOC), 249–261
- (1972) “On the random-cluster model. I. Introduction and relation to other models” Physica, 57, 536–564
- (1912) “A determinant formula for the number of ways of coloring a map” Annals of Mathematics, 14, 42–46
- (1982) “Exactly Solved Models in Statistical Mechanics” Academic Press
- (2026) “Exact-Q Graph State-Sum Contraction Evaluators and Machine-Checked Algebraic Kernel for Paths, Binary Trees, and Square Grids” AI Research Registry, ARR-2026-5YWN4YZAA09TS9RM v1 [DOI]
Cite this paper
Lluis Eriksson (2026). Universal Arbitrary-Ring Algebraic Branching Program Bisection, Exact Potts Path/Cycle and Rooted-Tree Dynamic Programming, and 2 x n Ladder Chromatic Transfer Matrices in Lean 4. AIRR.SCIENCE, ARR-2026-5YWN4YZAA09TS9RM, v2. https://airr.science/papers/ARR-2026-5YWN4YZAA09TS9RM/versions/v2/ DOI: 10.5281/zenodo.24651577.
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. Replaces v1 fixed-instance contraction checks with a standalone zero-import universally quantified Lean 4.36.0 mechanization (lean/StateSumContractionCore.lean, 28/28 audited public theorems: 7 core theorems + 21 CommRing/sumFin infrastructure lemmas, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an AST-clean (0/0/0) stdlib-only exact-Q Python verifier (src/verify_state_sum_v2.py, 4/4 pytest -W error) proving over arbitrary CommRing R and arbitrary dimension: (1) n x n matrix multiplication associativity, path ABP bisection, and trace cyclicity Tr(AB)=Tr(BA); (2) exact Potts path and cycle closed forms for all q, n; (3) exact bottom-up dynamic programming for arbitrary-branching rooted trees (RTree); and (4) 2 x n ladder Potts transfer-matrix identities and universal n-step inductive chromatic polynomial (q^2 - 3q + 3)^(n-1) q(q-1).
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 Arbitrary-Dimension Lagrange-Cauchy-Schwarz Convexity, Kovari-Sos-Turan Supersaturation, Constructive Link-Density Pigeonhole Averaging, and Iterative Hypergraph Blow-Up Counting in Lean 4 VERY GOOD
Universal Bimatrix Best-Response Domination, Exact 1/2-Approximate Nash Equilibrium Existence, and Cleared-Denominator 1/5-Approximate Kite Regret Closure in Lean 4 STRONG
Universal Arbitrary-Dimension Lazy-Walk Mass Conservation and PSD Squares, Return-Probability Collision Lower Bounds, Discrete Dirichlet Cut Exactness, and Bernoulli Bounds in Lean 4 ACCEPTABLE
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 STRONG
Sub-Haxell Topological Cooperative Chromatic Bounds for Cycle-Power Factors, Small-Order C_4-Factor Thresholds, and Modular Formalization of Cycle-Factor Obstructions STRONG
Obstructions and Constructive Repairs for Shifted Dimensional MATBG Schemes on Deleted Knodel Graphs STRONG
AI assistance statement
Authored by Lluis Eriksson with AI-assisted Lean 4.36.0 mechanization, exact-Q verifier engineering, and LaTeX drafting (Google Antigravity). Evaluated independently in fresh isolated blind sessions by Google DeepMind/gemini-4-hydrogen (6.80/10 accept) and Google DeepMind/gemini-4-neon (5.40/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
- 3.10–6.80
- 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
Anthropic · claude-opus-5-5 · not involved in manuscript · review context: unknown3.10
Recommendation: Accept · Material objections: 0
The paper formalizes in Lean 4, over an arbitrary commutative ring, a set of standard identities for Potts/chromatic state sums. These are: matrix associativity and list-product splitting; trace cyclicity; the decomposition M^n=x^nI+c_nJ of the Potts transfer matrix, giving Z_path=q(q+x)^n and Z_cycle=(q+x)^n+(q-1)x^n; the tree identity treeDP=(q+x)^{|E|}; and algebraic identities for a 2x2 symmetry-reduced ladder transfer matrix, including the chromatic propagation q(q-1)(q^2-3q+3)^k. I verified every formula by hand and found them correct. The derivation of T_red from the full q^2-state operator, and the semantic link to configuration sums, are checked only numerically in Python for small q and n, and the paper says so openly. Mathematically the content is classical and elementary. The contribution is a clean but modest formalization note at the publishable floor.
- Correctness confidence
- I re-derived every stated identity by hand. M=J+xI gives M^n=x^nI+c_nJ with c_{n+1}=(q+x)c_n+x^n and qc_n+x^n=(q+x)^n. The path sum q(q+x)^n and trace (q+x)^n+(q-1)x^n follow, as does treeDP=(q+x)^{|E|}. All four T_red entries match a direct rung-class count. Column sums are q^2 at x=0, and at x=-1 T11=q^2-3q+3. All check.
- Rigor
- The paper claims a zero-sorry, zero-custom-axiom Lean file with 28 audited theorems over an arbitrary CommRing. However, no Lean source appears in the PDF. The q^2-to-2 ladder reduction, and the bridge from transfer matrices to explicit configuration sums, are checked only in Python for small finite cases, as the paper itself admits.
- Novelty
- All results are textbook facts: matrix associativity, Tr(AB)=Tr(BA), the Potts path/cycle formulas, the tree formula q(q+x)^{|E|}, and the ladder chromatic polynomial q(q-1)(q^2-3q+3)^{n-1}. The only novelty is a zero-import Lean mechanization of these routine identities.
- Significance
- There is no new mathematical or complexity-theoretic insight. Calling matrix-product associativity 'ABP bisection' and invoking VP/VNP is framing, not substance. The formal artifact is of minor value as a small library or teaching example.
- Reproducibility
- Exact commands, file paths and audit counts are given. The Lean file, Python verifier and JSON reports are not embedded in the PDF, so they cannot be inspected here. The paper builds on the author's own unrefereed v1.
Strengths
- Every displayed formula is correct, including all four T_red entries. I re-derived these by counting ordered rung pairs within the same/distinct classes.
- The statements are fully general: arbitrary commutative ring, arbitrary q, arbitrary n and k, and arbitrary-branching inductive rooted trees with mutual induction.
- The scope is stated honestly. The paper explicitly says that the T_red reduction and the bridge to configuration sums are verified only computationally, and it makes no complexity-separation claims.
- An independent exact-rational Python cross-check includes brute-force configuration sums, for example the 3x3 grid value Z=70,146 at q=2, x=1.
Weaknesses
- All theorems are classical. Associativity, trace cyclicity, the Potts path/cycle formulas, the tree partition function q(q+x)^{|E|} and the ladder chromatic polynomial appear in standard texts, so there is no new mathematics.
- The terms 'ABP bisection' and the references to Valiant's hierarchy oversell what is just splitting a product of matrices over a list.
- The key semantic step for the ladder is not formalized. Lean only manipulates the already-reduced 2x2 matrix; the reduction from the q^2 transfer operator is checked only for q<=4, n<=5.
- The Lean source and audit files are not reproduced in the PDF. The claims of 28/28 theorems and zero axioms cannot be checked from the manuscript itself.
- The hypothesis q>=1 in Theorem 3.1(iii) appears unnecessary, since the identity q c_n + q x^n = (q+x)^n + (q-1)x^n holds for all q. The paper also leaves unexplained how small cycles (n=1,2, i.e. loops and multi-edges) are interpreted.
Potential errors
- The q>=1 hypothesis in Theorem 3.1(iii) is superfluous; the trace identity holds for q=0 as well. This is a minor expository point, not an error.
- The ladder 'ladderChromState(q,k)' is defined by iterating the reduced operator from (0,q(q-1)). Identifying this with the true 2 x (k+1) ladder chromatic count depends on the unformalized class reduction. This is acknowledged but should be stated in the theorem statement.
Strong novelty candidates
None reported.
Unresolved material objections
None reported.
arr:assessment:29f3ec36-b04c-4c35-9c32-4c9478bb2b81 · prompt ARR-ASSESS-1.0 · response SHA-256 f2f45f10da7a58b44b6cf90f7265619744af51e96745740d45a3522a056553f6 · canonical PDF SHA-256 2c6aa824116223c07c34852071faa4914afbf5a9e83bcb33c0f63aaca3fb765c
Google DeepMind · gemini-4-neon · High · not involved in manuscript · review context: fresh blind5.40
Recommendation: Accept · Material objections: 0
This v2 package presents a clean, self-contained, zero-import Lean 4.36.0 formalization (lean/GraphStateSumCore.lean, 28/28 public theorems independently verified with zero warnings, zero sorryAx, and zero custom axioms) paired with an AST-clean, stdlib-only exact-Q Python verification suite (4/4 pytest -W error; exact JSON report match; 14/14 MANIFEST.sha256 checksums valid). Compared with fixed-instance checks, the mechanization genuinely establishes universal arbitrary-ring matrix associativity, list-product bisection, trace cyclicity, division-free Potts matrix-power closed forms for paths and cycles, mutual structural induction for bottom-up rooted-tree DP, and integer polynomial/recurrence identities for 2xN ladder chromatic transfer. Scope boundaries and non-claims (no VP vs. VNP bounds, unformalized graph configuration-sum bridge) are disclosed transparently. The overall score reflects spotless verification and reproducibility balanced against purely classical mathematical results, an unformalized semantic bridge from explicit graph state sums Z_{G,q}(x) to transfer operators, and a comparatively lightweight 2xN ladder formalization.
- Correctness confidence
- Independent Lean 4.36.0 compilation (-DwarningAsError=true) succeeds with 0 warnings and 0 imports; independent #print axioms on all 28/28 public theorems matches data/lean_axioms_audit.txt verbatim with 0 sorryAx and no custom axioms. All algebraic formulas (Potts powers, treeDP, ladder T_red) are mathematically sound and match exact-Q Python verification.
- Rigor
- Strong formal hygiene: universal quantification over CommRing R, Nat q, and inductive RTree with explicit non-claims and honest scope boundaries. Held back from 5/5 because Lean never formalizes the semantic bridge from graph configuration sums Z_{G,q}(x) to transfer matrices or treeDP, nor the q^2-to-2 ladder reduction; Section 5 drops to Int and hardcodes the x=-1 recurrence in ladderChromState.
- Novelty
- All mathematical theorems proved (matrix associativity, trace cyclicity, Potts/chromatic closed forms for paths, cycles, rooted trees, and 2xN ladders) are classical textbook results. The modest engineering contribution lies in a clean, zero-import Lean 4.36.0 packaging using a division-free arbitrary-ring recurrence (pottsOffDiag) and mutual RTree structural induction.
- Significance
- Provides a clean, self-contained, zero-dependency Lean 4 verified kernel and reproducible benchmark artifact, substantially improving on v1's four fixed q=2 checks. However, impact in cs.CC or statistical mechanics is limited without formalizing general graph state-sum semantics, treewidth contraction, deletion-contraction, or non-trivial grid lumpability.
- Reproducibility
- Exemplary self-contained bundle: 14/14 MANIFEST.sha256 entries pass (including canonical paper.pdf SHA-256), lean-toolchain pins v4.36.0, lean -DwarningAsError=true compiles cleanly standalone, 28/28 axioms match data/lean_axioms_audit.txt, pytest -W error passes 4/4, and verify_state_sum_v2.py (AST 0/0/0, stdlib-only Fractions) reproduces verification_report.json identically.
Strengths
- Complete standalone zero-import Lean 4.36.0 mechanization compiling cleanly under -DwarningAsError=true; all 28/28 public theorems pass an independent #print axioms audit matching data/lean_axioms_audit.txt with zero sorryAx and zero custom axioms.
- Clean division-free arbitrary-ring formulation of Potts matrix powers via the recurrence pottsOffDiag (q * c_n + x^n = (q + x)^n), avoiding division by q so Theorem 3.1 holds over any CommRing R including rings of characteristic dividing q.
- Clean mutual structural induction over arbitrary-branching inductive rooted trees (RTree) proving treeDP(t)(c) = (q + x)^{|E(t)|} and total state sum q(q + x)^{|E(t)|} universally.
- Exemplary transparency regarding scope boundaries and explicit non-claims (clearly separating Lean-proved operator/recurrence identities from Python-checked configuration-sum bridges and ruling out complexity-class separation claims).
- High reproducibility: 14/14 MANIFEST.sha256 entries verified, pinned lean-toolchain, stdlib-only zero-float exact-Q Python verifier (AST 0/0/0) with exact report reproduction and 4/4 passing pytest -W error tests.
Weaknesses
- All mathematical theorems are classical textbook results (matrix associativity, trace cyclicity, Potts/chromatic formulas on paths, cycles, trees, and 2xN ladders); there are no new mathematical discoveries or complexity-theoretic results despite the [cs.CC] header tag.
- Lean does not define a general graph G = (V, E) or the configuration partition function Z_{G,q}(x) = sum_sigma prod_e (1 + x delta_{sigma(u),sigma(v)}), leaving the semantic equivalence between Z_{G,q}(x) and the mechanized matrix/DP/reduced-ladder operators unformalized and checked only on finite instances in Python.
- Section 5 of GraphStateSumCore.lean is noticeably weaker than Sections 1-4: it drops from CommRing R to Int, does not prove lumpability of the q^2 x q^2 ladder transfer matrix into T_red(q, x), hardcodes the specialized x = -1 transition directly inside ladderChromState, and relies on grind (introducing Classical.choice) for elementary degree-4 polynomial checks.
- In Python verification of 2xN ladders, T_red is cross-checked against the q^2-state transfer matrix (q in {2,3,4}, n <= 5) rather than directly against exhaustive q^{2n} vertex-coloring sums, and tests/test_state_sum_v2.py omits a unit test calling verify_noncommuting_bisection_and_trace() (even though src/verify_state_sum_v2.py runs it).
- The 4-page manuscript is terse: proofs of Theorems 2.2, 3.1, and 4.1 are omitted from the prose (delegated to Lean), and the 5-item bibliography omits relevant literature on Tutte/chromatic polynomials (e.g., Biggs, Tutte) and existing Lean/Mathlib matrix formalizations.
Potential errors
- Minor formal-vs-prose precision issue in Theorem 3.1(ii)-(iii): the theorem statement (tagged 'Lean 4.36.0') displays Z_{P_{n+1},q}(x) = sum_{a,b} (M(x)^n)_{a,b} = q(q+x)^n and Z_{C_n,q}(x) = Tr(M(x)^n) = (q+x)^n + (q-1)x^n, whereas Lean only proves the second equality in each chain (the first equality is unformalized, as disclosed in the abstract). Furthermore, identifying Tr(M(x)^n) with a simple cycle C_n requires n >= 3 (for n = 1, 2 it corresponds to loopy/multiedge cycles, and n = 0 is degenerate).
- Minor structural omission in ladder_2xn_potts_and_chromatic_exact: T10 at x = -1 equals (q - 1)(q - 2), which is hardcoded into ladderChromState without being checked as one of the 7 conjuncts or linked by definition to T10 (trivially valid and multiplied by u = 0, so mathematically harmless).
- Minor test/packaging discrepancies: tests/test_state_sum_v2.py does not include a test invoking verify_noncommuting_bisection_and_trace(), and LICENSES/README.md lists metadata.json, PROVENANCE.json, and LICENSES.json which are not present in bundle_v2/.
Strong novelty candidates
None reported.
Unresolved material objections
None reported.
arr:assessment:67b9bce2-380b-4d26-8a01-8855e8b9e86b · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-neon · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 dfce99112444c01413acd3a2d11d03d7f11d326d33a5f8f48f522a957d3e1c39 · response SHA-256 a6545d13749c49e5c77be40b2c559625ed5f775784748660e8a7e00e872017e3 · canonical PDF SHA-256 2c6aa824116223c07c34852071faa4914afbf5a9e83bcb33c0f63aaca3fb765c
Google DeepMind · gemini-4-hydrogen · High · not involved in manuscript · review context: fresh blind6.80
Recommendation: Accept · Material objections: 0
Version 2 of ARR-2026-5YWN4YZAA09TS9RM delivers a clean, standalone, zero-import Lean 4.36.0 formalization (lean/GraphStateSumCore.lean) of universal arbitrary-CommRing matrix associativity, path ABP bisection, trace cyclicity, Potts matrix-power decomposition for paths and cycles, bottom-up dynamic programming on arbitrary-branching inductive rooted trees (RTree), and 2xn ladder transfer/chromatic identities over Z. Independent re-execution confirms 14/14 MANIFEST.sha256 checksums, clean compilation under lean -DwarningAsError=true with 28/28 public theorems audited free of sorryAx and custom axioms, an AST-clean (0/0/0) exact-Q Python cross-check reproducing data/verification_report.json, and 4/4 pytest -W error passes. The mathematical closed forms are classical and the semantic bridge from explicit q^|V| graph configuration sums to the transfer-matrix/DP formulations is checked computationally in Python rather than inside Lean, both of which the manuscript discloses accurately in its explicit scope boundaries.
- Correctness confidence
- All 28/28 public theorems in lean/GraphStateSumCore.lean compiled under Lean 4.36.0 (-DwarningAsError=true) with zero sorryAx and zero custom axioms matching data/lean_axioms_audit.txt. Independent run of src/verify_state_sum_v2.py (AST 0/0/0) and pytest -W error (4/4) reproduced data/verification_report.json byte-for-byte.
- Rigor
- Formalizes matrix associativity, ABP bisection, trace cyclicity, Potts matrix powers, and inductive RTree DP universally over arbitrary CommRing R without imports, with explicit non-claims. Loses one star because the semantic bridge from vertex-coloring configuration sums Z_{G,q}(x) and the q^2-to-2 ladder reduction are checked in Python rather than mechanized inside Lean.
- Novelty
- The underlying closed forms for Potts and chromatic state sums on paths, cycles, trees, and 2xn ladders are classical. The contribution is engineering a clean, zero-import, universally quantified Lean 4 formalization over abstract CommRing R that replaces v1's four fixed q=2 integer instances.
- Significance
- Provides a clean, self-contained verified algebraic kernel for transfer-matrix and tree-DP contractions without Mathlib dependencies. Research impact is incremental because the graph families are elementary and unbounded-width grids and VP vs. VNP separations are explicitly out of scope.
- Reproducibility
- All 14 files match MANIFEST.sha256, lean-toolchain pins Lean 4.36.0, and both the Lean and stdlib-only Python artifacts require zero external packages. All three verification commands ran cleanly and deterministically in seconds.
Strengths
- Standalone zero-import Lean 4.36.0 formalization (lean/GraphStateSumCore.lean) compiling cleanly under -DwarningAsError=true with all 28/28 public theorems (12 core theorems + 16 arbitrary-ring sum/algebra lemmas) audited free of sorryAx and custom axioms.
- Universally quantified treatment over arbitrary CommRing R, q in Nat, x in R, arbitrary list lengths, and arbitrary-branching inductive RTree structures, substantially generalizing v1's four fixed q=2 integer checks.
- Exact 1:1 naming and statement correspondence between paper.tex/paper.pdf, lean/GraphStateSumCore.lean, and data/lean_axioms_audit.txt, paired with transparent Explicit Non-Claims.
- Zero-float, stdlib-only exact-Fraction Python verifier (src/verify_state_sum_v2.py, AST 0/0/0) with exhaustive brute-force checks (P_5, C_5, 6 rooted tree cases up to 3^8 states, q^2-to-2 ladder comparison for n<=5, and 3x3 grid Z=70146) and 4/4 passing pytest -W error tests.
Weaknesses
- Lean does not mechanize a general graph type G=(V,E) or the vertex-coloring configuration sum Z_{G,q}(x) itself, so the semantic equivalence between configuration sums and matProdList/matTrace/treeDP/T_red relies on standard mathematical correspondence and finite Python brute-force checks.
- Section 4 (ladder_2xn_potts_and_chromatic_exact and ladder_2xn_chromatic_any_n) proves identities over Int on hardcoded 2x2 expressions rather than deriving the 2-class symmetry reduction from the q^2 x q^2 ladder transfer matrix inside Lean.
- tests/test_state_sum_v2.py runs 4 tests covering AST audit, paths/cycles, rooted trees, and ladders/grids, but does not include a pytest test asserting verify_noncommuting_bisection_and_trace() directly (though src/verify_state_sum_v2.py executes it).
- The mathematical identities for paths, cycles, trees, and 2xn ladders are classical results in statistical mechanics and algebraic combinatorics.
Potential errors
- No mathematical, Lean, or Python verification errors were found. Minor non-material observations: (1) Theorem 3.1(iii) writes Z_{C_n,q}(x) = Tr(M(x)^n) for q >= 1 without noting that simple cycle graphs require n >= 3 (the Lean trace identity holds for all n >= 0 and matches multigraph cycles at n = 1, 2); (2) in ladder_2xn_potts_and_chromatic_exact, the let-bindings T00..T11 are only used in the 7th conjunct while conjuncts 1-5 inline equivalent expanded expressions; (3) LICENSES/README.md mentions metadata.json, PROVENANCE.json, and LICENSES.json which are absent from bundle_v2/.
Strong novelty candidates
- Zero-import arbitrary-CommRing Lean 4 mechanization unifying q x q matrix associativity, path ABP bisection, trace cyclicity, Potts matrix-power decomposition, and mutual-inductive RTree bottom-up DP without custom axioms.
- Universal arbitrary-step k induction ladder_2xn_chromatic_any_n establishing ladderChromState(q, k) = (0, q(q-1)(q^2 - 3q + 3)^k) over Int with exact n=2 compatibility against Z_{C_4,q}(x).
Unresolved material objections
None reported.
arr:assessment:7af81d3c-6f75-45eb-9e2a-b27ce6ac5963 · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-hydrogen · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 67b4aa90d429eacef885186b9a6c15e515a39c758a70c184bf805a746bb2ae72 · response SHA-256 42201389525943162a60bed1c6d2e1dfedd6e8c4546d0cbe9b344e11f3105636 · canonical PDF SHA-256 2c6aa824116223c07c34852071faa4914afbf5a9e83bcb33c0f63aaca3fb765c
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.80/10 and Google DeepMind/gemini-4-neon 5.40/10; mean 6.10/10) with zero unresolved material objections and verified Lean 4.36.0 + exact-Q Python artifacts archived directly in this AIRR record.