View packages at a commit

Paste a `locked_commit` from your `minimal.toml`, or a recent commit from the list.

Back to search results
mathlib owner avatar

mathlib

Version: 4.35.0

The math library of Lean 4

Install package

min add mathlib
Datalean4

OpenSSF Score

No OpenSSF Scorecard result is available for this package.

Why some packages have no scorecard

What is "mathlib"?

The math library of Lean 4

How to use this package

Quick install

Installs the package into the current environment for this session. Use --build or --runtime to persist it as a build-time or runtime dependency.

min add mathlib

Declare as a task dependency in minimal.toml

Listing the package under tasks.<name>.packages makes it available inside that task’s sandbox.

[tasks.dev]
packages = ["mathlib"]

Build-time vs runtime

Choose build-time for tools needed during compilation, runtime for dynamic libraries loaded at runtime.

min add --build mathlib
min add --runtime mathlib

Dependencies (3)

Dependencies
NameVersionKind
base—build
lean4.35.0runtime
mathlib-oleans4.35.0runtime

Dependants (1)

Dependants
NameVersion
aeneas-latest20261030
  1. mathlib v4.35.07a198f0
    Diff
    Lines:+20816Deps:3(+3)
    Released:

No known advisories

We don't track any active CVEs against this package.

Build provenance

Loading provenance

For the signed record of what the build used, see the Provenance tab.

Software Bill of Materials — every package this build depends on
PackagesVersion
mathlibROOT4.35.0
acl2.4.0
attr2.6.0
autoconf2.73
automake1.19
bash5.3
bash-bootstrap5.3
binutils2.47
bison3.8.2
bzip21.0.8
cadical3.0.1
cmake4.4.5
coreutils9.12
curl8.23.0
diffutils3.12
expat2.10.0
file5.48
findutils4.11.0
flex2.6.4
gawk5.4.1
gawk-bootstrap5.4.1
gcc15.2.0
gdbm1.26
gettext1.0
git2.56.0
glibc2.44
gmp6.3.0
grep3.12
gzip1.15
lean4.35.0
libcap2.78
libffi3.8.0
libidn22.3.8
libpsl0.23.3
libssh21.11.1
libtool2.6.2
libunistring1.5
libuv1.53.0
linux_headers6.12.115
llvm21.1.8
llvm-bootstrap21.1.8
lz41.10.0
m41.4.21
make4.4.1
mathlib-oleansROOT4.35.0
meson1.12.1
mpc1.4.1
mpfr4.2.2
ncurses6.6
ninja1.13.2
openssl4.1.0
openssl-3.53.5.9
patch2.8.1
pcre210.49
perl5.44.0
pkgconf3.0.10
python3.14.10
readline8.3
rust1.99.1
rustc-1.98.11.98.1
sed4.10
setuptools84.2.1
sqlite3.54.1
tar1.35
tzdata2026f
util-linux2.42.4
xz5.8.4
zlib1.4
zstd1.5.7

Join the waitlist

Confirm your identity by email or GitHub.

or