con un clic
draft
Draft sorry'd theorem/lemma structure for a larger result from a proof sketch.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Draft sorry'd theorem/lemma structure for a larger result from a proof sketch.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Prove a specific sorry'd lemma iteratively using Lean LSP tools.
Improve Claude Code workflow by updating assistants.md, skills, memory, or CLAUDE.md.
Fix warnings line by line and bring code into compliance with Mathlib style standards.
Improve an existing working proof for structural clarity, succinctness, or reusability.
Fill a sorry one step at a time, directed by the user.
Read and discuss proofs, strategies, or math concepts without making any edits.
| name | draft |
| description | Draft sorry'd theorem/lemma structure for a larger result from a proof sketch. |
Draft the theorem/lemma structure needed to prove a larger result.
This is NOT the builtin /plan command. The builtin /plan enters a read-only planning mode that produces a markdown plan for user approval before any code is written. /draft writes actual Lean code — sorry'd declarations that compile — directly in the source files.
Topic / proof sketch: $ARGUMENTS
sorry proofs — no filled proofs in this mode.sorry'd statement compiles with lean_diagnostic_messages (use severity="error") before moving on. Warnings about sorry and linter noise are expected — only errors matter.The top-level theorem should read like a proof outline — each step composing named lemmas with simple plumbing (rw, exact, simp, apply). If the top-level proof still needs >10 lines of non-trivial tactics at any step, a lemma might be missing from the decomposition.
Prefer general, reusable lemma statements over proof-specific helpers. A good decomposition builds tools (e.g., sigmaι_cancel, sigmaι_comp_fst_eq) that apply beyond the current theorem.
A compilable file (or section) of sorry'd declarations with clear names and docstrings. Iterate with the user until the decomposition is right.
/-- ... -/ docstrings explaining the mathematical content.