lean2/library
Leonardo de Moura 193a9d8cde refactor(library/norm_num): avoid manual constant name initialization
@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
2015-12-13 21:38:59 -08:00
..
algebra refactor(library/norm_num): avoid manual constant name initialization 2015-12-13 21:38:59 -08:00
data refactor(library): use anonymous instance implicit arguments 2015-12-13 11:46:48 -08:00
examples chore(examples/ex): move example to library 2015-05-13 17:07:10 -07:00
init feat(frontends/lean): add 'with_attributes' tactical 2015-12-13 18:27:44 -08:00
logic feat(hott): port nat and int from the standard library 2015-12-09 12:36:11 -08:00
theories test(library/theories/group_theory): test auto-include in the group theory library 2015-12-13 13:40:54 -08:00
tools feat(frontends/lean): add simp tactic frontend stub 2015-07-14 09:54:53 -04:00
.gitignore chore(library/.gitignore): update 2014-08-29 10:31:16 -07:00
.project chore(library): add .project file 2014-08-29 10:31:16 -07:00
library.md feat(library.md): update reference to classical axiom 2015-09-01 15:17:46 -07:00
standard.lean refactor(library/*): remove 'Module:' lines 2015-05-23 20:52:23 +10:00