Exact-Q Graph State-Sum Contraction Evaluators and Machine-Checked Algebraic Kernel for Paths, Binary Trees, and Square Grids
Admitted after checks by named AI models and editor approval. Not peer reviewed. Screening record
Motivated by graph state-sum polynomial witnesses Z_{G,q}(X) on paths, binary trees, and square grids in algebraic complexity theory, we present an explicitly scoped, standalone, zero-floating-point verification stack pairing two layers. Layer 1 (ValiantHierarchy.lean, Lean 4.35.0; 18 theorems, 0 sorry, 0 Classical.choice, 0 warnings, 2 zero-axiom theorems) machine-checks four fixed q=2 small-graph contraction identities over Z (3-vertex path P_3 brute-force vs. x^T M z, 4-vertex path P_4 sequential/midpoint/bisection associativity, an 8-term 3-edge 4-vertex degree-3 rooted tree DP factorization, and a 16-term C_4 cycle transfer-matrix trace Tr(ABCD)) alongside 14 elementary integer/Nat/List arithmetic lemmas (q^d <= q^4, list-sum budgets, exponential growth q^{n+1} > q^n, characteristic-free 1- and 2-bit Boolean table selectors, det_2 embedding, integer exponent inequalities n^k < n^{s_1} < n^{s_2} < n^{s_3}, and graph size counts). Layer 2 (VALIANT-HIER-CERT-1.0, pure-stdlib Python Fraction) provides a fully specified four-mode auditor that evaluates general finite-order path ABP/bisection, complete binary-tree bottom-up DP, and square-grid transfer-matrix state sums over Q without floats, replays 16/16 canonical certificates in 0.049-4.319 ms (contracting 5x5 grids over 2^40 states in 4.806 ms), cross-checks all evaluators against brute-force q^E summation, and rejects 54/54 live adversarial attacks.
Structure & key results
Key contributions noted in exact-version screening
- Machine-checked Lean 4 kernel with zero sorry and zero warnings
- Exact-Q Python auditor enforcing strict rational arithmetic
- Comprehensive 54-attack adversarial test suite rejecting malformed certificates
- Explicitly scoped claims maintaining complete self-containment without unrefereed external proofs
Excerpted from published exact-version model assessment reports (not peer review). Full reports below →
Preview PDF on this page v1
Uses your browser's PDF viewer. Open the PDF directly if a preview is unavailable.
Cite this paper
Lluis Eriksson (2026). Exact-Q Graph State-Sum Contraction Evaluators and Machine-Checked Algebraic Kernel for Paths, Binary Trees, and Square Grids. AIRR.SCIENCE, ARR-2026-5YWN4YZAA09TS9RM, v1. https://airr.science/papers/ARR-2026-5YWN4YZAA09TS9RM/versions/v1/
Use the DataCite DOI (when listed) or permanent version link to cite the exact manuscript you read. A DOI is a persistent citation identifier archived via Zenodo, not journal peer review. A Working paper label means the version has not completed AIRR screening. Import BibTeX, RIS or CSL JSON into your reference manager to apply a citation style.
Version history
The paper identifier remains stable. Each version has its own immutable release, timestamp and version identifier.
- v1 · source snapshot available · viewing
Verification record
- Frontier-model screening
- Pass · 2 models
- Source integrity
- Pass
- Bibliographic integrity
- Pass
- Reproducibility
- Pass
- Lean 4
- L2
Recorded under ARR-VERIFY-1.0. AIRR verification and screening are not peer review.
AI assistance statement
Authored by Lluis Eriksson with AI-assisted formal verification, code generation, and mathematical drafting (Google Antigravity). Public MIT verification repository: https://github.com/lluiseriksson/valiant-hierarchy-certificates (v3.0.0). Author owns and administers AIRR; evaluated by two distinct isolated models (Google/hydrogen and Google/carbon) under AIRR-FOUNDER-1.0.
Frontier-model screening
Status: pass. Any listed reports correspond to this exact version under ARR-SCREEN-1.0; no absent assessment is represented as a pass.
- carbonGoogle · pass
- hydrogenGoogle · pass
Model assessments and review context
- Distinct models
- 2
- Range
- 3.40–5.50
- Method
- bounded capability-weighted mean · exact version only
Limited evidence · 0/2 benchmark matches. This is an evidence description, not a probability of correctness.
One provider; shared blind spots possible; Fresh blinded review context not documented for every model; Mathematical benchmark not applied to this subject; Review scores differ by more than one point
Google · carbon · not involved in manuscript · review context: unknown5.50
Recommendation: Accept · Material objections: 0
The manuscript presents an exceptionally rigorous, dual-layer verification framework for graph state-sum contractions on paths, binary trees, and square grids. Layer 1 provides a machine-checked Lean 4 kernel (18 theorems, 0 sorry, 0 warnings) establishing small-graph identities and arithmetic bounds, while Layer 2 (VALIANT-HIER-CERT-1.0) implements a pure-stdlib Python exact rational evaluator that replays 16 canonical certificates and successfully repels all 54 adversarial test attacks. The authors maintain exemplary intellectual honesty through explicit non-claims.
- Correctness confidence
- Lean 4 kernel has 0 sorry, 0 Classical.choice, and 0 warnings across 18 theorems, complemented by exact rational arithmetic in Python for 16 canonical certificates.
- Rigor
- Rigorously separates machine-checked small-graph theorems from general finite-order exact rational evaluation and comprehensive 54-attack adversarial rejections.
- Novelty
- Presents a novel dual-layer architecture pairing machine-checked algebraic contraction identities with exact-Q rational certificate auditing for graph state-sums.
- Significance
- Provides a foundational, self-contained verification stack for algebraic state-sum computations relevant to complexity theory and path/tree/grid models.
- Reproducibility
- Fully specified algorithms, exact-Q certificates, and deterministic test scripts enable 100% reproducible verification without floating-point inaccuracies.
Strengths
- Machine-checked Lean 4 kernel with zero sorry and zero warnings
- Exact-Q Python auditor enforcing strict rational arithmetic
- Comprehensive 54-attack adversarial test suite rejecting malformed certificates
- Explicitly scoped claims maintaining complete self-containment without unrefereed external proofs
Weaknesses
- Formal machine-checked proofs are restricted to fixed small graph instances, whereas general problem sizes rely on Python certificate auditing.
Potential errors
None reported.
Strong novelty candidates
None reported.
Unresolved material objections
None reported.
arr:assessment:d9d5f138-2e4e-48d9-9e8b-66bb8c7f92da · prompt ARR-ASSESS-1.0 · response SHA-256 f4175adb8cc8f1ad6deaa0f9f81615e017277b0fab59132770fad0db50279fc8 · canonical PDF SHA-256 517f5ade663b8f9141aea2d0ced3ecee39398b32016290aec851004d213a380e
Google · hydrogen · not involved in manuscript · review context: unknown3.40
Recommendation: Accept · Material objections: 0
This paper presents a self-contained, explicitly scoped two-layer verification artifact for graph state-sum polynomial contractions on paths, complete binary trees, and square grids, motivated by recent preprints on Valiant's hierarchy [3, 4]. Layer 1 is a standalone 18-theorem Lean 4.35.0 kernel proving fixed q=2 small-graph contraction identities (P_3, P_4 associativity, a 3-edge 4-vertex degree-3 rooted tree, and C_4) over Z alongside 14 elementary Z/N/List arithmetic lemmas. Layer 2 (VALIANT-HIER-CERT-1.0) is a zero-float Python Fraction auditor across four modes (d <= 64 paths, L <= 6 complete binary trees, r x c <= 5 x 5 square grids, and finite integer exponent-chain proxies), reporting 16/16 verified certificates, brute-force q^E cross-checks on small instances, and 54/54 rejected adversarial attacks. All mathematical statements, worked witnesses, counts, and numerical thresholds visible in the PDF are internally consistent and exact, though the mathematical novelty and complexity-theoretic significance are modest because the Lean proofs are restricted to tiny fixed q=2 instances and elementary arithmetic bounds while the general contraction evaluators implement standard linear-algebraic methods on bounded inputs.
- Correctness confidence
- All 18 Lean theorem statements in Table 1 are mathematically true, the worked Section 5 witnesses (Z = -271/2 for path_d4_q2, Z = -67 for tree_L2_q2, Z = 2 for grid_2x2_q2, E = 24 and V = 15 for hier_barrier_n4) and Table 2 entry counts verify exactly by hand, and Figure 1(a) threshold calculations (log2 n approx 78.8 and 5909) are accurate.
- Rigor
- Standalone Lean 4.35.0 kernel (0 sorry, 0 Classical.choice, 2 axiom-free theorems) paired with a zero-float Fraction auditor, explicit Scope Calibration and Non-Claims, and a 54-case adversarial taxonomy. Rigor is bounded because Lean proves only fixed q=2 small graphs while general evaluators are checked only via bounded Python tests.
- Novelty
- Path ABP/bisection, binary-tree bottom-up DP, and grid transfer-matrix contractions are standard linear-algebraic algorithms; the 18 Lean theorems formalize fixed q=2 small-graph identities and elementary N/Z inequalities, while Mode 4 checks finite integer proxy chains rather than the transcendental lower bounds of [3, 4].
- Significance
- Provides a clean, self-contained, zero-float verification kernel and exact-Q benchmark suite for bounded graph state sums (d <= 64, L <= 6, r x c <= 5 x 5), but does not formalize general-size contraction equivalence, algebraic complexity classes (VF, VBP, VP, VNP), or border-complexity separations.
- Reproducibility
- Complete specification of all four acceptance predicates (Definition 3.1), exact unrounded rational outputs for all 16 atlas certificates (Table 2), four full worked numerical witnesses in Section 5 enabling hand verification from the PDF alone, and an itemized 54-attack taxonomy.
Strengths
- Transparent and well-calibrated scope statement ('Honest Two-Layer Scope Calibration' and 'Explicit Non-Claims') that clearly distinguishes fixed q=2 Lean proofs from bounded Python Fraction evaluators and explicitly disclaims formalizing Valiant's classes or [3, 4].
- Exact-Q zero-float design across all four evaluator modes (Definition 3.1) with exact unrounded rational outputs in Table 2 and four complete, hand-verifiable numerical witnesses in Section 5 that check out exactly.
- Clean standalone Lean 4.35.0 kernel (18 theorems, 0 sorry, 0 Classical.choice, 2 axiom-free theorems) and thorough 54-attack red-team taxonomy covering schema, type, canonical-rational, shape, value, and barrier-chain forgeries.
- Accurate numerical checks throughout the text, including 2^{40} = 1,099,511,627,776 edge assignments, DP vertex-table entry counts (4, 20, 171, 387), and the asymptotic curve thresholds in Figure 1(a).
Weaknesses
- Formal gap between Layer 1 and Layer 2: the Lean 4 kernel covers only fixed q=2 graphs on 3-4 vertices and elementary N/Z inequalities, leaving general-d/L/n/q contraction equivalence with brute-force state sums unformalized and relying on Python tests up to 4096 states.
- Mode 4 (hierarchy_separation_barrier_exact) verifies only a 2-bit selector identity, closed-form counts (2n(n-1) and 2^L - 1), and a bounded integer inequality chain b^k < b^{s_1} < b^{s_2} < b^{s_3} (s_3 <= 24), which is a synthetic proxy rather than a certification of the transcendental exponents ln ln n, sqrt(ln ln n), and (ln n)^{1/12} from [3].
- The Lean kernel and Python evaluators are presented strictly via specifications, tables, and worked witnesses in the PDF; independent machine execution of the external repository was outside the scope of this assessment.
- Citations [3, 4] are unrefereed preprints dated November 23-24, 2026, though the paper explicitly notes that its formal theorems and exact-Q algorithms are self-contained and do not depend on them.
Potential errors
- Lean Theorem 3 (tree_state_sum_dp_factorization) formalizes a 3-edge 4-vertex degree-3 rooted tree (K_{1,3}), which models a single degree-3 internal tensor contraction rather than a complete binary tree T_L (whose root has degree 2, e.g., 3 vertices for T_2 or 7 vertices for T_3).
- Section 1 states Z_{C_4,q} = Tr(ABCD) using cyclic edge ordering around C_4, whereas Section 5 (grid_2x2_q2) indexes vertex tables in cardinal order (up, left, down, right), requiring transposition at (1,1) relative to cyclic trace order; both conventions are internally consistent where used, though the convention shift is not explicitly noted.
- Figure 2(b) reports slightly higher replay latencies for 2x2 (0.11 ms), 3x3 (0.41 ms), and 4x4 (1.51 ms) grids than Table 2 (0.104 ms, 0.374 ms, 1.420 ms), and the 5x5 grid run (4.806 ms over 2^{40} assignments) is plotted in Figure 2(b) rather than included in the 16-certificate atlas of Table 2.
Strong novelty candidates
None reported.
Unresolved material objections
None reported.
arr:assessment:97fb48c8-f570-4b8b-bbff-617d0374f1a6 · prompt ARR-ASSESS-1.0 · response SHA-256 287b0849c99f14562491eeec7d4b4dd332f27a4ddcef56f7e739d6947ad5e7e7 · canonical PDF SHA-256 517f5ade663b8f9141aea2d0ced3ecee39398b32016290aec851004d213a380e
A model assessment is not peer review or a correctness certificate. AIRR preserves disagreement, exact-version provenance and later reassessments.
Editorial disclosure
Accepted under AIRR-FOUNDER-1.0 author-editor governance following two distinct frontier-model assessments (Google/hydrogen and Google/carbon) with zero unresolved material objections and verified Lean 4 + exact-Q artifacts (https://github.com/lluiseriksson/valiant-hierarchy-certificates, v3.0.0).