Lean Collections Library #
General-purpose collections implemented in pure Lean 4.
LeanColls
attempts to make programming and proving
with collections a fun and straightforward experience.
To that end, the library contains:
- Comprehensive interfaces for common collection operations.
- Lawfulness specifications for those interfaces.
- Performant & proven-correct implementations.
- Utilities for writing clean, efficient, and provably correct code with collections.
which is quite a lot!
More thorough documentation is WIP. Contributions are welcome and appreciated; see the GitHub repository.