draft

Generate Lean theorem and lemma skeletons with placeholder proofs.

2|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/jeffrey-dot-li/lean-homology --skill draft-jeffrey-dot-li
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: draft
Source: https://github.com/jeffrey-dot-li/lean-homology/tree/main/.claude/skills/draft
Command: npx skills add https://github.com/jeffrey-dot-li/lean-homology --skill draft-jeffrey-dot-li

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps mathematicians and computer scientists working with formal verification systems like Lean to quickly scaffold the structure of theorems and lemmas, even before the full proofs are developed.

Core Features & Use Cases

  • Theorem Structuring: Generates compilable Lean code for theorem and lemma declarations with sorry placeholders.
  • Proof Decomposition: Assists in breaking down complex proofs into smaller, manageable lemmas.
  • Use Case: When starting a new proof in Lean, use this Skill to draft the main theorem statement and its immediate supporting lemmas, ensuring the overall structure compiles and is ready for incremental proof development.

Quick Start

Use the draft skill to create a theorem structure for proving the fundamental theorem of calculus.

Frequently Asked Questions about draft

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why do I need to use sorry placeholders when structuring Lean theorems?

You use `sorry` placeholders when structuring Lean theorems to allow the code to compile before the proofs are finished. This lets you validate the overall theorem structure and type signatures early in the formal verification process.

How do I scaffold theorem structures in Lean before writing the actual proofs?

To scaffold theorem structures in Lean, you can draft declarations using `sorry` placeholders. This allows the overall proof structure to compile successfully while you incrementally develop the actual mathematical proofs for each lemma.

Can I decompose complex Lean proofs into smaller manageable lemmas?

Yes, you can decompose complex Lean proofs into smaller, independently provable lemmas. This interactive decomposition helps manage formal verification projects by breaking down large theorems into structured, compilable sub-goals.

Does drafting sorry'd theorems in Lean follow Mathlib naming and documentation conventions?

Drafting sorry'd theorems in Lean adheres to Mathlib conventions for naming and documentation. Ensuring your theorem and lemma declarations align with these conventions helps maintain consistency across formal verification projects.

What is the best way to start a new formal verification project in Lean without completed proofs?

The best way to start a formal verification project in Lean is to draft the main theorem statement and its supporting lemmas with `sorry` proofs. This ensures the entire structure compiles and is ready for incremental proof development.

Why do I need to use sorry placeholders when structuring Lean theorems?

You use `sorry` placeholders when structuring Lean theorems to allow the code to compile before the proofs are finished. This lets you validate the overall theorem structure and type signatures early in the formal verification process.