Finmap
Finite sets, finite maps, multisets and generic sets
Install / Use
/learn @math-comp/FinmapREADME
Finite maps
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.
Meta
- 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
Building and installation instructions
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-finmap
To 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 install
Documentation
The documentation is available in the header of the file.
This library will be integrated to the mathematical components library in the near future.
Related work
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.
Acknowledgments
Many thanks to Kazuhiko Sakaguchi (for the order library now moved to the main math-comp repository) and to various contributors
Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
