writing-lean-proofs

trailofbits/skills/plugins/writing-lean-proofs/skills/writing-lean-proofs

6.9k 0 +6.9k/7dDev Tools
PlatformClaude CodeOpenAI Codex

Writes and reviews structured Lean 4 proofs and designs Lean libraries following Mathlib conventions. Use when proving theorems in Lean, formalizing mathematics or specifications in Lean 4, defining new types or definitions in a Lean library, reviewing Lean proofs for readability and maintainability, refactoring long tactic proofs into lemmas, filling in sorry placeholders in a Lean development, setting up CI or linters for a Lean project, diagnosing slow proofs or maxHeartbeats timeouts, or writing custom tactics, macros, or linters.

Claude CodeOpenAI Codex

All Skills