Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

| 1 | import Mathlib.Analysis.InnerProductSpace.PiL2 |
| 2 | import Mathlib.Topology.Algebra.Module.ClosedSubmodule |
| 3 | import Mathlib.Topology.ContinuousMap.Algebra |
| 4 | |
| 5 | /-! |
| 6 | Every closed subspace of a finite product of Hilbert spaces has a bounded |
| 7 | retraction. We use the equivalent Hilbert product norm only to construct the |
| 8 | retraction; all stated spaces retain their original sup norms. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerHilbertProductSubspace |
| 14 | |
| 15 | open ContinuousLinearMap |
| 16 | |
| 17 | variable {ι E : Type*} [Fintype ι] [NormedAddCommGroup E] |
| 18 | [InnerProductSpace ℝ E] [CompleteSpace E] |
| 19 | |
| 20 | def hilbertEquiv : (ι → E) ≃L[ℝ] PiLp 2 (fun _ : ι => E) := |
| 21 | (PiLp.continuousLinearEquiv 2 ℝ (fun _ : ι => E)).symm |
| 22 | |
| 23 | def hilbertSubspace (S : ClosedSubmodule ℝ (ι → E)) : |
| 24 | ClosedSubmodule ℝ (PiLp 2 (fun _ : ι => E)) := S.mapEquiv hilbertEquiv |
| 25 | |
| 26 | def restriction (S : ClosedSubmodule ℝ (ι → E)) : hilbertSubspace S →L[ℝ] S := |
| 27 | (hilbertEquiv.symm.toContinuousLinearMap.comp (hilbertSubspace S).toSubmodule.subtypeL).codRestrict |
| 28 | S.toSubmodule (fun u => (ClosedSubmodule.mem_mapEquiv_iff hilbertEquiv S u).mp u.property) |
| 29 | |
| 30 | /-- A genuine bounded retraction, obtained from orthogonal projection in the equivalent Hilbert norm. -/ |
| 31 | def retraction (S : ClosedSubmodule ℝ (ι → E)) : (ι → E) →L[ℝ] S := |
| 32 | (restriction S).comp ((hilbertSubspace S).toSubmodule.orthogonalProjectionOnto.comp |
| 33 | hilbertEquiv.toContinuousLinearMap) |
| 34 | |
| 35 | @[simp] theorem retraction_subtype (S : ClosedSubmodule ℝ (ι → E)) (u : S) : |
| 36 | retraction S (u : ι → E) = u := by |
| 37 | have hu : hilbertEquiv (u : ι → E) ∈ hilbertSubspace S := |
| 38 | (ClosedSubmodule.mem_mapEquiv_iff' hilbertEquiv S (u : ι → E)).mpr u.property |
| 39 | have hp := (hilbertSubspace S).toSubmodule.orthogonalProjectionOnto_mem_subspace_eq_self |
| 40 | (⟨hilbertEquiv (u : ι → E),hu⟩ : hilbertSubspace S) |
| 41 | apply Subtype.ext |
| 42 | change hilbertEquiv.symm |
| 43 | (((hilbertSubspace S).toSubmodule.orthogonalProjectionOnto (hilbertEquiv (u : ι → E))) : |
| 44 | PiLp 2 (fun _ : ι => E)) = (u : ι → E) |
| 45 | rw [hp] |
| 46 | exact hilbertEquiv.symm_apply_apply (u : ι → E) |
| 47 | |
| 48 | section Paths |
| 49 | |
| 50 | variable {K V : Type*} [TopologicalSpace K] [CompactSpace K] |
| 51 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 52 | |
| 53 | /-- Interchange a finite tuple and a continuous path by a bounded linear map. -/ |
| 54 | def packPaths : (ι → C(K,V)) →L[ℝ] C(K,ι → V) := by |
| 55 | classical |
| 56 | exact ∑ i : ι, ((ContinuousLinearMap.single ℝ (fun _ : ι => V) i).compLeftContinuous ℝ K).comp |
| 57 | (ContinuousLinearMap.proj i) |
| 58 | |
| 59 | omit [CompactSpace K] in |
| 60 | @[simp] theorem packPaths_apply (p : ι → C(K,V)) (t : K) (i : ι) : |
| 61 | packPaths (ι := ι) (K := K) (V := V) p t i = p i t := by |
| 62 | classical |
| 63 | simp [packPaths, sum_apply] |
| 64 | change (∑ j : ι, Pi.single j (p j t) i) = p i t |
| 65 | simp [Pi.single_apply] |
| 66 | |
| 67 | end Paths |
| 68 | end EulerHilbertProductSubspace |