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.TransitionRamp |
| 2 | import NavierStokes.SharpPhaseJetAlgebra |
| 3 | |
| 4 | noncomputable section |
| 5 | |
| 6 | namespace NavierStokes.NaturalExitParameterJets |
| 7 | |
| 8 | open Set NaturalProfile NaturalAxisCoefficients NaturalAxisBridge NaturalEntrance ReferencePath |
| 9 | open scoped ContDiff Topology |
| 10 | |
| 11 | variable {h j σ : ℝ} {P0 : ℝ → ℝ} (d : AnalyticInputs h j σ P0) |
| 12 | |
| 13 | def phi {Λ C : ℝ} (E : CoefficientProfile d Λ C) (Y η : ℝ) : ℝ := |
| 14 | AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.1 (Y, η) |
| 15 | |
| 16 | def u {Λ C : ℝ} (E : CoefficientProfile d Λ C) (Y η : ℝ) : ℝ := |
| 17 | AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.2 (Y, η) |
| 18 | |
| 19 | def phiY {Λ C : ℝ} (E : CoefficientProfile d Λ C) (Y η : ℝ) : ℝ := |
| 20 | AxisEvaluation.mixedSeries window d.coefficients.epsilon E.coefficients.1 1 0 (Y, η) |
| 21 | |
| 22 | def uY {Λ C : ℝ} (E : CoefficientProfile d Λ C) (Y η : ℝ) : ℝ := |
| 23 | AxisEvaluation.mixedSeries window d.coefficients.epsilon E.coefficients.2 1 0 (Y, η) |
| 24 | |
| 25 | def scaledP1 {Λ C : ℝ} (E : CoefficientProfile d Λ C) (Y η : ℝ) : ℝ := |
| 26 | -2 * Y * (phiY d E Y η * (phi d E Y η)⁻¹) |
| 27 | |
| 28 | def scaledNs {Λ C : ℝ} (E : CoefficientProfile d Λ C) (Y η : ℝ) : ℝ := |
| 29 | -2 * uY d E Y η |
| 30 | |
| 31 | theorem radial_mem {Y : ℝ} (hY : Y ∈ Icc (0 : ℝ) (41 / 10)) : |
| 32 | Y ∈ Ioo (-20 : ℝ) 20 := by constructor <;> linarith [hY.1, hY.2] |
| 33 | |
| 34 | theorem radial_abs {Y : ℝ} (hY : Y ∈ Icc (0 : ℝ) (41 / 10)) : |Y| ≤ 5 := by |
| 35 | exact abs_le.mpr ⟨by linarith [hY.1], by linarith [hY.2]⟩ |
| 36 | |
| 37 | theorem mixed_smooth (A : AxisCoefficientSpace.AxisSpace window d.coefficients.epsilon) |
| 38 | (k : ℕ) {Y : ℝ} (hY : Y ∈ Icc (0 : ℝ) (41 / 10)) : |
| 39 | ContDiffOn ℝ ∞ (fun η => AxisEvaluation.mixedSeries window d.coefficients.epsilon A k 0 (Y, η)) |
| 40 | parameterInterval := by |
| 41 | intro η hη |
| 42 | have hp : (Y, η) ∈ AxisEvaluation.strip window 20 := ⟨radial_mem hY, hη⟩ |
| 43 | exact ((AxisEvaluation.mixedSeries_smooth window d.coefficients.epsilon_pos A k 0 |
| 44 | hp).comp η (contDiffAt_const.prodMk contDiffAt_id)).contDiffWithinAt |
| 45 | |
| 46 | theorem phi_smooth {Λ C : ℝ} (E : CoefficientProfile d Λ C) {Y : ℝ} |
| 47 | (hY : Y ∈ Icc (0 : ℝ) (41 / 10)) : ContDiffOn ℝ ∞ (phi d E Y) parameterInterval := by |
| 48 | change ContDiffOn ℝ ∞ (fun η => AxisEvaluation.profile window d.coefficients.epsilon |
| 49 | E.coefficients.1 (Y, η)) parameterInterval |
| 50 | simpa only [AxisEvaluation.mixedSeries_zero] using mixed_smooth d E.coefficients.1 0 hY |
| 51 | |
| 52 | theorem phi_lower (hσ : 0 < σ) {Λ C : ℝ} |
| 53 | (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) |
| 54 | (E : CoefficientProfile d Λ C) {Y : ℝ} (hY : Y ∈ Icc (0 : ℝ) (41 / 10)) |
| 55 | {η : ℝ} (hη : η ∈ parameterInterval) : 1 / 8 < phi d E Y η := |
| 56 | coefficient_phi_lower d.coefficients hσ (profileErrorConstant_nonneg d) hscale |
| 57 | E.coefficients E.norm_error hY.1 hY.2 hη |
| 58 | |
| 59 | /-- Coefficient norm control gives a single constant before either large parameter. -/ |
| 60 | theorem exists_mixed_jets (k N : ℕ) : ∃ B, 1 ≤ B ∧ |
| 61 | ∀ Λ C, ∀ E : CoefficientProfile d Λ C, ∀ Y ∈ Icc (0 : ℝ) (41 / 10), |
| 62 | ∀ n ≤ N, ∀ η ∈ parameterInterval, |
| 63 | |iteratedDeriv n (fun ξ => AxisEvaluation.mixedSeries window d.coefficients.epsilon |
| 64 | E.coefficients.1 k 0 (Y, ξ)) η| ≤ B ∧ |
| 65 | |iteratedDeriv n (fun ξ => AxisEvaluation.mixedSeries window d.coefficients.epsilon |
| 66 | E.coefficients.2 k 0 (Y, ξ)) η| ≤ B := by |
| 67 | obtain ⟨B, hB, hb⟩ := TransitionRamp.finite_majorant |
| 68 | (ReferenceJetBounds.jetConstant d.coefficients k) N |
| 69 | refine ⟨B, hB, ?_⟩ |
| 70 | intro Λ C E Y hY n hn η hη |
| 71 | simp_rw [AxisEvaluation.iteratedDeriv_eta window d.coefficients.epsilon_pos _ k 0 n |
| 72 | (radial_mem hY) hη, Nat.zero_add] |
| 73 | obtain ⟨h₁, h₂⟩ := ReferenceJetBounds.coefficient_jet_bound d.coefficients E.coefficients |
| 74 | E.norm_ball k n (p := (Y, η)) (radial_abs hY) |
| 75 | exact ⟨h₁.trans (hb n hn), h₂.trans (hb n hn)⟩ |
| 76 | |
| 77 | /-- Smooth functions of the positive normalized profile have parameter jets |
| 78 | bounded before choosing Λ or the amplitude C. -/ |
| 79 | theorem exists_composed_jets (hσ : 0 < σ) {g : ℝ → ℝ} |
| 80 | (hg : ContDiffOn ℝ ∞ g (Ioi (0 : ℝ))) (N : ℕ) : |
| 81 | ∃ B ≥ 0, ∀ Λ, |
| 82 | AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ → |
| 83 | ∀ C, ∀ E : CoefficientProfile d Λ C, ∀ Y ∈ Icc (0 : ℝ) (41 / 10), |
| 84 | ∀ n ≤ N, ∀ η ∈ parameterInterval, |
| 85 | |iteratedDeriv n (fun ξ => g (phi d E Y ξ)) η| ≤ B := by |
| 86 | obtain ⟨D, hD, hd⟩ := exists_mixed_jets d 0 N |
| 87 | obtain ⟨B, hB, hb⟩ := TransitionRamp.compact_scalar_jets isOpen_Ioi |
| 88 | (isCompact_Icc : IsCompact (Icc (1 / 8 : ℝ) D)) |
| 89 | (by intro x hx; exact lt_of_lt_of_le (by norm_num) hx.1) hg N |
| 90 | obtain ⟨M, hM, hm⟩ := TransitionRamp.finite_majorant (fun n => n.factorial * B * D ^ n) N |
| 91 | refine ⟨M, zero_le_one.trans hM, ?_⟩ |
| 92 | intro Λ hscale C E Y hY n hn η hη |
| 93 | have hj (i : ℕ) (hi : i ≤ N) : |iteratedDeriv i (phi d E Y) η| ≤ D := by |
| 94 | change |iteratedDeriv i (fun η => AxisEvaluation.profile window d.coefficients.epsilon |
| 95 | E.coefficients.1 (Y, η)) η| ≤ D |
| 96 | simpa only [AxisEvaluation.mixedSeries_zero] using (hd Λ C E Y hY i hi η hη).1 |
| 97 | have hv : phi d E Y η ∈ Icc (1 / 8 : ℝ) D := |
| 98 | ⟨(phi_lower d hσ hscale E hY hη).le, |
| 99 | (le_abs_self _).trans (hj 0 (Nat.zero_le N))⟩ |
| 100 | exact (TransitionRamp.local_composition_jet_bound parameterInterval_open isOpen_Ioi |
| 101 | (phi_smooth d E hY) hg |
| 102 | (fun ξ hξ => lt_trans (by norm_num) (phi_lower d hσ hscale E hY hξ)) hη n |
| 103 | (fun i hi => hb i (hi.trans hn) _ hv) |
| 104 | (fun i hi hin => (hj i (hin.trans hn)).trans (le_self_pow₀ hD (by omega)))).trans (hm n hn) |
| 105 | |
| 106 | theorem inverse_smooth : ContDiffOn ℝ ∞ (fun x : ℝ => x⁻¹) (Ioi (0 : ℝ)) := |
| 107 | contDiffOn_id.inv (fun _ hx => ne_of_gt hx) |
| 108 | |
| 109 | theorem product_jets {f g : ℝ → ℝ} (hf : ContDiffOn ℝ ∞ f parameterInterval) |
| 110 | (hg : ContDiffOn ℝ ∞ g parameterInterval) {η : ℝ} (hη : η ∈ parameterInterval) |
| 111 | (n : ℕ) {A B : ℝ} (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 112 | (ha : ∀ i ≤ n, |iteratedDeriv i f η| ≤ A) |
| 113 | (hb : ∀ i ≤ n, |iteratedDeriv i g η| ≤ B) : |
| 114 | |iteratedDeriv n (fun ξ => f ξ * g ξ) η| ≤ 2 ^ n * A * B := by |
| 115 | have he := SharpPhaseJetAlgebra.product_geometric_on parameterInterval_open hf hg hη n |
| 116 | hA hB (by norm_num : (0 : ℝ) ≤ 1) |
| 117 | (fun i hi => by simpa only [one_pow, mul_one, norm_iteratedFDeriv_eq_norm_iteratedDeriv, |
| 118 | Real.norm_eq_abs] using ha i hi) |
| 119 | (fun i hi => by simpa only [one_pow, mul_one, norm_iteratedFDeriv_eq_norm_iteratedDeriv, |
| 120 | Real.norm_eq_abs] using hb i hi) |
| 121 | simpa only [one_pow, mul_one, norm_iteratedFDeriv_eq_norm_iteratedDeriv, Real.norm_eq_abs] using he |
| 122 | |
| 123 | theorem exists_quotient_jets (hσ : 0 < σ) (N : ℕ) : |
| 124 | ∃ B ≥ 0, ∀ Λ, |
| 125 | AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ → |
| 126 | ∀ C, ∀ E : CoefficientProfile d Λ C, ∀ Y ∈ Icc (0 : ℝ) (41 / 10), |
| 127 | ∀ n ≤ N, ∀ η ∈ parameterInterval, |
| 128 | |iteratedDeriv n (scaledP1 d E Y) η| ≤ B ∧ |
| 129 | |iteratedDeriv n (scaledNs d E Y) η| ≤ B := by |
| 130 | obtain ⟨A, hA, ha⟩ := exists_mixed_jets d 1 N |
| 131 | obtain ⟨B, hB, hb⟩ := exists_composed_jets d hσ inverse_smooth N |
| 132 | obtain ⟨M, hM, hm⟩ := TransitionRamp.finite_majorant (fun n => 2 ^ n * A * B) N |
| 133 | refine ⟨10 * M + 2 * A, by positivity, ?_⟩ |
| 134 | intro Λ hscale C E Y hY n hn η hη |
| 135 | have hf := mixed_smooth d E.coefficients.1 1 hY |
| 136 | have hg : ContDiffOn ℝ ∞ (fun ξ => (phi d E Y ξ)⁻¹) parameterInterval := |
| 137 | (phi_smooth d E hY).inv (fun ξ hξ => |
| 138 | (lt_trans (by norm_num) (phi_lower d hσ hscale E hY hξ)).ne') |
| 139 | have hprod : |iteratedDeriv n (fun ξ => phiY d E Y ξ * (phi d E Y ξ)⁻¹) η| ≤ M := |
| 140 | (product_jets hf hg hη n (zero_le_one.trans hA) hB |
| 141 | (fun i hi => (ha Λ C E Y hY i (hi.trans hn) η hη).1) |
| 142 | (fun i hi => hb Λ hscale C E Y hY i (hi.trans hn) η hη)).trans (hm n hn) |
| 143 | have hconst : |-2 * Y| ≤ (10 : ℝ) := by |
| 144 | rw [abs_mul, abs_of_nonneg hY.1] |
| 145 | norm_num |
| 146 | linarith [hY.2] |
| 147 | constructor |
| 148 | · change |iteratedDeriv n (fun ξ => -2 * Y * (phiY d E Y ξ * (phi d E Y ξ)⁻¹)) η| ≤ _ |
| 149 | rw [iteratedDeriv_const_mul_field, abs_mul] |
| 150 | exact (mul_le_mul hconst hprod (abs_nonneg _) (by norm_num)).trans (by linarith) |
| 151 | · change |iteratedDeriv n (fun ξ => -2 * uY d E Y ξ) η| ≤ _ |
| 152 | rw [iteratedDeriv_const_mul_field, abs_mul] |
| 153 | have hv := (ha Λ C E Y hY n hn η hη).2 |
| 154 | change |iteratedDeriv n (uY d E Y) η| ≤ A at hv |
| 155 | norm_num |
| 156 | nlinarith |
| 157 | |
| 158 | theorem p1_eq_scaled (hσ : 0 < σ) {Λ C : ℝ} (hC : 0 < C) |
| 159 | (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) |
| 160 | (E : CoefficientProfile d Λ C) {X η : ℝ} |
| 161 | (hY : Λ * X ∈ Icc (0 : ℝ) (41 / 10)) (hη : η ∈ parameterInterval) : |
| 162 | p1 E.family.f (X, η) = scaledP1 d E (Λ * X) η := by |
| 163 | have hp : (X, η) ∈ domain Λ := ⟨radial_mem hY, hη⟩ |
| 164 | have hφ : AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.1 |
| 165 | (rescalePoint Λ (X, η)) ≠ 0 := |
| 166 | (lt_trans (by norm_num) (phi_lower d hσ hscale E hY hη)).ne' |
| 167 | have he := angularProfile_radial_log_derivative |
| 168 | (AxisEvaluation.profile_smooth window d.coefficients.epsilon_pos E.coefficients.1) |
| 169 | hp (realAmplitude_pos h j σ Λ hC η).ne' hφ |
| 170 | rw [partialY_profile window d.coefficients.epsilon_pos _ hp] at he |
| 171 | rw [E.f_eq] |
| 172 | change -2 * X * partialY (angularProfile (realAmplitude h j σ Λ C) Λ |
| 173 | (AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.1)) (X, η) / |
| 174 | angularProfile (realAmplitude h j σ Λ C) Λ |
| 175 | (AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.1) (X, η) = _ |
| 176 | rw [show -2 * X * partialY (angularProfile (realAmplitude h j σ Λ C) Λ |
| 177 | (AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.1)) (X, η) / |
| 178 | angularProfile (realAmplitude h j σ Λ C) Λ |
| 179 | (AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.1) (X, η) = |
| 180 | -2 * (X * partialY (angularProfile (realAmplitude h j σ Λ C) Λ |
| 181 | (AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.1)) (X, η) / |
| 182 | angularProfile (realAmplitude h j σ Λ C) Λ |
| 183 | (AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.1) (X, η)) by ring] |
| 184 | rw [he] |
| 185 | simp only [scaledP1, phiY, phi, rescalePoint, div_eq_mul_inv] |
| 186 | ring |
| 187 | |
| 188 | theorem ns_eq_scaled {Λ C : ℝ} (hΛ : Λ ≠ 0) (E : CoefficientProfile d Λ C) {X η : ℝ} |
| 189 | (hY : Λ * X ∈ Icc (0 : ℝ) (41 / 10)) (hη : η ∈ parameterInterval) : |
| 190 | ns E.family.U (X, η) = scaledNs d E (Λ * X) η := by |
| 191 | have hp : (X, η) ∈ domain Λ := ⟨radial_mem hY, hη⟩ |
| 192 | rw [E.U_eq, ns, axialField_partialY d.coefficients.epsilon_pos hΛ E.coefficients hp, |
| 193 | partialY_profile window d.coefficients.epsilon_pos _ hp] |
| 194 | rfl |
| 195 | |
| 196 | /-- All five normalized entrance quantities have every fixed parameter jet |
| 197 | bounded by constants chosen before both Λ and C, on the full rectangle. -/ |
| 198 | theorem exists_exit_jets (hσ : 0 < σ) (N : ℕ) : |
| 199 | ∃ B, 1 ≤ B ∧ ∀ Λ, 0 < Λ → |
| 200 | AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ → |
| 201 | ∀ C, 0 < C → ∀ E : CoefficientProfile d Λ C, |
| 202 | ∀ X, Λ * X ∈ Icc (0 : ℝ) (41 / 10) → ∀ n ≤ N, ∀ η ∈ parameterInterval, |
| 203 | |iteratedDeriv n (fun ξ => E.family.phi (Λ * X, ξ)) η| ≤ B ∧ |
| 204 | |iteratedDeriv n (fun ξ => Real.log (E.family.phi (Λ * X, ξ))) η| ≤ B ∧ |
| 205 | |iteratedDeriv n (fun ξ => E.family.u (Λ * X, ξ)) η| ≤ B ∧ |
| 206 | |iteratedDeriv n (fun ξ => p1 E.family.f (X, ξ)) η| ≤ B ∧ |
| 207 | |iteratedDeriv n (fun ξ => ns E.family.U (X, ξ)) η| ≤ B := by |
| 208 | obtain ⟨A, hA, ha⟩ := exists_mixed_jets d 0 N |
| 209 | obtain ⟨B, hB, hb⟩ := exists_composed_jets d hσ TransitionRamp.log_smooth_positive N |
| 210 | obtain ⟨D, hD, hd⟩ := exists_quotient_jets d hσ N |
| 211 | refine ⟨A + B + D, by linarith, ?_⟩ |
| 212 | intro Λ hΛ hscale C hC E X hY n hn η hη |
| 213 | obtain ⟨hp, hu⟩ := ha Λ C E (Λ * X) hY n hn η hη |
| 214 | simp only [AxisEvaluation.mixedSeries_zero, ← E.phi_eq, ← E.u_eq] at hp hu |
| 215 | have hl := hb Λ hscale C E (Λ * X) hY n hn η hη |
| 216 | change |iteratedDeriv n (fun ξ => Real.log |
| 217 | (AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.1 (Λ * X, ξ))) η| ≤ B at hl |
| 218 | rw [← E.phi_eq] at hl |
| 219 | obtain ⟨h₁, h₂⟩ := hd Λ hscale C E (Λ * X) hY n hn η hη |
| 220 | have he₁ : (fun ξ => p1 E.family.f (X, ξ)) =ᶠ[𝓝 η] scaledP1 d E (Λ * X) := |
| 221 | Filter.eventually_of_mem (parameterInterval_open.mem_nhds hη) |
| 222 | (fun ξ hξ => p1_eq_scaled d hσ hC hscale E hY hξ) |
| 223 | have he₂ : (fun ξ => ns E.family.U (X, ξ)) =ᶠ[𝓝 η] scaledNs d E (Λ * X) := |
| 224 | Filter.eventually_of_mem (parameterInterval_open.mem_nhds hη) |
| 225 | (fun ξ hξ => ns_eq_scaled d hΛ.ne' E hY hξ) |
| 226 | rw [he₁.iteratedDeriv_eq n, he₂.iteratedDeriv_eq n] |
| 227 | exact ⟨hp.trans (by linarith), hl.trans (by linarith), hu.trans (by linarith), |
| 228 | h₁.trans (by linarith), h₂.trans (by linarith)⟩ |
| 229 | |
| 230 | end NavierStokes.NaturalExitParameterJets |