refactor: make several definitions take concrete morphism classes - #43596
refactor: make several definitions take concrete morphism classes#43596grunweg wants to merge 4 commits into
Conversation
PR summary d1b1b6fdd8Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
This PR/issue depends on: |
bc2b2e1 to
b0ea9ac
Compare
…rphisms also: this makes the coercions situation also much simpler :-)
b0ea9ac to
d1b1b6f
Compare
Specifically, this PR changes
NonUnitalSubring.{map,comap,equivMapOfInjective}as well asNonUnitalSubsemiring.{map,comap,srangeRestrict,sofLeftInverse'},and adapts all theorems about them to take in a concrete morphism also.
Since this removes all uses of a bundled morphism class, we also remove the assocated variable lines
and align them with standard mathlib style.
This follows the general patterns established in #31365:
Found by the linter in #43405.