This library is an extension of mathematical component in order to support finite sets and finite maps on choicetypes (rather that finite types). This includes support for functions with finite support and multisets. The library also contains a generic order and set libary, which will be used to subsume notations for finite sets, eventually.
- Author(s):
- Cyril Cohen (initial)
- Kazuhiko Sakaguchi
- License: CeCILL-B
- Compatible Rocq/Coq versions: 8.20 or later
- Additional dependencies:
- MathComp ssreflect 2.2.0 or later
- Rocq/Coq namespace:
mathcomp.finmap - Related publication(s): none
The easiest way to install the latest released version of Finite maps is via OPAM:
opam repo add rocq-released https://rocq-prover.org/opam/released
opam install rocq-mathcomp-finmapTo instead build and install manually, you need to make sure that all the libraries this development depends on are installed. The easiest way to do that is still to rely on opam:
git clone https://github.com/math-comp/finmap.git
cd finmap
opam repo add rocq-released https://rocq-prover.org/opam/released
opam install --deps-only .
make # or make -j <number-of-cores-on-your-machine>
make installThe documentation is available in the header of the file.
This library will be integrated to the mathematical components library in the near future.
This library was developed independently but inspired from Pierre-Yves Strub's library, from Christian Doczkal's library and from Beta Ziliani's work (no reference provided so far).
Another alternative is Arthur Azevedo de Amorim extensional structures library.
Many thanks to Kazuhiko Sakaguchi (for the order library now moved to the main math-comp repository) and to various contributors