Formal Papers is an open collection of AI-generated Lean 4 formalizations of mathematics and computer science research, paired with PaperLib, a shared library of reusable concepts and results that are not yet available in Mathlib or other upstream libraries. Formalized works are maintained in separate repositories organized by publication period, while PaperLib and tools for searching, building, and checking it live in the central repository. To represent established results whose supporting theory has not been formalized, PaperLib uses tagged “megatheorems” backed by explicit Lean axioms. Tools track which axioms each paper depends on; when a megatheorem is later proved, dependent results can lose that axiom dependency automatically.
Lean’s kernel checks the proofs that are supplied, but this does not guarantee that definitions or theorem statements accurately capture the intended mathematics. Megatheorems are unproved statements, so errors in their formulation can affect results that rely on them. The project explicitly treats its contents as experimental: AI-generated notes document translation discrepancies, and users are urged to inspect statements and axiom dependencies before relying on a formalization. Researchers can build an individual paper with Lean’s package tools, audit its axioms, search PaperLib, or contribute corrections and reports. The collection includes works spanning many centuries, and its code and documentation are released under Apache 2.0; the original works themselves are not redistributed.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.