Story

Show HN: Formalizing Principia Mathematica using Lean

ndrwnaguib Friday, April 25, 2025

This project aims to formalize the first volume of Prof. Bertrand Russell’s Principia Mathematica using the Lean theorem prover. Throughout the formalization, I tried to rigorously follow Prof. Russell’s proof, with no or little added statements from my side, which were only necessary for the formalization but not the logical argument. Should you notice any inaccuracy (even if it does not necessarily falsify the proof), please let me know as I would like to proceed with the same spirit of rigour. Before starting this project, I had already found Prof. Elkind’s formalization of the Principia using Rocq (formerly Coq), which is much mature work than this one. However, I still thought it would be fun to do it using Lean4.

https://ndrwnaguib.com/principia/

https://github.com/ndrwnaguib/principia

Summary
The Principia repository on GitHub provides a collection of Python code and resources for learning and implementing fundamental machine learning algorithms and techniques. It covers a wide range of topics, including supervised and unsupervised learning, deep learning, and data preprocessing.
139 29
Summary
github.com
Visit article Read on Hacker News Comments 29