Skip to content
Lean mathematical components library
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.vscode maintain(vscode): add ruler at 100 in editor Jan 23, 2019
docs fix(doc/extra/tactic_writing): fix a minor error (#841) [ci-skip] Mar 22, 2019
scripts
src
test
.gitignore refactor(*): import content from lean/library/data and library_dev Jul 23, 2017
.travis.yml
LICENSE
README.md build(update-mathlib): fix installation and documentation Feb 8, 2019
leanpkg.toml feat(meta, logic, tactic): lean 3.4.2: migrate coinductive_predicates… Jan 21, 2019
purge_olean.sh
travis_long.sh

README.md

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
You can’t perform that action at this time.