About
The Lemmata Repository is an experimental mathematics repository: each entry is a result written for people and formalized in Lean 4 on Mathlib, and every formal statement is checked by Lean’s kernel before it is published. See what “checked” means and the changelog for how the site has developed.
Lemmata is a home for formalized results that are worth sharing before, or without, a full paper: lemmas and constructions that may never become a paper of their own but are still useful to others, and results at a stage before a preprint — a way to disseminate them early, with the Lean proof as evidence. It is equally a place to archive the formalization of results from a paper, preprint or published, linked to it, so the proofs have a permanent, citable home next to the text. Entries are self-contained, and each has a stable identifier to cite.
Entries are web pages rather than papers. They are written in MyST Markdown and rendered as HTML with KaTeX, so an entry can use what fits the mathematics — numbered results, diagrams, interactive widgets — instead of a fixed paper layout. We chose HTML on purpose: almost any information can be represented in it well, more richly than in a static document Shihipar, 2026.
The repository is also built to be read by machines, and by language models in
particular. /llms.txt is a plain-text overview of
every entry with its identifier and status;
/lemmata.json is a machine-readable index with
every exported Lean declaration, its verification status and axioms, and a BibTeX entry.
Every entry links the Lean source of each result, and its page can be downloaded as
Markdown. Coding agents that want to contribute follow AGENTS.md (linked below), the
contribution procedure written for them.
The repository is born out of the Agentic AI in Mathematics (EF-LiOpt-3) project at the Berlin Mathematics Research Center MATH (EXC-2046/2, project ID 390685689), funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy. In its initial phases it is maintained by the IOL lab at the Zuse Institute Berlin (ZIB) and TU Berlin with the aim to transition to a community driven model in the very near future.
Contributing¶
Anyone can contribute. An entry is published once its pull request has been reviewed and merged, and the site has built it and checked every formal statement.
The archive is a Git repository, githubmain within minutes; the build status shows which version is live and, for a commit that was not published, why.
By default an entry, prose and Lean alike, is published under the Creative Commons Attribution 4.0 International license (CC BY 4.0). A contribution may specify another license, as long as it is compatible with the aim of the repository: entries must remain freely readable, reusable and buildable upon. Currently accepted besides the default are CC BY-SA 4.0, CC0 1.0 and Apache 2.0. Each entry shows its license under its title. Adaptations must retain the applicable upstream license and attribution notices. Please contribute only material you have the right to license in this way.
Removal of contributions¶
Like arXiv, the repository is a permanent record. Once an entry has been published and received its identifier, it is not removed: others may cite it, and other entries may build on its Lean code, which would stop compiling if it disappeared. An entry can instead be marked as withdrawn. It then stays available under its identifier, together with a notice of the withdrawal and the reason given, and is no longer listed as a current entry. Errors should be corrected by updating the entry; every published version remains traceable through the entry’s history.
Material can only be removed outright in exceptional cases, such as legal reasons or copyright violations. Requests for removal or withdrawal go to the maintainers.
Privacy¶
Apart from the comments, pages load nothing from other sites: fonts, math typesetting and scripts come from this site, and page views are counted with Plausible on ZIB’s own servers, without cookies. Otherwise ZIB’s legal notice and privacy policy apply.
The comments under each entry are external content: GitHub Discussions, shown with giscus. They load only after you click “Load comments”; before that, nothing is sent to giscus or GitHub. Loading them sends technical request data, including your IP address and browser information, and the address of the page to giscus and to the GitHub services that show the discussion and profile pictures. To comment, you sign in with GitHub and authorize giscus. Your GitHub username, avatar and profile link and your comments are public on GitHub and shown here; this site never receives your GitHub password. After you sign in, giscus keeps a sign-in token in your browser’s local storage until you sign out or remove it. The recipients are the independent giscus project, GitHub B.V. and GitHub, Inc.; see the GitHub Privacy Statement for GitHub’s processing, which may take place outside the EU/EEA. The legal basis for loading the comments on your request is Art. 6(1)(f) GDPR (legitimate interest in enabling discussion of the entries); loading and signing in are initiated by you. Comments stay in the repository’s Discussions until you or the maintainers delete them; this site keeps no comment database of its own.
Support¶
We gratefully acknowledge the support of:
- Shihipar, T. (2026). Using Claude Code: The unreasonable effectiveness of HTML. Claude blog. https://claude.dev/blog/using-claude-code-the-unreasonable-effectiveness-of-html/

