Research paperScreenedARR-2026-01PYB3Q92196PV85 · v2 · 2026-12-04

Standalone Lean 4 Mechanization of Kelly's Edge Lemma, Lovasz's 1972 Edge Reconstruction Theorem, Formal n=4 Threshold Sharpness, and Exact Prime Legendre Valuation

Lluis Eriksson

Admitted after checks by named AI models and editor approval. Not peer reviewed. Screening record

Abstract

We present a complete, standalone, zero-dependency Lean 4.36.0 mechanization (EdgeReconV2.lean, 2,200 lines, zero Mathlib imports, compiled with -DwarningAsError=true, zero sorry, zero native_decide, and zero custom axioms) of the foundational combinatorial theorems of graph edge reconstruction together with repaired arithmetic and degree-excess kernels. This major revision (v2) completely replaces v1's decoupled arithmetic fragments with real finite simple graphs (SimpleGraph n), real symmetric-group permutations (Perm n with duplicate-free complete enumeration allPerms n of S_n), real edge-decks (EdgeDeckIso), and complete machine-checked proofs across four pillars: (1) complement edge-count identity 2(|E(G)| + |E(Gbar)|) = n(n-1), single-edge deletion, and embedding-to-isomorphism rigidity at equal edge counts; (2) isomorphism invariance of embedding counts and Kelly's Edge-Reconstruction Lemma ((|E(G)| - |E(F)|) emb(F, G) = sum_{e in E(G)} emb(F, G - e)), proving that the edge-deck D_E(G) uniquely determines emb(F, G) for every proper subgraph F with |E(F)| < |E(G)|; (3) pointwise and global alternating inclusion-exclusion over all 2^{|E(X)|} edge subsets, edge-deck difference cancellation, Lovasz's 1972 Edge Reconstruction Theorem (4|E(G)| > n(n-1) and D_E(G) ~= D_E(H) => G ~= H), and a constructive proof of threshold sharpness at n=4, m=3 via K_{1,3} !~= K_3 + K_1 with identical edge-decks at 4m = 12 = n(n-1); and (4) exact prime Legendre p-adic factorial valuation nu_p(R!) = sum_{j=1}^s floor(R/p^j) (with repaired explicit hypotheses IsPrime p and R < p^s), graph-level Handshaking and high-degree excess over H_{>= Delta}, and cross-multiplied scaled density closure eliminating v1's vacuous floor division. AuditAxioms.lean verifies all 20 primary theorems (12 strictly in {propext, Quot.sound}; 8 adding only Classical.choice), paired with an AST-audited zero-float Python certifier (2,720 AST nodes, 0 violations) and a 6/6 passing adversarial red-team suite.

Readable overview

Structure & key results

Extracted for web & scholarly indexing

Manuscript structure

  1. Introduction, Resolution of v1 Defects, and Epistemic Scope
  2. Pillars 1–2: Finite Simple Graphs, S_n, Edge-Decks, and Kelly's Edge Lemma
  3. Pillar 3: Lovász's 1972 Edge Reconstruction Theorem and Formal n=4 Sharpness
  4. Pillar 4: Exact Prime Legendre Valuation, Degree-Excess, and Scaled Closure
  5. Mechanization Audit, Zero-Float Verification, and Red-Team Suite
  6. Licensing, Provenance, and AI Assistance Disclosure

Selected results from the manuscript source

Theorem 1 — Canonical Pair Count, Complement Identity, and Edge Deletion

Lean 4: length_allPairs, edgeCount_add_compl, edgeCount_delEdge. For every n ∈ N and G: SimpleGraph n: · 2 · |allPairs n| = n(n - 1); · 2 · (|E(G)| + |E(G)|) = n(n - 1); · If G.adj a b = true, then |E(delEdge G a b)| + 1 = |E(G)|.

Theorem 2 — Complete S_n Enumeration, Embedding Rigidity, and Counting Bounds

Lean 4: mem_allPerms, nodup_allPerms, subgraphEmb_eq_edgeCount_implies_iso, embCount_pos_self_and_zero_of_more_edges. For every n ∈ N and F, G, H: SimpleGraph n: · allPerms n is duplicate-free and contains every π: Perm n. · If IsSubgraphEmb G H π = true and |E(G)| = |E(H)|, then IsGraphIso G H π = true. · emb(G, G) ≥ 1 (witnessed by id_n ∈ S_n), and whenever |E(G)| < |E(F)|, emb(F, G) = 0.

Theorem 3 — Isomorphism Invariance and Kelly's Edge-Reconstruction Lemma

Lean 4: embCount_iso_invariant, kelly_edge_lemma, kelly_edge_deck_determines_proper_subgraphs. For every n ∈ N and F, G, H: SimpleGraph n: · If G₁ ≅ G₂, then emb(F, G₁) = emb(F, G₂). · Kelly's Edge Lemma: If |E(F)| ≤ |E(G)|, then (|E(G)| - |E(F)|) · emb(F, G) = ∑_(e ∈ E(G)) emb(F, G - e). · Edge-deck determination: If EdgeDeckIso G H and |E(F)| < |E(G)|, then emb(F, G) = emb(F, H).

Theorem 4 — Pointwise and Global Lovász Alternating Inclusion–Exclusion

Lean 4: lovasz_inclusion_exclusion_perm, lovasz_inclusion_exclusion_global. For every n ∈ N and X, G: SimpleGraph n: · For every π ∈ S_n and every non-diagonal edge list E, 1_(π(E) ⊆ E(G)) = ∑_(S ⊆ E) (-1)^(|S|) 1_(π(S) ⊆ E(G)) in Z. · Summing over all π ∈ S_n gives the exact complement-embedding identity: emb(X, G) = ∑_(S ⊆ E(X)) (-1)^(|S|) emb(graphOfEdges S, G) in Z.

Theorem 5 — Lovász Edge-Deck Difference Cancellation

Lean 4: lovasz_edge_deck_difference_identity. If EdgeDeckIso G H and |E(X)| = |E(G)|, then emb(X, G) - emb(X, H) = (-1)^(|E(X)|) (emb(X, G) - emb(X, H)) in Z.

Theorem 6 — Lovász's 1972 Edge Reconstruction Theorem

Lean 4: lovasz_edge_reconstruction_theorem. For every n ∈ N and every pair of graphs G, H: SimpleGraph n, if EdgeDeckIso G H and n(n - 1) < 4|E(G)| (equivalently |E(G)| > ½C(n,2)), then there exists π ∈ S_n with IsGraphIso G H π = true.

Key contributions noted in exact-version screening

  • Complete standalone zero-Mathlib Lean 4.36.0 formalization (2,200 lines) with real SimpleGraph n, duplicate-free S_n enumeration (allPerms n), EdgeDeckIso, Kelly's Edge Lemma, full alternating inclusion-exclusion over 2^{|E(X)|} subsets, and Lovász's 1972 theorem.
  • Formal constructive sharpness witness at n=4, m=3 (K_{1,3} vs K_3 + K_1) verifying identical edge-decks, 4m = n(n-1), and non-isomorphism across all S_4.
  • Clean and complete resolution of all v1 defects: universal vs prime exact Legendre valuation (IsPrime p and R < p^s), graph-level Handshaking and H_{>= Delta} excess, and cross-multiplied scaled density closure eliminating vacuous floor division.

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,813 words — searchable plain text)

