Zulip Chat Archive
Stream: maths
Topic: Moreira-2001 (generalization of Sard's theorem)
Yury G. Kudryashov (Dec 01 2024 at 08:43):
I'm reading (and trying to formalize) Moreira's version of Sard's theorem, and I can't understand (at least) 1 step. In the proof of Theorem 2.1, page 152, case , when dealing with , he uses the implicit function theorem to find a smooth map , (probably, with ) such that its image covers a nhd of in , then calls the inductive hypothesis. However, is a map, so there is no guarantee that will be a smooth.
Is there a gap here, or am I missing something trivial?
Sébastien Gouëzel (Dec 01 2024 at 10:33):
Don't you just need to define to fix the argument?
Sébastien Gouëzel (Dec 01 2024 at 10:36):
(It means you would need an implicit function theorem in , but this should probably hold without difficulty).
Sébastien Gouëzel (Dec 01 2024 at 15:49):
By the way, I don't know if you've noticed that several lemmas of the paper are already in mathlib, as I've needed them for the proof of the change of variables formula. For instance, Theorem 3.3 is docs#MeasureTheory.addHaar_image_eq_zero_of_det_fderivWithin_eq_zero (well, Theorem 3.3 is just a little bit weaker than our result in mathlib, in fact :-), and the lemmas used in the proof in mathlib correspond more or less to what he uses in the paper.
Yury G. Kudryashov (Dec 01 2024 at 16:13):
Thanks! I should really learn not to post such questions after midnight. About Thm 3.3, I've noticed this, thanks!
Yury G. Kudryashov (Dec 04 2024 at 04:45):
@Sébastien Gouëzel Do you know what's the right generalization of Moreira's theorem to ContDiffOn (+some Holder condition) on a not necessarily open set?
Yury G. Kudryashov (Dec 04 2024 at 04:50):
Probably, assuming that the outer set U is UniqueDiffOn and using iteratedFDerivWithin everywhere will work (not 100% sure about the implicit function theorem in this case - can it lead to a non-UniqueDiffOn domain? - will think about it tomorrow after work)
Yury G. Kudryashov (Dec 04 2024 at 04:51):
But I see that the lemma you've linked above has even weaker assumptions.
Yury G. Kudryashov (Dec 04 2024 at 05:01):
Also, some steps rely on (local star?) convexity of U. Not sure if we can easily avoid it, since it's used with something like docs#domain_mvt
Sébastien Gouëzel (Dec 04 2024 at 06:24):
Instead of UniqueDiffOn, you could use an assumption like HasFTaylorSeriesUpToOn (and local Hölder conditions on the given k-th derivative), just like the above lemma uses HasFDerivWithinAt. But since you also need controls given by Taylor inequalities, local convexity seems necessary. So my guess it that "any point in U has a convex neighborhood with nonempty interior within U" is probably a good condition -- the nonempty interior implies unique differentiability, so no need to assume it separately. And since the proof is local, you might as well assume from the start that U is convex with nonempty interior (which would be enough for the application to manifolds with boundary or corners, for instance).
Yury G. Kudryashov (Dec 04 2024 at 06:59):
Thanks!
Yury G. Kudryashov (Dec 21 2024 at 17:52):
I have 2 new questions:
- is there a name for as it is defined in the paper ( with as for all ), or should I use something like
ContDiffMoreiraHolderOn? - is there a version of the inverse function theorem for a function defined on a convex set with nonempty interior, instead of a function defined in a nhd?
Yury G. Kudryashov (Dec 21 2024 at 17:53):
The second is needed to prove the main theorem for functions that are on a convex set.
Yury G. Kudryashov (Dec 21 2024 at 17:55):
An alternative way to move it to manifolds is to introduce a typeclass saying that the range of a model is an intersection of finitely many half-spaces (or a union of finitely many convex intrinsically open sets - both work for this case).
Sébastien Gouëzel (Dec 21 2024 at 17:58):
Yury G. Kudryashov said:
- is there a name for as it is defined in the paper ( with as for all ), or should I use something like
ContDiffMoreiraHolderOn?
Not as far as I know, so your suggestion seems fine.
Sébastien Gouëzel (Dec 21 2024 at 18:00):
Yury G. Kudryashov said:
- is there a version of the inverse function theorem for a function defined on a convex set with nonempty interior, instead of a function defined in a nhd?
That depends on the precise version you want, but typically the answer is no. For instance, in the plane, consider a function defined on that skews things a little bit to the right (like ). Then it maps the half-plane to itself, with a bijective differential at zero (the identity), but it is not locally surjective.
Yury G. Kudryashov (Dec 21 2024 at 18:01):
Then I'm going to aim for one of the typeclasses on the model I mentioned above.
Yury G. Kudryashov (Dec 21 2024 at 18:02):
Yet another option is to prove Whitney's extension theorem, but this is a separate project.
Igor Khavkine (Dec 21 2024 at 20:45):
Yury G. Kudryashov said:
- is there a name for as it is defined in the paper ( with as for all ), or should I use something like
ContDiffMoreiraHolderOn?
Is this not just the definition of a function belonging to a Hölder space? I think I've seen this property referred to as "Hölder regular" or "Hölder differentiable". So even ContDiffHolderOn sounds alright.
Yury G. Kudryashov (Dec 21 2024 at 23:34):
No, the Holder condition is required only for , with constant and nhd depending on .
Yury G. Kudryashov (Dec 21 2024 at 23:35):
I don't know if we'll ever need this difference in conditions, but I want to formalize the paper without losing generality.
Yury G. Kudryashov (Jan 02 2025 at 17:52):
If someone else is interested in collaborating on formalization of the Moreira/Sard theorem, then please contact me. I have a half-done blueprint that covers most (all?) of section 2, nothing from section 3 yet.
Yury G. Kudryashov (Dec 16 2025 at 15:06):
https://github.com/urkud/SardMoreira/blob/main/SardMoreira/MainTheorem.lean now contains
theorem hausdorffMeasure_sardMoreiraBound_image_null_of_finrank_le
[MeasurableSpace F] [BorelSpace F]
(hp_dom : p < dim E) (hk : k ≠ 0) {f : E → F} {s U : Set E}
(hf : ContDiffMoreiraHolderOn k α f s U)
(hs : ∀ x ∈ s, dim (LinearMap.range <| fderiv ℝ f x) ≤ p) :
μH[sardMoreiraBound (dim E) k α p] (f '' s) = 0 := by
proved without sorrys.
Sébastien Gouëzel (Dec 16 2025 at 15:10):
(I just hope that sardMoreiraBound is the right bound :-)
Yury G. Kudryashov (Dec 16 2025 at 15:30):
It's defined in the same file,
noncomputable def sardMoreiraBound (n k : ℕ) (α : I) (p : ℕ) : ℝ≥0 :=
p + (n - p) / (k + ⟨α, α.2.1⟩)
Yury G. Kudryashov (Dec 16 2025 at 15:32):
Last time I checked, it was the best available estimate, but it's possible I've missed some recent paper.
Yury G. Kudryashov (Dec 17 2025 at 07:11):
I've dumped some thoughts on upstreaming to https://github.com/urkud/SardMoreira/blob/8bd10dfe9de4739c7c947044992900ecb4edd1e7/README.md
It is not on main, because I don't want to cancel a CI run.
Yury G. Kudryashov (Dec 17 2025 at 07:12):
If you have better ideas on how to organize the process, I'm open to suggestions.
Yury G. Kudryashov (Dec 20 2025 at 19:08):
@Sébastien Gouëzel I've just sent Moreira an e-mail asking if he knows a nice way to apply his theorem to manifolds with boundaries.
Alfredo Moreira-Rosa (Dec 20 2025 at 19:52):
Weird feeling seeing my name on a thread. But that's not abour me :smile:
Sébastien Gouëzel (Dec 20 2025 at 20:03):
I think Whitney's extension is probably the way to go. I might have a try at it.
Yury G. Kudryashov (Dec 20 2025 at 20:37):
Do you know (a) what's the current best result about Whitney's extension; (b) what's the right way to formulate the corresponding differentiability notion with continuous multilinear forms?
Yury G. Kudryashov (Dec 20 2025 at 20:50):
If you don't have strong preferences, I would like to try it myself first.
Yury G. Kudryashov (Dec 20 2025 at 20:52):
I think that for Whitney differentiability, we should use formal series in the sense we use them for analytic functions, not formal Taylor series, then say that they satisfy the equalities we have for them in the analytic case, but with finite sums and +O(_).
Sébastien Gouëzel (Dec 20 2025 at 21:17):
Yes, I agree with all your comments. Whitney's paper is nice and the results there are pretty comprehensive, I'm not sure there's room for improvement. Wikipedia says that this is also explained in Hörmander, this is probably a good reference. For finer result, there is Fefferman's finitary version (https://annals.math.princeton.edu/wp-content/uploads/annals-v161-n1-p10.pdf) but I don't think they're worth pursuing for now.
Sébastien Gouëzel (Dec 20 2025 at 21:18):
And if you're willing to try it, I'm happy to let you!
Yury G. Kudryashov (Dec 21 2025 at 04:07):
What do you think about the following more direct approach to applying Sard's theorem to manifolds? We require that the model is an intersection of finitely many half spaces, then treat the result as a stratified union of manifolds without border.
Sébastien Gouëzel (Dec 21 2025 at 07:04):
I don't think it's a good idea: it would work in full generality with Whitney, so adding an artificial restriction doesn't feel mathliby. Also, the differential on the stratified components of the boundary doesn't coincide with the full differential, so this wouldn't give the same set of singular values if I understand correctly.
Yury G. Kudryashov (Dec 21 2025 at 14:49):
I should learn not to post when I'm tired/sleepy/...
Yury G. Kudryashov (Dec 21 2025 at 17:41):
I see that Whitney uses some very specific "bump" function which tends to infinity at the origin instead of being 1 in a nhd of the origin. Is it important?
Sébastien Gouëzel (Dec 21 2025 at 17:48):
I don't remember. Have you looked at Hörmander, or only at Whitney's original paper?
Yury G. Kudryashov (Dec 21 2025 at 17:50):
Only the original paper for now. I'll find a way to get Hormander's book later today.
Yury G. Kudryashov (Jan 06 2026 at 15:15):
I've started looking at the proof in Hörmander's book. It starts with a version of smooth bump functions with controlled derivatives. The proof in the book does not guarantee that the support is equal to the "outer" open set, see Theorem 1.4.1&1.4.2 there. What do you think is the best way to make it work with our setup?
Yury G. Kudryashov (Jan 07 2026 at 05:17):
@Sébastien Gouëzel :up:
Sébastien Gouëzel (Jan 07 2026 at 08:03):
I had a look at Hörmander, and I realize that the version he gives is not good enough (only for compact sets, finite differentiability, and does not guarantee that the function is analytic on the complement). So maybe it's a better idea to follow the original paper of Whitney.
In any case since it's supposed to be for a self-contained result I think you should first start with self-contained constructions (i.e., not trying too strongly to match them with existing objects in Mathlib) and once the proof is complete investigate if there can be synergies.
Yury G. Kudryashov (Jan 07 2026 at 08:04):
Thanks!
Yury G. Kudryashov (Jan 07 2026 at 08:32):
BTW, what do you think about this definition of : https://projecteuclid.org/journalArticle/Download?urlId=10.36045%2Fbbms%2F1197908901 ? It looks very similar to Whitney differentiability (I haven't verified the details) and it gives a notion of that implies some nice properties even over fields of positive characteristic. Disclaimer: I first saw this a few days ago.
Yury G. Kudryashov (Jan 09 2026 at 18:04):
Next 2 PRs from this project: #33611 and #33582
Last updated: Feb 28 2026 at 14:05 UTC