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 Euler.ComparatorSingularityNorms |
| 2 | import Euler.OrdinaryEulerKineticEnergy |
| 3 | |
| 4 | /-! The canonical maximal fields in the challenge's position-first, real-time |
| 5 | convention. Extension by zero outside the lifespan has no role in the equation. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open Set Filter MeasureTheory InnerProductSpace EulerSmoothLimit EulerLpTranslation |
| 10 | EulerLpTranslation.SmoothL2Field EulerOrdinarySobolev EulerMeanSobolevBoundedField |
| 11 | open scoped ENNReal Topology ContDiff |
| 12 | |
| 13 | namespace Euler.ComparatorBridge |
| 14 | |
| 15 | variable {A : SmoothL2Field Space} (L : FiniteLifespan A) |
| 16 | |
| 17 | def maximalVelocityExtension (x : Space) (t : ℝ) : Space := |
| 18 | if ht : t ∈ Ico (0 : ℝ) L.duration then L.maximalVelocity ⟨t, ht⟩ x else 0 |
| 19 | |
| 20 | def maximalPressureExtension (x : Space) (t : ℝ) : ℝ := |
| 21 | if ht : t ∈ Ico (0 : ℝ) L.duration then L.maximalPressure ⟨t, ht⟩ x else 0 |
| 22 | |
| 23 | theorem maximalVelocityExtension_eq (t : L.Time) : |
| 24 | (maximalVelocityExtension L · (t : ℝ)) = L.maximalVelocity t := by |
| 25 | funext x |
| 26 | simp only [maximalVelocityExtension, dite_eq_left t.property] |
| 27 | |
| 28 | theorem maximalPressureExtension_eq (t : L.Time) : |
| 29 | (maximalPressureExtension L · (t : ℝ)) = L.maximalPressure t := by |
| 30 | funext x |
| 31 | simp only [maximalPressureExtension, dite_eq_left t.property] |
| 32 | |
| 33 | theorem maximalVelocityExtension_initial : (maximalVelocityExtension L · 0) = A.field := |
| 34 | (maximalVelocityExtension_eq L L.initialTime).trans L.maximalVelocity_initial |
| 35 | |
| 36 | theorem maximalVelocityExtension_memLp (t : ℝ) (ht : t ∈ Ico 0 L.duration) : |
| 37 | MemLp (maximalVelocityExtension L · t) 2 volume := by |
| 38 | rw [maximalVelocityExtension_eq L ⟨t, ht⟩] |
| 39 | exact (L.maximalField ⟨t, ht⟩).memLp |
| 40 | |
| 41 | theorem maximalVelocityExtension_divergence (t : ℝ) (ht : t ∈ Ico 0 L.duration) |
| 42 | (x : Space) : Euler.divergence (maximalVelocityExtension L · t) x = 0 := by |
| 43 | rw [maximalVelocityExtension_eq L ⟨t, ht⟩] |
| 44 | exact L.maximalVelocity_divergence ⟨t, ht⟩ x |
| 45 | |
| 46 | theorem velocityC1Norm_maximal (t : L.Time) : |
| 47 | Euler.velocityC1Norm (maximalVelocityExtension L · (t : ℝ)) = |
| 48 | ENNReal.ofReal (L.maximalC1Norm t) := by |
| 49 | rw [maximalVelocityExtension_eq] |
| 50 | exact velocityC1Norm_eq (L.maximalField t) |
| 51 | |
| 52 | theorem vorticityNorm_maximal (t : L.Time) : |
| 53 | Euler.vorticityNorm (maximalVelocityExtension L · (t : ℝ)) = |
| 54 | ENNReal.ofReal (L.maximalVorticityNorm t) := by |
| 55 | rw [maximalVelocityExtension_eq] |
| 56 | exact vorticityNorm_eq (L.maximalField t) |
| 57 | |
| 58 | theorem vorticityNorm_maximal_density (t : ℝ) (ht : t ∈ Ico 0 L.duration) : |
| 59 | Euler.vorticityNorm (maximalVelocityExtension L · t) = |
| 60 | ENNReal.ofReal (L.maximalVorticityDensity t) := by |
| 61 | exact (vorticityNorm_maximal L ⟨t, ht⟩).trans |
| 62 | (congrArg ENNReal.ofReal (L.maximalVorticityDensity_eq ⟨t, ht⟩)).symm |
| 63 | |
| 64 | theorem maximalField_kineticEnergy (t : L.Time) : |
| 65 | ‖(L.maximalField t).toLp‖ ^ 2 = ‖A.toLp‖ ^ 2 := by |
| 66 | change ‖((L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) |
| 67 | (L.intermediateHorizon_lt t)).velocity (L.intermediateTime t)).toLp‖ ^ 2 = _ |
| 68 | rw [Evolution.kineticEnergy_conserved, L.evolution_initial] |
| 69 | |
| 70 | theorem maximalVelocityExtension_energy (t : ℝ) (ht : t ∈ Ico 0 L.duration) : |
| 71 | (∫ x, ‖maximalVelocityExtension L x t‖ ^ 2) = ‖A.toLp‖ ^ 2 := by |
| 72 | have he := field_inner (L.maximalField ⟨t, ht⟩) (L.maximalField ⟨t, ht⟩) |
| 73 | have hf : (∫ x, ‖(L.maximalField ⟨t, ht⟩).field x‖ ^ 2) = |
| 74 | ‖(L.maximalField ⟨t, ht⟩).toLp‖ ^ 2 := by |
| 75 | simpa only [real_inner_self_eq_norm_sq] using he.symm |
| 76 | have hx := congrFun (maximalVelocityExtension_eq L ⟨t, ht⟩) |
| 77 | calc |
| 78 | _ = ∫ x, ‖(L.maximalField ⟨t, ht⟩).field x‖ ^ 2 := |
| 79 | integral_congr_ae (Eventually.of_forall (fun x => congrArg (fun a : Space => ‖a‖ ^ 2) (hx x))) |
| 80 | _ = ‖A.toLp‖ ^ 2 := hf.trans (maximalField_kineticEnergy L ⟨t, ht⟩) |
| 81 | |
| 82 | theorem maximalVelocityExtension_bounded_energy : |
| 83 | ∃ E : ℝ, ∀ t ∈ Ico (0 : ℝ) L.duration, |
| 84 | (∫ x, ‖maximalVelocityExtension L x t‖ ^ 2) < E := by |
| 85 | refine ⟨‖A.toLp‖ ^ 2 + 1, ?_⟩ |
| 86 | intro t ht |
| 87 | rw [maximalVelocityExtension_energy L t ht] |
| 88 | exact lt_add_one _ |
| 89 | |
| 90 | theorem maximalVelocityExtension_c1_locally_bounded |
| 91 | (S : ℝ) (_hS : 0 < S) (hSL : S < L.duration) : |
| 92 | (⨆ t ∈ Icc (0 : ℝ) S, Euler.velocityC1Norm (maximalVelocityExtension L · t)) < ⊤ := by |
| 93 | have hc : Continuous (fun t : Icc (0 : ℝ) S => |
| 94 | L.maximalC1Norm (L.shorterTime S hSL t)) := |
| 95 | L.maximalC1Norm_continuous.comp |
| 96 | (continuous_subtype_val.subtype_mk (fun t => ⟨t.property.1, t.property.2.trans_lt hSL⟩)) |
| 97 | obtain ⟨M, hM⟩ := (isCompact_range hc).bddAbove |
| 98 | apply lt_of_le_of_lt (b := ENNReal.ofReal M) _ ENNReal.ofReal_lt_top |
| 99 | refine iSup_le (fun t => iSup_le (fun ht => ?_)) |
| 100 | exact (velocityC1Norm_maximal L (L.shorterTime S hSL ⟨t, ht⟩)).le.trans |
| 101 | (ENNReal.ofReal_le_ofReal (hM ⟨⟨t, ht⟩, rfl⟩)) |
| 102 | |
| 103 | theorem maximalVelocityExtension_vorticity_locally_integrable |
| 104 | (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) : |
| 105 | (∫⁻ t in Ico (0 : ℝ) S, Euler.vorticityNorm (maximalVelocityExtension L · t)) < ⊤ := by |
| 106 | have he : (∫⁻ t in Ico (0 : ℝ) S, Euler.vorticityNorm (maximalVelocityExtension L · t)) = |
| 107 | ∫⁻ t in Ico (0 : ℝ) S, ENNReal.ofReal (L.maximalVorticityDensity t) := by |
| 108 | apply setLIntegral_congr_fun measurableSet_Ico |
| 109 | intro t ht |
| 110 | exact vorticityNorm_maximal_density L t ⟨ht.1, ht.2.trans hSL⟩ |
| 111 | rw [he, ← ofReal_integral_eq_lintegral_ofReal |
| 112 | ((L.maximalVorticityDensity_continuousOn S hS hSL).integrableOn_Icc.mono_set |
| 113 | Ico_subset_Icc_self) |
| 114 | (Eventually.of_forall L.maximalVorticityDensity_nonneg)] |
| 115 | exact ENNReal.ofReal_lt_top |
| 116 | |
| 117 | theorem maximalVelocityExtension_c1_limsup : |
| 118 | Filter.limsup (fun t : ℝ => Euler.velocityC1Norm (maximalVelocityExtension L · t)) |
| 119 | (𝓝[<] L.duration) = ⊤ := by |
| 120 | rw [← L.map_time_atTop, ← Filter.limsup_comp] |
| 121 | simpa only [Function.comp_def, velocityC1Norm_maximal] using L.maximalC1Norm_limsup_atTop |
| 122 | |
| 123 | theorem maximalVelocityExtension_vorticity_integral : |
| 124 | (∫⁻ t in Ico (0 : ℝ) L.duration, Euler.vorticityNorm (maximalVelocityExtension L · t)) = ⊤ := by |
| 125 | rw [setLIntegral_congr_fun measurableSet_Ico (vorticityNorm_maximal_density L)] |
| 126 | exact L.vorticity_lintegral_eq_top |
| 127 | |
| 128 | end Euler.ComparatorBridge |