--- Page 1 --- Standalone Lean 4 Mechanization of Kelly’s Edge Lemma, Lovász’s 1972 Edge Reconstruction Theorem, Formal n = 4 Threshold Sharpness, and Exact Prime Legendre Valuation Major Revision (v2) of ARR-2026-01PYB3Q92196PV85 Lluis Eriksson Independent Researcher, Östersund, Sweden editor@airr.science December 4, 2026 Abstract We present a complete, standalone, zero-dependency Lean 4.36.0 mechanization (EdgeReconV2.lean, 2,200 lines, zero Mathlib imports, compiled with -DwarningAsError=true, zero sorry, zero native_decide, and zero custom axioms) of the foundational combinatorial theorems of graph edge reconstruction together with repaired arithmetic and degree-excess kernels. This major revision (v2) completely replaces v1’s decoupled arithmetic fragments with real finite simple graphs (SimpleGraph n), real symmetric-group permutations (Perm n with duplicate-free complete enumeration allPerms n of Sn), real edge-decks (EdgeDeckIso), and complete machine-checked proofs across four pillars: (1) complement edge-count identity 2(|E(G)| + |E(G)|) = n(n −1), single-edge deletion, and embedding-to-isomorphism rigidity at equal edge counts; (2) isomorphism invariance of embedding counts and Kelly’s Edge-Reconstruction Lemma (|E(G)| −|E(F)|) emb(F, G) = ∑ e∈E(G) emb(F, G −e), proving that the edge-deck DE(G) uniquely determines emb(F, G) for every proper subgraph F with |E(F)| < |E(G)|; (3) pointwise and global alternating inclusion–exclusion over all 2|E(X)| edge subsets, edge-deck difference cancellation, Lovász’s 1972 Edge Reconstruction Theorem (4|E(G)| > n(n −1) ∧DE(G) ∼= DE(H) =⇒G ∼= H), and a constructive proof of threshold sharpness at n = 4, m = 3 via K1,3̸ ∼= K3⊔K1 with identical edge-decks at 4m = 12 = n(n−1); and (4) exact prime Legendre p-adic factorial valuation νp(R!) = ∑s j=1⌊R/pj⌋(with repaired explicit hypotheses IsPrime p and R < ps), graph-level Handshaking and high-degree excess over H≥∆, and cross-multiplied scaled density closure eliminating v1’s vacuous floor division. AuditAxioms.lean verifies all 20 primary theorems (12 strictly in {propext, Quot.sound}; 8 adding only Classical.choice), paired with an AST-audited zero-float Python certifier (2,720 AST nodes, 0 violations) and a 6/6 passing adversarial red-team suite. Subjects: Mathematics; Computer and information sciences. Companion repository (MIT, tagged v1.0.0): https://github.com/lluiseriksson/edge-reconstruction-certificates-v2 1 Introduction, Resolution of v1 Defects, and Epistemic Scope Harary’s Edge Reconstruction Conjecture (1964) asserts that every finite simple graph G on n vertices with m = |E(G)| ≥4 edges is uniquely determined up to isomorphism by its multiset of single-edge-deleted cards DE(G) = {G −e : e ∈E(G)}. Two classical pillars anchor the entire theory: Kelly’s Edge Lemma [1] (showing that DE(G) determines the number of embeddings 1 AIRR.SCIENCE · ARR-2026-01PYB3Q92196PV85 v2 [Mathematics] 4 Dec 2026

--- Page 2 --of every graph F with |E(F)| < |E(G)|) and Lovász’s 1972 Edge Reconstruction Theorem [2] (proving via alternating inclusion–exclusion over edge subsets that every graph with m > 1 2 (n 2 ) is edge-reconstructible, a bound that is strictly sharp at n = 4, m = 3 because K1,3 and K3 ⊔K1 share identical edge-decks). Later work by Müller [3] lowered the sufficient density to m > n log2 n, and recent linear-density approaches combine graph degree-excess decompositions, padic Legendre factorial bounds, and multi-term error closures. 1.1 Complete Resolution of v1 Structural Defects Version 1 of ARR-2026-01PYB3Q92196PV85 was downgraded during calibrated screening because its Lean artifact formalized only 18 decoupled integer/list inequalities without real graphs, permutations, or edge-decks, while exhibiting three concrete technical errors: (i) Proposition 1 conflated the truncated Legendre sum ∑s j=1⌊R/pj⌋(valid as an upper bound for all p ≥2) with exact νp(R!) without requiring primality and ps > R; (ii) Table 1 #18 wrote S1, E3, W < m/1034 without specifying numeric type (vacuously false in N floor division at m = 4000) and mixed 10−34 with 10−59; and (iii) C14 mismatched degree-excess indexing over H5 vs. Hk−1 and referenced undefined external operators Hw(P), γhi. Table 1 summarizes how v2 completely resolves every defect using Lean 4 [4]. Table 1: Exact defect-by-defect resolution from v1 to v2 of ARR-2026-01PYB3Q92196PV85. v1 Defect Root Cause in v1 Complete Resolution in v2 No real graphs, Sn, or edge-decks in Lean Only 18 decoupled arithmetic/list fragments Real SimpleGraph n, Perm n, allPerms n, EdgeDeckIso, Kelly’s Lemma, and full Lovász 1972 Theorem + n = 4 sharpness (Thms. 2.1–3.4) Proposition 1 conflated truncated Legendre sum with νp(R!) Omitted primality and ps > R hypotheses Clean split: universal bound (p −1)L(p, s, R) ≤R for all p ≥2 (Thm. 4.1) vs. exact νp(R!) = L(p, s, R) for IsPrime p and R < ps (Thm. 4.2) Vacuous m/1034 floor division in Table 1 #18 Unspecified numeric type; 4000/1034 = 0 in N Exact cross-multiplied scaled closure BS1, BE3, BW < m =⇒B(S1 + E3 + W) < 3m and S1 + E3 + W < m for every B ≥3 (Thm. 4.3) C14 degree-excess index mismatch Abstract sum without graph vertices Graph-level Handshaking and unified excess over H≥∆= {u : degG(u) ≥∆} for all ∆≥1 (Thm. 4.3) Undefined external operators (Hw, γhi) Relied on unprinted external monograph Self-contained PDF with complete proofs of all 20 audited Lean theorems, 2,720-node zero-float verifier, and 6/6 red-team suite 1.2 Explicit Epistemic Scope Boundary To ensure strict epistemic precision: 1. 100% machine-checked in Lean 4.36.0 (EdgeReconV2.lean, 2,200 lines, 20 audited theorems, zero sorry, zero custom axioms): Real finite simple graphs, complement edge-count identity, edge deletion, complete duplicate-free symmetric group Sn enumeration, embedding-to-isomorphism rigidity, isomorphism invariance, Kelly’s Edge Lemma, edgedeck determination of proper subgraphs, pointwise and global Lovász alternating inclusion– exclusion over all 2|E(X)| subsets, Lovász’s 1972 Edge Reconstruction Theorem (4|E(G)| > n(n −1) =⇒G ∼= H), formal sharpness at n = 4, m = 3 (K1,3̸ ∼= K3 ⊔K1), universal truncated Legendre upper bound, prime multiplicativity of νp, exact prime Legendre factorial valuation (R < ps), graph-level Handshaking and high-degree excess over H≥∆, and exact cross-multiplied scaled density closure. 2

