Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lml-claude

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.

Start

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-claude

Third-party marketplaces do not update by default: turn on auto-update for lml-claude under /plugin, then Marketplaces.

The workflow

  1. 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.
  2. After phase 1, in a terminal. scripts/formalize.sh in 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.

The skills

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.

Files

  • .claude-plugin/marketplace.json: the marketplace, listing the lml plugin.
  • 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 that scripts/formalize.sh runs. Changing it here moves every paper repository to that worker version.

License

Apache 2.0, see LICENSE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages