The formal verification community has reached an important architectural milestone. Separating a problem specification (Challenge.lean) from an untrusted proof artifact (Solution.lean), and then re-checking the exported environment with an independent kernel such as nanoda, eliminates an entire family of implementation and metaprogramming failure modes. Compiler shortcuts, unsound elaborator tactics, accidental native_decide dependencies, and custom axiom injections can all be caught automatically before a human ever opens a file.

We welcome dual-kernel verification without reservation. It raises the floor for everyone publishing machine-checked mathematics. It also exposes, with uncomfortable clarity, the harder bottleneck that remains once the kernel is no longer the weak link: specification fidelity.

1. What Two Kernels Still Cannot See #

A typechecker verifies that a proof term inhabits a stated type. Two independent typecheckers verify that the inhabitation check did not depend on a bug in the first checker. Neither kernel can tell you whether the stated type matches the mathematical theorem you claimed in the abstract.

Definition drift rarely looks like blatant fraud. In practice, it enters quietly: a missing non-degeneracy hypothesis that makes an implication vacuous on empty graphs, a subtle normalization factor dropped from an inner product, a truncated integer division where exact rational arithmetic was intended, or a custom local structure that diverges slightly from the standard textbook object. Every one of those errors compiles cleanly with zero sorry, standard axioms only, and exit code 0 in both the Lean kernel and nanoda.

Dual kernels verify deduction. They cannot verify that the formalized definition still refers to the object the mathematical literature cares about.

When a theorem is purely existential or lives behind five layers of bespoke library definitions, auditing specification fidelity requires a domain specialist to read every line of the statement and its transitive imports. That human audit is slow, expensive, and does not scale with automated proof generation.

2. Witness-Bearing Extremal Math Eliminates Definition Drift #

There is a class of open problems where specification fidelity can be audited out-of-band, completely independent of Lean, Mathlib, or the author’s formalization choices: witness-bearing extremal mathematics tied to live human-refereed registries.

When a result certifies an explicit finite mathematical object—unit vectors on a high-dimensional sphere, exact projection matrices for a Grassmannian packing, or rational Cholesky factors for a flag-algebra bound—the Lean proof is no longer the sole locus of trust. The raw witness can be exported, stripped of all proof-assistant syntax, and checked by any mathematician using ten lines of independent code or a public registry’s own parser.

At BeaconLight Research, we treat that out-of-band check as a hard gate across our flagship results:

  • 30/30 live accepted world records on Henry Cohn’s spherical-codes.org: Four base algebraic antiprism codes—led by the exact rational t* = 1/19 code on S30 via Paley GW(10,9;Z4), alongside BH(12,3) on d = 25, CW(14,13) on d = 29, and CW(15,12) on d = 31—lifted across d = 25..32 via X ⊕ Or. Every coordinate file was parsed and checked independently by Cohn’s registry before acceptance. No definition drift can survive a registry that recomputes all pairwise dot products from raw coordinates.
  • 26 SymPy-certified Grassmannian packing beats: Each construction exports explicit rational or algebraic subspace frames whose chordal distances and Gram eigenvalues are verified symbolically outside Lean, so any reader can confirm the packing radius directly.
  • Erdős Problem #128 (487/20000 = 0.024350): Our universal sparse-half bound for triangle-free graphs—advancing past the pinned 2449/100000 and 61/2500 = 0.024400 marks, paired with the dense-branch corner-box Cholesky bound 76/3125 = 0.024320—ships as exact rational Fraction matrices with zero floating point. A standalone Python script running under python3 -O verifies the full certificate directly, independent of Lean.

3. Pairing Kernel Rigor With External Reality #

Dual-kernel verification and witness-based external checks are not competing philosophies. They seal two different seams. Dual kernels guarantee that no deduction step was smuggled past the typechecker; raw witnesses submitted to independent registries and exact-rational verifiers guarantee that the statement being proved corresponds to the real mathematical object.

As formal verification scales across combinatorics, discrete geometry, and analysis, the gold standard should be simple: check every proof term with independent kernels, and whenever a theorem admits a concrete witness, publish the raw witness so any working mathematician can verify the claim without ever installing Lean.

Drew Garman, Founder BeaconLight Research
All LightBeams Next: LightBeam 02 → Inspect Research Ledger