/bootloops-research:prove-protocolfrom bootloops-research
Multi-agent protocol for proving or refuting mathematical statements using adversarial verification, forced-diversity provers, and exact arithmetic checks. Useful for rigorous theorem proving or theory-finding.
Ships in bootloops-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Within this protocol, no mathematical claim is graded closed on agreement. It is graded VERIFIED-CLOSED only when an agent assigned to refute it — armed with executed exact arithmetic — has failed, and when a second agent who authored nothing has rebuilt the chain from the spec alone, reproducing every pre-registered value with fresh code. This is a working standard for agent output, not a substitute for a refereed or formally verified proof. Everything below is machinery for manufacturing those two events on purpose.
The paranoia is calibrated to three observations from practice and from the literature (Sources, below):
Two regimes. Know which one you are in before spending tokens:
ADVERSARY FIRST (X0) — reliably the highest-value step per token spent. Before any proving run, spend one run hunting the exact witness that makes the claim FALSE (in-regime, exact-arithmetic witness). Ladder discipline: shift the target ONLY on a certified fire (exact witness, inside the claimed regime); a NO-FIRE changes nothing. A certified kill is constructive — with pre-registered alternative forms (see step 1), the kill licenses the surviving form instead of ending the run.
Micro-example of the X0 posture. Claim: "over the whole family, the quantity is minimized at the symmetric configuration." The adversary does not read the heuristic argument; it writes a short exact enumerator over the family's smallest members and aims it where symmetry arguments die — degenerate members, boundary parameters, the smallest asymmetric instance. A minimizer that moves at a degenerate member is a certified kill, and the witness names the repair (exclude the degenerate class, or weaken to non-strict). One agent-run; it often saves ten.
TARGET-PIN as a shared SPEC: one spec file every prover reads, containing (a) the statement/hole verbatim with source citations; (b) a MAY-ASSUME list (granted lemmas WITH their stated hypotheses) and a MUST-NOT-ASSUME list (the thing being proven); (c) licensed alternative delivery forms WITH acceptance criteria ("closes the consuming target at the printed exponents; constants may be flagged, exponents may not move"); (d) an exact test instance T1 — pre-registered rational/integer values plus named FAIL conditions ("a route whose T1 prediction fails is DEAD"); (e) an erratum channel — specs contain bugs (independent arms have repeatedly falsified claims that turned out to be bugs in the spec itself, not the mathematics), so the spec must be correctable without invalidating prover runs already in flight. Pre-register which outcome changes what. The pin agent and the X0 adversary agent are SEPARATE agents — merging them invites an output-cap death; any stage mixing statement-extraction with construction dies.
SKEPTIC LOOP (the highest-yield loop in practice):
{failing step index, exact instance, value of each side, residual} —
never an essay. Prose-only critique counts for NOTHING.FORCED-DIVERSITY RIDER (mandatory): ≥2 extra provers on named distinct routes, parallel fresh contexts, no cross-reading. Lesson from practice: independent arms converge unanimously on the same form with ease — and the artifact that reshapes a target tends to come only from a forced-divergent route, at any budget. The redundancy (including DNFs and failed certifiers) buys the one artifact nothing else produces. RULE: a closure without a diversity pass is graded PROVISIONAL. Cheap version: ONE skeptic chain (the proof) + ONE small tournament of 2–3 forced-distinct provers (the falsifier).
FRESH-CONTEXT CROSS-VERIFY + INTERFACE TRACE (both mandatory before VERIFIED-CLOSED). Every arm self-grades CLOSED-UNVERIFIED; nothing counts until BOTH: (a) verify pass: an agent that authored NOTHING re-derives the chain in its own words under hostile instructions, treats every "clearly" as a check-site, writes a FRESH independent enumerator (no code reuse) that reproduces every pre-registered exact value, and greps the load-bearing imports for circularity. Verdict: CONFIRMED / refuted, constants printed. (b) interface ruling: trace EVERY use-site of the delivered object in the consuming document; rule per-site whether the delivered form satisfies the consumer's STATED hypothesis (not its wording — wording is often shaped like the strong form over content the weak form covers); machine-check the composed arithmetic. This is where an alternative-form delivery gets legitimized or killed.
Each class is the reason a rule above exists; the vignettes describe mechanisms, not one-off accidents.
The signature of this regime: formulation after formulation gets hand-pinned, and a competent adversary kills each one within hours or days. When repeated pins die, STOP hand-guessing and search statement-space mechanically:
4a. Build the exact evaluator first (the FunSearch / AlphaEvolve precondition: generate-and-score against an exact evaluator is the pattern behind the published machine-discovered mathematics we know of — Romera-Paredes et al., Nature 625 (2024) 468, doi:10.1038/s41586-023-06924-6; Novikov et al., arXiv:2506.13131; Georgiev, Gómez-Serrano, Tao and Wagner, arXiv:2511.02864). Assemble a LABELED CORPUS of every certified object the effort has produced (witnesses, counterexamples, controls; label quality = certified/measured/screened as an explicit field, receipt-traced). Then a FEATURE LIBRARY of computable functionals spanning the project's mechanistic vocabulary. The corpus + evaluator turn "is this candidate statement true so far?" into an exact, instant check.
4b. Forced-distinct THEORY TOURNAMENT: 2–4 agents, no cross-reading, each LOCKED to a different organizing principle (e.g., bifurcation / symmetry-breaking; information geometry; real algebraic geometry; probabilistic / genericity). Each must deliver: the organizing picture in its lens; CANDIDATE THEOREMS fully quantified and falsifiable; an explicit object-by-object consistency table against the certified corpus; the 3 sharpest first tests; honest scoping of which certified objects fall outside its lens. Divergence between arms is data.
4c. Invariant synthesis over the feature matrix (searchers: sparse inequality synthesis, monotone-lattice search, program search) — candidates scored by the exact evaluator, survivors handed IMMEDIATELY to an X0 adversary — never pin a synthesized statement that has not survived a dedicated falsification run.
4d. Formulation-ladder bookkeeping: every dead formulation gets its killer recorded (witness + mechanism). The kill LIST is itself a deliverable — after enough kills it becomes a theorem-grade impossibility map, and the mechanisms usually name the surviving statement's true shape (in practice the kills typically trace to a small number of identifiable degeneracy structures).
Published base rates without preconditions, as of the cited evaluations (Mar 2025 / Feb 2026; capabilities move quickly): 10-15% cold success (pass@1) on fresh self-contained research lemmas (LemmaBench — Peyronnet, Gloeckle and Hayat, arXiv:2602.24173); <5% average proof score on USAMO 2025 for most models evaluated at release despite strong final-answer benchmark results (Proof or Bluff — Petrov, Dekoninck, Baltadzhiev, Drencheva, Minchev, Balunović, Jovanović and Vechev, arXiv:2503.21934). Projects beat the base rate only when THREE preconditions held — check all three first:
WORKS (in our campaigns and in the literature cited in §5): generate-against-exact-evaluator; self-contained stuck-step consultation with CAS re-derivation; candidate-object search for analysis proofs (Lyapunov/ansatz enumeration, falsify-each-cheaply); decomposition into sublemma STATEMENTS first, split-on-verification-failure; literature retrieval (typed as retrieval, never as discovery). HAS NOT WORKED, for us or at the base rates cited in §5: autonomous end-to-end proving without a mechanical certifier; self-reported confidence; final-answer benchmarks as proving ability; natural-language-only critique.
Grading: VERIFIED-CLOSED only after §1.4's two passes. Log every run — arm, budget, grade, artifacts — to a scoreboard so DNFs and failed certifiers stay visible.
Sources and acknowledgments. This protocol was distilled from our own multi-agent proving campaigns, but its parts have antecedents we are glad to name: the verification-and-refinement loop of Huang and Yang (arXiv:2507.15855) and the practitioner techniques collected by Woodruff, Cohen-Addad et al. (arXiv:2602.03837) — problem decomposition, iterative refinement against error feedback, and the model deployed as an adversarial reviewer of existing proofs; counterexample-guided inductive synthesis (Solar-Lezama, Tancau, Bodik, Seshia and Saraswat, ASPLOS 2006) for the adversary/prover alternation; mutation testing (DeMillo, Lipton and Sayward, IEEE Computer 11(4) (1978) 34) for the planted-bug audit; Knight and Leveson's (IEEE Trans. Softw. Eng. SE-12 (1986) 96) demonstration that independently written versions fail together, which is why diversity is forced rather than requested; and, older than all of these, Lakatos's Proofs and Refutations (Cambridge, 1976). The exact-evaluator regime follows FunSearch and AlphaEvolve (refs in §4a); the base rates are from LemmaBench and Proof or Bluff (§5) and the self-correction null from Huang et al. (§0).
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/lit-reviewDeep literature review behind a research project's novelty claims — a protocol whose one job is to prevent shortcuts. It demands the papers be actually read (nothing from memory), makes thoroughness falsifiable (read ledgers, search receipts, gap statements), tracks citation chains in both directions, and lists the places to look. Use before any novelty claim ships, when writing or reviewing a related-work section, and when refereeing./prose-lintuse before circulating any scientific text, human- or LLM-drafted — a clarity and integrity linter: hype vocabulary, empty sentence structures, agentless prose, number discipline, and honesty failures; one pass is never enough./ref-checkCareful bibliography verification and entry-addition for papers — verify every author, title, journal, volume, pages, year, arXiv ID, and DOI against authoritative online sources (INSPIRE, arXiv, CrossRef/DOI, zbMATH, publisher) before anything enters or stays in a .bib file. Use whenever adding bib entries, auditing a bibliography, checking citations, fixing references, or when asked to "check the references". Encodes the report-then-fix pattern for full-file audits and the folklore-error traps (wrong years, truncated author lists, mislabeled keys)./referee-simUse before circulating any outward-facing scientific document — simulate the strongest standard objection from every audience it claims and verify the document answers each where that reader would look.npx claudepluginhub bootloops-ai/skills --plugin bootloops-researchOther plugins' skills for the same job