This paper describes mathlib, a community-driven effort to build a unified library of mathematics formalized in the Lean proof assistant. Among proof assistant libraries, it is distinguished by its dependently typed foundations, focus on classical mathematics, extensive hierarchy of structures, use of large- and small-scale automation, and distributed organization. We explain the architecture and design decisions of the library and the social organization that has led us here.
Amazon(亚马逊);Stanford University(斯坦福大学);Google DeepMind(谷歌DeepMind);The University of Texas at Austin(德克萨斯大学奥斯汀分校);FORM, University of Southern Denmark(南丹麦大学FORM);Lean FRO;Atlas Computing(阿特拉斯计算);Getulio Vargas Foundation(热图利奥·瓦加斯基金会);Institute for Theoretical Studies, ETH Zürich(苏黎世联邦理工学院理论研究所)
A Modular Lean 4 Framework for Confluence and Strong Normalization of Lambda Calculi with Products and Sums
Microsoft(微软);Centro de Informática, Universidade Federal de Pernambuco(伯南布哥联邦大学计算机中心);Departamento de Matemática, Universidade Federal Rural de Pernambuco(伯南布哥联邦农村大学数学系)
Université Paris Cité and Sorbonne Université, CNRS, IMJ-PRG(巴黎西岱大学与索邦大学,法国国家科学研究中心,数学与计算机研究所);Université Paris Cité, CNRS, Institut de recherche en informatique fondamentale(巴黎西岱大学,法国国家科学研究中心,基础信息学研究所)
New York University(纽约大学);Aarhus University(奥胡斯大学);ETH Zurich(苏黎世联邦理工学院);ENS Paris-Saclay(巴黎萨克雷高等师范学院);Institute of Science and Technology Austria (ISTA)(奥地利科学技术研究所);Chalmers(查尔姆斯理工大学)
LeanCat: A Benchmark Suite for Formal Category Theory in Lean (Part I: 1-Categories)
Yau Mathematical Sciences Center, Tsinghua University(清华大学尤洋数学科学中心);Iluvatar CoreX;Department of Mathematics, Southern University of Science and Technology(南方科技大学数学系);Westlake Institute for Advanced Study, Westlake University(西湖研究学院);Qiuzhen College, Tsinghua University(清华大学齐臻学院);Department of Physics, The Chinese University of Hong Kong(香港中文大学物理系);Yanqi Lake Beijing Institute of Mathematical Sciences and Applications (BIMSA)(燕琦湖北京应用数学研究所(BIMSA))
From Lecture Notes to Lean: Formalizing a Textbook on Probability Theory
School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学深圳数据科学学院);School of Science and Engineering, The Chinese University of Hong Kong, Shenzhen(香港中文大学深圳科学与工程学院)
FormaTheoria: Constructing Large-Scale Lean Theories from Mathematical Literature $-$ Toward the Formalization of the Classification of Finite Simple Groups
A Formalization of the Generalized Quantum Stein's Lemma in Lean
Perimeter Institute for Theoretical Physics(理论物理珀西默研究所);Institute for Quantum Computing, University of Waterloo(滑铁卢大学量子计算研究所);Department of Physics and Astronomy, University of Waterloo(滑铁卢大学物理与天文系)
MathlibLemma: Folklore Lemma Generation and Benchmark for Formal Mathematics
Department of Computer Science, University of Virginia(弗吉尼亚大学计算机科学系);Astronomy , California Institute of Technology(加州理工学院天文学系);Purdue University(普渡大学);Massachusetts Institute of Technology(麻省理工学院)
Rtl2lean: Automated RTL-to-Lean Translation with Hierarchical Theorem Generation and Lemma Reuse
State Key Lab of Processors, Institute of Computing Technology, CAS(处理器国家重点实验室,中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);NorthChina University of Science and Technology(华北理工大学)
Princeton University(普林斯顿大学);University of Bonn(波恩大学);University of Rennes(雷恩大学);Utrecht University(乌得勒支大学);Harmonic(哈莫尼克);The Hague(海牙);Eindhoven University of Technology(埃因霍温理工大学);University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校);Baruch College(巴鲁克学院);National University of Singapore(新加坡国立大学)
AxQM: A Textbook-Scale Benchmark for Formal Proof Synthesis in a Library of Finite-Dimensional Quantum Mechanics
Axiomatic AI;Institut de Ciències Fotòniques (ICFO)(光子科学研究所);Massachusetts Institute of Technology (MIT)(麻省理工学院);Institució Catalana de Recerca i Estudis Avançats (ICREA)(加泰罗尼亚研究与高级研究所)
A Machine-Verified Proof of a Quantum-Optimization Conjecture
Center of Mathematical Sciences and Applications, Harvard University(哈佛大学数学科学中心);MIT Center for Theoretical Physics - a Leinweber Institute(麻省理工学院理论物理中心 - 莱因韦伯研究所);Research Laboratory of Electronics, Massachusetts Institute of Technology(麻省理工学院电子研究实验室)