--- Page 3 --- 2. Explicitly outside formal scope: This paper does not formalize Müller’s m > n log2 n theorem, linear-density (m ≥1000n) analytic van der Corput / Charlier / Lie-commutator edge reconstruction arguments, or Kruskal MST / bridge-restriction group decompositions; rather, it provides a self-contained, zero-dependency Lean 4 formalization of the classical Kelly–Lovász edge-reconstruction core together with exact repaired p-adic Legendre and degree-excess kernels. 2 Pillars 1–2: Finite Simple Graphs, Sn, Edge-Decks, and Kelly’s Edge Lemma A finite simple undirected graph on vertex set Fin n is modeled by SimpleGraph n (symmetric, loopless Boolean adjacency adj). Let allPairs n enumerate all canonical ordered pairs (u, v) with u < v, let graphEdgeList G := (allPairs n).filter (G.adj), and let |E(G)| = graphEdgeCount G. The complement G = complGraph G has G.adj u v = (u̸ = v) ∧¬G.adj u v, and delEdge G a b deletes the single undirected edge {a, b}. Theorem 2.1 (Canonical Pair Count, Complement Identity, and Edge Deletion). Lean 4: length_allPairs, edgeCount_add_compl, edgeCount_delEdge. For every n ∈N and G : SimpleGraph n: 1. 2 · |allPairs n| = n(n −1); 2. 2 · (|E(G)| + |E(G)|) = n(n −1); 3. If G.adj a b = true, then |E(delEdge G a b)| + 1 = |E(G)|. Proof. For (1), each u ∈Fin n contributes n −1 −u pairs (u, v) with u < v, and induction gives 2 ∑n−1 u=0(n −1 −u) = n(n −1). For (2), every pair (u, v) ∈allPairs n has u̸ = v and therefore belongs to exactly one of E(G) or E(G). For (3), deleting {a, b} removes the unique canonical pair (min(a, b), max(a, b)) from the duplicate-free list graphEdgeList G, reducing its length by 1. We represent permutations π ∈Sn as bijections Perm n with explicit inverse (fwd, inv, left_inv, right_inv) and construct allPerms n inductively by extending each (k, σ) ∈Fin(n+ 1) × Sn via extendPerm k σ (mapping n 7→k and i < n to skipFin k (σ(i))). A permutation π is a subgraph embedding of F into G (IsSubgraphEmb F G π) if F.adj u v = true =⇒ G.adj (π(u)) (π(v)) = true, and a graph isomorphism (IsGraphIso G H π) if both π embeds G into H and π−1 embeds H into G. Let emb(F, G) := embCount F G := |{π ∈allPerms n : IsSubgraphEmb F G π = true}|. Theorem 2.2 (Complete Sn Enumeration, Embedding Rigidity, and Counting Bounds). Lean 4: mem_allPerms, nodup_allPerms, subgraphEmb_eq_edgeCount_implies_iso, embCount_pos_self_and_zero_of_more_edges. For every n ∈N and F, G, H : SimpleGraph n: 1. allPerms n is duplicate-free and contains every π : Perm n. 2. If IsSubgraphEmb G H π = true and |E(G)| = |E(H)|, then IsGraphIso G H π = true. 3. emb(G, G) ≥1 (witnessed by idn ∈Sn), and whenever |E(G)| < |E(F)|, emb(F, G) = 0. Proof. Part (1) follows by induction on n using the exact inverse pair extendPerm / restrictPerm and injectivity of extendPerm. For (2), π maps the duplicate-free list E(G) injectively (via mapCanonEdge) into E(H). Because both lists are duplicate-free of equal cardinality, the image covers all of E(H) (nodup_subset_eq_length_mem), so π−1 embeds H into G. For (3), idn embeds G into G, while any embedding of F into G injects E(F) into E(G), forcing |E(F)| ≤|E(G)|. 3

--- Page 4 --- Two graphs G, H : SimpleGraph n have isomorphic edge-decks (EdgeDeckIso G H) if |E(G)| = |E(H)| and there exists a bijection ϕ: Fin |E(G)| →Fin |E(H)| such that G −ei ∼= H −e′ ϕ(i) for every i. Theorem 2.3 (Isomorphism Invariance and Kelly’s Edge-Reconstruction Lemma). Lean 4: embCount_iso_invariant, kelly_edge_lemma, kelly_edge_deck_determines_proper_subgraphs. For every n ∈N and F, G, H : SimpleGraph n: 1. If G1 ∼= G2, then emb(F, G1) = emb(F, G2). 2. Kelly’s Edge Lemma: If |E(F)| ≤|E(G)|, then (|E(G)| −|E(F)| ) · emb(F, G) = ∑ e∈E(G) emb(F, G −e). 3. Edge-deck determination: If EdgeDeckIso G H and |E(F)| < |E(G)|, then emb(F, G) = emb(F, H). Proof. For (1), left-composition π 7→τ ◦π by an isomorphism τ : G1 ∼= G2 bijects embeddings of F into G1 with embeddings of F into G2. For (2), expand the right-hand side as a double sum over e ∈E(G) and π ∈allPerms n, then exchange summation order (sum_map_double). For a fixed π, if π does not embed F into G then it cannot embed F into any G −e (inner sum 0). If π embeds F into G, then π embeds F into G −e if and only if e /∈π(E(F)); since |π(E(F))| = |E(F)| inside E(G), exactly |E(G)| −|E(F)| edges survive. Summing over all π yields (|E(G)| −|E(F)|) emb(F, G). For (3), reindex the deck sum via the edge-deck bijection ϕ and apply (1) to each paired card G −ei ∼= H −e′ ϕ(i), yielding (|E(G)| −|E(F)|) emb(F, G) = (|E(G)|−|E(F)|) emb(F, H); canceling the positive factor |E(G)|−|E(F)| > 0 gives emb(F, G) = emb(F, H). 3 Pillar 3: Lovász’s 1972 Edge Reconstruction Theorem and Formal n = 4 Sharpness For any edge list S, let graphOfEdges S be the simple graph with edge set S, let allSubsets L enumerate all 2|L| sublists of L, and let altSign k := (−1)k ∈Z. Theorem 3.1 (Pointwise and Global Lovász Alternating Inclusion–Exclusion). Lean 4: lovasz_inclusion_exclusion_perm, lovasz_inclusion_exclusion_global. For every n ∈N and X, G : SimpleGraph n: 1. For every π ∈Sn and every non-diagonal edge list E, 1π(E)⊆E(G) = ∑ S⊆E (−1)|S| 1π(S)⊆E(G) in Z. 2. Summing over all π ∈Sn gives the exact complement-embedding identity: emb(X, G) = ∑ S⊆E(X) (−1)|S| emb(graphOfEdges S, G) in Z. Proof. Part (1) is proved by structural induction on E: prepending an edge e splits allSubsets(e :: E) into sublists S ⊆E (sign (−1)|S|) and e :: S (sign −(−1)|S|, indicator 1π(e)∈E(G)·1π(S)⊆E(G)), factoring the sum as (1−1π(e)∈E(G))·1π(E)⊆E(G) = 1π(e::E)⊆E(G). Part (2) sums (1) over π ∈allPerms n and swaps summation order (sumIntList_swap). 4

