Skip to content
L

lean4

Unified Lean 4 plugin (draft, formalize, autoformalize, prove, autoprove

by cameronfreerFree

#10404in AI Skills
0In stores

Description

The Lean 4 plugin gives a coding agent a set of commands for working on Lean 4 theorem proofs. It can draft declaration skeletons from infor…

Highlights

  • Draft Lean declarations from informal claims
  • Guided and autonomous proving with checkpoints
  • Proof review, refactoring and golfing
  • Interactive mathlib learning
  • Works in Claude Code and Codex

Ratings & Reviews

No ratings yet

Be the first to rate lean4.

People also visit

L

lean-explore

Search Lean 4 declarations through the hosted LeanExplore MCP server

AI Skills
Get
Q

quasi-coder

Interprets shorthand, pseudo-code

AI Skills
Get
W

warp-delegate

Delegate a coding task to the Warp Agent CLI

AI Skills
Get
C

codex

Provides Codex CLI delegation workflows for complex code generation

AI Skills
Get
Q

qwen-coder

Provides Qwen Coder CLI delegation workflows for coding tasks

AI Skills
Get
K

kimi-delegate

Delegate a coding task to the Kimi Code CLI

AI Skills
Get

lean4 FAQ

What is the Lean 4 plugin?

A plugin for Lean 4 theorem proving that gives a coding agent commands for drafting, formalizing, proving, reviewing and refactoring Lean code.

Which commands are included?

Draft, formalize, autoformalize, prove, autoprove, disprove, checkpoint, review, refactor, golf, learn and diagnose. In Claude Code they run as /lean4 commands. In Codex you invoke $lean4 and ask for the workflow by name.

Does it need a language server?

It is LSP-first, so it uses Lean language server features where they are available and falls back to scripts otherwise.

Is it free?

The project is public on GitHub, in the cameronfreer/lean4-skills repository, and the plugin is listed as free.

Are there examples?

Yes. The plugin folder includes a command-examples file with worked transcripts of the commands.

What are the best lean4 alternatives?

Popular alternatives to lean4 include lean-explore, quasi-coder and warp-delegate. See all lean4 alternatives

Developer Stuff

Badges