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 NavierStokes.R3.H3Definitions |
| 2 | import NavierStokes.R3.H3CompactHelpers |
| 3 | |
| 4 | /-! # Continuity in the whole-space derivative H³ norm |
| 5 | |
| 6 | The continuity assertion below uses the H³ norm of the difference of two |
| 7 | spatial fields. Thus it controls convergence of every spatial derivative |
| 8 | through order three in genuine Lebesgue L², rather than merely continuity of |
| 9 | the scalar norm of a field. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open Set Filter MeasureTheory |
| 15 | open scoped Topology BigOperators ContDiff |
| 16 | |
| 17 | namespace NavierStokesR3.H3Embedding |
| 18 | |
| 19 | open ProblemStatement H3Compact |
| 20 | open NavierStokes.PeriodicIntegration (spatialPartial) |
| 21 | open NavierStokes.PeriodicUniqueness (slab spatial_smooth) |
| 22 | |
| 23 | /-- Continuity in the derivative H³ topology on a time set. All derivatives |
| 24 | through order three are square integrable at every time. -/ |
| 25 | def H3ContinuousOn (u : VelocityField) (s : Set ℝ) : Prop := |
| 26 | (∀ t ∈ s, HasFiniteH3 (fun x => u (t, x))) ∧ |
| 27 | ∀ t ∈ s, Tendsto (fun r => derivativeH3Norm (fun x => u (r, x) - u (t, x))) |
| 28 | (𝓝[s] t) (𝓝 0) |
| 29 | |
| 30 | theorem finiteH3_of_compact_slab {a b : ℝ} (hab : a < b) {u : VelocityField} |
| 31 | {K : Set Space} (hK : IsCompact K) (hu : ContDiffOn ℝ ∞ u (slab a b)) |
| 32 | (hsupp : ∀ t ∈ Icc a b, tsupport (fun x => u (t, x)) ⊆ K) |
| 33 | {t : ℝ} (ht : t ∈ Icc a b) : HasFiniteH3 (fun x => u (t, x)) := by |
| 34 | refine ⟨?_, ?_, ?_, ?_⟩ |
| 35 | · exact partialWord_square_integrable hab hK hu hsupp [] ht |
| 36 | · intro i |
| 37 | exact partialWord_square_integrable hab hK hu hsupp [i] ht |
| 38 | · intro i j |
| 39 | exact partialWord_square_integrable hab hK hu hsupp [i, j] ht |
| 40 | · intro i j k |
| 41 | exact partialWord_square_integrable hab hK hu hsupp [i, j, k] ht |
| 42 | |
| 43 | theorem continuousOn_derivativeH3Energy_of_compact_slab {a b : ℝ} (hab : a < b) |
| 44 | {u : VelocityField} {K : Set Space} (hK : IsCompact K) |
| 45 | (hu : ContDiffOn ℝ ∞ u (slab a b)) |
| 46 | (hsupp : ∀ t ∈ Icc a b, tsupport (fun x => u (t, x)) ⊆ K) : |
| 47 | ContinuousOn (fun t => derivativeH3Energy (fun x => u (t, x))) (Icc a b) := by |
| 48 | have hc (is : List (Fin 3)) := partialWord_square_continuousOn hab hK hu hsupp is |
| 49 | have hm : ContinuousOn (fun t => mixedEnergy (fun x => u (t, x))) (Icc a b) := |
| 50 | (((((((hc []).add (hc [0])).add (hc [1])).add (hc [2])).add |
| 51 | (hc [1, 0])).add (hc [2, 0])).add (hc [2, 1])).add (hc [2, 1, 0]) |
| 52 | apply (hm.add ?_).add ?_ |
| 53 | · apply continuousOn_finsetSum |
| 54 | intro i _ |
| 55 | apply continuousOn_finsetSum |
| 56 | intro j _ |
| 57 | exact hc [i, j] |
| 58 | · apply continuousOn_finsetSum |
| 59 | intro i _ |
| 60 | apply continuousOn_finsetSum |
| 61 | intro j _ |
| 62 | apply continuousOn_finsetSum |
| 63 | intro k _ |
| 64 | exact hc [i, j, k] |
| 65 | |
| 66 | theorem continuousOn_derivativeH3Norm_of_compact_slab {a b : ℝ} (hab : a < b) |
| 67 | {u : VelocityField} {K : Set Space} (hK : IsCompact K) |
| 68 | (hu : ContDiffOn ℝ ∞ u (slab a b)) |
| 69 | (hsupp : ∀ t ∈ Icc a b, tsupport (fun x => u (t, x)) ⊆ K) : |
| 70 | ContinuousOn (fun t => derivativeH3Norm (fun x => u (t, x))) (Icc a b) := |
| 71 | (continuousOn_derivativeH3Energy_of_compact_slab hab hK hu hsupp).sqrt |
| 72 | |
| 73 | @[simp] theorem derivativeH3Norm_zero : derivativeH3Norm (fun _ : Space => (0 : Space)) = 0 := by |
| 74 | have hz (i : Fin 3) : spatialPartial i (fun _ : Space => (0 : Space)) = fun _ => 0 := by |
| 75 | funext x |
| 76 | simp [spatialPartial] |
| 77 | simp [derivativeH3Norm, derivativeH3Energy, mixedEnergy, squareEnergy, hz] |
| 78 | |
| 79 | /-- Uniform compact support and joint smoothness imply actual H³ norm |
| 80 | continuity, including the endpoints of a closed time interval. -/ |
| 81 | theorem h3ContinuousOn_of_compact_slab {a b : ℝ} (hab : a < b) |
| 82 | {u : VelocityField} {K : Set Space} (hK : IsCompact K) |
| 83 | (hu : ContDiffOn ℝ ∞ u (slab a b)) |
| 84 | (hsupp : ∀ t ∈ Icc a b, tsupport (fun x => u (t, x)) ⊆ K) : |
| 85 | H3ContinuousOn u (Icc a b) := by |
| 86 | refine ⟨fun t ht => finiteH3_of_compact_slab hab hK hu hsupp ht, ?_⟩ |
| 87 | intro t ht |
| 88 | let w : VelocityField := fun z => u z - u (t, z.2) |
| 89 | have hw : ContDiffOn ℝ ∞ w (slab a b) := |
| 90 | hu.sub (((spatial_smooth hu ht).comp contDiff_snd).contDiffOn) |
| 91 | have hs : ∀ r ∈ Icc a b, tsupport (fun x => w (r, x)) ⊆ K := by |
| 92 | intro r hr |
| 93 | exact (tsupport_sub _ _).trans (union_subset (hsupp r hr) (hsupp t ht)) |
| 94 | have hc := (continuousOn_derivativeH3Norm_of_compact_slab hab hK hw hs) t ht |
| 95 | simpa only [ContinuousWithinAt, w, sub_self, derivativeH3Norm_zero] using hc |
| 96 | |
| 97 | /-- The paper's compact candidate belongs to C([0,T];H³(ℝ³)) for every |
| 98 | positive T strictly below one. -/ |
| 99 | theorem candidate_h3ContinuousOn {ν : ℝ} {u : VelocityField} {p : PressureField} |
| 100 | {f : VelocityField} {K : Set Space} (h : CandidateProperties ν u p f K) |
| 101 | {T : ℝ} (hT0 : 0 < T) (hT : T < 1) : H3ContinuousOn u (Icc 0 T) := by |
| 102 | have hsub : slab 0 T ⊆ preSingularDomain := by |
| 103 | intro z hz |
| 104 | exact ⟨⟨hz.1.1, hz.1.2.trans_lt hT⟩, hz.2⟩ |
| 105 | exact h3ContinuousOn_of_compact_slab hT0 h.support_compact (h.velocity_smooth.mono hsub) |
| 106 | (fun t ht => h.velocity_support t ⟨ht.1, ht.2.trans_lt hT⟩) |
| 107 | |
| 108 | end NavierStokesR3.H3Embedding |