--- Page 5 --- Theorem 3.2 (Lovász Edge-Deck Difference Cancellation). Lean 4: lovasz_edge_deck_difference_identity. If EdgeDeckIso G H and |E(X)| = |E(G)|, then emb(X, G) −emb(X, H) = (−1)|E(X)| (emb(X, G) −emb(X, H) ) in Z. Proof. Subtract Theorem 3.1(2) for G and H. In the duplicate-free list allSubsets(E(X)), every sublist S̸ = E(X) has |S| < |E(X)| = |E(G)|, so |E(graphOfEdges S)| ≤|S| < |E(G)|. By Kelly’s Edge Lemma (Theorem 2.3(3)), emb(graphOfEdges S, G) = emb(graphOfEdges S, H) for every proper sublist S̸ = E(X), canceling all 2|E(X)| −1 proper terms and leaving only S = E(X). Theorem 3.3 (Lovász’s 1972 Edge Reconstruction Theorem). Lean 4: lovasz_edge_reconstruction_theorem. For every n ∈N and every pair of graphs G, H : SimpleGraph n, if EdgeDeckIso G H and n(n −1) < 4|E(G)| (equivalently |E(G)| > 1 2 (n 2 )), then there exists π ∈Sn with IsGraphIso G H π = true. Proof. From |E(G)| = |E(H)|, Theorem 2.1(2), and n(n −1) < 4|E(G)|, both complements satisfy |E(G)| < |E(G)| and |E(H)| < |E(G)|. By Theorem 2.2(3), emb(G, G) = emb(G, H) = 0. Setting X = G in Theorem 3.2 gives (−1)|E(G)|(emb(G, G) −emb(G, H)) = 0; multiplying by (−1)|E(G)| yields emb(G, H) = emb(G, G) ≥1. Extracting any π witnessing emb(G, H) ≥1 and applying Theorem 2.2(2) yields IsGraphIso G H π = true. Theorem 3.4 (Formal Sharpness of Lovász’s Threshold at n = 4, m = 3). Lean 4: lovasz_threshold_sharp_n4_m3. On n = 4 vertices, the star K1,3 (graphK13) and triangle-plus-isolated-vertex K3 ⊔K1 (graphK3Iso) satisfy: 1. 4|E(K1,3)| = 12 = 4(4 −1) (exact equality at the Lovász threshold); 2. EdgeDeckIso K1,3 (K3 ⊔K1) (all three cards of both graphs are isomorphic to P3 ⊔K1); 3. ∀π ∈S4, IsGraphIso K1,3 (K3 ⊔K1) π = false. Proof. Explicit permutations pair all three edge-deleted cards: (0 2)(1 3) for card 0, (0 1)(2 3) for card 1, and id4 for card 2. Conversely, if π were an isomorphism K1,3 ∼= K3 ⊔K1, then since vertex 0 is adjacent to 1, 2, 3 in K1,3, all four images π(0), π(1), π(2), π(3) would lie in {0, 1, 2}, contradicting π(π−1(3)) = 3. 4 Pillar 4: Exact Prime Legendre Valuation, Degree-Excess, and Scaled Closure Let legendreSum p s R := ∑s j=1⌊R/pj⌋and let padicVal p m denote the exact p-adic valuation νp(m) defined by well-founded division recursion for p ≥2. Theorem 4.1 (Universal Truncated Legendre Upper Bound and Prime Multiplicativity). Lean 4: legendre_truncated_upper_bound, padicVal_mul. 1. For every integer p ≥2 (prime or composite) and all s, R ∈N, (p−1) legendreSum p s R ≤R. 2. If IsPrime p and a, b > 0, then νp(ab) = νp(a) + νp(b). Proof. For (1), induction on k proves the stronger invariant (p−1) legendreSum p k R+⌊R/pk⌋≤ R using p⌊R/pk+1⌋≤⌊R/pk⌋. For (2), write a = pνp(a)qa and b = pνp(b)qb with p ∤qa and p ∤qb; then pνp(a)+νp(b) | ab, and Euclid’s primality lemma precludes p | qaqb, giving νp(ab) = νp(a) + νp(b). 5

--- Page 6 --- Theorem 4.2 (Exact Prime Legendre Factorial Valuation (Repaired Proposition 1)). Lean 4: legendre_prime_factorial_exact. For every prime p (IsPrime p), every R ∈N, and every truncation depth s ∈N with R < ps: νp(R!) = s ∑ j=1 ⌊R pj ⌋ , pνp(R!) | R!, pνp(R!)+1 ∤R!. Proof. Induct on R. For R = 0, νp(1) = 0 = legendreSum p s 0. For R →R + 1 with R + 1 < ps, each term satisfies ⌊(R + 1)/pj⌋= ⌊R/pj⌋+ 1pj|(R+1); summing over j = 1, . . . , s adds min(s, νp(R+1)) = νp(R+1) (since pνp(R+1) ≤R+1 < ps =⇒νp(R+1) < s). Combining with Theorem 4.1(2) yields νp((R + 1)!) = νp(R + 1) + νp(R!) = legendreSum p s (R + 1). Theorem 4.3 (Graph-Level Handshaking, High-Degree Excess, and Scaled Closure). Lean 4: handshaking_and_high_degree_excess, scaled_density_contradiction_closure. 1. For every G : SimpleGraph n and ∆≥1, letting H≥∆:= {u ∈Fin n : degG(u) ≥∆}: ∑ u∈Fin n degG(u) = 2|E(G)| and 2|E(G)| ≤ ∑ u∈H≥∆ degG(u) + (∆−1) n. 2. For any scale B ≥3 (e.g. B = 1034 or B = 1059), m ≥1, and S1, E3, W ∈N satisfying BS1 < m, BE3 < m, and BW < m, we have B(S1 + E3 + W) < 3m and strictly S1 + E3 + W < m. Proof. For (1), partition each vertex’s neighbors into v > u and v < u; by symmetry of G.adj and double-sum exchange, each half sums to |E(G)|. Every vertex outside H≥∆has degree ≤∆−1, bounding their combined contribution by (∆−1)n. For (2), adding the three inequalities gives B(S1 + E3 + W) < 3m ≤Bm, whence S1 + E3 + W < m. 5 Mechanization Audit, Zero-Float Verification, and Red-Team Suite 5.1 Complete 20-Theorem Lean 4.36.0 Axiom Ledger lean/EdgeReconV2.lean (2,200 lines, zero Mathlib imports) compiles cleanly under Lean 4.36.0 with -DwarningAsError=true (exit code 0, zero warnings, zero sorry, zero native_decide, zero custom axioms). Table 2 lists all 20 primary theorems audited by lean/AuditAxioms.lean: 12 depend strictly on {propext, Quot.sound} and 8 add only Classical.choice. 5.2 Zero-Float Computational Certificates and Red-Team Verification The pure-stdlib certifier scripts/verify_edge_recon_v2.py passes its self-AST zero-float audit (2,720 AST nodes, 0 violations) and emits verification_report.json: 1. Seven dense graphs plus sharp n = 4 boundary (Table 3, Figure 1a): Across K4−e, K4, W4, K5−e, K5, K3,3, K6−3e (up to 6! = 720 permutations), independently verifies Kelly’s Edge Lemma across 5 proper subgraphs each, exact |Aut(G)| and emb(G, G) = 0, the full alternating inclusion–exclusion sum over up to 210 = 1,024 subsets, and Handshaking/degree-excess across ∆∈{2, 3, 4, 5}. At the sharp boundary n = 4, m = 3, verifies K1,3̸ ∼= K3⊔K1, identical edge-decks, and the exact difference identity 0−6 = (−1)3(6−0). 2. Exact prime Legendre valuation up to 100! (Table 4, Figure 1b): Across p ∈ {2, 3, 5, 7, 11} and R ∈{10, 25, 50, 100}, verifies νp(R!) = legendreSum p s R by exact arbitrary-precision division of R!, plus necessity counterexamples (p = 2, s = 1, R = 10: 5 < 8; composite p = 6, s = 2, R = 10: 1 < 4 while 5 · 1 ≤10). 6

