Skip to content

The "batteries included" extended library for the Lean programming language and theorem prover

License

Notifications You must be signed in to change notification settings

leanprover-community/batteries

Repository files navigation

std4

Work in progress standard library for Lean 4. This is a collection of data structures and tactics intended for use by both computer-science applications and mathematics applications of Lean 4.

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 std4 run lake build. To build and run all tests, run make.
  • If you added a new file, run the following command to update Std.lean:
    find Std -name "*.lean" | env LC_ALL=C sort | sed 's/\.lean//;s,/,.,g;s/^/import /' > Std.lean
    
    (or use scripts/updateStd.sh which contains this command).

About

The "batteries included" extended library for the Lean programming language and theorem prover

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages