lean2/library/algebra
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
..
category feat(hott/algebra): port abstract structures 2015-12-09 12:34:06 -08:00
algebra.md feat(hott/algebra): port abstract structures 2015-12-09 12:34:06 -08:00
binary.lean feat(*): new numeral encoding 2015-11-08 14:04:55 -08:00
bundled.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00
complete_lattice.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00
field.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00
group.lean test(library/theories/group_theory): test auto-include in the group theory library 2015-12-13 13:40:54 -08:00
group_bigops.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00
group_power.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00
group_set_bigops.lean refactor(library): use anonymous instance implicit arguments 2015-12-13 11:46:48 -08:00
lattice.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00
order.lean feat(hott): port nat and int from the standard library 2015-12-09 12:36:11 -08:00
ordered_field.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00
ordered_group.lean refactor(library): use anonymous instance implicit arguments 2015-12-13 11:46:48 -08:00
ordered_ring.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00
priority.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00
relation.lean feaf(library): make sure basic standard library can be compiled with option "--to_axiom" 2015-07-29 16:11:23 -07:00
ring.lean refactor(library/norm_num): avoid manual constant name initialization 2015-12-13 21:38:59 -08:00
ring_power.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00