Claude Code plugins of Lean Machine Learning. The lml plugin
helps you formalize a machine learning paper in Lean on top of
LMLExplore, and sends the reusable part of
your formalization to LMLExplore, with your own agent subscription.
Tell your AI agent:
Read https://raw.githubusercontent.com/LeanMachineLearning/lml-claude/main/START.md with curl and follow it.
START.md installs the tools and the plugin, then creates a repository for your
paper from lml-paper-template. It
stops and tells you what to type wherever only you can act: a GitHub login, reloading the
plugins, opening a session in the new repository.
To install the plugin by hand:
claude plugin marketplace add LeanMachineLearning/lml-claude
claude plugin install lml@lml-claudeThird-party marketplaces do not update by default: turn on auto-update for lml-claude under
/plugin, then Marketplaces.
- Phase 1, in a Claude Code session.
/lml:formalize-paper <paper>writes the outline and the blueprint with you, and states the paper's main results in Lean. You check the statements against the paper; they are then frozen as comparator challenges. - After phase 1, in a terminal.
scripts/formalize.shin the paper repository proves the rest of the paper, and runs Tau Ceti workers that port its library-shaped part to LMLExplore, where the resulting pull requests are reviewed. It stops when everything is done.
| Skill | Use |
|---|---|
/lml:formalize-paper |
The formalization workflow: outline, blueprint, statements, proofs, comparator, and the unattended rounds that scripts/formalize.sh runs. |
/lml:paper-roadmap |
Writes PAPER_ROADMAP.md: which prerequisites of the paper LMLExplore has, which advance an LMLRoadmaps target, and which stay in the paper repository. |
/lml:lean-review |
A thorough review of Lean code against the Mathlib guidelines and the Tau Ceti rubrics. |
.claude-plugin/marketplace.json: the marketplace, listing thelmlplugin.plugins/lml/: the plugin (skills, and a session-start check of the prerequisites).START.md: setup instructions written for an agent.worker.ref: the Tau Ceti worker commit thatscripts/formalize.shruns. Changing it here moves every paper repository to that worker version.
Apache 2.0, see LICENSE.