-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Merged by Bors] - chore(Algebra/Star): clean up simp lemmas about bundled star equivalences
#39757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
f0f8a2a
d5a81e4
3bc7c3e
c30a304
d1d068e
6b692b4
057003f
39a07ce
e648de2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,32 +23,56 @@ notation:25 M " →L⋆[" R "] " M₂ => ContinuousLinearMap (starRingEnd R) M M | |
| @[inherit_doc] | ||
| notation:50 M " ≃L⋆[" R "] " M₂ => ContinuousLinearEquiv (starRingEnd R) M M₂ | ||
|
|
||
| section starL | ||
|
|
||
| variable (R : Type*) {A : Type*} [CommSemiring R] [StarRing R] [AddCommMonoid A] | ||
| [StarAddMonoid A] [Module R A] [StarModule R A] [TopologicalSpace A] [ContinuousStar A] | ||
|
|
||
| set_option backward.defeqAttrib.useBackward true in | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why is this needed now?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The default tactic for the continuity fields calls
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Besides this comment, everything looks good thanks. Let's see what others think about this, maintainer merge? |
||
| /-- If `A` is a topological module over a commutative `R` with compatible actions, | ||
| then `star` is a continuous semilinear equivalence. -/ | ||
| @[simps!] | ||
| def starL (R : Type*) {A : Type*} [CommSemiring R] [StarRing R] [AddCommMonoid A] | ||
| [StarAddMonoid A] [Module R A] [StarModule R A] [TopologicalSpace A] [ContinuousStar A] : | ||
| A ≃L⋆[R] A where | ||
| @[simps! apply] | ||
| def starL : A ≃L⋆[R] A where | ||
| toLinearEquiv := starLinearEquiv R | ||
|
gasparattila marked this conversation as resolved.
|
||
| continuous_toFun := continuous_star | ||
| continuous_invFun := continuous_star | ||
|
|
||
| @[simp] | ||
| theorem toLinearEquiv_starL : (starL R : A ≃L⋆[R] A).toLinearEquiv = starLinearEquiv R := | ||
| rfl | ||
|
gasparattila marked this conversation as resolved.
|
||
|
|
||
| @[simp] | ||
| theorem symm_starL : (starL R : A ≃L⋆[R] A).symm = starL R := | ||
| rfl | ||
|
|
||
| @[deprecated "Use `symm_starL` and `starL_apply` instead" (since := "2026-06-03")] | ||
| theorem starL_symm_apply (x : A) : (starL R).symm x = starAddEquiv.symm x := by | ||
| simp | ||
|
|
||
| variable [TrivialStar R] | ||
|
|
||
| -- TODO: this could be replaced with something like `(starL R).restrict_scalarsₛₗ h` if we | ||
| -- implemented the idea in | ||
| -- https://leanprover.zulipchat.com/#narrow/stream/217875-Is-there-code-for-X.3F/topic/Star-semilinear.20maps.20are.20semilinear.20when.20star.20is.20trivial/near/359557835 | ||
| /-- If `A` is a topological module over a commutative `R` with trivial star and compatible actions, | ||
| then `star` is a continuous linear equivalence. -/ | ||
| @[simps!] | ||
| def starL' (R : Type*) {A : Type*} [CommSemiring R] [StarRing R] [TrivialStar R] [AddCommMonoid A] | ||
| [StarAddMonoid A] [Module R A] [StarModule R A] [TopologicalSpace A] [ContinuousStar A] : | ||
| A ≃L[R] A := | ||
| @[simps! apply] | ||
| def starL' : A ≃L[R] A := | ||
| (starL R : A ≃L⋆[R] A).trans | ||
| ({ AddEquiv.refl A with | ||
| map_smul' := fun r a => by simp | ||
| continuous_toFun := continuous_id | ||
| continuous_invFun := continuous_id } : | ||
| A ≃L⋆[R] A) | ||
|
|
||
| @[simp] | ||
| theorem symm_starL' : (starL' R : A ≃L[R] A).symm = starL' R := | ||
| rfl | ||
|
|
||
| @[deprecated "Use `symm_starL'` and `starL'_apply` instead" (since := "2026-06-03")] | ||
| theorem starL'_symm_apply (x : A) : (starL' R).symm x = starAddEquiv.symm x := by | ||
| simp | ||
|
|
||
| end starL | ||
|
|
||
| variable (R : Type*) (A : Type*) [Semiring R] [StarMul R] [TrivialStar R] [AddCommGroup A] | ||
| [Module R A] [StarAddMonoid A] [StarModule R A] [Invertible (2 : R)] [TopologicalSpace A] | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.