원클릭으로
draft
Draft sorry'd theorem/lemma structure for a larger result from a proof sketch.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Draft sorry'd theorem/lemma structure for a larger result from a proof sketch.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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.