proof
Develop, verify, or refine mathematical proofs: strategy selection, logical-correctness checks, gap identification, and clear presentation. Works with existing drafts or constructs from scratch.
What this skill does
# Proof Development 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. ## Step 1: Read Context 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: - Is this a new proof to construct from scratch? - Is this an existing proof draft to verify and refine? - Is this a proof that needs to be simplified or restructured for the paper? ## Step 2: Understand the Statement Before working on any proof, make sure the statement being proved is precise: 1. **Read the theorem/proposition/lemma statement carefully.** Identify all quantifiers, assumptions, and conclusions. 2. **Check definitions.** Are all terms defined? Are the definitions the standard ones, or does this paper use non-standard conventions? 3. **Identify the proof obligations.** What exactly must be shown? For "if and only if" statements, both directions. For "for all," a universal argument. For existence, a construction or existence argument. Present your understanding: "Here is what I understand needs to be proved: [statement in plain language]. Is that correct?" ## Step 3: Select Proof Strategy 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. ## Step 4: Develop the Proof Work through the proof step by step: 1. **State the setup**: What are we given? What notation will we use? 2. **Identify the key insight**: What is the non-obvious step? Every good proof has one. 3. **Fill in the details**: Work through the algebra, logic, or construction. 4. **Check boundary cases**: Do the arguments work at the extremes? 5. **Verify the conclusion**: Does the final line actually state what was to be proved? For each step, be explicit about what rule or fact is being used. Name the theorems, lemmas, or definitions you invoke. ## Step 5: Verify Correctness After the proof is drafted, apply these checks: - **Logical flow**: Does each step follow from the previous one? Are there implicit assumptions? - **Quantifier correctness**: Are "for all" and "there exists" used correctly? Is the order right? - **Boundary cases**: Does the argument work when parameters are at their extremes (0, 1, infinity)? - **Notation consistency**: Are symbols used consistently throughout? - **Dependencies**: Does the proof depend on results that have not yet been established in the paper? - **Circularity**: Does the proof accidentally assume what it is trying to show? 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. ## Step 6: Help with Presentation A correct proof that is hard to follow is almost as bad as an incorrect one. Help with: - **Proof sketch first**: For long proofs, add a 2-3 sentence sketch before the formal proof. - **Signposting**: "We proceed in three steps: first we show..., then we..., finally we..." - **Naming key quantities**: "Let Delta denote the difference..." rather than repeating long expressions. - **Breaking into lemmas**: If the proof is long, factor out independent pieces as lemmas. - **Choosing the right environment**: Theorem for major results, Proposition for supporting results, Lemma for technical steps, Corollary for immediate consequences. ## Step 7: Update State File 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]. ``` ## Step 8: Suggest Next Steps Based on the proof status, suggest the most relevant next step: - If the proof establishes a quantitative result (formula, bound, rate) → "Use `/papermill:simulation` to validate the result numerically — demonstrate that empirical behavior matches the theoretical prediction." - If the proof depends on assumptions that could be tested → "Use `/papermill:experiment` to design experiments verifying the assumptions hold in practice." - If the proof is draft/verified but not yet in the paper → "Integrate the proof into the manuscript with proper LaTeX environments (Theorem, Proof, etc.)." - If the proof is complete and in the paper → "Use `/papermill:review` to get feedback on the proof's clarity and correctness."
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.