KIT | KIT-Bibliothek | Impressum | Datenschutz

The Lean 4 Theorem Prover and Programming Language

Moura, Leonardo de; Ullrich, Sebastian ORCID iD icon

Abstract:

Lean 4 is a reimplementation of the Lean interactive theorem prover (ITP) in Lean itself. It addresses many shortcomings of the previous versions and contains many new features. Lean 4 is fully extensible: users can modify and extend the parser, elaborator, tactics, decision procedures, pretty printer, and code generator. The new system has a hygienic macro system custom-built for ITPs. It contains a new typeclass resolution procedure based on tabled resolution, addressing significant performance problems reported by the growing user base. Lean 4 is also an efficient functional programming language based on a novel programming paradigm called functional but in-place. Efficient code generation is crucial for Lean users because many write custom proof automation procedures in Lean itself.


Verlagsausgabe §
DOI: 10.5445/IR/1000142109
Veröffentlicht am 19.01.2022
Originalveröffentlichung
DOI: 10.1007/978-3-030-79876-5_37
Scopus
Zitationen: 48
Dimensions
Zitationen: 53
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Programmstrukturen und Datenorganisation (IPD)
Publikationstyp Proceedingsbeitrag
Publikationsjahr 2021
Sprache Englisch
Identifikator ISBN: 978-3-030-79876-5
ISSN: 0302-9743, 1611-3349
KITopen-ID: 1000142109
Erschienen in Automated Deduction – CADE 28: 28th International Conference on Automated Deduction, Virtual Event, July 12–15, 2021, Proceedings. Ed.: A. Platzer
Veranstaltung 28th International Conference on Automated Deduction (CADE 2021), Online, 12.07.2021 – 15.07.2021
Verlag Springer International Publishing
Seiten 625-635
Serie Lecture Notes in Computer Science (LNCS) ; 12699
Vorab online veröffentlicht am 05.07.2021
Nachgewiesen in Dimensions
Scopus
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
KITopen Landing Page