All Projects → leanprover-community → mathlib4

leanprover-community / mathlib4

Licence: Apache-2.0 License
Work in progress mathlib port for lean 4

Programming Languages

Lean
33 projects

Labels

Projects that are alternatives of or similar to mathlib4

tba-2021
Materials for the course "theorem prover lab: applications in programming languages" at KIT, SS2021 edition
Stars: ✭ 48 (-37.66%)
Mutual labels:  lean4
lake
Lean 4 build system and package manager with configuration files written in Lean.
Stars: ✭ 39 (-49.35%)
Mutual labels:  lean4
SciLean
Scientific computing in Lean 4
Stars: ✭ 86 (+11.69%)
Mutual labels:  lean4
Saturn
Experiments with SAT solvers with proofs in Lean 4
Stars: ✭ 23 (-70.13%)
Mutual labels:  lean4
lean4-balance-car
Lean4 port of Arduino balance car controller
Stars: ✭ 26 (-66.23%)
Mutual labels:  lean4

mathlib4

Work in progress mathlib port for Lean 4. This is not a port. We are just trying things out to gain experience for the real port.

We're not planning to have any review standards in the mathlib4 repo higher than your average wiki during this experimentation phase.

We don't want to discourage others from trying to port stuff if it helps us learn how to work in lean 4, but please understand that anything that is currently in mathlib4 is subject to change/deletion, and the "real" port hasn't started yet

Build instructions

  • Get the newest version of elan. If you already have installed a version of Lean, you can run
    elan self update
    
    If the above command fails, or if you need to install elan, run
    curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh
    
    If this also fails, follow the instructions under Regular install here.
  • To build mathlib4 run lake build. To build and run all tests, run make.
  • If you added a new file, run the following command to update Mathlib.lean
    find Mathlib -name "*.lean" | env LC_ALL=C sort | sed 's/\.lean//;s,/,.,g;s/^/import /' > Mathlib.lean
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].