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.H3WeakStrong |
| 2 | import NavierStokes.R3.H3CandidateStrong |
| 3 | import NavierStokes.R3.H3PressureOrthogonality |
| 4 | import NavierStokes.R3.CompactComparisonBounds |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | open Set Filter MeasureTheory |
| 9 | open scoped ContDiff Topology BigOperators InnerProductSpace |
| 10 | |
| 11 | namespace NavierStokesR3.H3Comparison |
| 12 | |
| 13 | open ProblemStatement |
| 14 | open NavierStokes.ProblemStatement (pressureGradient spatialDerivative coordinateVector) |
| 15 | open NavierStokes.PeriodicIntegration (spatialPartial) |
| 16 | open NavierStokes.PeriodicUniqueness (slab spatial_smooth) |
| 17 | |
| 18 | /-- The arbitrary pressure potential itself needs no integrability or |
| 19 | normalization: the equation supplies the square-integrable gradient. -/ |
| 20 | theorem integral_inner_pressureGradient_zero {w : Space → Space} |
| 21 | {dw : Fin 3 → Space → Space} (hw : H1Approximation w dw) |
| 22 | (hdiv : ∀ᵐ x ∂volume, ∑ i : Fin 3, dw i x i = 0) |
| 23 | {p : PressureField} {t : ℝ} (hp : ContDiff ℝ 1 (fun x => p (t, x))) |
| 24 | (hg : MemLp (fun x => pressureGradient p t x) 2 volume) : |
| 25 | (∫ x, ⟪w x, pressureGradient p t x⟫_ℝ) = 0 := by |
| 26 | have hcomponent (i : Fin 3) (x : Space) : |
| 27 | pressureGradient p t x i = spatialPartial i (fun y => p (t, y)) x := by |
| 28 | change (EuclideanSpace.proj i : Space →L[ℝ] ℝ) |
| 29 | (∑ j : Fin 3, spatialPartial j (fun y => p (t, y)) x • coordinateVector j) = _ |
| 30 | simp [map_sum, coordinateVector] |
| 31 | have hgp (i : Fin 3) : MemLp (spatialPartial i (fun y => p (t, y))) 2 volume := by |
| 32 | have hh := (EuclideanSpace.proj i : Space →L[ℝ] ℝ).comp_memLp' hg |
| 33 | change MemLp (fun x => pressureGradient p t x i) 2 volume at hh |
| 34 | simpa only [hcomponent] using hh |
| 35 | have hh := H3PressureOrthogonality.pressure_pairing_zero hw hdiv hp hgp |
| 36 | convert hh using 1 |
| 37 | apply integral_congr_ae |
| 38 | filter_upwards with x |
| 39 | simp [pressureGradient, spatialPartial, coordinateVector, inner_sum, inner_smul_right, |
| 40 | EuclideanSpace.inner_single_right, mul_comm] |
| 41 | |
| 42 | /-- Weak–strong uniqueness with arbitrary classical pressure potentials. |
| 43 | The pressure cancellation and all energy terms are derived from the stated |
| 44 | H³ solution class and the actual equation. -/ |
| 45 | theorem strong_unique {ν T : ℝ} (hν : 0 ≤ ν) |
| 46 | {f u v : VelocityField} {p q : PressureField} |
| 47 | (hu : StrongSolutionOnIcc ν f 0 T u p) (hv : StrongSolutionOnIcc ν f 0 T v q) |
| 48 | (hf : ∀ t ∈ Ioo (0 : ℝ) T, MemLp (fun x => f (t, x)) 2 volume) |
| 49 | (A : ℝ → Space → Space →L[ℝ] Space) {G : ℝ} (hG : 0 ≤ G) |
| 50 | (hAm : ∀ t ∈ Ioo (0 : ℝ) T, AEStronglyMeasurable (A t) volume) |
| 51 | (hAb : ∀ t ∈ Ioo (0 : ℝ) T, ∀ x, ‖A t x‖ ≤ G) |
| 52 | (hAe : ∀ t ∈ Ioo (0 : ℝ) T, ∀ᵐ x ∂volume, ∀ z : Space, |
| 53 | A t x z = ∑ i : Fin 3, z i • hu.curve.first i (t, x)) |
| 54 | (hinitial : ∀ x, u (0, x) = v (0, x)) : |
| 55 | ∀ t ∈ Icc (0 : ℝ) T, ∀ x, u (t, x) = v (t, x) := by |
| 56 | have hpu t ht := hu.pressureGradient_memLp ht (hf t ht) |
| 57 | have hpv t ht := hv.pressureGradient_memLp ht (hf t ht) |
| 58 | apply strong_unique_of_pressure_pairing hν hu hv A hG hAm hAb hAe |
| 59 | (fun t ht => (hpu t ht).sub (hpv t ht)) _ hinitial |
| 60 | intro t ht |
| 61 | let hw := (hu.curve.approximation t (Ioo_subset_Icc_self ht)).sub |
| 62 | (hv.curve.approximation t (Ioo_subset_Icc_self ht)) |
| 63 | have hd : ∀ᵐ x ∂volume, |
| 64 | ∑ i : Fin 3, (hu.curve.first i (t, x) - hv.curve.first i (t, x)) i = 0 := by |
| 65 | filter_upwards [hu.divergence_free t ht, hv.divergence_free t ht] with x hux hvx |
| 66 | simp only [weakDivergence] at hux hvx |
| 67 | simp only [PiLp.sub_apply, Finset.sum_sub_distrib, hux, hvx, sub_self] |
| 68 | have hup := integral_inner_pressureGradient_zero hw.toH1Approximation hd |
| 69 | (hu.pressure_C1 t ht) (hpu t ht) |
| 70 | have hvp := integral_inner_pressureGradient_zero hw.toH1Approximation hd |
| 71 | (hv.pressure_C1 t ht) (hpv t ht) |
| 72 | have hi := integral_sub (integrable_inner_of_memLp hw.memLp (hpu t ht)) |
| 73 | (integrable_inner_of_memLp hw.memLp (hpv t ht)) |
| 74 | simp only [Pi.sub_apply] at hi hup hvp |
| 75 | simp_rw [inner_sub_right] |
| 76 | rw [hi, hup, hvp, sub_self] |
| 77 | |
| 78 | theorem candidate_force_memLp {ν : ℝ} {u f : VelocityField} |
| 79 | {p : PressureField} {K : Set Space} (h : CandidateProperties ν u p f K) (t : ℝ) : |
| 80 | MemLp (fun x => f (t, x)) 2 volume := by |
| 81 | have hc : HasCompactSupport (fun x => f (t, x)) := by |
| 82 | apply HasCompactSupport.intro (h.force_support.1.isCompact.image continuous_snd) |
| 83 | intro x hx |
| 84 | apply image_eq_zero_of_notMem_tsupport |
| 85 | exact fun hz => hx ⟨(t, x), hz, rfl⟩ |
| 86 | exact (h.force_smooth.continuous.comp (continuous_const.prodMk continuous_id)).memLp_of_hasCompactSupport hc |
| 87 | |
| 88 | /-- Every ordinary H³ strong solution with the paper's forcing and zero |
| 89 | initial velocity agrees with the constructed candidate on a shorter slab. -/ |
| 90 | theorem candidate_unique_on_Icc_h3 {ν : ℝ} {u : VelocityField} {p : PressureField} |
| 91 | {f : VelocityField} {K : Set Space} (hν : 0 < ν) |
| 92 | (h : CandidateProperties ν u p f K) {T : ℝ} (hT : T < 1) |
| 93 | {v : VelocityField} {q : PressureField} (hv : StrongSolutionOnIcc ν f 0 T v q) |
| 94 | (hvzero : ∀ x, v (0, x) = 0) : |
| 95 | ∀ t ∈ Icc (0 : ℝ) T, ∀ x, u (t, x) = v (t, x) := by |
| 96 | let hu := (candidate_classicalH3Solution h).on_shorter_interval T ⟨hv.time_lt, hT⟩ |
| 97 | have hus : ContDiffOn ℝ ∞ u (slab 0 T) := |
| 98 | h.velocity_smooth.mono (fun _ hz => ⟨⟨hz.1.1, hz.1.2.trans_lt hT⟩, hz.2⟩) |
| 99 | obtain ⟨G, hG, hGb⟩ := CompactComparisonBounds.exists_gradient_bound hv.time_lt hus |
| 100 | h.support_compact (fun t ht => h.velocity_support t ⟨ht.1, ht.2.trans_lt hT⟩) |
| 101 | apply strong_unique hν.le hu hv (fun t _ => candidate_force_memLp h t) (spatialDerivative u) hG |
| 102 | · intro t ht |
| 103 | exact ((spatial_smooth hus (Ioo_subset_Icc_self ht)).continuous_fderiv (by simp)).aestronglyMeasurable |
| 104 | · exact fun t ht => hGb t (Ioo_subset_Icc_self ht) |
| 105 | · intro t _ |
| 106 | filter_upwards with x z |
| 107 | change spatialDerivative u t x z = |
| 108 | ∑ i : Fin 3, z i • H3Compact.partialField i u (t, x) |
| 109 | unfold spatialDerivative |
| 110 | conv_lhs => rw [← NavierStokes.PeriodicUniqueness.sum_coordinates z] |
| 111 | simp only [map_sum, map_smul] |
| 112 | rfl |
| 113 | · intro x |
| 114 | rw [h.zero_initial_velocity, hvzero] |
| 115 | |
| 116 | end NavierStokesR3.H3Comparison |