--- Page 7 --- Table 2: Complete 20-theorem Lean 4.36.0 axiom audit (AuditAxioms.lean, -DwarningAsError=true). # Lean Theorem Symbol Paper Ref. Verified Axiom Footprint 1 length_allPairs Thm. 2.1 {propext, Quot.sound} 2 edgeCount_add_compl Thm. 2.1 {propext, Quot.sound} 3 edgeCount_delEdge Thm. 2.1 {propext, Quot.sound} 4 mem_allPerms Thm. 2.2 {propext, Quot.sound} 5 nodup_allPerms Thm. 2.2 {propext, Quot.sound} 6 subgraphEmb_eq_edgeCount_implies_iso Thm. 2.2 {propext, Quot.sound} 7 embCount_pos_self_and_zero_of_more_edges Thm. 2.2 {propext, Classical.choice, Quot.sound} 8 embCount_iso_invariant Thm. 2.3 {propext, Classical.choice, Quot.sound} 9 kelly_edge_lemma Thm. 2.3 {propext, Classical.choice, Quot.sound} 10 kelly_edge_deck_determines_proper_subgraphs Thm. 2.3 {propext, Classical.choice, Quot.sound} 11 lovasz_inclusion_exclusion_perm Thm. 3.1 {propext, Classical.choice, Quot.sound} 12 lovasz_inclusion_exclusion_global Thm. 3.1 {propext, Classical.choice, Quot.sound} 13 lovasz_edge_deck_difference_identity Thm. 3.2 {propext, Classical.choice, Quot.sound} 14 lovasz_edge_reconstruction_theorem Thm. 3.3 {propext, Classical.choice, Quot.sound} 15 legendre_truncated_upper_bound Thm. 4.1 {propext, Quot.sound} 16 padicVal_mul Thm. 4.1 {propext, Quot.sound} 17 legendre_prime_factorial_exact Thm. 4.2 {propext, Quot.sound} 18 handshaking_and_high_degree_excess Thm. 4.3 {propext, Quot.sound} 19 scaled_density_contradiction_closure Thm. 4.3 {propext, Quot.sound} 20 lovasz_threshold_sharp_n4_m3 Thm. 3.4 {propext, Quot.sound} 3. 6/6 adversarial red-team suite (tests/test_redteam.py): Tests AST tamper rejection, Kelly card forgery detection, Lovász sharpness boundary, truncated/composite Legendre rejection, scaled closure vs. v1’s vacuous 4000//1059 = 0, and live Lean 4.36.0 compilation plus exact 20-theorem name-by-name and 12/8 axiom-split verification. K1, 3 vs K3+K1 K4−e K4 W4 K5−e K5 K3, 3 K6−3e 0 2 4 6 8 10 12 14 Edges sharp +2 +3 +3 +4 +5 +1.5 +4.5 (a) Lovász Edge-Density Threshold & Sharpness (Thms. 3.3, 3.4) Edge count |E(G)| (red: sharp boundary 4m = n(n −1)) Lovász threshold 1 2(n 2) = n(n −1) 4 10 25 50 100 Factorial argument R (verified by exact big-int divisibility up to 100! ) 0 20 40 60 80 100 p-adic valuation νp(R! ) Dotted: bound R/(p −1) (b) Exact Prime Legendre Valuation & Upper Bound (Thms. 4.1, 4.2) p = 2: exact νp(R! ) (ν2(100! ) = 97) p = 3: exact νp(R! ) (ν3(100! ) = 48) p = 5: exact νp(R! ) (ν5(100! ) = 24) p = 7: exact νp(R! ) (ν7(100! ) = 16) p = 11: exact νp(R! ) (ν11(100! ) = 9) Figure 1: Zero-float computational verification of Theorems 3.3, 3.4, 4.1, and 4.2. (a) Edge counts vs. the Lovász threshold 1 2 (n 2 ) across the sharp non-reconstructible n = 4, m = 3 pair (K1,3 vs. K3 ⊔K1) and 7 dense benchmark graphs. (b) Exact prime Legendre valuations νp(R!) verified by exact factorial divisibility up to 100! compared against the universal upper bound R/(p −1). Licensing, Provenance, and AI Assistance Disclosure The manuscript text and figures are licensed under CC-BY-4.0; metadata and verification JSON data under CC0-1.0; and all Lean 4 proofs, Python scripts, and tests under the MIT License at https://github.com/lluiseriksson/edge-reconstruction-certificates-v2 (release v1.0.0). This work was produced with the assistance of Google Antigravity for Lean 4 proof 7

