Repository navigation
feat: rename and strengthen LinearEquiv.smul_id_of_finrank_eq_one - #46319
Open
eric-wieser wants to merge 1 commit into
Open
eric-wieser wants to merge 1 commit into
eric-wieser wants to merge 1 commit into
Conversation
This is a def so is misnamed. This replaces it with the stronger `Algebra.lsmulEquivOfFinrankEqOne`, which is an `AlgEquiv`.
1 task
PR summary 33c37e30b5Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
1 of 8 tasks
Comment on lines
417
to
+419
| map_add' c d := by ext; simp [add_smul] | ||
| map_smul' c d := by ext; simp [mul_smul] | ||
| map_mul' c d := by ext; simp [← mul_smul, mul_comm] | ||
| commutes' c := by ext; simp |
Member
There was a problem hiding this comment.
why not replace this with __ := Algebra.lsmul R R M
Comment on lines
417
to
423
| map_add' c d := by ext; simp [add_smul] | ||
| map_smul' c d := by ext; simp [mul_smul] | ||
| map_mul' c d := by ext; simp [← mul_smul, mul_comm] | ||
| commutes' c := by ext; simp | ||
| invFun u := (u.existsUnique_eq_smul_id_of_finrank_eq_one d1).choose | ||
| left_inv c := by | ||
| simp [← (LinearMap.existsUnique_eq_smul_id_of_finrank_eq_one d1 _).choose_spec.2 c] | ||
| right_inv u := ((u.existsUnique_eq_smul_id_of_finrank_eq_one d1).choose_spec.1).symm |
Member
There was a problem hiding this comment.
or replace all this with
__ := AlgEquiv.ofBijective (Algebra.ofId R _) (bijective_algebraMap_moduleEnd_of_finrank_eq_one d1)where
lemma bijective_algebraMap_moduleEnd_of_finrank_eq_one
(d1 : Module.finrank R M = 1) :
Function.Bijective (algebraMap R (Module.End R M)) := by
simp [bijective_iff_existsUnique, eq_comm, Module.algebraMap_end_eq_smul_id,
LinearMap.existsUnique_eq_smul_id_of_finrank_eq_one d1]This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a def so is misnamed.
This replaces it with the stronger
Algebra.lsmulEquivOfFinrankEqOne, which is anAlgEquiv.