暂无分享,去创建一个
Scalar actions are ubiquitous in mathematics, and therefore it is valuable to be able to write them succinctly when formalizing. In this paper we explore how Lean 3’s typeclasses are used by mathlib for scalar actions with examples, illustrate some of the problems which come up when using them such as compatibility of actions and nondefinitionally-equal diamonds, and note how these problems can be solved. We outline where more work is needed in mathlib in this area.
[1] Leonardo de Moura,et al. The Lean 4 Theorem Prover and Programming Language , 2021, CADE.
[2] Jeremy Avigad,et al. The Lean Theorem Prover (System Description) , 2015, CADE.
[3] Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs , 2020, CPP.
[4] Anne Baanen,et al. A formalization of Dedekind domains and class groups of global fields , 2021, ITP.