--- Page 8 --- Table 3: Certified Kelly’s Edge Lemma, Lovász inclusion–exclusion, and |Aut(G)| across 7 dense graphs + sharp boundary. Graph G n |E(G)| |E(G)| |Aut(G)| emb(G, G) Kelly IE subsets 4m > n(n−1) K1,3 vs. K3 ⊔K1 4 3 3 6 0/6 sharp 8 No (12 = 12) K4−e 4 5 1 4 0 5 32 Yes K4 4 6 0 24 0 5 64 Yes W4 5 8 2 8 0 5 256 Yes K5−e 5 9 1 12 0 5 512 Yes K5 5 10 0 120 0 5 1,024 Yes K3,3 6 9 6 72 0 5 512 Yes K6−3e 6 12 3 48 0 5 — Yes Table 4: Exact prime Legendre factorial valuations νp(R!) verified by exact big-integer division up to 100!. p R s ps νp(R!) (p −1)νp p R s ps νp(R!) (p −1)νp 2 10 4 16 8 8 5 50 3 125 12 48 2 25 5 32 22 22 5 100 3 125 24 96 2 50 6 64 47 47 7 10 2 49 1 6 2 100 7 128 97 97 7 25 2 49 3 18 3 10 3 27 4 8 7 50 3 343 8 48 3 25 3 27 10 20 7 100 3 343 16 96 3 50 4 81 22 44 11 10 1 11 0 0 3 100 5 243 48 96 11 25 2 121 2 20 5 10 2 25 2 8 11 50 2 121 4 40 5 25 3 125 6 24 11 100 2 121 9 90 engineering, zero-float verification scripting, and manuscript preparation; all mathematical claims are independently machine-checked by Lean 4.36.0 and reproduced by the public continuousintegration suite. References [1] P. J. Kelly, “A congruence theorem for trees,” Pacific Journal of Mathematics, vol. 7, no. 1, pp. 961–968, 1957. [2] L. Lovász, “A note on the line reconstruction problem,” Journal of Combinatorial Theory, Series B, vol. 13, no. 3, pp. 309–310, 1972. [3] V. Müller, “The edge reconstruction hypothesis is true for graphs with more than n · log2 n edges,” Journal of Combinatorial Theory, Series B, vol. 22, no. 3, pp. 281–283, 1977. [4] L. de Moura and S. Ullrich, “The Lean 4 theorem prover and programming language,” in CADE-28, LNCS vol. 12699, Springer, pp. 625–635, 2021. 8

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

References (4)

  1. P. J. Kelly, ``A congruence theorem for trees,'' Pacific Journal of Mathematics, vol. 7, no. 1, pp. 961–968, 1957
  2. L. Lovász, ``A note on the line reconstruction problem,'' Journal of Combinatorial Theory, Series B, vol. 13, no. 3, pp. 309–310, 1972
  3. V. Müller, ``The edge reconstruction hypothesis is true for graphs with more than $n \cdot \log_2 n$ edges,'' Journal of Combinatorial Theory, Series B, vol. 22, no. 3, pp. 281–283, 1977
  4. L. de Moura and S. Ullrich, ``The Lean 4 theorem prover and programming language,'' in CADE-28, LNCS vol. 12699, Springer, pp. 625–635, 2021
Reference this work

Cite this paper

v2 · 2026-12-04

Lluis Eriksson (2026). Standalone Lean 4 Mechanization of Kelly's Edge Lemma, Lovasz's 1972 Edge Reconstruction Theorem, Formal n=4 Threshold Sharpness, and Exact Prime Legendre Valuation. AIRR.SCIENCE, ARR-2026-01PYB3Q92196PV85, v2. https://airr.science/papers/ARR-2026-01PYB3Q92196PV85/versions/v2/ DOI: 10.5281/zenodo.24646463.

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. Major v2 standalone 2,200-line Lean 4.36.0 formalization resolving every v1 screening objection: replaces v1's decoupled arithmetic fragments with real finite simple graphs (SimpleGraph n), symmetric-group enumeration (allPerms n), real edge-decks (EdgeDeckIso), Kelly's Edge Lemma, full alternating inclusion-exclusion, Lovasz's 1972 Edge Reconstruction Theorem, constructive n=4 sharpness (K_{1,3} vs K_3 + K_1), exact prime Legendre valuation (IsPrime p, R < p^s), graph Handshaking & high-degree excess, and non-vacuous cross-multiplied scaled density closure (20 audited theorems: 12 constructive / 8 classical), backed by a 2,720-node zero-float verifier and 6/6 red-team suites.

Verification record

Frontier-model screening
Pass · 2 models
Source integrity
Pass
Bibliographic integrity
Pass
Reproducibility
Pass
Lean 4
L2

Recorded under ARR-VERIFY-1.0. AIRR verification and screening are not peer review.

Related subject

More in Mathematics

Browse all Mathematics papers →

AI assistance statement

Authored by Lluis Eriksson with AI-assisted Lean 4 proof engineering, zero-float verification scripting, and manuscript preparation (Google Antigravity). Public MIT repository: https://github.com/lluiseriksson/edge-reconstruction-certificates-v2 (v1.0.0). Evaluated by two isolated blind reviewers (Google/helium and Google/hydrogen) 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.

  • heliumGoogle · pass
  • hydrogenGoogle · pass
Longitudinal frontier-model record

Model assessments and review context

Read the scale and limits
4.87 / 10.00Very good
Distinct models
3
Range
3.40–5.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; Benchmark match incomplete; Review scores differ by more than one point

Score calculation and evidence

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

ModelOriginal scoreWeightBasis
Google · helium5.401.000No evidenced exact benchmark configuration
Google · hydrogen5.801.000No evidenced exact benchmark configuration
Anthropic · claude-opus-5-53.401.000No evidenced exact benchmark configuration

Download the calculation snapshot

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

Recommendation: Accept · Material objections: 0

The paper presents a self-contained Lean 4 formalization, without Mathlib, of several classical results: basic finite simple graph combinatorics (complement edge count, edge deletion, S_n enumeration, embedding rigidity), Kelly's edge lemma and edge-deck determination of embedding counts, and Lovász's 1972 edge reconstruction theorem for m > C(n,2)/2 via alternating inclusion-exclusion. It also gives a formal sharpness witness at n=4, m=3 (K_{1,3} vs K_3+K_1), the exact Legendre formula for prime p under R<p^s, handshaking/degree-excess, and a trivial scaled additive closure. The informal proofs are correct and the v1 defects are addressed. The contribution is a well-scoped formalization of known mathematics and contains no new theorems. It belongs at the publishable floor for formalization notes.

Correctness confidence
All stated theorems are classical and their sketched proofs check out: Kelly counting via exchange of sums, Lovász via inclusion-exclusion and cancellation of proper subsets, and the K_{1,3} vs K3+K1 sharpness pair. I spot-checked several Table 4 valuations (nu_3(100!)=48, nu_7(100!)=16, nu_2(100!)=97) and Table 3 entries (|Aut(K3,3)|=72, |Aut(K6-3e)|=48, W4). Lean compilation is claimed but cannot be verified from the PDF.
Rigor
Definitions are precise: embeddings are counted over an explicit duplicate-free S_n enumeration, and EdgeDeckIso is a card bijection. The v1 defects are repaired: Thm 4.2 adds the primality and R<p^s hypotheses, and Thm 4.3 uses cross-multiplication. The axiom footprint is itemized per theorem. Some complement overlines appear lost in the text (Thms 2.1, 3.1, 3.2), which makes the printed formulas read incorrectly; they should be typeset carefully.
Novelty
No new mathematics. Kelly 1957 and Lovász 1972 are textbook results, and Legendre's formula and handshaking are standard. The novelty lies only in a standalone, Mathlib-free Lean 4 formalization of the Kelly-Lovász edge-reconstruction core, plus a machine-checked n=4 sharpness example.
Significance
A useful formal-methods artifact for reconstruction theory, but it is modest in scope. Müller's n log n bound and anything toward the Edge Reconstruction Conjecture are explicitly out of scope. Pillar 4 (Legendre valuation, scaled closure) is mathematically trivial and disconnected from the reconstruction results.
Reproducibility
The paper names a public MIT repository with a tagged release, an itemized 20-theorem axiom audit, a zero-float Python certifier, and red-team tests. Lean theorem names are mapped one-to-one to paper statements. I could not independently confirm compilation or the stated Lean toolchain version from the PDF alone.

