We present a formal verification of Wolstenholme's theorem -- $\binom{2p}{p} \equiv 2 \pmod{p^3}$ for prime $p \geq 5$ -- in Lean~4 with Mathlib. The proof proceeds by expanding the shifted factorial product $\prod_{k=1}^{p-1}(p+k)$ to second order in $p$, identifying the quadratic coefficient as the second elementary symmetric product, and showing its divisibility by $p$ via power sum vanishing in $\mathbb{Z}/p\mathbb{Z}$. The formalization comprises nine lemmas across approximately 800 lines of Lean, with zero \texttt{sorry} declarations. To our knowledge, this is the first formal verification of Wolstenholme's theorem in Lean~4. The proof was discovered through a collaboration between a relational analogy engine for theorem proving and human-directed formalization.
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(香港中文大学深圳科学与工程学院)
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(新加坡国立大学)
Université Paris Cité and Sorbonne Université, CNRS, IMJ-PRG(巴黎西岱大学与索邦大学,法国国家科学研究中心,数学与计算机研究所);Université Paris Cité, CNRS, Institut de recherche en informatique fondamentale(巴黎西岱大学,法国国家科学研究中心,基础信息学研究所)
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(滑铁卢大学物理与天文系)
Lean Atlas: An Integrated Proof Environment for Scalable Human-AI Collaborative Formalization
Nyx Foundation(Nyx基金会);Kyoto University(京都大学);Large Language Model Research and Development Center, National Institute of Informatics(信息处理国家研究所大型语言模型研究与开发中心)
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))
FormaTheoria: Constructing Large-Scale Lean Theories from Mathematical Literature $-$ Toward the Formalization of the Classification of Finite Simple Groups
Hypothesis-Disciplined Multi-Agent Automated Formalization of Asymptotic Statistical Theory
Department of Biostatistics & Bioinformatics, Duke University(杜克大学生物统计与生物信息学系);Department of Mathematical Sciences, Carnegie Mellon University(卡内基梅隆大学数学科学系);Department of Biostatistics, Harvard T.H. Chan School of Public Health(哈佛大学陈曾熙公共卫生学院生物统计系)
Herald: A Natural Language Annotated Lean 4 Dataset
Peking University(北京大学);National University of Singapore(新加坡国立大学);Beijing International Center for Mathematical Research(北京国际数学研究中心);Center for Machine Learning Research, Peking University(北京大学机器学习研究中心)
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(麻省理工学院)