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 |
||
---|---|---|
.. | ||
category | ||
algebra.md | ||
binary.lean | ||
bundled.lean | ||
complete_lattice.lean | ||
field.lean | ||
group.lean | ||
group_bigops.lean | ||
group_power.lean | ||
group_set_bigops.lean | ||
lattice.lean | ||
order.lean | ||
ordered_field.lean | ||
ordered_group.lean | ||
ordered_ring.lean | ||
priority.lean | ||
relation.lean | ||
ring.lean | ||
ring_power.lean |