🧮
QualityPython

Lean 4 Theorem Proving

by frenzymath

Lean 4 Theorem Proving is a Quality skill for Claude Code, published by frenzymath in Archon.

214 stars36 forkson frenzymath/ArchonAdded 2026/09/04Repository updated 2026/08/17
ai-agentsautomationclaudeclaude-codecodexdagformal-methodsleanlean4mathematicsproof-assistanttheorem-proving
Install in seconds
Install Lean 4 Theorem Proving
Copy Lean 4 Theorem Proving into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/frenzymath/Archon/tree/main/src/archon/.archon-src/skills/lean4/skills/lean4 ~/.claude/skills/lean4

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/frenzymath/Archon.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
src/archon/.archon-src/skills/lean4/skills/lean4/SKILL.md in frenzymath/Archon
Installs to
~/.claude/skills/lean4
Collection
The only skill cataloged from this repository
Category
Quality1557 skills

What Lean 4 Theorem Proving does

Lean 4 Theorem Proving helps edit Lean 4 files, debug builds, search mathlib, and formalize mathematics in Lean. Use it for type mismatches, sorry analysis, lake errors, or learning Lean 4 concepts.

Lean 4 Theorem Proving is cataloged under Quality on DirSkills. Lean 4 Theorem Proving comes from a repository tagged ai-agents, automation, claude, claude-code and codex.

Documentation

README

Lean 4 Theorem Proving

Use this skill whenever you're editing Lean 4 proofs, debugging Lean builds, formalizing mathematics in Lean, or learning Lean 4 concepts. It prioritizes LSP-based inspection and mathlib search, with scripted primitives for sorry analysis, axiom checking, and error parsing.

Core Principles

Search before prove. Many mathematical facts already exist in mathlib. Search exhaustively before writing tactics.

Build incrementally. Lean's type checker is your test suite—if it compiles with no sorries and standard axioms only, the proof is sound.

Respect scope. Follow the user's preference: fill one sorry, its transitive dependencies, all sorries in a file, or everything. Ask if unclear.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Lean 4 Theorem Proving

  • How does Lean 4 Theorem Proving compare to other Quality skills?

    Lean 4 Theorem Proving ranks #1426 by stars among the 1557 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Lean 4 Theorem Proving against them. Open each page to compare what they document and how they install.