Writing Lean Proofs

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.

Trail of Bits Updated 7k repo stars

File contents

trailofbits/skills/tree/main/plugins/writing-lean-proofs/skills/writing-lean-proofs commit d3323cefbc

Frequently asked questions

npx skillmds@latest add trailofbits/writing-lean-proofs