almost-idempotent-stochastic-mapsthe glass-box lab

the headline claim

The Swiss-Cheese Defense

In a world of unlimited plausible machine-generated mathematics, the scarce resource is checkable provenance. This project's answer is not one formalisation but six independent error-catching layers, each with known holes, whose composition caught every error found so far. The holes do not line up: different layers fail in different directions. Below, every count is read at page load from site/data/defense.json — regenerated from the ledgers, registry, and retraction record on each commit, and gated by scripts/check-site.py.

loading counts from site/data/defense.json…

Where the errors actually stopped

Two measured crossings. Each is an error that passed one layer's mechanism and was stopped by a different one — which is the whole claim: the layers are not redundant copies of one check.

The six layers, measured

Every metric shown is a field of defense.json; nothing here is typed by hand. New fields added by a future regeneration appear automatically.

The backstop: the retraction ledger

Errors that survived the layers above end up here. Every entry is dated, states what was claimed, why it was wrong, and how it was resolved — and names the layer that caught it. A defense record without its failures is marketing; this is the failure record.

What this is not: the honest Lean comparison

Per inference, an af tree is weaker than a Lean kernel. A validated node means a fresh adversarial verifier, told that finding a gap is a success, failed to find one — it does not mean a type-checker accepted a term. Where a kernel gives a binary guarantee over the whole proof object, an af cohort gives a measured, falsifiable review record. We do not claim parity, and we do not claim the top rung: no sorry-free Lean/mathlib proof exists for any result in this repository.

What the layered design buys is coverage of a different error class. A kernel checks the proof you wrote against the statement you wrote; it never sees a hallucinated citation, a definition that drifted between two files, a contract that does not say what its lemma proves, a rigorous result quietly resting on a conjecture, or a claim that is simply false. L1 (provenance) and L2 (contracts and the status-propagation law) target exactly that specification-level class. L3–L6 then attack the proof-level class at four different granularities, with the catch record above.

The precise headline, therefore, is not "as strong as Lean per step". It is measured defense-in-depth across the error classes no single formalisation covers — and Lean remains the open top rung.

The protocol, in one line each

fresh prover

Every proof attempt is a brand-new agent with an independent context. It cannot inherit the belief that made the previous attempt look fine.

separate fresh verifier

Every node is validated by a different fresh agent, briefed that finding a counterexample, gap, or error is a big success. Prover ≠ verifier ≠ challenger, per node, always.

the orchestrator never judges

The coordinating agent dispatches workers and does bookkeeping. It never rules on whether a step is correct — reasoning about the proof would contaminate the review it is supposed to be neutral about.

The adversarial framework is a public repository: af — github.com/tobiasosborne/vibefeld. The exploration controller fr, which allocates attention across research directions and runs the explore/exploit circuit-breaker, is fr (public repo — link pending). The verification path itself needs neither: sh scripts/check-all.sh is stdlib-Python only (the byte-match gate additionally needs the copyright-gitignored refs/ payloads; scripts/fetch-refs.py --status lists them).