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.SobolevHeatKernel |
| 2 | import Euler.CylinderHeatLaplacian |
| 3 | import Euler.H6Pressure |
| 4 | |
| 5 | /-! A bounded actual Laplacian evaluation and the genuine heat generator on finite Sobolev data. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerSobolevHeatGenerator |
| 10 | |
| 11 | open MeasureTheory EulerLiftedGradientSpace EulerSpatialSobolevInverse EulerCylinderSobolev |
| 12 | EulerCylinderSobolevSpace EulerGaussianCylinderHeat EulerMetricHeatEnergy EulerSobolevHeat |
| 13 | open scoped Topology NNReal |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The actual spatial Laplacian evaluated as a bounded map from Hq to L², q≥2. -/ |
| 18 | def laplacianEvaluation (q : ℕ) (hq : 2 ≤ q) : SobolevSpace period q →L[ℝ] LiftL2 period := |
| 19 | ∑ i : Fin 4, wordOperator period (⟨⟨2, Nat.lt_succ_of_le hq⟩, fun _ : Fin 2 => i⟩ : SobolevWord q) |
| 20 | |
| 21 | /-- The Laplacian evaluation is the sum of the four genuine second derivative coordinates. -/ |
| 22 | theorem laplacianEvaluation_apply {q : ℕ} (hq : 2 ≤ q) (u : SobolevSpace period q) : |
| 23 | laplacianEvaluation period q hq u = |
| 24 | ∑ i : Fin 4, word period u hq (fun _ : Fin 2 => i) := by |
| 25 | simp only [laplacianEvaluation, sum_apply] |
| 26 | rfl |
| 27 | |
| 28 | /-- The actual Laplacian is bounded by four times the complete Sobolev norm. -/ |
| 29 | theorem laplacianEvaluation_bound {q : ℕ} (hq : 2 ≤ q) (u : SobolevSpace period q) : |
| 30 | ‖laplacianEvaluation period q hq u‖ ≤ 4 * ‖u‖ := by |
| 31 | rw [laplacianEvaluation_apply] |
| 32 | have h := norm_sum_le (Finset.univ : Finset (Fin 4)) |
| 33 | (fun i => word period u hq (fun _ : Fin 2 => i)) |
| 34 | apply h.trans |
| 35 | calc |
| 36 | _ ≤ ∑ _i : Fin 4, ‖u‖ := Finset.sum_le_sum fun i _ => |
| 37 | word_norm_le period u ⟨⟨2, Nat.lt_succ_of_le hq⟩, fun _ : Fin 2 => i⟩ |
| 38 | _ = _ := by simp |
| 39 | |
| 40 | /-- Bounded Laplacian evaluation agrees exactly with the existing genuine strong-jet Laplacian. -/ |
| 41 | theorem laplacianEvaluation_eq_jet {q : ℕ} (hq : 2 ≤ q) (u : SobolevSpace period q) : |
| 42 | laplacianEvaluation period q hq u = |
| 43 | jetLaplacian period (EulerH6Pressure.SpatialJet.restrict (toJet period u) 2 hq) := by |
| 44 | rw [laplacianEvaluation_apply, jetLaplacian] |
| 45 | apply Finset.sum_congr rfl |
| 46 | intro i _ |
| 47 | rw [EulerPressureJetIdentities.SpatialJet.word_unique |
| 48 | (EulerH6Pressure.SpatialJet.restrict (toJet period u) 2 hq) (toJet period u) rfl le_rfl hq] |
| 49 | exact (toJet_word period u hq _).symm |
| 50 | |
| 51 | /-- The actual Laplacian evaluation commutes with Gaussian heat. -/ |
| 52 | theorem laplacianEvaluation_heat {q : ℕ} (hq : 2 ≤ q) (v : ℝ≥0) (u : SobolevSpace period q) : |
| 53 | laplacianEvaluation period q hq (heatOperator period q v u) = |
| 54 | cylinderHeat period v (laplacianEvaluation period q hq u) := by |
| 55 | rw [laplacianEvaluation_apply, laplacianEvaluation_apply, map_sum] |
| 56 | apply Finset.sum_congr rfl |
| 57 | intro i _ |
| 58 | rfl |
| 59 | |
| 60 | /-- Actual viscous heat on the complete Sobolev space, extended constantly to negative physical time. -/ |
| 61 | def heatFlow (q : ℕ) (ν t : ℝ) : SobolevSpace period q →L[ℝ] SobolevSpace period q := |
| 62 | heatOperator period q (2 * ν * t).toNNReal |
| 63 | |
| 64 | /-- The Sobolev flow has exactly the original genuine L² viscous heat value. -/ |
| 65 | @[simp] |
| 66 | theorem heatFlow_value {q : ℕ} (ν t : ℝ) (u : SobolevSpace period q) : |
| 67 | value period (heatFlow period q ν t u) = viscousCylinderHeat period ν t (value period u) := rfl |
| 68 | |
| 69 | /-- Positive-time heat is differentiable in L² with the actual bounded Laplacian evaluation. -/ |
| 70 | theorem heatFlow_value_hasDerivAt {q : ℕ} (hq : 2 ≤ q) (ν : ℝ) (hν : 0 < ν) |
| 71 | (u : SobolevSpace period q) (t : ℝ) (ht : 0 < t) : |
| 72 | HasDerivAt (fun s => value period (heatFlow period q ν s u)) |
| 73 | (ν • laplacianEvaluation period q hq (heatFlow period q ν t u)) t := by |
| 74 | have h := viscousCylinderHeat_equation period (EulerH6Pressure.SpatialJet.restrict (toJet period u) 2 hq) hν ht |
| 75 | rw [cylinderHeatJet_laplacian, ← laplacianEvaluation_eq_jet period hq u] at h |
| 76 | change HasDerivAt (fun s => viscousCylinderHeat period ν s (value period u)) |
| 77 | (ν • laplacianEvaluation period q hq (heatOperator period q (2 * ν * t).toNNReal u)) t |
| 78 | rw [laplacianEvaluation_heat] |
| 79 | exact h |
| 80 | |
| 81 | /-- The actual L² heat orbit has the half-Laplacian derivative on the nonnegative variance half-line. -/ |
| 82 | theorem realHeat_value_hasDerivWithinAt {q : ℕ} (hq : 2 ≤ q) (u : SobolevSpace period q) |
| 83 | (t : ℝ) (ht : 0 ≤ t) : |
| 84 | HasDerivWithinAt (fun s => realCylinderHeat period s (value period u)) |
| 85 | ((1 / 2 : ℝ) • realCylinderHeat period t (laplacianEvaluation period q hq u)) (Set.Ici 0) t := by |
| 86 | let J := EulerH6Pressure.SpatialJet.restrict (toJet period u) 2 hq |
| 87 | by_cases hzero : t = 0 |
| 88 | · subst t |
| 89 | have h := realCylinderHeat_generator_zero period J |
| 90 | rw [← laplacianEvaluation_eq_jet period hq u] at h |
| 91 | simpa only [realCylinderHeat, Real.toNNReal_zero, cylinderHeat_zero] using h |
| 92 | · have hp : 0 < t := lt_of_le_of_ne ht (Ne.symm hzero) |
| 93 | have h := (realCylinderHeat_generator_pos period J hp).hasDerivWithinAt (s := Set.Ici 0) |
| 94 | rw [← laplacianEvaluation_eq_jet period hq u] at h |
| 95 | exact h |
| 96 | |
| 97 | /-- The heat orbit is Lipschitz in nonnegative variance with a bound from the actual Hq norm. -/ |
| 98 | theorem heat_value_lipschitz {q : ℕ} (hq : 2 ≤ q) (u : SobolevSpace period q) : |
| 99 | LipschitzWith (Real.nnabs (2 * ‖u‖)) (fun v : ℝ≥0 => cylinderHeat period v (value period u)) := by |
| 100 | apply LipschitzWith.of_dist_le_mul |
| 101 | intro v w |
| 102 | have hb : ∀ t ∈ Set.Ici (0 : ℝ), |
| 103 | ‖(1 / 2 : ℝ) • realCylinderHeat period t (laplacianEvaluation period q hq u)‖ ≤ 2 * ‖u‖ := by |
| 104 | intro t _ |
| 105 | rw [norm_smul, Real.norm_of_nonneg (by norm_num : (0 : ℝ) ≤ 1 / 2)] |
| 106 | have h := (cylinderHeat_norm_le period t.toNNReal _).trans (laplacianEvaluation_bound period hq u) |
| 107 | change (1 / 2 : ℝ) * ‖cylinderHeat period t.toNNReal (laplacianEvaluation period q hq u)‖ ≤ _ |
| 108 | linarith |
| 109 | have h := Convex.norm_image_sub_le_of_norm_hasDerivWithin_le |
| 110 | (fun t ht => realHeat_value_hasDerivWithinAt period hq u t ht) hb (convex_Ici (0 : ℝ)) |
| 111 | (show (w : ℝ) ∈ Set.Ici 0 from w.property) (show (v : ℝ) ∈ Set.Ici 0 from v.property) |
| 112 | change dist (cylinderHeat period v (value period u)) (cylinderHeat period w (value period u)) ≤ |
| 113 | (Real.nnabs (2 * ‖u‖) : ℝ) * dist (v : ℝ) (w : ℝ) |
| 114 | simpa only [realCylinderHeat, Real.toNNReal_coe, dist_eq_norm, Real.coe_nnabs, |
| 115 | abs_of_nonneg (mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) (norm_nonneg u))] using h |
| 116 | |
| 117 | /-- The constantly extended real-variance heat orbit is globally Lipschitz in L². -/ |
| 118 | theorem realHeat_value_lipschitz {q : ℕ} (hq : 2 ≤ q) (u : SobolevSpace period q) : |
| 119 | LipschitzWith (Real.nnabs (2 * ‖u‖)) (fun t : ℝ => realCylinderHeat period t (value period u)) := by |
| 120 | simpa only [mul_one, Function.comp_def, realCylinderHeat] using |
| 121 | (heat_value_lipschitz period hq u).comp Real.lipschitzWith_toNNReal |
| 122 | |
| 123 | /-- The actual viscous heat orbit is globally Lipschitz in L², uniformly in time. -/ |
| 124 | theorem heatFlow_value_norm_sub_le {q : ℕ} (hq : 2 ≤ q) (ν : ℝ) (hν : 0 < ν) |
| 125 | (u : SobolevSpace period q) (s t : ℝ) : |
| 126 | ‖value period (heatFlow period q ν s u) - value period (heatFlow period q ν t u)‖ ≤ |
| 127 | (4 * ν * ‖u‖) * |s - t| := by |
| 128 | have h := (realHeat_value_lipschitz period hq u).dist_le_mul (2 * ν * s) (2 * ν * t) |
| 129 | simp only [dist_eq_norm, Real.coe_nnabs, Real.norm_eq_abs, |
| 130 | abs_of_nonneg (mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) (norm_nonneg u))] at h |
| 131 | change ‖realCylinderHeat period (2 * ν * s) (value period u) - |
| 132 | realCylinderHeat period (2 * ν * t) (value period u)‖ ≤ _ |
| 133 | have he : |2 * ν * s - 2 * ν * t| = (2 * ν) * |s - t| := by |
| 134 | rw [← mul_sub, abs_mul, abs_of_pos (by positivity : 0 < 2 * ν)] |
| 135 | exact h.trans_eq (by rw [he]; ring) |
| 136 | |
| 137 | end EulerSobolevHeatGenerator |