Research output per year
Research output per year
Anne Baanen*
Research output: Contribution to Journal › Article › Academic › peer-review
The Lean mathematical library Mathlib features extensive use of the typeclass pattern for organising mathematical structures, based on Lean’s mechanism of instance parameters. Related mechanisms for typeclasses are available in other provers including Agda, Coq and Isabelle with varying degrees of adoption. This paper analyses representative examples of design patterns involving instance parameters in the finalized Lean 3 version of Mathlib, focussing on complications arising at scale and how the Mathlib community deals with them.
Original language | English |
---|---|
Article number | 1 |
Pages (from-to) | 1-30 |
Number of pages | 30 |
Journal | Journal of Automated Reasoning |
Volume | 69 |
Early online date | 12 Dec 2024 |
DOIs | |
Publication status | Published - 2025 |
Research output: Chapter in Book / Report / Conference proceeding › Conference contribution › Academic › peer-review