The Whitney embedding theorem (weak form, compact manifolds)
ProvedFamousTheorems.whitney_embeddingThe Whitney embedding theorem (weak form). Every compact Hausdorff smooth manifold (modelled on a finite-dimensional real space, possibly with corners) admits, for some , a smooth closed embedding whose derivative is injective at every point.
Abstract manifolds are thus no more general than submanifolds of Euclidean space. The strong Whitney theorem bounds by , but the weak form, proved with bump functions, is enough for most uses: Riemannian metrics by pullback, tubular neighbourhoods and transversality arguments.
Formalization note. Mathlib's exists_embedding_euclidean_of_compact. Smoothness is ContMDiff … ∞, the embedding is Topology.IsClosedEmbedding, and immersion is injectivity of mfderiv at every point. No bound on the dimension n is given.
import Mathlib
namespace FamousTheorems
open scoped ContDiff Manifold
theorem whitney_embedding {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {H : Type*}
[TopologicalSpace H] {I : ModelWithCorners ℝ E H} {M : Type*} [TopologicalSpace M] [ChartedSpace H M]
[IsManifold I ∞ M] [T2Space M] [CompactSpace M] :
∃ (n : ℕ) (e : M → EuclideanSpace ℝ (Fin n)),
ContMDiff I (modelWithCornersSelf ℝ (EuclideanSpace ℝ (Fin n))) ∞ e ∧ Topology.IsClosedEmbedding e ∧
∀ x : M, Function.Injective (mfderiv I (modelWithCornersSelf ℝ (EuclideanSpace ℝ (Fin n))) e x) := by sorry
end FamousTheorems