Commit 2021-04-23 07:17 85df3a36
View on Github →refactor(group_theory/submonoid/basic): merge together similar lemmas and definitions (#7280)
This uses simps
to generate lots of uninteresting coe lemmas, and removes the less-bundled versions of definitions.
The main changes are:
add_submonoid.to_submonoid_equiv
is now just calledadd_submonoid.to_submonoid
. This means we can remove theadd_submonoid.to_submonoid_mono
lemma, as that's available asadd_submonoid.to_submonoid.monotone
. Ditto for the multiplicative version.simps
now knows how to handled(add_)submonoid
objects. Unfortunately it usescoe
as a suffix rather than a prefix, so we can't use it everywhere yet. For now we restrict its use to just these additive / multiplicative lemmas which already hadcoe
as a suffix.submonoid.of_add_submonoid
has been renamed toadd_submonoid.to_submonoid'
to enable dot notation.add_submonoid.of_submonoid
has been renamed tosubmonoid.to_add_submonoid'
to enable dot notation.- The above points, but applied to
(add_)subgroup
- Two new variants of the closure lemmas about
add_submonoid
(add_submonoid.to_submonoid'_closure
andsubmonoid.to_add_submonoid'_closure
), taken from #7279