proof-writer
Qué hace
Esta skill escribe demostraciones matemáticas para resultados de teoría de aprendizaje automático e IA. Está pensada para investigadores que necesitan que se redacte una demostración o se complete un paso que falta.
Cuándo usarla
- ✓Cuando necesitas una demostración escrita para un teorema, lema o proposición.
- ✓Cuando un esbozo de demostración tiene pasos que faltan y deben completarse.
- ✓Cuando quieres saber si una afirmación puede demostrarse con los supuestos indicados.
Link de la skill
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/proof-writer/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Necesito una demostración completa de este lema de mis notas de teoría de ML, y quiero saber si se cumple tal como está planteado.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente confirma el enunciado exacto y los supuestos, y luego escribe la demostración paso a paso. Si la afirmación no se cumple tal como está, ofrece una afirmación corregida o explica el bloqueo.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Proof Write: Rigorous Theorem / Lemma Drafting
Write a mathematically honest proof package, not a polished fake proof.
Constants
- DEFAULT_PROOF_DOC =
PROOF_PACKAGE.mdin project root - STATUS =
PROVABLE AS STATED | PROVABLE AFTER WEAKENING / EXTRA ASSUMPTION | NOT CURRENTLY JUSTIFIED
Context: $ARGUMENTS
Goal
Produce exactly one of:
- a complete proof of the original claim
- a corrected claim plus a proof of the corrected claim
- 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:
- a file path explicitly specified by the user
- a proof draft already referenced in local notes or theorem files
PROOF_PACKAGE.mdin 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 STATEDPROVABLE AFTER WEAKENING / EXTRA ASSUMPTIONNOT 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
Preguntas frecuentes
¿Qué pasa si mi afirmación es falsa tal como está?
La skill lo informa con honestidad, ofreciendo una afirmación corregida con su demostración o un informe de bloqueo.
¿Dónde se guarda la demostración?
Por defecto va a un archivo PROOF_PACKAGE en la raíz del proyecto.
¿En qué se diferencia de proof-checker?
Proof-checker verifica y corrige una demostración existente. Esta skill escribe demostraciones desde cero.
Detalles
Descripción original del autor
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.
Popularidad
- Estrellas en GitHub
- 18 mil
- Posición en el ranking
- #10576
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
ablation-planner
18 milAyuda a tu agente a planificar estudios de ablación para un artículo, eligiendo las pruebas que probablemente pidan los revisores cuando los resultados principales ya parecen buenos.
alphaxiv
18 milPermite que tu agente lea rápidamente un artículo de investigación usando resúmenes de AlphaXiv, con el texto completo o el código fuente en LaTeX como respaldo, a partir de un enlace de arXiv o de un ID.
analyze-results
18 milAyuda a tu agente a analizar resultados de experimentos de aprendizaje automático, comparar las ejecuciones con una línea base y convertir las cifras en hallazgos claros y próximos pasos.
arxiv
18 milPermite que tu agente busque artículos académicos en arXiv, lea sus detalles y guarde los PDF en tu biblioteca para un tema de investigación.
Skills parecidas
graincrawl
394 milPermite que tu agente busque tus notas y transcripciones guardadas de reuniones de Granola, revise qué tan recientes son y las cuente en un periodo.
notcrawl
394 milPermite que tu agente busque en una copia guardada de tu espacio de Notion, consulte páginas y bases de datos y exporte páginas a archivos Markdown.
knowledge-entities
394 milAyuda a tu agente a identificar personas, empresas y proyectos, y después a redactar páginas de perfil con fuentes en tu bóveda de Knowledge.