Research paperCorrectedARR-2026-6F537FT31Z903828 · v2 · 2026-12-04

Exact-Rational Lean 4 Mechanization of Degree-3 Local-Sum ReLU-MPNN Binary Run-Tree Verification, Parametric Base-b Tape Margins, and Degree-2 vs. Degree-3 Depth Thresholds

Lluis Eriksson

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

Abstract

Version 2 delivers a standalone, zero-import exact-rational (RatQ) Lean 4.36.0 mechanization (lean/MpnnRunTreeRational.lean, 44/44 audited public theorems, 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_mpnn_runtree_v2.py, 4/4 pytest -W error) accompanying Salzer's degree-3 local-sum ReLU-MPNN satisfiability architecture (arXiv:2611.32595). It establishes four self-contained results: (1) parametric base-b rational tape encoding with sharp wrong-pop separation gap (b-k)/(b-1) and strict base-optimality trichotomy (b=k collision, b=k+1 zero unit-boundary margin, b=k+2 minimal interior base); (2) exact ReLU-FNN polyhedral union recognizer with explicit nonnegativity hypotheses and quantitative violation margin N_S(x) >= delta; (3) end-to-end arbitrary-height-h binary run-tree MPNN soundness, completeness, and corrupted-node quantitative rejection margin M <= max(0, 1 - eps); and (4) sharp degree-2 (<= 2L+1) vs. degree-3 (2^(L+1)-1) L-hop capacity threshold paired with concrete 3-symbol NTM exact-Q executions up to h = 4 (31-node trees, 16-step runs).

Readable overview

Structure & key results

Extracted for web & scholarly indexing

Manuscript structure

  1. Introduction and Scope Alignment from Version 1
  2. Exact Rational Arithmetic and Parametric Base-b Tape Margins
  3. Exact relu-FNN Polyhedral Union Recognizer with Violation Margin
  4. Arbitrary-Height-h Binary Run-Tree MPNN Soundness, Completeness, and Rejection Margin
  5. Sharp Degree-2 vs. Degree-3 L-Hop Capacity Threshold
  6. Exact-QQ NTM-to-MPNN Verification and Explicit Verification Boundary

Selected results from the manuscript source

Theorem 1 — Parametric base-b rational encoding and exact separation gap; Lean 4.36.0

· (Exact inversion and interval preservation; pushQ_popQ_inverses, encWord_in_interval.) For every x ∈ QQ, a ∈ NN, and b > 0, pop_a(push_a(x)) ≈ x and push_a(pop_a(x)) ≈ x. Whenever b ≥ k + 1, s ∈ Γ, and every symbol of w ∈ Γ* lies in Γ, enc_b(w) ∈ I_b. · (Sharp wrong-symbol separation gap; popQ_exact_separation_gap.) For every k ≥ 1, b ≥ k + 1, z ∈ I_b, and a, c ∈ NN: a < c ⇒ pop_a(push_c(z)) ≥ k/(b-1) + (b-k)/(b-1), c < a ⇒ pop_a(push_c(z)) ≤ 1/(b-1) - (b-k)/(b-1).

Theorem 2 — Strict base-optimality trichotomy; Lean 4.36.0

For every alphabet size k ≥ 2 (base_optimality_trichotomy): · (Exact collision at b = k.) Choosing z = 1/(k-1) ∈ I_k yields pop₁(push₂(z)) ≈ k/(k-1) ∈ I_k despite 1 ≠ 2, so base b = k fails symbol disambiguation. · (Zero unit-boundary margin at b = k + 1.) Base b = k + 1 achieves wrong-pop gap 1/k > 0, but sup I_(k+1) = k/k = 1, leaving zero margin to the unit boundary 1. · (Minimal interior base b = k + 2.) Sälzer's base b = k + 2 is the smallest integer base with I_b ⊂ (0, 1) strictly separated from both 0 and 1: inf I_(k+2) = 1 - sup I_(k+2) = 1/(k+1) > 0, with exact…

Theorem 3 — Exact relu-FNN polyhedral union recognizer and margin; Lean 4.36.0

· (Nonnegative relu-minimum identity; rrelu_min_exact, rmin_eq_zero_iff.) For all x, y ∈ QQ satisfying the explicit nonnegativity hypotheses x ≥ 0 and y ≥ 0, min_relu(x, y) = min(x, y) ≥ 0, and min_relu(x, y) ≈ 0 ⇔ x ≈ 0 lor y ≈ 0. · (Exact union zero-set; polyUnionReluQ_exact_and_margin.) For every nonempty family of rational polyhedra p:: ps, N_(p::ps) ≥ 0, and N_(p::ps) ≈ 0 ⇔ ∃ q ∈ (p:: ps), ∀ r ∈ q, r ≤ _q 0. · (Quantitative violation margin.) For any δ ∈ QQ, if every polyhedron q ∈ (p:: ps) has at least one row residual r ∈ q with r ≥ _q δ, then N_(p::ps) ≥ _q δ.

Theorem 4 — Arbitrary-height-h binary run-tree MPNN soundness, completeness, and corruption margin; Lean 4.36.0

