Repository navigation
[Merged by Bors] - feat(Algebra/Module): Use coercion from SemilinearEquivClass to SemilinearEquiv - #11966
[Merged by Bors] - feat(Algebra/Module): Use coercion from SemilinearEquivClass to SemilinearEquiv#11966101damnations wants to merge 1 commit into
Conversation
|
|
||
| /-- Reinterpret an element of a type of semilinear equivalences as a semilinear equivalence. -/ | ||
| instance instCoeToSemilinearEquiv [RingHomInvPair σ σ'] [RingHomInvPair σ' σ] | ||
| [EquivLike F M M₂] [SemilinearEquivClass F σ M M₂] : CoeHead F (M ≃ₛₗ[σ] M₂) where |
There was a problem hiding this comment.
| [EquivLike F M M₂] [SemilinearEquivClass F σ M M₂] : CoeHead F (M ≃ₛₗ[σ] M₂) where | |
| [EquivLike F M M₂] [SemilinearEquivClass F σ M M₂] : CoeTC F (M ≃ₛₗ[σ] M₂) where |
For Equiv and MulEquiv this was done using CoeTC, so I imagine we want that everywhere?
bors d+
There was a problem hiding this comment.
I don't really understand this stuff but judging by this comment it looks like CoeHead is preferred here
|
✌️ 101damnations can now approve this pull request. To approve and merge a pull request, simply reply with |
|
So there's already a coercion from linear equivs to linear maps given by the projection I don't really understand on line 153 using |
|
Thanks for the link. In that case, we should try to fix the existing coercions. bors merge |
|
Pull request successfully merged into master. Build succeeded: |
Add the coercion from types with a
SemilinearEquivClassinstance to linear equivs, a la #10758.