Commit 2024-10-30 09:35 93eaeab2
View on Github โchore: uniformize ContDiffWithinAt API with other local notions (#17927)
Currently, some statements are available for DifferentiableWithinAt but not for ContinuousWithinAt or conversely (and the same for the other WithinAt notions), or they are both available with slightly different names or assumptions.
This PR is a first step to uniformize these API: I've gone through the APIs of the different notions, and added all the lemmas that were available for another notion to ContinuousWithinAt if they were missing here, and fixed some names. Once this PR is merged, I will open other PRs to make sure that all the other notions also have the same full API.
Notable changes (imported from lemma names of other notions, and that I found better than the ContinuousWithinAt version):
- rename
ContinuousWithinAt.insert_selftoContinuousWithinAt.insert - rename
continuousWithinAt_congr_nhdstocontinuousWithinAt_congr_set, and change its assumptions from๐[s] x = ๐[t] xtos =แถ [๐ x] t(see Zulip discussion supporting this change at https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/local.20equality.20of.20sets/near/477653314) - Added
continuousWithinAt_congr_set'(taking an assumptions =แถ [๐[{y}แถ] x] t) - Added several variations around
ContinuousWithinAt.congr_of_mem(both in their implication and iff version) - Added
of_eqversions of all the composition lemmas Also, usevariablein theContinuousOnfile.