Strengths

  • Genuine graph-level formalization: real graphs, permutations, and edge-decks replace v1's decoupled arithmetic fragments, and Lovász's theorem is derived end-to-end from Kelly's lemma.
  • Thm 2.2(2) gives a clean embedding-to-isomorphism rigidity argument at equal edge counts via duplicate-free list cardinality; this is the key step used in extracting the isomorphism in Thm 3.3.
  • The explicit n=4 sharpness certificate shows the Lovász density hypothesis cannot be relaxed to equality. The difference identity 0-6=(-1)^3(6-0) is consistent.
  • The Legendre statement is correctly repaired, with a clean split between the universal truncated bound for all p>=2 and the exact valuation for prime p with R<p^s.
  • Transparent axiom ledger and an explicit scope boundary that excludes Müller and linear-density arguments.

Weaknesses

  • There is no new mathematical content; all results are classical (1957/1972 and earlier).
  • Pillar 4 (Legendre valuation, the B>=3 scaled closure) is unrelated to the reconstruction theorems and largely trivial. Its inclusion reads as packaging, and Thm 4.3(2) is a one-line inequality.
  • The introduction mentions 'recent linear-density approaches' using p-adic and degree-excess kernels without citation.
  • Lean verification claims (compilation, the stated toolchain version 4.36.0, line counts) cannot be checked from the manuscript. No Lean source excerpts are shown for key definitions such as embCount and EdgeDeckIso, so readers cannot verify the statements faithfully match the informal ones.
  • There is no comparison with existing formal graph-theory libraries (e.g., Mathlib SimpleGraph) or prior formalizations of reconstruction results.

Potential errors

  • As printed (likely a lost-overline extraction or typesetting issue), Thm 3.1(1) reads 1_{pi(E) subset E(G)} = sum (-1)^|S| 1_{pi(S) subset E(G)}, which is false. The correct left side is 1_{pi(E) cap E(G) = empty}, i.e. inclusion in the complement. The proof's factorization (1 - 1_{pi(e) in E(G)}) has the same issue. The complements in Thms 2.1(2), 3.1(2), 3.2 and 3.3 should be typeset explicitly.
  • Table 3's 'IE subsets' column lists 2^{|E(G)|} (e.g., 32 for K4-e), but uses '—' for K6-3e (2^12) and states 'up to 2^10'. The table should clarify which edge set the inclusion-exclusion ranges over.

Strong novelty candidates

None reported.

Unresolved material objections

None reported.

arr:assessment:6eb6ceaf-cc9d-4f97-a3bd-886676e16e29 · prompt ARR-ASSESS-1.0 · response SHA-256 029374b88aa8b73d12afecfffca04c220a5971de4ba64f964dc26f4a8a5e45e0 · canonical PDF SHA-256 bf4aa916b628c3d239497f6f9cb9e88f18b9148dcfa709fb9bebe6d8d3b43843

Google · helium · involved in manuscript · review context: unknown5.40

Recommendation: Accept · Material objections: 0

This major revision completely repairs v1's structural defects by providing a standalone, zero-Mathlib, 2,200-line Lean 4.36.0 mechanization of finite simple graphs, S_n enumeration, Kelly's Edge Lemma, Lovász's 1972 Edge Reconstruction Theorem, formal n=4, m=3 threshold sharpness, exact prime Legendre factorial valuations, and graph-level Handshaking/degree-excess bounds. Live Lean 4.36.0 compilation with -DwarningAsError=true and AuditAxioms.lean confirms all 20 primary theorems with zero sorry, zero native_decide, zero custom axioms, and exact 12/8 constructive-classical axiom splits, corroborated by an AST-audited integer verifier and 6/6 red-team checks. Because the mechanized results are classical (1957/1972/1808) plus elementary v1 repairs, and Pillar 4's arithmetic and degree-excess kernels remain decoupled from Müller's log-density or linear-density edge reconstruction, the contribution is a solid, publication-grade formalization rather than a mathematical breakthrough.

Correctness confidence
Every definition, theorem, and proof in LaTeX and Lean 4.36.0 is mathematically sound and non-vacuous, verified live under -DwarningAsError=true with zero sorry/axioms and exact integer cross-checks across Tables 3-4 and verification_report.json.
Rigor
Complete zero-Mathlib formalization with real SimpleGraph n, constructive bijection Perm n, duplicate-free allPerms n, and EdgeDeckIso; AuditAxioms.lean audits all 20 theorems (12 {propext, Quot.sound}; 8 adding Classical.choice) alongside explicit epistemic scope disclaimers.
Novelty
Mechanizes classical theorems (Kelly 1957, Lovász 1972, n=4 sharpness, Legendre 1808, Handshaking) and elementary arithmetic repairs of v1; contains no new mathematical results or improved bounds toward Harary's Edge Reconstruction Conjecture.
Significance
Provides a clean, self-contained Lean 4 formalization benchmark for foundational edge reconstruction and resolves all v1 errors, but stops at the 1972 quadratic density bound while leaving Pillar 4's Legendre and degree-excess kernels unconnected to reconstruction.
Reproducibility
Full standalone Lean 4.36.0 artifact, AuditAxioms.lean, CI workflow, MIT-licensed v1.0.0 repository, 2,720-node AST-audited pure-integer verifier, and 6-suite red-team test harness; independently confirmed locally without modifying files.

Strengths

  • Complete zero-Mathlib standalone Lean 4.36.0 formalization (2,200 lines) compiling cleanly under -DwarningAsError=true with zero sorry, zero native_decide, and zero custom axioms.
  • Authentic graph-theoretic modeling (SimpleGraph n, constructive Perm n with allPerms n completeness/nodup, EdgeDeckIso) achieving full end-to-end proofs of Kelly's Edge Lemma, Lovász's 1972 theorem (4|E(G)| > n(n-1)), and formal n=4, m=3 sharpness via K_{1,3} vs K_3 + K_1.
  • Complete, transparent resolution of all v1 defects: explicit IsPrime p and R < p^s hypotheses for exact Legendre valuation, graph-level Handshaking and H_{>= Delta} excess, and non-vacuous cross-multiplied scaled closure.
  • Strict 20-theorem axiom ledger (12 constructive / 8 classical), AST-audited zero-float integer certifier (2,720 AST nodes, 0 violations) verified up to 100! and 2^10 inclusion-exclusion subsets, and 6/6 adversarial red-team suite.
  • Exemplary epistemic honesty explicitly bounding formal scope away from Müller's m > n log_2 n theorem and linear-density arguments.

Weaknesses

  • No new mathematical theorems or proof techniques; all core results are classical (1957/1972/1808) plus an elementary 3-term arithmetic inequality repairing v1.
  • Pillar 4 (Legendre p-adic valuation, degree-excess, and scaled closure) sits alongside Pillars 1-3 as standalone repaired kernels rather than combining into a formal proof of any post-1972 edge reconstruction bound.
  • Custom SimpleGraph n and Perm n types isolate the development from Mathlib, and embCount F G assumes F and G share the same Fin n vertex set (with smaller subgraphs implicitly padded by isolated vertices).
  • Minor presentation/organization nits: AuditAxioms.lean places lovasz_threshold_sharp_n4_m3 under the Pillar 4 comment block instead of Pillar 3, and Table 3 lists IE subsets = 8 for K_{1,3} vs K_3 + K_1 even though verify_edge_recon_v2.py verifies the difference identity directly at n=4, m=3 without executing the 2^m loop used for the 7 benchmark graphs.

Potential errors

  • Minor docstring discrepancy in scripts/verify_edge_recon_v2.py (line 4 states '19 audited Lean 4.36.0 theorems' whereas AuditAxioms.lean, tests/test_redteam.py, and the paper audit 20 theorems).

Strong novelty candidates

None reported.

Unresolved material objections

None reported.

arr:assessment:a7f972c0-bdda-4e39-a84b-e26ac3ace5d2 · prompt ARR-ASSESS-1.0 · response SHA-256 b962b17f3b558e42368254dd41747614f6101c14507f6e8fb6c96c98f75b3201 · canonical PDF SHA-256 bf4aa916b628c3d239497f6f9cb9e88f18b9148dcfa709fb9bebe6d8d3b43843

Google · hydrogen · involved in manuscript · review context: unknown5.80

Recommendation: Accept · Material objections: 0

ARR-2026-01PYB3Q92196PV85 v2 delivers a complete, standalone, zero-Mathlib Lean 4.36.0 mechanization (2,200 lines, 20 audited theorems, zero sorry/native_decide/custom axioms) of Kelly's Edge Lemma, Lovász's 1972 Edge Reconstruction Theorem, formal n=4 sharpness via K_{1,3} vs K_3 + K_1, and repaired prime Legendre and degree-excess kernels. All v1 technical defects (missing graph/permutation objects, omitted primality/truncation hypotheses in Legendre, vacuous natural-number floor division, and undefined external operators) are cleanly resolved, and epistemic scope boundaries are stated honestly. While the underlying mathematics is classical rather than a breakthrough on open edge reconstruction cases, the formalization, AST-audited zero-float verification, and adversarial red-team suite are publication-grade.

Correctness confidence
All 20 theorems in EdgeReconV2.lean compile cleanly in Lean 4.36.0 (-DwarningAsError=true) on non-vacuous SimpleGraph n and Perm n types, and all LaTeX statements, proofs, tables, and figures match the mechanized definitions.
Rigor
Standalone zero-Mathlib Lean 4.36.0 proof with zero sorry, zero native_decide, and zero custom axioms; AuditAxioms.lean confirms the exact 12 constructive / 8 classical split, paired with a 2,720-node AST-audited zero-float verifier and 6/6 red-team tests.
Novelty
Mechanizes classical results (Kelly 1957, Lovasz 1972, n=4 sharpness, Legendre valuation, Handshaking) rather than proving new open theorems; novelty lies in the self-contained zero-Mathlib Lean 4 formalization and v1 repairs.
Significance
Provides a complete, reusable standalone Lean 4 foundation for the Kelly-Lovasz core and cleanly resolves all v1 defects, though advanced bounds such as Muller's n log_2 n theorem and linear-density arguments remain outside formal scope.
Reproducibility
Lean typechecking and AuditAxioms.lean reproduce cleanly on Lean 4.36.0; the zero-float Python verifier matches verification_report.json identically (SHA-256 verified, 2,720 AST nodes), with MIT-licensed code and CI configuration.

Strengths

  • Complete standalone zero-Mathlib Lean 4.36.0 formalization (2,200 lines) with real SimpleGraph n, duplicate-free S_n enumeration (allPerms n), EdgeDeckIso, Kelly's Edge Lemma, full alternating inclusion-exclusion over 2^{|E(X)|} subsets, and Lovász's 1972 theorem.
  • Formal constructive sharpness witness at n=4, m=3 (K_{1,3} vs K_3 + K_1) verifying identical edge-decks, 4m = n(n-1), and non-isomorphism across all S_4.
  • Clean and complete resolution of all v1 defects: universal vs prime exact Legendre valuation (IsPrime p and R < p^s), graph-level Handshaking and H_{>= Delta} excess, and cross-multiplied scaled density closure eliminating vacuous floor division.
  • Verified 20-theorem axiom ledger (12 {propext, Quot.sound}, 8 adding only Classical.choice), 2,720-node AST-audited zero-float certifier matching verification_report.json exactly, and 6-suite adversarial red-team test harness.
  • Honest, explicit epistemic scope section clearly separating proved classical foundations from unformalized open/advanced results (Müller's bound, linear-density arguments).

Weaknesses

  • Mechanizes classical 1957/1972 results and elementary Pillar 4 arithmetic/degree-excess kernels rather than tackling Müller's |E(G)| > n log_2 n theorem or open edge reconstruction regimes.
  • In Table 3 of the manuscript, the '0 / 6' entry under column emb(G, Gbar) for 'K_{1,3} vs. K_3 + K_1' compresses emb(K_{1,3}, K_{1,3}bar) = 0 and emb(K_{1,3}, (K_3 + K_1)bar) = 6 without clarifying that the second entry uses test graph K_{1,3} rather than K_3 + K_1.
  • scripts/verify_edge_recon_v2.py line 4 docstring contains a stale count ('19 audited Lean 4.36.0 theorems' instead of 20).

Potential errors

  • Minor docstring discrepancy in scripts/verify_edge_recon_v2.py (line 4 states '19 audited Lean 4.36.0 theorems' whereas AuditAxioms.lean, tests/test_redteam.py, README.md, and the manuscript all audit 20 primary theorems).

Strong novelty candidates

None reported.

Unresolved material objections

None reported.

arr:assessment:87e3cef3-3a0d-4836-b518-a42aa7c48631 · prompt ARR-ASSESS-1.0 · response SHA-256 ea230706394245ec10014d5802c0c08cc320dd623e1f6b5d34120bb4eb2f8843 · canonical PDF SHA-256 bf4aa916b628c3d239497f6f9cb9e88f18b9148dcfa709fb9bebe6d8d3b43843

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

Editorial disclosure

Accepted as v2 major upgrade under AIRR-FOUNDER-1.0 following first-round unanimous isolated blind dual-model review (Google/helium 5.4/10 accept, Google/hydrogen 5.8/10 accept) with zero unresolved material objections and green CI on https://github.com/lluiseriksson/edge-reconstruction-certificates-v2 (v1.0.0).

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