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.WholeDomainPhysicalCompact |
| 2 | import NavierStokes.SlowBaseEndpoint |
| 3 | |
| 4 | /-! # Parabolic normalization of the entire exterior heat region -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | open Set Filter Function |
| 9 | open scoped Topology ContDiff BigOperators |
| 10 | |
| 11 | namespace NavierStokes.WholeDomainHeatBounds |
| 12 | |
| 13 | open ProblemStatement PhysicalWaveSum |
| 14 | |
| 15 | def parabolicLinear (a : ℝ) (ha : 0 < a) : SpaceTime ≃L[ℝ] SpaceTime where |
| 16 | toFun w := (a⁻¹ * w.1, (Real.sqrt a)⁻¹ • w.2) |
| 17 | invFun w := (a * w.1, Real.sqrt a • w.2) |
| 18 | left_inv w := by |
| 19 | ext <;> simp [ha.ne', (Real.sqrt_pos.mpr ha).ne', smul_smul] |
| 20 | right_inv w := by |
| 21 | ext <;> simp [ha.ne', (Real.sqrt_pos.mpr ha).ne', smul_smul] |
| 22 | map_add' u w := by ext <;> simp [mul_add, smul_add] |
| 23 | map_smul' c w := by ext <;> simp [smul_smul, mul_assoc, mul_comm] |
| 24 | continuous_toFun := by fun_prop |
| 25 | continuous_invFun := by fun_prop |
| 26 | |
| 27 | def rescaleOffset (a z : ℝ) : SpaceTime := |
| 28 | (1 - a⁻¹, -((Real.sqrt a)⁻¹ * z) • coordinateVector 2) |
| 29 | |
| 30 | def rescale (a : ℝ) (ha : 0 < a) (z : ℝ) (w : SpaceTime) : SpaceTime := |
| 31 | parabolicLinear a ha w + rescaleOffset a z |
| 32 | |
| 33 | @[simp] theorem rescale_time (a : ℝ) (ha : 0 < a) (z : ℝ) (w : SpaceTime) : |
| 34 | (rescale a ha z w).1 = 1 - (1 - w.1) / a := by |
| 35 | change a⁻¹ * w.1 + (1-a⁻¹) = _ |
| 36 | ring |
| 37 | |
| 38 | @[simp] theorem rescale_space (a : ℝ) (ha : 0 < a) (z : ℝ) (w : SpaceTime) : |
| 39 | (rescale a ha z w).2 = (Real.sqrt a)⁻¹ • (w.2 - z • coordinateVector 2) := by |
| 40 | change (Real.sqrt a)⁻¹ • w.2 + -((Real.sqrt a)⁻¹ * z) • coordinateVector 2 = _ |
| 41 | simp [smul_smul, sub_eq_add_neg] |
| 42 | |
| 43 | theorem rescale_past (a : ℝ) (ha : 0 < a) (z : ℝ) {w : SpaceTime} (hw : w.1 < 1) : |
| 44 | (rescale a ha z w).1 < 1 := by |
| 45 | rw [rescale_time] |
| 46 | linarith [div_pos (sub_pos.mpr hw) ha] |
| 47 | |
| 48 | theorem rescale_radialEnergy (a : ℝ) (ha : 0 < a) (z : ℝ) (w : SpaceTime) : |
| 49 | AxisymmetricFields.radialEnergy (rescale a ha z w).2 = |
| 50 | AxisymmetricFields.radialEnergy w.2 / a := by |
| 51 | rw [rescale_space] |
| 52 | simp only [AxisymmetricFields.radialEnergy, PiLp.smul_apply, PiLp.sub_apply, |
| 53 | coordinateVector, PiLp.single_apply, Fin.isValue, |
| 54 | show (0 : Fin 3) ≠ 2 by decide, show (1 : Fin 3) ≠ 2 by decide, |
| 55 | ite_false, smul_eq_mul, mul_zero, sub_zero] |
| 56 | rw [mul_pow, mul_pow, inv_pow, Real.sq_sqrt ha.le] |
| 57 | ring |
| 58 | |
| 59 | theorem rescale_axial_zero (a : ℝ) (ha : 0 < a) (w : SpaceTime) : |
| 60 | (rescale a ha (w.2 2) w).2 2 = 0 := by |
| 61 | rw [rescale_space] |
| 62 | simp [coordinateVector] |
| 63 | |
| 64 | theorem parabolicLinear_norm_le {a q : ℝ} (ha : 0 < a) (hq : 0 < q) |
| 65 | (hqa : q ≤ a) (hq1 : q ≤ 1) : |
| 66 | ‖(parabolicLinear a ha).toContinuousLinearMap‖ ≤ q⁻¹ := by |
| 67 | apply ContinuousLinearMap.opNorm_le_bound _ (inv_nonneg.mpr hq.le) |
| 68 | intro w |
| 69 | change ‖(a⁻¹ * w.1, (Real.sqrt a)⁻¹ • w.2)‖ ≤ q⁻¹ * ‖w‖ |
| 70 | rw [Prod.norm_def, max_le_iff, norm_mul, norm_smul, |
| 71 | Real.norm_of_nonneg (inv_nonneg.mpr ha.le), |
| 72 | Real.norm_of_nonneg (inv_nonneg.mpr (Real.sqrt_nonneg a))] |
| 73 | have hai : a⁻¹ ≤ q⁻¹ := inv_le_inv₀ ha hq |>.mpr hqa |
| 74 | have hsq : q ≤ Real.sqrt a := by |
| 75 | apply (Real.le_sqrt hq.le ha.le).mpr |
| 76 | nlinarith [sq_nonneg q] |
| 77 | have hri : (Real.sqrt a)⁻¹ ≤ q⁻¹ := |
| 78 | (inv_le_inv₀ (Real.sqrt_pos.mpr ha) hq).mpr hsq |
| 79 | constructor |
| 80 | · exact mul_le_mul hai (norm_fst_le w) (norm_nonneg _) (inv_nonneg.mpr hq.le) |
| 81 | · exact mul_le_mul hri (norm_snd_le w) (norm_nonneg _) (inv_nonneg.mpr hq.le) |
| 82 | |
| 83 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 84 | |
| 85 | /-- Exact affine changes of variables lose only the norm of their linear |
| 86 | part, once for each derivative. This does not require global smoothness. -/ |
| 87 | theorem norm_iteratedFDeriv_affine_le (L : SpaceTime ≃L[ℝ] SpaceTime) |
| 88 | (c : SpaceTime) (f : SpaceTime → V) (w : SpaceTime) (m : ℕ) : |
| 89 | ‖iteratedFDeriv ℝ m (fun y => f (L y + c)) w‖ ≤ |
| 90 | ‖iteratedFDeriv ℝ m f (L w + c)‖ * ‖L.toContinuousLinearMap‖ ^ m := by |
| 91 | have he := L.iteratedFDerivWithin_comp_right (fun y => f (y+c)) |
| 92 | uniqueDiffOn_univ (mem_univ (L w)) m |
| 93 | simp only [preimage_univ, iteratedFDerivWithin_univ] at he |
| 94 | change iteratedFDeriv ℝ m (fun y => f (L y+c)) w = _ at he |
| 95 | rw [he, iteratedFDeriv_comp_add_right] |
| 96 | exact (ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _).trans_eq (by simp) |
| 97 | |
| 98 | def normalizedAnnulus (r : ℝ) : Set SpaceTime := |
| 99 | {w | w.1 ∈ Icc 0 1 ∧ w.2 2 = 0 ∧ AxisymmetricFields.radialEnergy w.2 ∈ Icc r 1} |
| 100 | |
| 101 | theorem normalizedAnnulus_compact (r : ℝ) : IsCompact (normalizedAnnulus r) := by |
| 102 | have hclosed : IsClosed (normalizedAnnulus r) := by |
| 103 | apply IsClosed.inter |
| 104 | · exact isClosed_Icc.preimage continuous_fst |
| 105 | · apply IsClosed.inter |
| 106 | · exact isClosed_eq ((EuclideanSpace.proj 2).continuous.comp continuous_snd) continuous_const |
| 107 | · exact isClosed_Icc.preimage |
| 108 | ((AxisymmetricFields.contDiff_radialEnergy (n := ∞)).continuous.comp continuous_snd) |
| 109 | apply (isCompact_closedBall (0 : SpaceTime) 3).of_isClosed_subset hclosed |
| 110 | intro w hw |
| 111 | have hs := EuclideanSpace.real_norm_sq_eq w.2 |
| 112 | simp only [Fin.sum_univ_succ, Fin.sum_univ_zero, add_zero] at hs |
| 113 | change ‖w.2‖ ^ 2 = w.2 0 ^ 2 + (w.2 1 ^ 2 + w.2 2 ^ 2) at hs |
| 114 | have hrad := hw.2.2.2 |
| 115 | dsimp only [AxisymmetricFields.radialEnergy] at hrad |
| 116 | rw [Metric.mem_closedBall, dist_zero_right, Prod.norm_def, max_le_iff] |
| 117 | constructor |
| 118 | · rw [Real.norm_eq_abs, abs_le] |
| 119 | exact ⟨by linarith [hw.1.1], by linarith [hw.1.2]⟩ |
| 120 | · have hz := hw.2.1 |
| 121 | nlinarith [sq_nonneg ‖w.2‖] |
| 122 | |
| 123 | theorem normalize_mem_annulus {h R : ℝ} (hh : 0 < h) (hh1 : h < 1/2) |
| 124 | (hR : 0 < R) {w : SpaceTime} (hw : w.1 < 1) |
| 125 | (hX : R < (SlowBorelBase.cartesianChart h w).2.1) : |
| 126 | let a := max (physicalQ h w) (AxisymmetricFields.radialEnergy w.2) |
| 127 | rescale a (lt_of_lt_of_le (physicalQ_pos hh hh1 hw) (le_max_left _ _)) (w.2 2) w ∈ |
| 128 | normalizedAnnulus (min R 1) := by |
| 129 | intro a |
| 130 | have hq := physicalQ_pos hh hh1 hw |
| 131 | have ha : 0 < a := hq.trans_le (le_max_left _ _) |
| 132 | have hs : 0 < AxisymmetricFields.radialEnergy w.2 := by |
| 133 | change R < AxisymmetricFields.radialEnergy w.2 / physicalQ h w at hX |
| 134 | exact (mul_pos hR hq).trans ((lt_div_iff₀ hq).mp hX) |
| 135 | have hτ : 1-w.1 ≤ physicalQ h w := by |
| 136 | have he := SimilarityCoordinates.coordinateQ_spec (by linarith : 0 < 2*h) |
| 137 | (by linarith : 2*h < 1) (p := (1-w.1,w.2 2)) (sub_pos.mpr hw) |
| 138 | have hn := mul_nonneg (sq_nonneg (w.2 2)) (Real.rpow_nonneg he.1.le (2*h)) |
| 139 | change 0 ≤ (w.2 2)^2 * physicalQ h w ^ (2*h) at hn |
| 140 | have heq := he.2 |
| 141 | change physicalQ h w - (w.2 2)^2 * physicalQ h w ^ (2*h) = 1-w.1 at heq |
| 142 | linarith |
| 143 | refine ⟨?_, rescale_axial_zero a ha w, ?_⟩ |
| 144 | · rw [rescale_time] |
| 145 | exact ⟨by linarith [(div_le_one ha).mpr (hτ.trans (le_max_left _ _))], |
| 146 | by linarith [div_nonneg (sub_nonneg.mpr hw.le) ha.le]⟩ |
| 147 | · rw [rescale_radialEnergy] |
| 148 | constructor |
| 149 | · by_cases hqs : physicalQ h w ≤ AxisymmetricFields.radialEnergy w.2 |
| 150 | · rw [show a = AxisymmetricFields.radialEnergy w.2 from max_eq_right hqs, |
| 151 | div_self hs.ne'] |
| 152 | exact min_le_right _ _ |
| 153 | · rw [show a = physicalQ h w from max_eq_left (le_of_not_ge hqs)] |
| 154 | exact (min_le_left _ _).trans hX.le |
| 155 | · exact (div_le_one ha).mpr (le_max_right _ _) |
| 156 | |
| 157 | end NavierStokes.WholeDomainHeatBounds |