Commit 2025-03-29 19:12 cd5ac5a1
View on Github →refactor: protect map_mul lemmas (#23403)
The lemmas map_mul and map_one are among the most widely used simp lemmas; but there are a number of slightly different lemmas with the same names in various namespaces, meaning the root-namespace lemmas need to be called with _root_ when these namespaces are open.
This PR adds the protected flag to the following lemmas:
FractionalIdeal.map_mulFractionalIdeal.map_oneFractionalIdeal.map_divFractionalIdeal.map_invMatrix.map_mulMatrix.map_oneENat.map_oneIdeal.map_mulCliffordAlgebra.reverse.map_mulCliffordAlgebra.reverse.map_onePiTensorProduct.map_mulPiTensorProduct.map_one,Valuation.map_mulValuation.map_onewhich allows removing the_root_prefix from > 150 instances of_root_.map_muland_root_.map_one. Analogous fixes for additive versions (map_add,map_zero, etc) will be pursued in a subsequent PR.