Proofreader
An agentic LLM tool for pre-submission self-review of formal proof-based papers. Designed for the author who wants to find the holes in their own proofs before a reviewer — or a later reader — does.
The name is a deliberate double entendre: the tool proofreads, in the copy-editor's sense, by reading proofs, in the formal sense.
"Proofreading" here means scrutinizing the correctness of the formal arguments — not just typo-hunting, and not mechanized proof checking in Lean / Rocq / Coq. This is human-language proof scrutiny, executed by an LLM with optional Python code execution for counterexample search. Proofreader screens; it does not certify. Its output is stochastic and neither sound nor complete — it can flag results erroneously, and it can miss flaws entirely. We have nonetheless found it useful, including in cases where independent authors confirmed the findings.
What it does
Three inline skills (run in the main conversation), four subagents (fresh isolated context), and three slash-command orchestrators.
Inline skills
| Skill | What it does |
|---|
evaluate-paper | First-pass read: quality scores, flags, complete inventory of theorems/lemmas with per-result verdicts. One call per paper. |
audit-proof | Deep audit of one theorem or lemma. Lists issues by severity. The orchestrator calls this once per flagged result (mirroring the original pipeline). |
writeup-finding | Produces a clean LaTeX or Markdown brief of a finding — share with coauthors or keep as a record. |
Subagents
These run in fresh, isolated contexts. The main conversation dispatches them and receives a single report back. The structural independence matters for correctness (see Why subagents? below).
| Agent | What it does |
|---|
find-counterexample | Adversarial CX hunt for a flagged result. Writes and runs Python to verify. Isolated context keeps the noisy iteration out of the main conversation. |
defend-finding | Mounts the strongest legitimate defense of the paper against an audit finding. Fresh context means the defender has no idea about the eventual arbiter — and no incentive to soften its case in anticipation. May fetch cited references with explicit user permission. |
arbitrate-finding | Impartial adjudicator. Reads paper + audit + defense (+ optional counterexample) with fresh eyes and renders a true/false-positive verdict with a flaw taxonomy. |
verify-restatement | When the paper restates a theorem from a cited source (Theorem 1 (Liu-Layland)), fetches the original (with permission) and compares — detects precondition drift, conclusion strengthening, quantifier-scope changes that propagate through the paper's downstream proofs. |
Slash commands
| Command | What it does |
|---|
/proofread <paper.pdf> | Full pipeline: evaluate-paper → audit-proof (per flagged result) → find-counterexample (per likely-flawed audit, in subagents) → defend-finding + arbitrate-finding (in subagents) → writeup-finding. Single Markdown report at the end. |
/stress-test-defense <result> | Dispatches the defender subagent, then the arbiter subagent, then synthesizes their outputs. Use when you want to gut-check whether an audit finding is real. |
/diff-proofread <old> <new> | Compares two versions of a draft and reports what was fixed, what regressed, what's new, and what's unchanged. Use it across revision rounds to confirm fixes took and to catch regressions early. |
Why subagents?
The defender, arbiter, and counterexample-hunter are subagents (not inline skills) for one reason: structural independence. The original paper-evaluation pipeline got independence for free by making each role a separate API call; the plugin recreates that property via fresh-context subagents.
- The defender has an asymmetric incentive to defend. If it knew the arbiter would later rebut it in the same context, it would soften its case. Fresh context preserves the asymmetric incentive.
- The arbiter brings genuine independent judgment because it never produced the audit or the defense — it reads both as documents.
- The counterexample hunt is long, iterative, and Python-heavy. Isolating it keeps the noise out of the main conversation.
If your tool doesn't support subagents (Codex/Gemini in some configurations), the orchestrators degrade gracefully and mark the report independence: degraded.
Every skill has a mode knob:
rigorous (default): flags issues clearly with severity, always suggests a fix or follow-up. Reviewer tone for journal/conference feedback.
adversarial: red-team the paper. Don't give yourself the benefit of the doubt. Useful for self-review where you want to break your own work before someone else does.
You set the mode by including mode: adversarial (or mode: rigorous) in your request, e.g. "Audit the proof of Theorem 3 in adversarial mode."