For every rational-error transition system S, every initial configuration c_start ∈ Conf, and every height h ∈ NN: · (Exact tree sizes; tree_sizes_exact.) Every T ∈ RunTree(Conf, h) has nodeCount(T) = 2^(h+1) - 1 and leafCount(T) = 2^h. · (End-to-end soundness and completeness; mpnn_binary_tree_soundness_completeness.) (∃ T ∈ RunTree(Conf, h), M(c_start, T) ≈ 1) ⇔ (∃ c_end, Reach_h(c_start, c_end) land Acc(c_end)). · (Quantitative corrupted-node rejection margin;

Theorem 5 — Sharp degree-2 vs. degree-3 L-hop capacity threshold; Lean 4.36.0

In any graph of maximum degree ≤ 2, every connected component is a path or cycle, so |B_L(v)| ≤ 2L + 1 for every root v and hop radius L ∈ NN. In contrast, a height-L binary run tree of maximum degree ≤ 3 has |B_L(root)| = 2^(L+1) - 1 nodes, and for every L ≥ 2 (degree3_strictly_dominates_degree2), 2L + 1 < 2^(L+1) - 1.

Key contributions noted in exact-version screening

  • Parametric base-b rational tape separation gap (b-k)/(b-1) and strict base-optimality trichotomy (Theorems 2.1-2.2: b=k collision, b=k+1 boundary contact at 1, b=k+2 minimal interior base with margin 1/(k+1) and wrong-pop gap 2/(k+1)).
  • Exact-rational RatQ polyhedral union violation margin (Theorem 3.1(iii)) and arbitrary-height-h quantitative corrupted-node rejection margin M <= max(0, 1 - eps) (Theorem 4.1(iii)).
  • Standalone zero-import Lean 4.36.0 mechanization of arbitrary-height-h binary run-tree local-sum ReLU-MPNN soundness and completeness paired with a concrete AST-0/0/0 exact-Q NTM-to-MPNN verifier.

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 (3,080 words — searchable plain text)

--- Page 1 --- AIRR.SCIENCE · ARR-2026-6F537FT31Z903828 v2 [cs.LO] 2026-12-04 Exact-Rational Lean 4 Mechanization of Degree-3 Local-Sum ReLU-MPNN Binary Run-Tree Verification, Parametric Base-b Tape Margins, and Degree-2 vs. Degree-3 Depth Thresholds Lluis Eriksson Independent Researcher, ¨Ostersund, Sweden · editor@airr.science Version 2 (Major Extended Edition; supersedes v1) · December 4, 2026 Abstract Degree-bounded satisfiability (DegBSat) for local-sum Message Passing Neural Networks (MPNNs) with relu activations and rational node labels asks whether an MPNN accepts any graph of maximum degree at most d. Accompanying S¨alzer’s recent degree-3 NEXPTIMEhardness architecture [3], Version 1 of this record mechanized only cleared-denominator integer identities, omitted explicit nonnegativity hypotheses in its min-tree proposition, and left the binary run-tree verification semantics outside Lean. Version 2 delivers a complete, standalone, zero-import exact-rational (RatQ) Lean 4.36.0 mechanization (lean/MpnnRunTreeRational. lean, 44/44 audited public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with a zero-float stdlib-only exact-Q Python verifier (src/verify_ mpnn_runtree_v2.py, AST 0/0/0, 4/4 pytest -W error), establishing four self-contained results: 1. Parametric base-b rational tape encoding and exact base-optimality trichotomy (Theorems 2.1–2.2). Directly over RatQ for any alphabet Γ = {1, . . . , k} (k ≥1), blank symbol s ∈Γ, and integer base b ≥k + 1, we prove exact push/pop inversion, interval preservation inside Ib = [ 1 b−1, k b−1], and the sharp wrong-symbol separation gap dist(popa(pushc(z)), Ib) ≥b−k b−1 (a ̸= c). We further establish a strict trichotomy for all k ≥2: base b = k suffers exact collision (pop1(push2( 1 k−1)) = k k−1 ∈Ik), base b = k + 1 separates by 1 k but touches 1 (sup Ik+1 = 1), and S¨alzer’s base b = k + 2 is the minimal integer base keeping Ik+2 ⊂(0, 1) strictly separated from both 0 and 1 (margin 1 k+1, wrong-pop gap 2 k+1). 2. Exact relu-FNN polyhedral union recognizer with quantitative violation margin (Theorem 3.1). Fixing v1’s omitted nonnegativity hypotheses directly over RatQ, we prove that min(x, y) = relu(x −relu(x −y)) for x, y ≥0, that NS(x) ≥0 vanishes iff x ∈S = Sm i=1{x : Aix ≤bi}, and that if every polyhedron Pi is violated on some row by at least δ, then NS(x) ≥δ. 3. End-to-end arbitrary-height-h binary run-tree MPNN soundness, completeness, and corrupted-node rejection margin (Theorem 4.1). Formalizing arbitrary-heighth binary decomposition trees (RunTree Conf h, 2h+1 −1 nodes, 2h leaves, maximum degree ≤3) over any rational-error transition system, we prove in Lean 4.36.0 for all h ∈N that the (h + 2)-layer local-sum relu-MPNN root output equals 1 if and only if there exists a valid 2h-step transition chain from cstart to an accepting configuration. Moreover, if any single node at any depth 0 ≤d ≤h incurs local error ≥ε, the root output satisfies Mw ≤1 −ε (for ε ≤1) and Mw = 0 (for ε ≥1). 4. Sharp degree-2 vs. degree-3 L-hop capacity threshold and concrete exact-Q NTM execution (Theorem 5.1 and Table 1). We prove that graphs of maximum degree ≤2 contain at most 2L + 1 vertices within L hops of any root, strictly dominated 1

--- Page 2 --by 2L+1 −1 for degree-≤3 binary trees at every L ≥2, and execute a complete concrete 3-symbol NTM compiled to ∆⊂Q6 and F ⊂Q3 through all h + 2 exact-Q MPNN layers for h ∈{1, 2, 3, 4} (up to 16-step runs on 31-node degree-≤3 trees) with exact corrupted-node rejection witnesses. 1 Introduction and Scope Alignment from Version 1 Formal verification of Graph Neural Networks asks whether a classifying MPNN accepts any finite labeled graph violating a safety property [1, 4, 2]. While unbounded-degree satisfiability for local-sum relu-MPNNs with rational node features is undecidable [4], restricting the input graph to maximum degree d (DegBSat) restores decidability in NEXPTIME [2]. S¨alzer [3] recently established matching NEXPTIME-hardness already at fixed degree d = 3 by combining base-(|Γ| + 2) rational tape encodings, finite unions of rational polyhedra ∆⊂Q6 and F ⊂Q3, exact relu-FNN union recognizers, and (h + 2)-layer local-sum message-passing verification over height-h binary run trees of size 2h+1 −1. Version 1 of ARR-2026-6F537FT31Z903828 suffered from four structural weaknesses identified in screening: (i) the title overstated complexity-class formalization while Lean 4 proved only cleared-denominator N/Z scalar identities; (ii) the binary run-tree soundness/completeness reduction and quantitative corruption propagation were left unformalized in Lean; (iii) Proposition 1.2 omitted the required nonnegativity hypotheses on minReluList and Section 1 left the blank symbol s undefined; and (iv) prose latency/depth figures diverged from empirical runs. Version 2 resolves every deficiency by building a self-contained exact-rational (RatQ) Lean 4.36.0 mechanization of the full arbitrary-height-h binary run-tree MPNN verification architecture, proving new quantitative separation, base-optimality, and corruption-margin theorems, and archiving a completely aligned exact-Q Python verification suite directly inside this AIRR record. As explicitly stated in Section 6, we mechanize the exact-rational encoding, polyhedral relu-FNN, and arbitrary-height-h binary run-tree MPNN soundness/completeness architecture rather than complexity-class many-one reductions or Turing-machine time hierarchies inside Lean 4. 2 Exact Rational Arithmetic and Parametric Base-b Tape Margins In lean/MpnnRunTreeRational.lean, we construct an exact rational type RatQ consisting of pairs (n, d) ∈Z×N with d > 0, equipped with cross-multiplied equivalence x ≈y ⇐⇒x.num·y.den = y.num · x.den, total preorder x ≤q y ⇐⇒x.num · y.den ≤y.num · x.den, exact arithmetic +, −, ·, exact positive integer division x/b, relu(x) = max(0, x), and minrelu(x, y) := relu(x −relu(x −y)). Fix an alphabet Γ = {1, . . . , k} (k ≥1), a designated blank symbol s ∈Γ, and an integer base b ≥k + 1. Define the closed rational encoding interval Ib := h 1 b −1, k b −1 i ⊂Q, and the exact affine tape-shift operators pusha(x) := x+a b and popa(x) := bx −a. Any finite tape prefix w = a1a2 · · · am ∈Γ∗padded infinitely with blank symbol s ∈Γ encodes recursively as encb(ε) := s b −1, encb(a w′) := pusha

encb(w′)

= m X i=1 aib−i + s (b −1)bm . Theorem 2.1 (Parametric base-b rational encoding and exact separation gap; Lean 4.36.0). (i) (Exact inversion and interval preservation; pushQ_popQ_inverses, encWord_in_interval.) For every x ∈Q, a ∈N, and b > 0, popa(pusha(x)) ≈x and pusha(popa(x)) ≈x. Whenever b ≥k + 1, s ∈Γ, and every symbol of w ∈Γ∗lies in Γ, encb(w) ∈Ib. 2

--- Page 3 --- (ii) (Sharp wrong-symbol separation gap; popQ_exact_separation_gap.) For every k ≥1, b ≥ k + 1, z ∈Ib, and a, c ∈N: a < c =⇒popa(pushc(z)) ≥ k b −1+b −k b −1, c < a =⇒popa(pushc(z)) ≤ 1 b −1−b −k b −1. Consequently, popa(pushc(z)) ∈Ib ⇐⇒a = c, and every wrong symbol a ̸= c is separated from Ib by at least b−k b−1 > 0. Proof. (i) Direct rational cross-multiplication gives b · x+a b −a = x and (bx−a)+a b = x. If 1 b−1 ≤x ≤ k b−1 and 1 ≤a ≤k, then 1 b−1 + 1 = b b−1 ≤x + a ≤ k b−1 + k = kb b−1, so dividing by b > 0 preserves Ib; structural induction on w yields encb(w) ∈Ib. (ii) By popQ_pushQ_shift, popa(pushc(z)) ≈z + (c −a). If a < c, then c −a ≥1 and z ≥ 1 b−1, giving z + (c −a) ≥ 1 b−1 + 1 = b b−1 = k b−1 + b−k b−1. Symmetrically, if c < a, then c −a ≤−1 and z ≤ k b−1, giving z + (c −a) ≤ k b−1 −1 = 1 b−1 −b−k b−1. Since b−k b−1 > 0 for b ≥k + 1, a ̸= c forces popa(pushc(z)) /∈Ib, while a = c recovers z ∈Ib. Theorem 2.2 (Strict base-optimality trichotomy; Lean 4.36.0). For every alphabet size k ≥2 (base_ optimality_ trichotomy ): (i) (Exact collision at b = k.) Choosing z = 1 k−1 ∈Ik yields pop1(push2(z)) ≈ k k−1 ∈Ik despite 1 ̸= 2, so base b = k fails symbol disambiguation. (ii) (Zero unit-boundary margin at b = k + 1.) Base b = k + 1 achieves wrong-pop gap 1 k > 0, but sup Ik+1 = k k = 1, leaving zero margin to the unit boundary 1. (iii) (Minimal interior base b = k + 2.) S¨alzer’s base b = k + 2 is the smallest integer base with Ib ⊂(0, 1) strictly separated from both 0 and 1: inf Ik+2 = 1 −sup Ik+2 = 1 k+1 > 0, with exact wrong-pop gap 2 k+1. Proof. At b = k, pop1(push2( 1 k−1)) = 1 k−1 +(2−1) = k k−1 = sup Ik ∈Ik. At b = k+1, k (k+1)−1 = 1. At b = k + 2, 1 k+1 ≤ k k+1 and k k+1 + 1 k+1 = 1, while Theorem 2.1(ii) gives gap (k+2)−k (k+2)−1 = 2 k+1. 3 Exact relu-FNN Polyhedral Union Recognizer with Violation Margin For a list of rational constraint residuals xs = [r1, . . . , rℓ] (representing Aix −bi) and a nonempty list of polyhedra p :: ps, define over RatQ: sumReluQ(xs) := X r∈xs relu(r), Np::ps := minReluListQ

sumReluQ(p), [sumReluQ(q)]q∈ps

, where minReluListQ folds minrelu(x, y) = relu(x −relu(x −y)). Theorem 3.1 (Exact relu-FNN polyhedral union recognizer and margin; Lean 4.36.0). (i) (Nonnegative relu-minimum identity; rrelu_min_exact, rmin_eq_zero_iff.) For all x, y ∈Q satisfying the explicit nonnegativity hypotheses x ≥0 and y ≥0, minrelu(x, y) = min(x, y) ≥0, and minrelu(x, y) ≈0 ⇐⇒x ≈0 ∨y ≈0. (ii) (Exact union zero-set; polyUnionReluQ_exact_and_margin.) For every nonempty family of rational polyhedra p :: ps, Np::ps ≥0, and Np::ps ≈0 ⇐⇒∃q ∈(p :: ps), ∀r ∈q, r ≤q 0. (iii) (Quantitative violation margin.) For any δ ∈Q, if every polyhedron q ∈(p :: ps) has at least one row residual r ∈q with r ≥q δ, then Np::ps ≥q δ. 3

--- Page 4 --- Proof. (i) When 0 ≤x ≤y, x −y ≤0 so relu(x −y) = 0 and relu(x −0) = x; when 0 ≤y < x, x −y > 0 so relu(x −(x −y)) = relu(y) = y. (ii) By induction on xs, sumReluQ(xs) ≥0 vanishes iff every relu(r) ≈0, i.e., r ≤q 0 (sumReluQ_exact_and_margin). Since every sumReluQ(q) ≥0, induction on ps using (i) preserves nonnegativity and yields Np::ps ≈0 ⇐⇒ ∃q ∈(p :: ps), sumReluQ(q) ≈0. (iii) If r ∈q satisfies r ≥q δ, then sumReluQ(q) ≥q relu(r) ≥q r ≥q δ; since minrelu equals one of its two nonnegative arguments, folding over p :: ps preserves the lower bound δ. 4 Arbitrary-Height-h Binary Run-Tree MPNN Soundness, Completeness, and Rejection Margin Let S = (Conf, Step, Acc, eeq, estep, eacc) be a rational-error transition system (TransitionSystem in Lean 4.36.0): Step ⊆Conf2 and Acc ⊆Conf, paired with nonnegative rational error functions eeq, estep, eacc ≥0 that vanish iff a = b, Step(a, b), or Acc(a), respectively. In S¨alzer’s reduction, Conf = Q3, eeq is ℓ1-error, estep = N∆, and eacc = NF . Define exact 2h-step reachability recursively by Reach0(x, y) ⇐⇒Step(x, y) and Reachh+1(x, z) ⇐⇒ ∃y, Reachh(x, y) ∧Reachh(y, z). A height-h binary run tree T ∈RunTree(Conf, h) is either a leaf (cL, cR) (h = 0) or an internal node (cL, cM, cR, L, R) with height-h children L, R. Its underlying undirected graph has 2h+1 −1 nodes, 2h leaves, and maximum degree ≤3 (root degree 2, internal degree 3, leaf degree 1). The (h + 2)-layer local-sum relu-MPNN operates on T as follows: ˆ Layer 1 (Local nonnegative errors): Each leaf computes eloc(cL, cR) := estep(cL, cR); each internal node computes endpoint-matching error eloc(cL, cM, cR, L, R) := eeq(cL, L.left) + eeq(cM, L.right) + eeq(cM, R.left) + eeq(cR, R.right). The root additionally evaluates boundary error ebd(cstart, T) := eeq(T.left, cstart) + eacc(T.right). ˆ Layers 2, . . . , h + 1 (h-hop local-sum aggregation): Bottom-up local-sum aggregation accumulates agg(T) = eloc(T) + agg(L) + agg(R) at the root in h message-passing layers. ˆ Layer h + 2 (Final acceptance): The root outputs M(cstart, T) := relu

1 −(ebd(cstart, T) + agg(T))

. Theorem 4.1 (Arbitrary-height-h binary run-tree MPNN soundness, completeness, and corruption margin; Lean 4.36.0). For every rational-error transition system S, every initial configuration cstart ∈Conf, and every height h ∈N: (i) (Exact tree sizes; tree_sizes_exact.) Every T ∈RunTree(Conf, h) has nodeCount(T) = 2h+1 −1 and leafCount(T) = 2h. (ii) (End-to-end soundness and completeness; mpnn_binary_tree_soundness_completeness.)

∃T ∈RunTree(Conf, h), M(cstart, T) ≈1

∃cend, Reachh(cstart, cend) ∧Acc(cend)

. (iii) (Quantitative corrupted-node rejection margin; mpnn_corrupted_node_rejection_margin.) If any node u anywhere in T (leaf, internal, or root) has eloc(u) ≥q ε, then agg(T) ≥q ε, so: ε ≤q 1 =⇒M(cstart, T) ≤q 1 −ε, ε ≥q 1 =⇒M(cstart, T) ≈0. Proof. (i) Induction on h: 1 + (2h+1 −1) + (2h+1 −1) = 2h+2 −1 and 2h + 2h = 2h+1. (ii) By rrelu_one_sub_eq_one_iff, since ebd, agg(T) ≥0, M(cstart, T) ≈1 ⇐⇒ ebd(cstart, T) ≈ 0 ∧agg(T) ≈0. Vanishing of ebd gives T.left = cstart and Acc(T.right). By structural induction on h (aggErr_zero_implies_reach), agg(T) ≈0 forces all four endpoint-matching errors at each internal node to vanish (cL = L.left, cM = L.right = R.left, cR = R.right) and both subtrees to satisfy agg(L) ≈agg(R) ≈0, inductively certifying Reachh(T.left, T.right). Conversely, 4

--- Page 5 --- Table 1: Exact-Q certifications in src/verify_mpnn_runtree_v2.py (AST 0/0/0, 4/4 pytest -W error). Certified pillar Parameters / instance Verified exact-Q invariants Outcome Base-b trichotomy (Thms. 2.1–2.2) k ∈{2, 3, 4, 6}; b ∈{k, k + 1, k + 2} Collision at b = k; gap 1 k at b = k + 1; margin 1 k+1 & gap 2 k+1 at b = k + 2 Exact match: k = 3 gives gap 1 3 (b = 4), 1 2 (b = 5), margin 1 4 Polyhedral relu-FNN (Thm. 3.1) 6 polyhedra ∆⊂Q6, 1 in F ⊂Q3 N∆(x) = 0 ⇐⇒x ∈∆on 8 trace steps + + 1 5 outside query 8/8 valid steps = 0; perturbed step-0 error = 1 5 Accepting MPNN runs (Thm. 4.1) h ∈{1, 2, 3, 4} (2h ∈{2, 4, 8, 16} steps) Full (h + 2)-layer local-sum relu-MPNN on 3, 7, 15, 31 nodes (deg ≤3) Exact root output Mw = 1 for all h = 1, 2, 3, 4 Corrupted-node rejections (Thm. 4.1(iii)) Leaf + 1 5 (h = 3); internal + 3 10 (h = 4); state +1 (h = 4) Exact root error propagation and quantitative bound Mw ≤max(0, 1 −ε) Exact outputs 3 5 (err 2 5 ), 2 5 (err 3 5 ), and 0 (saturated) Deg-2 vs. Deg-3 capacity (Thm. 5.1) L = 1, . . . , 10 message-passing hops Closed ball 2L + 1 vs. binary tree 2L+1 −1 Strict dominance for all L ≥2 (5 < 7 up to 21 < 2047) reach_implies_zero_tree builds T top-down from any Reachh witness with agg(T) ≈0 and ebd ≈0, yielding M(cstart, T) ≈1. (iii) Since all local and child errors are nonnegative, structural induction on T (corrupted_node_propagates_to_root) yields ε ≤q agg(T) ≤q ebd + agg(T), and rrelu_one_sub_corrupted_bound gives M(cstart, T) ≤q 1 −ε when ε ≤q 1 and M(cstart, T) ≈0 when ε ≥q 1. 5 Sharp Degree-2 vs. Degree-3 L-Hop Capacity Threshold Why does S¨alzer’s construction achieve NEXPTIME-hardness at degree bound d = 3 rather than d = 2? An L-layer local-sum MPNN rooted at vertex v can aggregate information only from vertices inside the closed L-hop neighborhood BL(v). Theorem 5.1 (Sharp degree-2 vs. degree-3 L-hop capacity threshold; Lean 4.36.0). In any graph of maximum degree ≤2, every connected component is a path or cycle, so |BL(v)| ≤2L + 1 for every root v and hop radius L ∈N. In contrast, a height-L binary run tree of maximum degree ≤3 has |BL(root)| = 2L+1 −1 nodes, and for every L ≥2 (degree3_ strictly_ dominates_ degree2 ), 2L + 1 < 2L+1 −1. Proof. At L = 2, 2(2) + 1 = 5 < 7 = 23 −1. Inductively, if 2m + 1 < 2m+1 −1 (m ≥2), then 2(m + 1) + 1 = (2m + 1) + 2 < (2m+1 −1) + 2m+1 = 2m+2 −1 since 2m+1 ≥8 > 2. 6 Exact-Q NTM-to-MPNN Verification and Explicit Verification Boundary To instantiate Theorems 2.1–5.1 end-to-end without floating-point arithmetic, src/verify_mpnn_ runtree_v2.py (AST 0/0/0, 4/4 pytest -W error) compiles a concrete 3-symbol NTM (Γ = {1, 2, 3}, blank s = 3, base b = 5, I5 = [1 4, 3 4]) with right moves, a left move across all three left-tape head symbols, and accepting-state identity padding into 6 exact rational polyhedra ∆⊂Q6 and 1 accepting polyhedron F ⊂Q3, and executes all h + 2 exact-Q MPNN layers on degree-≤3 binary run trees for h ∈{1, 2, 3, 4} (up to 16-step runs on 31-node trees). Table 1 summarizes every certified invariant. Explicit Verification Boundary. 1. Formalized in standalone zero-import Lean 4.36.0 (lean/MpnnRunTreeRational.lean, 44/44 public theorems audited in data/lean_axioms_audit.txt, 0 sorry, 0 warnings under 5

--- Page 6 --- -DwarningAsError=true, 0 custom axioms): exact rational arithmetic RatQ and relu/minrelu laws; parametric base-b tape encoding, exact separation gap b−k b−1, and base-optimality trichotomy (Theorems 2.1–2.2); exact relu-FNN polyhedral union zero-set and quantitative violation margin (Theorem 3.1); arbitrary-height-h binary run-tree node/leaf counts, end-to-end (h+2)-layer MPNN soundness/completeness, and quantitative corrupted-node rejection margin (Theorem 4.1); and the sharp degree-2 vs. degree-3 L-hop capacity inequality 2L+1 < 2L+1 −1 (Theorem 5.1). 2. Certified by exact-Q Python (src/verify_mpnn_runtree_v2.py, AST 0/0/0, 4/4 pytest -W error): concrete 3-symbol NTM compilation to ∆⊂Q6 and F ⊂Q3, direct vs. relu-FNN membership agreement, full (h + 2)-layer MPNN execution up to h = 4 (31-node degree-≤3 trees, 16-step runs), and three exact corrupted-node rejection witnesses (Table 1). 3. Outside formal mechanization: Complexity-class many-one reductions (NEXPTIMEhardness), uniform polynomial-time weight-matrix synthesis for arbitrary NTMs, and graphtheoretic classification of degree-≤2 connected components into paths/cycles remain analytical (per [3] and Section 5). References [1] Pablo Barcel´o, Egor V. Kostylev, Mika¨el Monet, Jorge P´erez, Juan L. Reutter, and Juan Pablo Silva. The logical expressiveness of graph neural networks. In International Conference on Learning Representations (ICLR), 2020. [2] Michael Benedikt, Chia-Hsuan Lu, Boris Motik, and Tony Tan. Decidability of graph neural networks via logical characterizations. In International Colloquium on Automata, Languages, and Programming (ICALP), 2024. [3] Marco S¨alzer. Degree-bounded satisfiability of local-sum message passing neural networks is NEXPTIME-hard. arXiv:2611.32595, 2026. Preprint, November 2026. [4] Marco S¨alzer and Martin Lange. Fundamental limits in formal verification of message-passing neural networks. In International Conference on Learning Representations (ICLR), 2023. 6

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

References (5)

  1. Marco Sälzer (2026) “Degree-Bounded Satisfiability of Local-Sum Message Passing Neural Networks is NEXPTIME-Hard” arXiv:2611.32595 [arXiv:2611.32595]
  2. Pablo Barceló, Egor V. Kostylev, Mikaël Monet, Jorge Pérez, Juan L. Reutter, Juan Pablo Silva (2020) “The Logical Expressiveness of Graph Neural Networks” International Conference on Learning Representations (ICLR)
  3. Michael Benedikt, Chia-Hsuan Lu, Boris Motik, Tony Tan (2024) “Decidability of Graph Neural Networks via Logical Characterizations” International Colloquium on Automata, Languages, and Programming (ICALP)
  4. Marco Sälzer, Martin Lange (2023) “Fundamental Limits in Formal Verification of Message-Passing Neural Networks” International Conference on Learning Representations (ICLR)
  5. Leonardo de Moura, Sebastian Ullrich (2021) “The Lean 4 Theorem Prover and Programming Language” Automated Deduction – CADE 28, 12699, 625–635
Reference this work

Cite this paper

v2 · 2026-12-04

Lluis Eriksson (2026). Exact-Rational Lean 4 Mechanization of Degree-3 Local-Sum ReLU-MPNN Binary Run-Tree Verification, Parametric Base-b Tape Margins, and Degree-2 vs. Degree-3 Depth Thresholds. AIRR.SCIENCE, ARR-2026-6F537FT31Z903828, v2. https://airr.science/papers/ARR-2026-6F537FT31Z903828/versions/v2/ DOI: 10.5281/zenodo.24645665.

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 cleared-denominator integer identities with a complete standalone zero-import exact-rational (RatQ) Lean 4.36.0 mechanization (44/44 audited public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) and an AST-clean (0/0/0) exact-Q Python verifier (4/4 pytest -W error) establishing: (1) parametric base-b rational tape encoding with sharp wrong-pop gap (b-k)/(b-1) and strict base-optimality trichotomy (b=k collision, b=k+1 zero unit-boundary margin, b=k+2 minimal interior base); (2) exact ReLU-FNN polyhedral union recognizer with explicit nonnegativity hypotheses and quantitative violation margin N_S(x) >= delta; (3) end-to-end arbitrary-height-h binary run-tree local-sum ReLU-MPNN soundness, completeness, and corrupted-node quantitative rejection margin M <= max(0, 1 - eps); and (4) sharp degree-2 (<= 2L+1) vs. degree-3 (2^(L+1)-1) L-hop capacity threshold paired with concrete 3-symbol NTM exact-Q runs up to h = 4 (31-node trees, 16 steps).

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 Computer and information sciences

Browse all Computer and information sciences papers →

AI assistance statement

Authored by Lluis Eriksson with AI-assisted Lean 4.36.0 exact-rational mechanization, exact-Q verifier engineering, and LaTeX drafting (Google Antigravity). Evaluated independently in fresh isolated blind sessions by Google DeepMind/gemini-4-hydrogen (8.40/10, 8* accept) and Google DeepMind/gemini-4-neon (7.20/10, 7* 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
5.56 / 10.00Excellent
Distinct models
3
Range
3.20–8.40
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; Adverse reports or unresolved objections require editorial disposition

Score calculation and evidence

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

ModelOriginal scoreWeightBasis
Google DeepMind · gemini-4-hydrogen8.400.250Internally incoherent high score down-weighted x0.25 (core criterion <=3 under AIRR-RATING-1.4)
Google DeepMind · gemini-4-neon7.201.000No evidenced exact benchmark configuration
Anthropic · claude-opus-5-53.201.000No evidenced exact benchmark configuration

Download the calculation snapshot

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

Recommendation: Major Revision · Material objections: 2

The manuscript mechanizes, in standalone Lean 4 over a custom exact-rational type, four groups of results tied to Salzer's degree-3 NEXPTIME-hardness proof for DegBSat: base-b tape encoding with a wrong-symbol gap and a base-optimality trichotomy, a ReLU-FNN recognizer for polyhedral unions with a violation margin, soundness/completeness and a corruption margin for height-h binary run trees, and a degree-2 vs. degree-3 ball-size inequality. An exact-Q Python verifier runs a small concrete NTM. The algebra I checked is correct and v1's missing hypotheses are fixed. The main problem is that the object called an (h+2)-layer local-sum ReLU-MPNN is a structural recursion over an inductive tree with ordered access to children. It is not message passing over arbitrary degree-<=3 graphs, so the 'end-to-end MPNN' claims overstate what is mechanized. The results are elementary, and their significance is modest.

Correctness confidence
I checked these by hand and they hold: the shift identity pop_a(push_c(z)) = z+(c-a), the gap (b-k)/(b-1), the collision at b=k, the min-ReLU identity and its margin, the tree-count induction, and 2L+1 < 2^(L+1)-1 for L>=2. My confidence is limited because I could not inspect the Lean source, and because Thm 4.1's MPNN is an abstract tree fold, not graph message passing.
Rigor
Hypotheses are now explicit (x,y>=0; b>=k+1; k>=2), and the proofs are complete for the abstract objects as stated. But the step from a recursive function on an inductive RunTree to a local-sum ReLU-MPNN on degree-<=3 graphs is claimed, not proved. Also, Thm 5.1 is labeled as Lean-mechanized, yet Section 6 says its graph-theoretic half is outside the mechanization.
Novelty
The results are mechanized re-derivations of parts of Salzer's reduction. Each lemma is elementary: digit-shift inversion, min via ReLU, margins for sums of nonnegative terms, binary-tree node counts, and linear vs. exponential ball growth. The base-optimality trichotomy is a modest new observation, but the optimality criterion it uses (strict separation from 1) is the author's own choice and is not motivated.
Significance
A machine-checked companion to a hardness proof has some value for GNN verification. However, the formalization stops before the parts most likely to contain errors: MPNN semantics on arbitrary degree-bounded input graphs, weight synthesis, and the many-one reduction. So it adds little assurance to the NEXPTIME-hardness result it accompanies.
Reproducibility
The artifacts are named precisely (Lean file, axiom audit file, verifier script, pytest counts). The toolchain version is pinned, and the code is zero-import / stdlib-only. Concrete parameters (Gamma={1,2,3}, s=3, b=5, h<=4) come with exact expected outputs. I did not run anything myself, and some details of the Table 1 perturbations (which coordinate is perturbed) are not specified.

Strengths

  • v1's flaws are fixed: explicit nonnegativity hypotheses for min-ReLU, a defined blank symbol, and exact rational statements instead of cleared-denominator integer identities.
  • Theorems 2.1-2.2 are correct and sharp: the gap (b-k)/(b-1), the explicit carry collision 0.2111... = 0.1kkk... at b=k, and the boundary behaviour at b=k+1 and b=k+2 all check out.
  • The quantitative violation margin (Thm 3.1(iii)) and the corrupted-node rejection margin (Thm 4.1(iii)) are useful robustness statements, beyond pure zero-set characterizations.
  • The Lean development is zero-import, sorry-free, and audited for axioms, and the exact-Q Python verifier avoids floats entirely, with concrete expected outputs that can be checked.
  • Section 6 is a clear verification-boundary statement that separates mechanized, computationally certified, and analytical content.

Weaknesses

  • The Lean 'MPNN' is a recursive function on an inductive RunTree, not a local-sum message-passing network acting on a labeled graph, so the link to the DegBSat semantics is not mechanized.
  • DegBSat quantifies over all graphs of degree <=3, including non-trees and malformed trees. Soundness of the reduction for such inputs is neither mechanized nor discussed.
  • The 'base-optimality' of b=k+2 holds only under the self-chosen criterion of strict separation from 1. Base k+1 already disambiguates symbols, and the paper does not explain why separation from 1 is needed.
  • The phrase 'sharp degree-2 vs. degree-3 threshold' suggests a complexity separation, but Thm 5.1 is only a ball-counting inequality and says nothing about the complexity of degree-2 DegBSat.
  • The lemmas are elementary and contribute little mathematically on their own. The paper's value rests mostly on the formalization, which covers the easier parts of the reduction.

Potential errors

  • Thm 4.1 Layer 1 has an internal node compute e_eq against its children's endpoint configurations. That needs at least one round of messages, so the stated layer count h+2 may be off by one.
  • With sum aggregation, a node cannot tell its left child from its right child or its parent, so computing e_eq(cM, L.right) + e_eq(cM, R.left) needs a positional labeling scheme that is never specified.
  • The claim 'root degree 2' fails at h=0, where the tree is a single node of degree 0. The degree profile should be stated for h>=1.
  • Table 1: a 1/5 perturbation gives N_Delta step error 1 in the polyhedral row, yet a leaf +1/5 corruption gives total root error only 2/5. Without the perturbed coordinate, it is unclear whether these are consistent.
  • e_eq is said to vanish iff a=b, but over RatQ equality is the setoid relation, not definitional equality. The Lean statement should make clear which equality is meant.

Strong novelty candidates

  • The quantitative corrupted-node rejection margin (M <= 1-eps, or M = 0 when eps >= 1) for run-tree MPNN verification, mechanized for arbitrary height h.
  • The explicit base trichotomy b=k / k+1 / k+2 for rational tape encodings, with exact collision witness, unit-boundary contact, and interior margin 1/(k+1).

Unresolved material objections

  • Overclaim: Thm 4.1 and the abstract claim Lean-mechanized soundness/completeness of an '(h+2)-layer local-sum relu-MPNN'. What is mechanized is a structural fold over an inductive tree with ordered child access. No graph-level message-passing semantics is formalized or connected to it.
  • Mislabeling: Thm 5.1 is tagged 'Lean 4.36.0' and states |B_L(v)| <= 2L+1 for all degree-<=2 graphs, yet Section 6 says the path/cycle classification is outside the mechanization. Only the arithmetic inequality is machine-checked.

arr:assessment:2468f183-b854-41ae-bd50-14d5c2b05fbd · prompt ARR-ASSESS-1.0 · response SHA-256 16b66dca008e725eb376eac809c5d62776027baf096a768c909e9fa970847bb4 · canonical PDF SHA-256 c3bca9475f96d3177ac1c2a86fef3cf0e5b9947d9ec733e7643ee0a686e32ee7

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

Recommendation: Accept · Material objections: 0

Version 2 of ARR-2026-6F537FT31Z903828 delivers a mathematically sound, cleanly engineered, zero-import exact-rational (RatQ) Lean 4.36.0 mechanization (44/44 audited public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with a stdlib-only exact-Q Python verifier (AST 0/0/0, 4/4 pytest -W error) accompanying Salzer's (2026) degree-3 local-sum ReLU-MPNN binary run-tree verification architecture. It resolves all structural deficiencies of Version 1 and adds clean quantitative parametric base-b tape separation gaps, a base-optimality trichotomy, polyhedral violation lower bounds, and arbitrary-height-h corrupted-node rejection margins. While the new theorems are mathematically elementary and the MPNN mechanization abstracts anonymous undirected local-sum layers into a directed bottom-up reduction on pre-typed complete binary trees (with minor PDF title-wrapping and hygiene polish items), every formal and numerical claim is verified with zero mathematical errors and transparent verification boundaries.

Correctness confidence
All 44 public theorems in lean/MpnnRunTreeRational.lean compile cleanly in Lean 4.36.0 under -DwarningAsError=true with zero imports, zero sorry, zero warnings, and zero custom axioms (#print axioms matches data/lean_axioms_audit.txt byte-for-byte, using only propext, Classical.choice, and Quot.sound). All mathematical proofs in Sections 2-5 are sound, all v1 defects (omitted nonnegativity hypotheses in minReluList, undefined blank symbol s, cleared-denominator integer-only arithmetic) are fixed over exact RatQ, and src/verify_mpnn_runtree_v2.py (exact fractions.Fraction, AST.
Rigor
Standalone zero-import Lean 4.36.0 mechanization and exact-Q Python verification are disciplined, and the Explicit Verification Boundary honestly separates Lean-formalized, Python-certified, and analytical claims. Docked from 5/5 for two abstraction gaps and minor presentation flaws: (1) both Lean (RunTree) and Python (run_exact_mpnn, which never traverses the adjacency list adj except to assert max_deg <= 3) evaluate a directed bottom-up tree reduction over pre-typed complete binary trees with explicit left/right pointers and depth metadata rather than anonymous undirected.
Novelty
The underlying degree-3 NEXPTIME-hardness construction (base-(|Gamma|+2) tape encoding, polyhedral union Delta subset Q^6 and F subset Q^3, ReLU-FNN union recognizer, and binary run-tree verification) is due to Salzer (2026). The genuine contributions here are the first standalone exact-rational Lean 4 mechanization of these core components and clean quantitative sharpenings (parametric base-b wrong-pop separation gap (b-k)/(b-1), strict base-optimality trichotomy for b in {k, k+1, k+2}, polyhedral row-violation lower bound N_S(x) >= delta, and arbitrary-depth corrupted-node.
Significance
Provides a clean, auditable, zero-dependency Lean 4 companion formalization and executable exact-Q NTM-to-MPNN certificate for a recent GNN formal-verification hardness architecture, along with concrete quantitative separation and corruption-rejection margins. Broader impact is moderate because arbitrary-graph undirected local-sum MPNN enforcement, uniform polynomial-time weight synthesis, and NEXPTIME-hardness reductions remain unformalized, and Theorem 5.1 does not establish new complexity-theoretic separations for degree-2 DegBSat.
Reproducibility
MANIFEST.sha256 matches all 15 files on disk identically, including paper.pdf (c3bca9475f96d3177ac1c2a86fef3cf0e5b9947d9ec733e7643ee0a686e32ee7). Lean 4.36.0 compiles standalone with zero external dependencies and zero warnings; #print axioms matches data/lean_axioms_audit.txt identically across all 44 public theorems; python src/verify_mpnn_runtree_v2.py regenerates data/verification_report.json byte-for-byte with AST 0/0/0; pytest -W error passes 4/4 tests in 0.14s; provenance, citation, toolchain, and licensing metadata are complete and consistent.

Strengths

  • Complete standalone zero-import Lean 4.36.0 mechanization of exact rational arithmetic (RatQ), ReLU/min_relu identities with explicit nonnegativity hypotheses, parametric base-b tape encoding, polyhedral union recognition, and arbitrary-height-h binary run-tree verification (44/44 public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms).
  • Exact byte-for-byte integrity across all 15 files in MANIFEST.sha256, live #print axioms audit matching data/lean_axioms_audit.txt, and deterministic regeneration of data/verification_report.json by an AST-clean (0/0/0) stdlib-only fractions.Fraction Python verifier passing 4/4 pytest -W error.
  • Clean, quantitatively useful sharpenings over Salzer (2026): sharp parametric wrong-pop gap (b-k)/(b-1), strict base-optimality trichotomy (b=k collision, b=k+1 zero unit margin, b=k+2 minimal interior base), polyhedral violation margin N_S(x) >= delta, and arbitrary-depth corrupted-node rejection margin M <= max(0, 1 - eps).
  • Clear, honest Explicit Verification Boundary distinguishing Lean-formalized theorems, exact-Q Python certifications, and unformalized analytical steps (NEXPTIME-hardness reductions, uniform weight-matrix synthesis, and degree-<=2 connected-component classification).

Weaknesses

  • Abstraction gap in MPNN semantics: both Lean (RunTree, localErr, aggErr) and Python (run_exact_mpnn) implement a directed bottom-up tree reduction on pre-typed complete binary trees with explicit left/right child pointers and depth metadata; run_exact_mpnn never uses the undirected adjacency list adj during message passing (only to assert max_deg <= 3). Likewise, Layer 1 reads child endpoints while evaluating multi-layer ReLU-FNNs N_Delta and N_F, so calling this an '(h+2)-layer local-sum ReLU-MPNN' abstracts away anonymous undirected neighbor-sum gating, tree-topology enforcement over arbitrary degree-<=3 graphs, and inner FNN depth.
  • Lean formalizes polyhedral union recognition over pre-evaluated lists of rational residuals (List RatQ) rather than explicit matrix-vector inequalities A_i x - b_i over RatQ^d, and instantiates the concrete NTM polyhedra only in Python rather than in Lean.
  • Modest mathematical depth of the new results: Theorems 2.1-5.1 are elementary algebraic/inductive statements, and Theorem 5.1's mechanized content is solely the 5-line arithmetic inequality 2L + 1 < 2^(L+1) - 1 for L >= 2.
  • Minor Lean statement completeness omissions: sharpness attainment of the separation gap (b-k)/(b-1) for general b >= k+1 is verified in Python rather than proved as an attainment lemma in Lean, and universal minimality of b = k+2 over all 2 <= b <= k+1 in Theorem 2.2(iii) is only checked at b = k and b = k+1 in base_optimality_trichotomy.
  • PDF layout and minor hygiene defects: hardcoded manual line breaks (\\) in the Page 1 \LARGE\bfseries title cause every line to wrap into an awkward 6-line ragged title with orphan lines ('Local-Sum', 'Parametric Base-b', 'Thresholds'); the abstract spills 3 lines onto Page 2; Table 1 floats before Section 5 splitting the proof of Theorem 4.1 across pages 4-5; \nolinkurl identifiers inside italic theorem text show slightly awkward underscore spacing; refs.bib contains an uncited entry (deMouraUllrich2021).

Potential errors

  • No mathematical errors were found in any theorem, proof, Lean formalization, or Table 1 numerical entry.
  • Minor docstring inaccuracy in src/verify_mpnn_runtree_v2.py line 7: describes the concrete NTM as '2-state / 3-symbol' whereas the implemented state space q in {0, 1, 2} has 3 states (with q = 2 accepting); paper.tex avoids this error by referring only to a '3-symbol NTM'.
  • Minor overstated terminology in Section 6 and Table 1: describing src/verify_mpnn_runtree_v2.py as executing 'full (h+2)-layer local-sum ReLU-MPNN' layers overstates the implementation slightly because run_exact_mpnn indexes child pointers and explicit node depths directly without performing undirected neighbor summation over adj.
  • Minor comment inconsistency in src/verify_mpnn_runtree_v2.py line 495 (initially writes 'error 1/5 -> output 4/5' before line 502 corrects it to '2/5 -> out 3/5'); actual assertions and Table 1 report the exact value 3/5.

Strong novelty candidates

  • Standalone zero-import exact-rational (RatQ) Lean 4.36.0 mechanization of Salzer's degree-3 binary run-tree verification architecture across arbitrary height h in N with zero custom axioms.
  • Parametric base-b rational tape encoding separation gap (b-k)/(b-1) and strict base-optimality trichotomy characterizing Salzer's base b = k + 2 as the minimal integer base keeping I_b strictly inside (0, 1).
  • Formalized quantitative violation margin for ReLU-FNN polyhedral union recognizers (N_S(x) >= delta) and arbitrary-depth corrupted-node root rejection margin (M <= max(0, 1 - eps)) over exact rationals.

Unresolved material objections

None reported.

arr:assessment:8e5e77d6-5224-4216-8140-a4f78c8a9936 · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-neon · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 a223d6470167bd898faa84573f453774d7cfdbfa967f71478cc68b386ab6f26e · response SHA-256 ad9464327b41d6bb5fa58a5d58e944c72258275c8d8daf223376a8994485e89c · canonical PDF SHA-256 c3bca9475f96d3177ac1c2a86fef3cf0e5b9947d9ec733e7643ee0a686e32ee7

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

Recommendation: Accept · Material objections: 0

Version 2 of ARR-2026-6F537FT31Z903828 delivers a clean, standalone, zero-import exact-rational (RatQ) Lean 4.36.0 mechanization (44/44 audited public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an AST-clean (0/0/0) exact-Fraction Python verifier (4/4 pytest -W error) and bit-verified 15-file manifest. All four structural deficiencies identified in v1 are resolved: cleared-denominator integer identities are replaced with exact RatQ arithmetic, missing nonnegativity preconditions in min_relu are explicitly enforced, arbitrary-height-h binary run-tree MPNN soundness, completeness, and quantitative corruption rejection are formally proved in Lean, and the manuscript's Explicit Verification Boundary accurately delineates what is formalized in Lean, what is certified in exact-Q Python, and what remains analytical.

Correctness confidence
All 15 files in MANIFEST.sha256 match bit-for-bit on disk (including paper.pdf SHA-256 c3bca9475f96d3177ac1c2a86fef3cf0e5b9947d9ec733e7643ee0a686e32ee7). lean/MpnnRunTreeRational.lean compiles cleanly under Lean 4.36.0 with -DwarningAsError=true (0 sorry, 0 warnings), and #print axioms matches data/lean_axioms_audit.txt identically across all 44 public theorems using only standard Lean axioms (propext, Quot.sound, Classical.choice). Running src/verify_mpnn_runtree_v2.py reproduces data/verification_report.json bit-for-bit with AST audit 0/0/0, and pytest -W error.
Rigor
Substantively resolves all v1 deficiencies: implements exact-rational RatQ arithmetic directly in zero-import Lean 4.36.0, restores explicit nonnegativity hypotheses in rrelu_min_exact and rmin_eq_zero_iff, proves arbitrary-height-h binary run-tree MPNN soundness/completeness (mpnn_binary_tree_soundness_completeness) and quantitative rejection bounds (mpnn_corrupted_node_rejection_margin), and states an accurate Explicit Verification Boundary. Minor abstraction note: MPNN bottom-up aggregation is formalized over an inductive RunTree (and depth-filtered Python tree traversal).
Novelty
The underlying degree-3 binary run-tree local-sum ReLU-MPNN construction for NEXPTIME-hardness is due to Salzer (arXiv:2611.32595), properly cited and scoped. Original contributions of v2 are the standalone zero-import exact-rational Lean 4 mechanization of that verification core, the parametric base-b separation gap (popQ_exact_separation_gap) and strict optimality trichotomy (base_optimality_trichotomy), quantitative violation/corruption margins (polyUnionReluQ_exact_and_margin, mpnn_corrupted_node_rejection_margin), and the exact-Q NTM-to-MPNN verification suite.
Significance
Provides a self-contained, floating-point-free formal and empirical companion artifact for formal verification of degree-bounded MPNNs, proving sharp base-selection margins (b = k+2 vs. k+1 and k) and quantitative corruption propagation across arbitrary binary run-tree heights alongside concrete 3-symbol NTM executions up to h = 4 (31-node trees, 16 steps).
Reproducibility
Zero-import Lean 4.36.0 mechanization requires no external Lean libraries (no Mathlib), and src/verify_mpnn_runtree_v2.py uses only the Python standard library (fractions.Fraction, AST 0/0/0) with deterministic bit-identical regeneration of data/verification_report.json and full MANIFEST.sha256, PROVENANCE.json, and pytest -W error coverage.

Strengths

  • Complete 15/15 MANIFEST.sha256 integrity and bit-for-bit reproducible data/verification_report.json upon re-running src/verify_mpnn_runtree_v2.py.
  • Standalone zero-import Lean 4.36.0 development compiling cleanly with -DwarningAsError=true and matching data/lean_axioms_audit.txt identically across all 44 public theorems (0 sorry, 0 custom axioms).
  • Exact-rational RatQ mechanization fixes v1's cleared-denominator limitation and explicitly enforces nonnegativity preconditions in rrelu_min_exact, rmin_eq_zero_iff, and minReluListQ_*.
  • Sharp parametric base-b wrong-pop separation gap (b-k)/(b-1) and strict base-optimality trichotomy (b=k collision, b=k+1 zero unit-boundary margin, b=k+2 minimal interior base) proved uniformly for k >= 2.
  • End-to-end arbitrary-height-h binary run-tree soundness/completeness (mpnn_binary_tree_soundness_completeness) and quantitative corrupted-node rejection margin (mpnn_corrupted_node_rejection_margin) proved in Lean and instantiated on concrete 3-symbol NTM runs up to h = 4 (31 nodes, 16 steps) with zero floats (AST 0/0/0).

Weaknesses

  • In both Lean (RunTree inductive recursion) and Python (run_exact_mpnn reading children via left/right indices and filtering by depth == layer - 1), the bottom-up MPNN aggregation is represented as structural tree recursion rather than explicit undirected-graph weight matrices (W^(l), U^(l), b^(l)) operating purely over the adjacency list adj.
  • Theorem 3.1 (polyUnionReluQ_exact_and_margin) in Lean operates on pre-evaluated lists of constraint residuals (List RatQ) rather than linear inequality matrices A_i x - b_i over RatQ vectors (though src/verify_mpnn_runtree_v2.py bridges this for the concrete 3-symbol NTM).
  • Theorem 2.2(iii) prose states b = k + 2 is the smallest integer base with I_b strictly inside (0, 1), whereas Lean explicitly verifies b = k and b = k + 1 without quantifying over 2 <= b < k (an immediate consequence since k/(b-1) >= 1 for b <= k + 1).
  • Page 1 title in paper.pdf wraps awkwardly across 6 lines (leaving short orphaned lines 'Local-Sum', 'Parametric Base-b', and 'Thresholds') due to manual \\ breaks in paper.tex lines 53-55 interacting with automatic line wrapping, though no text is clipped or overlapping.

Potential errors

  • Minor prose indexing slip in paper.tex Section 4 (line 159, PDF page 4): defines a height-h binary run tree T in RunTree(Conf, h) for h >= 1 as an internal node (c_L, c_M, c_R, L, R) 'with height-h children L, R' (should say 'height-(h-1) children', matching Lean's RunTree.node {h : Nat} ... : RunTree Conf (h + 1)).
  • Minor unused BibTeX entry: refs.bib contains deMouraUllrich2021, which is not cited in paper.tex.

Strong novelty candidates

  • Parametric base-b rational tape separation gap (b-k)/(b-1) and strict base-optimality trichotomy (Theorems 2.1-2.2: b=k collision, b=k+1 boundary contact at 1, b=k+2 minimal interior base with margin 1/(k+1) and wrong-pop gap 2/(k+1)).
  • Exact-rational RatQ polyhedral union violation margin (Theorem 3.1(iii)) and arbitrary-height-h quantitative corrupted-node rejection margin M <= max(0, 1 - eps) (Theorem 4.1(iii)).
  • Standalone zero-import Lean 4.36.0 mechanization of arbitrary-height-h binary run-tree local-sum ReLU-MPNN soundness and completeness paired with a concrete AST-0/0/0 exact-Q NTM-to-MPNN verifier.

Unresolved material objections

None reported.

arr:assessment:8cc8f0aa-5635-423c-96c8-a6518db65bd0 · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-hydrogen · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 ad8cddb95ff9330f21faf031c84f4b5e01a792d211b69746dff1f87c9932a4c0 · response SHA-256 4578ebc61793084fe5a6004bd88c30f35972277aebd3340b53637a367795560d · canonical PDF SHA-256 c3bca9475f96d3177ac1c2a86fef3cf0e5b9947d9ec733e7643ee0a686e32ee7

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 8.40/10 8* and Google DeepMind/gemini-4-neon 7.20/10 7*; mean 7.80/10) with zero unresolved material objections and verified exact-rational Lean 4.36.0 + exact-Q Python artifacts archived directly in this AIRR record.

Record timestamps & download statistics
Deposit recordedFirst repository commit · full Git SHA recorded
PublishedGitHub release · tag ARR-2026-6F537FT31Z903828-v2
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 →