Elements of Differential Geometry in Lean: A Report for Mathematicians

Anthony Bordg,Nicolò Cavalleri
DOI: https://doi.org/10.48550/arXiv.2108.00484
2021-08-01
Logic in Computer Science
Abstract:We report on our experience formalizing differential geometry with mathlib, the Lean mathematical library. Our account is geared towards geometers with no knowledge of type theory, but eager to learn more about the formalization of mathematics and maybe curious enough to give Lean a try in the future. To this effect, we stress the possibly surprising difference between the formalization and its pen-and-paper counterpart arising from Lean's treatment of equality. Our three case studies are Lie groups, vector bundles and the Lie algebra of a Lie group.
What problem does this paper attempt to address?