Skip to content

AlainLich/mcb

 
 

Repository files navigation

This is the "Mathematical Components" book.

This (forked) repository

The aim is to update the examples of https://github.com/math-comp/mcb/coq in https://github.com/AlainLich/mcb/coq (branch AL_porting_only) in order to

  • Be compatible with "The Coq Proof Assistant, version 8.20.1; compiled with OCaml 4.14.2" and Mathcomp 2.4.0.
  • Accommodate HB (Hierarchy Builder) in Chapters 7 and following.
  • In practice, I am using the Platform version CP.~8.20~2025.01, running in a container on an Apple M2, and accessed via VScoq https://github.com/rocq-prover/vsrocq.

Motivation

From original repository

Building

To build the book using Nix, run

# without flakes, check out the repo first
$ NIXPKGS_ALLOW_UNFREE=1 nix-build
# with flakes
$ NIXPKGS_ALLOW_UNFREE=1 nix build github:math-comp/mcb --impure

Alternatively you may fetch the latest artifact produced by the CI for the master branch here.

The tex/ directory contains the sources. TexLive 2014, 2021 is known to work.

The coq/ directory contains snippets corresponding to the chapters of the book.

The docs/ directory contains the website of the book.

The artwork/ directory contains the graphics used in the book.

Homepage

Link to the homepage of the book

About

Mathematical Components: personal updates of examples for Coq 8.20 and HB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 78.5%
  • Rocq Prover 20.1%
  • Other 1.4%