Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(*/hom,equiv): Split
monoid_hom
into more fundamental structur…
…es, and reuse them elsewhere (#4423) Notably this adds `add_hom` and `mul_hom`, which become base classes of `add_equiv`, `mul_equiv`, `linear_map`, and `linear_equiv`. Primarily to avoid breaking assumptions of field order in `monoid_hom` and `add_monoid_hom`, this also adds `one_hom` and `zero_hom`. A massive number of lemmas here are totally uninteresting and hold for pretty much all objects that define `coe_to_fun`. This PR translates all those lemmas, but doesn't bother attempting to generalize later ones.
- Loading branch information
1 parent
b4dc912
commit 4f75760
Showing
4 changed files
with
255 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.