Aller au contenu
Skillpedia
Recherche18k · #10576

proof-writer

Ce qu’il fait

Cette skill rédige des preuves mathématiques pour des résultats de théorie de l'apprentissage automatique et de l'IA. Elle s'adresse aux chercheurs qui ont besoin qu'une preuve soit rédigée ou qu'une étape manquante soit comblée.

Quand l’utiliser

  • ✓Quand vous avez besoin d'une preuve rédigée pour un théorème, un lemme ou une proposition.
  • ✓Quand une esquisse de preuve contient des étapes manquantes à compléter.
  • ✓Quand vous voulez savoir si une affirmation peut être prouvée sous ses hypothèses énoncées.

Lien du skill

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/proof-writer/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/proof-writer/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“J'ai besoin d'une preuve complète de ce lemme dans mes notes de théorie du ML, et je veux savoir s'il tient tel quel.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent confirme l'énoncé exact et les hypothèses, puis rédige la preuve étape par étape. Si l'affirmation ne tient pas telle quelle, il propose une affirmation corrigée ou explique le blocage.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Proof Write: Rigorous Theorem / Lemma Drafting

Write a mathematically honest proof package, not a polished fake proof.

Constants

  • DEFAULT_PROOF_DOC = PROOF_PACKAGE.md in project root
  • STATUS = PROVABLE AS STATED | PROVABLE AFTER WEAKENING / EXTRA ASSUMPTION | NOT CURRENTLY JUSTIFIED

Context: $ARGUMENTS

Goal

Produce exactly one of:

  1. a complete proof of the original claim
  2. a corrected claim plus a proof of the corrected claim
  3. a blockage report explaining why the claim is not currently justified

Inputs

Extract and normalize:

  • exact theorem / lemma / proposition / corollary statement
  • explicit assumptions
  • notation and definitions
  • any user-provided proof sketch, partial proof, or intended strategy
  • nearby lemmas or claims in local notes, appendix files, or theorem drafts if the request points to them
  • desired output style if specified: concise, appendix-ready, or full-detail

If notation or assumptions are ambiguous, state the exact interpretation you are using before proving anything.

Workflow

Step 1: Gather Proof Context

Determine the target proof file with this priority:

  1. a file path explicitly specified by the user
  2. a proof draft already referenced in local notes or theorem files
  3. PROOF_PACKAGE.md in project root as the default target

Read the relevant local context:

  • the chosen target proof file, if it already exists
  • theorem notes, appendix drafts, or files explicitly mentioned by the user

Extract:

  • exact claim
  • assumptions
  • notation
  • proof sketch or partial proof
  • nearby lemmas that the draft may depend on

Step 2: Normalize the Claim

Restate:

  • the exact claim being proved
  • all assumptions, separately from conclusions
  • all symbols used in the claim

Identify:

  • hidden assumptions
  • undefined notation
  • scope ambiguities
  • whether the available sketch proves the full claim or only a weaker variant

Preserve the user's original theorem statement unless a change is explicitly required. If you use a stronger normalization or cleaner internal formulation only to make the proof easier, keep that as an internal proof device rather than silently replacing the original claim.

Optional Lean proof route

When the user requests Lean, or formalizing a specific proof obligation would materially help establish correctness, invoke /lean-formalize with the original statement, current attempt, and known dependencies. It develops the proof as well as its formal implementation. Return the checked scope, exported theorem and remaining obligations to this proof package. A partial result closes only its corresponding obligation. When called by lean-formalize to develop a missing mathematical argument, return that argument and remaining gaps to the calling Lean run; do not invoke lean-formalize recursively. Ordinary proof drafting does not require Lean; difficulty alone does not trigger it.

Step 3: Feasibility Triage

Before writing a proof, classify the claim into exactly one status:

  • PROVABLE AS STATED
  • PROVABLE AFTER WEAKENING / EXTRA ASSUMPTION
  • NOT CURRENTLY JUSTIFIED

Check explicitly:

  • does the conclusion actually follow from the listed assumptions?
  • is any cited theorem being used outside its conditions?
  • is the claim stronger than what the available argument supports?
  • is there an obvious counterexample, boundary case, or quantifier failure?

If the claim is not provable as stated, do NOT fabricate a proof. Do NOT silently strengthen assumptions or narrow the theorem's scope just to make the proof work.

Step 4: Build a Dependency Map

Choose a proof strategy, for example:

  • direct
  • contradiction
  • induction
  • construction
  • reduction to a known result
  • coupling / probabilistic argument
  • optimization inequality chaining

Then write a dependency map:

  • main claim
  • required intermediate lemmas
  • named theorems or inequalities that will be cited
  • which assumptions each nontrivial step depends on
  • boundary cases that must be handled separately

If one step is substantial, isolate it as a lemma instead of burying it in one sentence.

Step 5: Write the Proof Document

Write to the chosen target proof file.

If the target proof file already exists:

  • read it first
  • update the relevant claim section
  • do not blindly duplicate prior content

If the user does not specify a target, default to PROOF_PACKAGE.md in project root.

Do NOT write directly into paper sections or appendix .tex files u

Questions fréquentes

Que se passe-t-il si mon affirmation est fausse telle quelle ?

La skill le signale honnêtement, en proposant une affirmation corrigée avec sa preuve ou un rapport de blocage.

Où la preuve est-elle enregistrée ?

Par défaut, elle est placée dans un fichier PROOF_PACKAGE à la racine du projet.

En quoi est-elle différente du vérificateur de preuves ?

Le vérificateur de preuves contrôle et corrige une preuve existante. Cette skill rédige les preuves depuis le début.

Détails

Description originale de l’auteur

Writes rigorous mathematical proofs for ML/AI theory. Use when asked to prove a theorem, lemma, proposition, or corollary, fill in missing proof steps, formalize a proof sketch, 补全证明, 写证明, 证明某个命题, or determine whether a claimed proof can actually be completed under the stated assumptions.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

Popularité

Étoiles GitHub
18k
Position au classement
#10576
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires