English | 中文
Organon collects existing formalizations of results in mathematical logic and serves as a reference list for future formalization work. Before you formalize a result in logic, look here to find out:
- whether someone has done it already, and in which proof assistant;
- where the code is (pinned to a commit or release where possible);
- how far it goes: the main theorem names, the axioms used, and how the formal statement differs from the original;
- which libraries it depends on and what can be reused.
Coverage follows MSC2020 class 03 and extends to type theory and univalent foundations: model theory, set theory, computability and recursion theory, proof theory, general and non-classical logic, algebraic logic, λ-calculus, type theory, homotopy type theory, constructive mathematics. Logic-adjacent work such as rewriting, programming-language semantics and proof complexity is kept as boundary.
Sources come in two groups:
- AI-era formalization platforms that grew fast in 2026: Palomar, Hexagon, aiXiv, Prove2Me, Lean Pool, Tau Ceti and the OpenAI math repository.
- Established libraries and archives: Mathlib, the Isabelle Archive of Formal Proofs, the Rocq/Coq ecosystem, the Agda ecosystem (TypeTopology, agda-unimath, Cubical Agda, 1Lab), Coq-HoTT, UniMath, Metamath, Mizar and the HOL family.
Annotations such as subfield notes are partly in Chinese; field names, codes and most summaries are in English.
Download the generated tables:
| File | Contents |
|---|---|
dist/math_logic_formalizations.en.csv |
Main table with English field names and raw codes; best for scripts |
dist/math_logic_formalizations.csv |
The same table with Chinese headers and labels (UTF-8 with BOM, opens directly in Excel) |
dist/works.csv |
One row per mathematical result, merging the records for that result across sources |
dist/records.jsonl |
All records as JSON Lines |
dist/build_envs.csv |
Build environments of Lean projects (toolchain, Mathlib revision, all dependencies) |
dist/STATS.md |
Counts by source, subfield, proof assistant and artifact kind |
Columns and code lists are documented in docs/columns.md. Examples:
import pandas as pd
df = pd.read_csv("dist/math_logic_formalizations.en.csv")
# core set-theory work, grouped by proof assistant
st = df[df.relevance.eq("core") & df.subfields.str.contains("set-theory", na=False)]
print(st.groupby("assistants").size())
# existing formalizations that mention forcing
print(df[df.summary.str.contains("forcing", case=False, na=False)][["title", "assistants", "code_url"]])# without Python, using DuckDB
duckdb -c "select title, assistants, code_url from 'dist/math_logic_formalizations.en.csv'
where relevance = 'core' and subfields like '%model-theory%'"Snapshot: 2026-11-30. 1276 records, merged into 1243 works (30 cross-source duplicate groups).
Relevance: core 886, boundary 367, excluded 23
| Source | Kind | Records | Core | Boundary | Unscreened | Excluded | Main proof assistants |
|---|---|---|---|---|---|---|---|
| Palomar | platform | 99 | 88 | 11 | 0 | 0 | Lean 4, Metamath |
| Hexagon | platform | 9 | 5 | 4 | 0 | 0 | Lean 4, Rocq/Coq |
| aiXiv | archive | 7 | 3 | 4 | 0 | 0 | Lean 4, Agda |
| arXiv | archive | 113 | 64 | 49 | 0 | 0 | Agda, Lean 4 |
| Zenodo | archive | 9 | 4 | 5 | 0 | 0 | Lean 4, Rocq/Coq |
| OpenAI math repository | repo | 14 | 8 | 6 | 0 | 0 | Lean 4 |
| Lean Pool | repo | 71 | 48 | 23 | 0 | 0 | Lean 4 |
| Tau Ceti | library | 39 | 39 | 0 | 0 | 0 | Lean 4 |
| Prove2Me | platform | 128 | 61 | 48 | 0 | 19 | Lean 4 |
| postcutoff / ai-math-catalogue | catalogue | 1 | 1 | 0 | 0 | 0 | Lean 4 |
| GitHub search | catalogue | 120 | 97 | 23 | 0 | 0 | Agda, Lean 4 |
| Mathlib | library | 61 | 49 | 12 | 0 | 0 | Lean 4 |
| Other Lean libraries | library | 41 | 28 | 13 | 0 | 0 | Lean 4, Lean 3 |
| TypeTopology | library | 26 | 17 | 9 | 0 | 0 | Agda |
| agda-unimath | library | 18 | 8 | 10 | 0 | 0 | Agda |
| Cubical Agda library (agda/cubical) | library | 34 | 18 | 16 | 0 | 0 | Agda |
| 1Lab | library | 23 | 11 | 12 | 0 | 0 | Agda |
| Coq-HoTT library | library | 22 | 13 | 9 | 0 | 0 | Rocq/Coq |
| UniMath | library | 17 | 6 | 11 | 0 | 0 | Rocq/Coq |
| Other type theory / HoTT libraries | library | 14 | 13 | 1 | 0 | 0 | Agda, Lean 4 |
| Rocq/Coq ecosystem | library | 94 | 74 | 20 | 0 | 0 | Rocq/Coq |
| Archive of Formal Proofs (Isabelle) | library | 187 | 114 | 69 | 0 | 4 | Isabelle/HOL, Isabelle/ZF |
| Metamath | library | 38 | 33 | 5 | 0 | 0 | Metamath |
| Mizar Mathematical Library (MML) | library | 75 | 70 | 5 | 0 | 0 | Mizar |
| HOL family (HOL Light, HOL4, ...) | library | 16 | 14 | 2 | 0 | 0 | HOL Light, HOL4 |
Full statistics: dist/STATS.md. Known gaps and to-dos: docs/gaps.md.
data/ is the source of truth; dist/ is generated.
data/
sources.yaml source registry: entry point, granularity, collection method, update cadence
records/<source>.jsonl records, one JSON object per line; fields in schema/fields.yaml
build_envs.jsonl build environments: <repo>@<commit> → toolchain and dependencies
overrides/*.yaml manual curation: relevance screening, work merges/splits; applied fields are locked
schema/
fields.yaml field definitions (key, Chinese column name, type, required, description)
vocab.yaml controlled vocabularies (relevance, subfield, proof assistant, artifact kind, AI involvement)
Compared with the original single 37-column CSV (legacy/math_logic_formalizations.v1.csv):
- One file per source, one record per line. Multi-valued fields are real lists, and git diffs show exactly which record changed.
- Controlled vocabularies. Relevance, subfield, proof assistant, artifact kind and AI involvement are codes; free text goes into the
*_notecolumns. - Large repeated fields split out. Dependency lists, which reached 3.7 KB per cell in the old table, now live in
build_envs.jsonl; references are structured objects. - New columns:
work_id(cross-source work ID),year,tags,ref(branch or release when no commit is pinned),assistant_evidence(code seen vs. claimed in a paper),ai_involvement,licenseandmanual_fields(fields locked by curation). - Validation.
python -m mlf validatechecks required fields, types, vocabularies, URLs, commit hashes and ID uniqueness; CI runs it on every push.
Requires Python 3.11+ and pip install -r requirements.txt.
python -m mlf validate # validate
python -m mlf collect --list # list automatic collectors
python -m mlf collect arxiv palomar # run some collectors (needs network access)
python -m mlf apply-overrides # apply manual curation from data/overrides
python -m mlf works # recompute cross-source work IDs
python -m mlf build # regenerate dist/, docs/columns.md and the README statisticsAutomatic collection. Fast-moving sources have collectors in mlf/collectors/. The update.yml workflow runs them every Monday and opens a pull request for human review. Newly found items are always marked unscreened, so a person decides their relevance.
| Collector | Source | What it does |
|---|---|---|
arxiv |
arXiv | math.LO / cs.LO papers from the last 14 days that mention a proof assistant; adds only, never edits |
palomar |
Palomar | incremental registrations by MSC 03 and math.LO / cs.LO |
aixiv |
aiXiv | math.LO / cs.LO papers with code links |
hexagon |
Hexagon | experimental; arXiv-compatible endpoint |
openai_math |
OpenAI math | re-pins commits, flags new logic-related result families |
leanpool |
Lean Pool | project cards filtered by MSC and tags |
lib_dirs |
Mathlib, Tau Ceti, TypeTopology, agda-unimath, Cubical Agda, 1Lab, Coq-HoTT, UniMath | refreshes commits and file counts per directory; finds new directories |
afp |
Isabelle AFP | every entry under the Logic topics, from AFP metadata |
rocq_opam |
Rocq opam repository | packages whose category tags concern logic |
metamath |
Metamath set.mm | refreshes per-section theorem counts |
github_search |
GitHub search | repositories with logic topics (set-theory, model-theory, homotopy-type-theory, …) in Lean / Agda / Rocq / Isabelle that are not yet in the list |
Manual collection. Sources without a collector (Mizar, the HOL family, Zenodo, Prove2Me, …) are curated by hand following docs/manual-collection.md.
Curation. Do not edit fields that collectors overwrite. Write a YAML file in data/overrides/ and run apply-overrides; the fields it sets are added to the record's manual_fields and collectors leave them alone.
See CONTRIBUTING.md for details (in Chinese).
- Nothing has been compiled. No
lake build, Comparator run or library build has been done;sorrycounts are mostly self-reported. - Classifications may be wrong. They rely on authors' MSC codes, arXiv categories and platform tags. Subfields and summaries of library directories were written from directory documentation by people or AI agents and have not been checked one by one by domain experts.
- Snapshots go stale. Many library rows record only a branch (
ref), not a pinned commit; running thelib_dirscollector fills in commits. - Deduplication is heuristic. Works are merged by shared paper IDs, code locations and similar titles; fix mistakes with
merge_works/split_works.
- Data (
data/,dist/): CC BY 4.0. Quoted abstracts and descriptions remain with their original authors and platforms. - Code (
mlf/,tests/): MIT.
See CITATION.cff.