Skip to content
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

[Merged by Bors] - feat(Analysis/LocallyConvex/WithSeminorms): congr lemmas #5797

Closed
wants to merge 17 commits into from

Conversation

ADedecker
Copy link
Member

@ADedecker ADedecker commented Jul 10, 2023

This adds WithSeminorms.congr which allows to replace a family of seminorm by an equivalent one. We use that to prove that one can always replace the family by a directed family (and a nice one if the indexing set is a LocallyFiniteOrderBot).


Open in Gitpod

@ADedecker ADedecker added awaiting-review The author would like community review of the PR new-feature Add features not present in Mathlib 3 labels Jul 10, 2023
@ADedecker ADedecker added the blocked-by-math-PR This PR depends on another PR to Mathlib label Jul 11, 2023
@ADedecker ADedecker changed the title feat(Analysis/LocallyConvex/WithSeminorms): congr lemma and lots of golfing feat(Analysis/LocallyConvex/WithSeminorms): congr lemma Jul 11, 2023
@ADedecker ADedecker changed the title feat(Analysis/LocallyConvex/WithSeminorms): congr lemma feat(Analysis/LocallyConvex/WithSeminorms): congr lemmas Jul 11, 2023
@semorrison semorrison added the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Jul 12, 2023
@semorrison semorrison removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Jul 12, 2023
@semorrison semorrison removed the blocked-by-math-PR This PR depends on another PR to Mathlib label Jul 13, 2023
@semorrison
Copy link
Contributor

@semorrison semorrison added the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Jul 13, 2023
@semorrison semorrison removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Jul 13, 2023
@@ -628,7 +627,7 @@ theorem continuous_iff_continuous_comp {q : SeminormFamily 𝕜₂ F ι'} [Topol
#align seminorm.continuous_iff_continuous_comp Seminorm.continuous_iff_continuous_comp

theorem continuous_from_bounded {p : SeminormFamily 𝕝 E ι} {q : SeminormFamily 𝕝₂ F ι'}
[TopologicalSpace E] (hp : WithSeminorms p) [TopologicalSpace F] (hq : WithSeminorms q)
{_ : TopologicalSpace E} (hp : WithSeminorms p) {_ : TopologicalSpace F} (hq : WithSeminorms q)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason for this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the old version this line doesn't work. More generally, I feel like everything goes way smoother when things that can be inferred from various places (these topologies can either be inferred from the expected type or from the types of the arguments) aren't also searched by the typeclass system, especially since Lean4 seems to be even more strict on that than Lean3.

variable [NormedField 𝕜₂] [AddCommGroup F] [Module 𝕜₂ F]
variable {σ₁₂ : 𝕜 →+* 𝕜₂} [RingHomIsometric σ₁₂]

protected theorem congr {p : SeminormFamily 𝕜 E ι} {q : SeminormFamily 𝕜 E ι'}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a docstring to this one.

@sgouezel sgouezel added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Jul 13, 2023
@ADedecker ADedecker added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Jul 13, 2023
@sgouezel
Copy link
Contributor

bors r+
Thanks!

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Jul 15, 2023
bors bot pushed a commit that referenced this pull request Jul 15, 2023
This adds `WithSeminorms.congr` which allows to replace a family of seminorm by an equivalent one. We use that to prove that one can always replace the family by a directed family (and a nice one if the indexing set is a `LocallyFiniteOrderBot`).
@bors
Copy link

bors bot commented Jul 15, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title feat(Analysis/LocallyConvex/WithSeminorms): congr lemmas [Merged by Bors] - feat(Analysis/LocallyConvex/WithSeminorms): congr lemmas Jul 15, 2023
@bors bors bot closed this Jul 15, 2023
@bors bors bot deleted the AD_seminorm_congr branch July 15, 2023 08:40
kbuzzard pushed a commit that referenced this pull request Jul 15, 2023
This adds `WithSeminorms.congr` which allows to replace a family of seminorm by an equivalent one. We use that to prove that one can always replace the family by a directed family (and a nice one if the indexing set is a `LocallyFiniteOrderBot`).
semorrison pushed a commit that referenced this pull request Aug 14, 2023
This adds `WithSeminorms.congr` which allows to replace a family of seminorm by an equivalent one. We use that to prove that one can always replace the family by a directed family (and a nice one if the indexing set is a `LocallyFiniteOrderBot`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature Add features not present in Mathlib 3 ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants