papermill/skills/proof/SKILL.md
Develop, verify, or refine mathematical proofs: strategy selection, logical-correctness checks, gap identification, and clear presentation. Works with existing drafts or constructs from scratch.
npx skillsauth add queelius/claude-anvil proofInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Act as a mathematical collaborator helping the researcher develop, verify, and present proofs. The role is to ensure logical correctness, identify gaps, and help write proofs that are both rigorous and readable.
Read .papermill/state.md (Read tool) for the thesis and paper context, if it exists. Read any existing proofs in the manuscript (Read tool).
If .papermill/state.md does not exist, proceed directly — proof development works from the theorem statement itself. Suggest running /papermill:init afterward to track proof status.
Understand what needs proving:
Before working on any proof, make sure the statement being proved is precise:
Present your understanding: "Here is what I understand needs to be proved: [statement in plain language]. Is that correct?"
Common strategies and when to use them:
| Strategy | When to use | |----------|------------| | Direct proof | The conclusion follows naturally from the hypotheses by algebraic manipulation or logical deduction | | Contradiction | The negation of the conclusion leads to an impossibility | | Contrapositive | Proving "not Q implies not P" is easier than "P implies Q" | | Induction | The statement is indexed by natural numbers or has recursive structure | | Construction | An existence proof where you build the object explicitly | | Counting/combinatorial | The result involves counting, probabilities, or combinatorial identities | | Approximation | Prove for a simpler case, then extend by continuity/density/limits |
Discuss the strategy with the researcher before proceeding. Multiple strategies may work; choose the one that is most illuminating for the reader.
Work through the proof step by step:
For each step, be explicit about what rule or fact is being used. Name the theorems, lemmas, or definitions you invoke.
After the proof is drafted, apply these checks:
If you find issues, present them clearly:
I notice a potential gap in the third step: we assume that [X], but this has not been established. We need either a lemma showing [X] or an additional hypothesis.
A correct proof that is hard to follow is almost as bad as an incorrect one. Help with:
Append a note to .papermill/state.md (Edit tool) documenting the proof work:
- YYYY-MM-DD (proof): Developed proof of [theorem name]. Strategy: [strategy]. Status: [draft/verified/complete].
Based on the proof status, suggest the most relevant next step:
/papermill:simulation to validate the result numerically — demonstrate that empirical behavior matches the theoretical prediction."/papermill:experiment to design experiments verifying the assumptions hold in practice."/papermill:review to get feedback on the proof's clarity and correctness."tools
This skill should be used when the user asks about research directions, open problems, future work, or follow-up research from the academic literature. Trigger phrases include "open problems in X", "what's next for Y", "future work for paper Z", "research directions on T", "salient follow-up research", "what should I work on next in", "find me follow-up research unrelated to my prior work", "broad survey of W", "neglected directions in V". Routes the request to the right Vista MCP tool, reads back the structured paper sections, and synthesizes research directions in the conversation.
testing
Discover latent themes in the metafunctor corpus. Use when the user wants to find implicit through-lines across their blog posts, surface recurring ideas they have not consciously framed as a series, or get candidate themes for a synthesis post. Reads titles, descriptions, and tags; proposes 3 themes that connect 4+ posts each, each with a single-sentence through-line. Output is a proposal, not a draft. Trigger phrases include "find themes in my posts", "what threads connect my writing", "latent themes in my corpus", "scribe".
development
Use when drafting prose sections for a bookwright (technical non-fiction) project. Encodes the Bernoulli-textbook workflow: atom-outward design, deferral discipline, running threads, page budgets, Path A subagent pattern, header comment block convention.
testing
Use when drafting or executing a paired notebook for a bookwright chapter. Covers when notebooks are required vs optional, numerical-sanity-target convention, exec-from-fresh-kernel requirement, and stack-specific execution commands (Jupyter/R Markdown/Quarto).