Skip to content

johoelzl/mathlib

 
 

Repository files navigation

mathlib

Build Status

Lean standard library

Besides Lean's general documentation, the documentation of mathlib consists of:

This repository also contains extra Lean documentation not specific to mathlib.

Obtaining binaries

Install the update-mathlib script

Linux/OS X/Cygwin/MSYS2/git bash: run the following command in a terminal:

curl https://raw.githubusercontent.com/leanprover-community/mathlib/master/scripts/remote-install-update-mathlib.sh -sSf | sh

Any platform: in the release section of this page, download mathlib-scripts-###-###-###.tar.gz, expand it and run setup-update-mathlib.sh.

Fetch mathlib binaries

In a terminal, in the directory of a project depending on mathlib, run the following:

update-mathlib

The existing _target/deps/mathlib will be rewritten with a compiled version of mathlib.

Automatic update of the binaries

The following command, run on each project, sets up an automatic update of the mathlib binaries after every git checkout.

echo \#! /bin/sh > .git/hooks/post-checkout
echo update-mathlib >> .git/hooks/post-checkout
chmod +x .git/hooks/post-checkout

Maintainers (topics):

  • Jeremy Avigad (@avigad): analysis
  • Reid Barton (@rwbarton): category theory, topology
  • Mario Carneiro (@digama0): all (lead maintainer)
  • Simon Hudon (@cipher1024): all
  • Chris Hughes (@ChrisHughes24): group_theory, ring_theory, field_theory
  • Robert Y. Lewis (@robertylewis): all
  • Patrick Massot (@patrickmassot): documentation

About

Lean mathematical components library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lean 99.8%
  • Other 0.2%