The template of a paper project: a Lean formalization of one machine learning paper on top of
LMLExplore, whose library-shaped part is
ported to LMLExplore by Tau Ceti workers while
the formalization goes on. It goes with the lml Claude Code plugin of
lml-claude, whose formalize-paper skill is
the workflow.
To start a paper, tell your AI agent:
Read https://raw.githubusercontent.com/LeanMachineLearning/lml-claude/main/START.md with curl and follow it.
or create a repository from this template and run scripts/init.sh <Lib> <Paper> <KEY> in it
(for example scripts/init.sh Maiti2026Power MXJ2026 MXJ26); then follow bootstrap.md of the
formalize-paper skill.
The library here, PaperLib, builds as it is: this repository's CI checks the template against
LMLExplore's current main. Everything between the template markers of this README is removed
by scripts/init.sh.
A Lean 4 formalization of <title of the paper> (, <venue, year>), on top of LMLExplore, and so of LML, Tau Ceti and Mathlib. Made from lml-paper-template.
- Website: https://PAPEROWNER.github.io/PAPERREPO/, with the blueprint, the referee site and the
literature links (which declarations formalize which results of the paper). CI builds it on each
push to
main.scripts/formalize.shalso commits the literature links, asliterature/annotations.jsonl, when the paper is formalized and after the final bump. - The paper:
source/. Errors found in it, with their corrections:notes/paper-errata.md. - The paper's results:
PaperLib/PaperResults/, one file per result, listed with their status informalization.yaml; comparator challenges incomparator/. - Library-shaped material:
PaperLib/ForLMLExplore/, which Tau Ceti workers port to LMLExplore;PAPER_ROADMAP.mdsays where each item goes.
scripts/build.shThe script fetches Mathlib's and Tau Ceti's prebuilt files, then runs lake build; its arguments go
to lake build.
The workflow is the formalize-paper skill of the lml Claude Code plugin
(lml-claude). Phase 1 (outline, blueprint,
statements) is done in a Claude Code session. After it, scripts/formalize.sh, in a terminal or
tmux, proves the rest and sends the reusable parts to LMLExplore.