Two seemingly unrelated problems — one born in 19th-century algebraic geometry and one in modern network science — share the exact same bottleneck: how do you prove a massive exact algebraic claim so cleanly that a skeptic can re-check every single digit in seconds?

In the first half of this walkthrough, we look at Klein eightfolds at exponent e = 2046, where a 633-term integer linear witness spans 1,023 coordinates. In the second half, we look at cospectral “twin” networks — two 16-node graphs that vibrate at the exact same frequencies, yet split apart under an exact rational formula.

1. The 633-Term, 1,023-Coordinate Witness Checked in 11.14 Seconds #

Named after Felix Klein’s 19th-century work on higher-dimensional hypersurfaces, checking whether a high-exponent homology class decomposes cleanly into algebraic generators boils down to verifying an exact integer linear system A x = b. At exponent e = 2046, the witness has 633 nonzero integer terms acting simultaneously across 1,023 coordinates, with exact multiplier 1 (no hidden denominators).

Rather than relying on heavy external libraries or opaque computer-algebra scripts, we compiled the entire 1,023-coordinate identity inside core Lean 4.33.1 with zero Mathlib dependencies (KleinE2046Skeleton.lean, 8 theorems, 0 sorry, 0 native_decide, 0 custom axioms). Total kernel verification time: 11.14s. To prove the check isn’t vacuous, we also run an adversarial +1 mutation test: perturb a single entry of the witness by +1, and the Lean kernel rejects the file immediately.

KLEIN EIGHTFOLDS (e = 2046) — CORE LEAN 4.33.1 VERIFICATION & MUTATION GATE EXACT WITNESS 633 Integer Terms A x = b · mult = 1 COORDINATE SWEEP 1,023 Coordinates Core Lean 4.33.1 · 0 Mathlib KERNEL VERIFIED 11.14s 0 sorry · 0 custom axioms 0 native_decide · 8 theorems +1 MUTATION TEST Nudge 1 coefficient by +1 REJECTED BY KERNEL Proves check is non-vacuous
Figure 1: Core Lean 4.33.1 verifies the 633-term, 1,023-coordinate integer linear witness for Klein e = 2046 in 11.14 seconds — and instantly rejects any +1 mutation. KleinE2046Skeleton.lean

2. Telling “Twin” Networks Apart: 4×4 Rook vs. Shrikhande #

Now switch from 1,023 coordinates to a famous 16-node puzzle in spectral graph theory. Imagine two networks, each with 16 nodes and 6 connections per node. Every pair of connected nodes shares 2 common neighbors; every pair of disconnected nodes also shares 2 common neighbors. Both belong to the exact same strongly regular family srg(16, 6, 2, 2).

If you strike both networks like drums and listen to their adjacency eigenvalues, they sound 100% identical: both vibrate at the exact same spectrum {61, 26, (−2)9}. Yet geometrically they are completely different worlds: the 4×4 Rook graph (a chessboard where a rook moves along rows and columns) is packed with 4-cliques, while the Shrikhande graph (a twisted triangulation on a torus) has zero 4-cliques.

In our cospectral twin paper (2027-03-cospectral-srg) and its companion CAT(0) tensor-rank study, our exact rational formula cleanly tells the two twins apart: the 4×4 Rook graph hits 32 (= 544/17), while the Shrikhande graph jumps to 576/17 ≈ 33.882 — a sharp, exact gap of 32/17 that standard spectral methods are completely blind to.

COSPECTRAL TWINS srg(16, 6, 2, 2) — IDENTICAL FREQUENCIES, DIFFERENT GEOMETRY Same Adjacency Spectrum: { 6¹, 2⁶, (−2)⁹ } 4×4 Rook Graph Cartesian grid K₄ □ K₄ · Contains 4-cliques Exact Value: 32 ≠ Shrikhande Graph Torus Cayley graph · Zero 4-cliques Exact Value: 576/17 (≈ 33.88)
Figure 2: Two networks that vibrate at the exact same frequencies ({6, 2, −2}), separated cleanly by our exact formula: 4×4 Rook = 32 vs. Shrikhande = 576/17. 2027-03-cospectral-srg · 0 sorry
01

Strip Away Heavy Dependencies

For Klein e = 2046, we wrote a self-contained core-Lean 4.33.1 module with zero Mathlib imports. Keeping the trusted codebase tiny means anyone with a standard Lean 4 toolchain can verify all 1,023 coordinates in 11.14s.

02

Try to Break Your Own Proof (+1 Mutation Test)

A formal proof check is only convincing if it fails when the math is wrong. Adding +1 to a single integer entry in the 633-term witness immediately breaks the Lean kernel check, confirming that every coordinate is actively enforced.

03

Go Beyond Eigenvalues on Cospectral Twins

Standard adjacency spectra cannot distinguish the 4×4 Rook graph from the Shrikhande graph. Evaluating our exact rational invariant separates them by 576/17 − 32 = 32/17 — and our CAT(0) tensor-rank pipeline certifies a strict drop on Shrikhande (≤ 169/5 < 576/17) across all 65,535 principal supports.

3. Inspect the Lean 4.33.1 Modules, PDFs & MCP Server #

Artifact Details Direct Link
Klein Eightfolds e = 2046 & d = 220 KleinE2046Skeleton.lean (8 thms, 11.14s, 0 Mathlib) & 2027-02-klein-e220 (17 thms) GitHub Archive
Cospectral SRG Twins Preprint 2027-03-cospectral-srg · 4×4 Rook (32) vs. Shrikhande (576/17) GitHub Archive
Shrikhande CAT(0) Tensor-Rank PDF 10.5281/zenodo.24711016 · 169/5 < 576/17 across 65,535 supports Read PDF
Open-Access Math MCP Server Search all 342 public declarations (222 theorems + 120 lemmas), preprints & BibTeX via MCP beaconlight-math-mcp
Drew Garman, Founder BeaconLight Research iDirect Ships · Garman Unified Systems
All LightBeams → ← Prev: 11D Marbles & 600-Cell Try the Napkin Verifier