Skip to content

Mathematical Components compliant Analysis Library

License

Notifications You must be signed in to change notification settings

affeldt-aist/analysis

 
 

Repository files navigation

Analysis library compatible with Mathematical Components

Docker CI Chat

This repository contains an experimental library for real analysis for the Coq proof-assistant and using the Mathematical Components library.

Meta

Building and installation instructions

The easiest way to install the latest released version of Analysis library compatible with Mathematical Components is via OPAM:

opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-mathcomp-analysis

To instead build and install manually, do:

git clone https://github.com/math-comp/analysis.git
cd analysis
make   # or make -j <number-of-cores-on-your-machine> 
make install

Disclaimer

This library is still at an experimental stage. Contents may change, definitions and theorems may be renamed, and inference mechanisms may be replaced at any major version bump. Use at your own risk.

Documentation

Each file is documented in its header.

Changes are documented in CHANGELOG.md and CHANGELOG_UNRELEASED.md.

Overview presentation: Classical Analysis with Coq (2018)

See also "Related publication(s)" above.

Other work using MathComp-Analysis: A Formal Classical Proof of Hahn-Banach in Coq (2019)

Mathematical structures

MathComp-Analysis adds mathematical structures on top of MathComp's ones. The following inheritance diagram displays the resulting hiearchy (excluding countalg and finalg structures). MathComp-Analysis mathematical structures are on the right, below pointedType included.

Inheritance diagram

Development information

Detailed requirements and installation procedure

Developping with nix

Contributing

Previous work reused at the time of the first releases

This library was inspired by the Coquelicot library by Sylvie Boldo, Catherine Lelay, and Guillaume Melquiond. topology.v and normedtype.v contained a reimplementation of file Hierarchy.v from the library Coquelicot.

The instantiation of the mathematical structures of the Mathematical Components library with the real numbers of the standard Coq library used a well-known file (Rstruct.v) from the CoqApprox library (with modifications from various authors).

Our proof of Zorn's Lemma in classical_sets.v (NB: new filename) is a reimplementation of the one by Daniel Schepler (https://github.com/coq-community/zorns-lemma); we also took inspiration from his work on topology (https://github.com/coq-community/topology) for parts of topology.v.

ORIGINAL_FILES.md gives more details about the files in the first releases.

Acknowledgments

Many thanks to various contributors

About

Mathematical Components compliant Analysis Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Coq 98.7%
  • Shell 0.7%
  • Makefile 0.2%
  • Python 0.2%
  • Nix 0.2%
  • sed 0.0%