Mirror of https://github.com/leanprover/lean2 in case it ever disappears
193a9d8cde
@rlewis1988 We group all Lean constants used in the C++ code at src/library/constants.txt Jeremy and Floris check this file before renaming constants in the library. So, they can quickly decide whether C++ code will be affected or not. We also have a python script for initializing the C++ name objects. To use the script: - go to src/library - execute python ../../script/gen_constants_cpp.py constants.txt It will create the boring initialization and finalization code, and declare a procedure get_<id>_name() for each constant in the file constants.txt. I also move the norm_num1.lean to the set of unit tests that are executed whenever we push a commit to the main branch. I found an assertion violation at line 606. Could you take a look? Best, Leo |
||
---|---|---|
bin | ||
doc | ||
extras/latex | ||
hott | ||
images | ||
library | ||
script | ||
src | ||
tests | ||
.gitignore | ||
.travis.osx.yml | ||
.travis.windows.yml | ||
.travis.yml | ||
LICENSE | ||
README.md |
License | Windows | Ubuntu | OS X | Builds/Tests |
---|---|---|---|---|
About
- Homepage
- Theorem Proving in Lean: HTML, PDF
- Authors
- Standard Library
- HoTT Library
- Short Tutorial
- To Do list
Requirements
- C++11 compatible compiler: g++ (version >= 4.8.1), or clang++ (version >= 3.3)
- CMake
- GMP (GNU multiprecision library)
- MPFR (GNU MPFR Library)
- Lua 5.2 or 5.1, or LuaJIT 2.0
- (optional) gperftools
- (optional) Boost (version >= 1.54), we can build Lean using boost::thread instead of std::thread. When using Boost, Lean can modify the thread stack size.
Installing required packages at
Windows
Linux
OS X
Build Instructions
Miscellaneous
- Testing and Code Coverage
- Building Doxygen Documentation:
doxygen src/Doxyfile
- Coding Style
- Library Style Conventions
- Git Commit Conventions
- Automatic Builds
- Syntax Highlight Lean Code in LaTeX