Sard Infrastructure¶
Sard's theorem (Sard, 1942) states that the set of critical values of a smooth map \(f : M \to N\) between manifolds has measure zero in \(N\). It is a foundational result in differential topology, underpinning transversality theory, Morse theory, and --- for this project --- the genericity argument in the smooth Takens embedding theorem.
This file builds the infrastructure for Sard's theorem in the setting of finite-dimensional real normed spaces. Three cases arise, distinguished by the relationship between \(\dim E\) and \(\dim F\):
| Case | Condition | Strategy | Status |
|---|---|---|---|
| Equidimensional | \(\dim E = \dim F\) | Jacobian area formula | Proved |
| Low-dimensional | \(\dim E < \dim F\) | Hausdorff dimension | Proved |
| High-dimensional | \(\dim E > \dim F\) | Morse--Sard induction | Deferred (gate 3) |
Definitions¶
Proved (criticalSet)
Definition. The critical set of \(f : E \to F\) is
Lean 4 statement --- SardInfra.lean:76
Proved (criticalValues)
Definition. The critical values of \(f\) are the image of the critical set: \(\operatorname{CritVal}(f) = f(\operatorname{Crit}(f))\).
Structural lemmas¶
Proved (det_fderiv_eq_zero_of_not_surjective)
Lemma. If \(L : E \to_L E\) is a continuous linear endomorphism that is not surjective, then \(\det L = 0\).
Lean 4 statement --- SardInfra.lean:93
Proved (ContinuousLinearMap.surjective_iff_det_ne_zero)
Theorem. A continuous linear endomorphism \(L : E \to_L E\) on a finite-dimensional space is surjective iff \(\det L \ne 0\):
Lean 4 statement --- SardInfra.lean:101
Proved (criticalSet_eq_det_zero)
Theorem. The critical set coincides with the zero locus of the Jacobian determinant: \(\operatorname{Crit}(f) = \{x \mid \det Df(x) = 0\}\).
Lean 4 statement --- SardInfra.lean:117
Proved (isClosed_criticalSet_of_contDiff)
Theorem. If \(f : E \to E\) is \(C^\infty\), then \(\operatorname{Crit}(f)\) is closed.
Lean 4 statement --- SardInfra.lean:123
Equidimensional Sard¶
Proved (sard_equidim)
Theorem (Sard, equidimensional). Let \(E\) be a finite-dimensional real normed space with additive Haar measure \(\mu\). If \(f : E \to E\) is \(C^\infty\), then \(\mu(\operatorname{CritVal}(f)) = 0\).
The proof uses the Jacobian area formula: \(\mu(f(S)) \le \int_S |\det Df(x)|\,d\mu(x)\). On the critical set, \(\det Df(x) = 0\) identically, so the integral vanishes.
Lean 4 statement --- SardInfra.lean:140
Low-dimensional Sard¶
Proved (sard_low_dim)
Theorem (Sard, low-dimensional). If \(\dim_{\mathbb{R}} E < \dim_{\mathbb{R}} F\) and \(f : E \to F\) is \(C^\infty\), then \(\mu(\operatorname{CritVal}(f)) = 0\). In fact, the entire image \(f(E)\) has measure zero.
Smooth maps do not increase Hausdorff dimension: \(\dim_H(f(E)) \le \dim_{\mathbb{R}} E < \dim_{\mathbb{R}} F\). The Haar measure is absolutely continuous with respect to Hausdorff measure at dimension \(\dim F\), giving \(\mu(f(E)) = 0\).
Lean 4 statement --- SardInfra.lean:184
General equidimensional Sard¶
To handle \(f : E \to F\) with \(\dim E = \dim F\) (not just endomorphisms), we transport through a continuous linear equivalence.
Proved (exists_continuousLinearEquiv_of_finrank_eq)
Theorem. If \(\dim_{\mathbb{R}} E = \dim_{\mathbb{R}} F\), then there exists a continuous linear equivalence \(E \simeq_L F\).
Lean 4 statement --- SardInfra.lean:225
Proved (criticalSet_comp_equiv)
Theorem. Post-composition with an isomorphism preserves the critical set: \(\operatorname{Crit}(e \circ f) = \operatorname{Crit}(f)\).
Lean 4 statement --- SardInfra.lean:232
Proved (ContinuousLinearEquiv.symm_preimage_eq_image)
Theorem. For a continuous linear equivalence \(e\) and a set \(S\), \(e^{-1}(S) = e(S)\).
Lean 4 statement --- SardInfra.lean:252
Proved (map_continuousLinearEquiv_isAddHaarMeasure)
Instance. If \(\mu\) is an additive Haar measure on \(F\) and \(e : E \simeq_L F\), then the pushforward is an additive Haar measure on \(E\).
Lean 4 statement --- SardInfra.lean:261
Proved (sard_equidim_general)
Theorem (Sard, equidimensional, general). If \(\dim_{\mathbb{R}} E = \dim_{\mathbb{R}} F\) and \(f : E \to F\) is \(C^\infty\), then \(\mu(\operatorname{CritVal}(f)) = 0\).
The proof picks \(e : E \simeq_L F\), sets \(g = e^{-1} \circ f : E \to E\), applies sard_equidim to \(g\), and transfers back.
Lean 4 statement --- SardInfra.lean:269
The axiom boundary¶
Deferred (sard_of_finrank_gt --- gate 3)
Deferred. The high-dimensional case (\(\dim E > \dim F\)) requires the Morse--Sard induction: stratification by vanishing order of derivatives, Taylor estimates, and Whitney-type covering arguments. This will be axiomatized as a SardInfra typeclass carrying the single axiom that \(\mu(\operatorname{CritVal}(f)) = 0\) when \(\dim E > \dim F\) and \(f\) is sufficiently smooth.
The boundary is deliberate. The equidimensional and low-dimensional cases have clean proofs using existing Mathlib infrastructure. The high-dimensional case requires substantial new machinery that does not yet exist in Mathlib. Rather than axiomatizing the entire theorem, the formalization proves what it can and isolates the remaining obligation in a single, clearly scoped axiom.
References¶
- Sard, A. (1942). "The measure of the critical values of differentiable maps." Bull. Amer. Math. Soc. 48(12), pp. 883--890.
- Mathlib:
MeasureTheory.addHaar_image_le_lintegral_abs_det_fderiv(Jacobian area formula),ContDiffOn.dimH_image_le(Hausdorff dimension bound).