Giter Club home page Giter Club logo

mathlib-tools's Introduction

mathlib-tools

Test on Linux Test on MacOS Test on Windows

This package contains leanproject, a supporting tool for Lean mathlib.

Installation

In principle, you should install those tools as part of the global Lean installation procedure recommended by the Lean community. Read what what remains of this section only if you want more details about this specific part of the procedure (the tools described here won't give you anything if Lean itself is not available).

Released version

The tools in this repository use python3, at least python 3.6, which is the oldest version of python supported by the python foundation. They can be installed using pip. The basic install command for the latest released version is thus:

pip install mathlibtools

Depending on your setup pip may be called pip3 to distinguish it from its deprecated python2 version. The above command may complain about permissions. This can be solved by running it as root, but this is not recommended in general. You can run pip install --user mathlibtools to install it in your home directory, and then make sure that $HOME/.local/bin/ is in your shell path.

Alternatively, a convenient way to hide those issues is to use pipx. On Linux, you can do:

python3 -m pip install --user pipx
python3 -m pipx ensurepath
source ~/.profile
pipx install mathlibtools

and on MacOS

brew install gmp coreutils python3 pipx
pipx ensurepath
source ~/.bash_profile
pipx install mathlibtools

If you are using NixOS, you can also install mathlib tools using the bundled default.nix file:

nix-env -if https://github.com/leanprover-community/mathlib-tools/archive/master.tar.gz

Development version

If you want to use the latest development version, you can clone this repository, go to the repository folder, and run pip install ..

Usage

See the dedicated page on the community website.

mathlib-tools's People

Contributors

digama0 avatar johoelzl avatar patrickmassot avatar cipher1024 avatar chrishughes24 avatar semorrison avatar rwbarton avatar kckennylau avatar spl avatar robertylewis avatar jcommelin avatar minchaowu avatar gebner avatar sgouezel avatar avigad avatar kbuzzard avatar julian avatar khoek avatar bryangingechen avatar leodemoura avatar eric-wieser avatar kha avatar fpvandoorn avatar twofx avatar tobiasgrosser avatar vierkantor avatar gml16 avatar pechersky avatar vtec234 avatar sebzim4500 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.