Commit 2022-02-17 00:34 834fd30b
View on Github →feat(topology/continuous_function/algebra): generalize algebra instances (#12055) This adds:
- some missing instances in the algebra hierarchy (comm_semigroup,mul_one_class,mul_zero_class,monoid_with_zero,comm_monoid_with_zero,comm_semiring).
- finer-grained scalar action instances, notably none of which require topological_space Rany more, as they only needhas_continuous_const_smul R Minstead ofhas_continuous_smul R M.
- continuity lemmas about zpowon groups andzsmulon additive groups (copied directly from the lemmas aboutpowon monoids), which are used to avoid diamonds in the int-action. In order to make room for these, the lemmas aboutzpowon groups with zero have been renamed tozpow₀, which is consistent with how the similar clash withinvis solved.
- a few lemmas about mk_of_compactsince an existing proof was broken byreflclosing the goal earlier than before.