feat(Topology/FiberBundle): continuousWithinAt_section and continuousAt_section#37945
feat(Topology/FiberBundle): continuousWithinAt_section and continuousAt_section#37945Deicyde wants to merge 2 commits intoleanprover-community:masterfrom
continuousWithinAt_section and continuousAt_section#37945Conversation
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
PR summary 3be903dc33Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diff
You can run this locally as follows## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
continuousWithinAt_section and continuousAt_section
|
easy |
continuousWithinAt_section and continuousAt_sectioncontinuousWithinAt_section and continuousAt_section
grunweg
left a comment
There was a problem hiding this comment.
Thanks for the PR! I have slightly different proof terms in mind --- my take-away is to look at the analogous proof to see if there are improvements to be had.
| theorem continuousWithinAt_section {s : ∀ x, E x} {a : Set B} {x₀ : B} : | ||
| ContinuousWithinAt (fun x ↦ TotalSpace.mk' F x (s x)) a x₀ ↔ | ||
| ContinuousWithinAt (fun x ↦ (trivializationAt F E x₀ ⟨x, s x⟩).2) a x₀ := | ||
| continuousWithinAt_totalSpace (F := F) _ |>.trans (and_iff_right continuousWithinAt_id) |
There was a problem hiding this comment.
In general, it's a good idea to compare with the analogous proof, to see which version is better.
I find simp_rw [continuousWithinAt_totalSpace, and_iff_right_iff_imp]; intro; exact continuousWithinAt_id slightly nicer.
| theorem continuousAt_section {s : ∀ x, E x} (x₀ : B) : | ||
| ContinuousAt (fun x ↦ TotalSpace.mk' F x (s x)) x₀ ↔ | ||
| ContinuousAt (fun x ↦ (trivializationAt F E x₀ ⟨x, s x⟩).2) x₀ := | ||
| continuousAt_totalSpace (F := F) _ |>.trans (and_iff_right continuousAt_id) |
There was a problem hiding this comment.
This proof reduces to the withinAt version, which is often a good idea:
| continuousAt_totalSpace (F := F) _ |>.trans (and_iff_right continuousAt_id) | |
| simp_rw [← contMDiffWithinAt_univ]; exact contMDiffWithinAt_section |
These lemmas are analogous to
contMDiffWithinAt_sectionandcontMDiffAt_sectionfor smooth vector bundles.AI Use: Claude was used to help write the precise proof terms.
The overall API was designed to exactly mimic the existing contMDiff analogues.