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.PhysicalResidualJetBounds |
| 2 | import NavierStokes.ActualInitialization |
| 3 | |
| 4 | /-! |
| 5 | # Actual polar graph coverage of the nominal active annulus |
| 6 | |
| 7 | The geometric hypotheses are the nominal closed active annulus and the strict |
| 8 | dyadic choice q ≤ Q n < 2 * q. Chart coverage is a conclusion. The native |
| 9 | open domain allows every positive radius and retains the actual slow region; |
| 10 | the smaller weighted strip is reached through its closure at radial endpoints. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.ActualPolarCoverage |
| 16 | |
| 17 | open Set Function Filter ProblemStatement CorrectionInitialization |
| 18 | open PhysicalWaveSum PhysicalGraphBounds PhysicalMeanJetBounds |
| 19 | open scoped Topology |
| 20 | |
| 21 | abbrev Point := PhysicalMeanJetBounds.Point |
| 22 | abbrev Cylinder := PhysicalResidualJetBounds.Cylinder |
| 23 | |
| 24 | noncomputable def active : Set SpaceTime := |
| 25 | {w | (SlowBorelBase.cartesianChart ActualPrimary.h w).2.1 ∈ |
| 26 | Icc (NominalConeAssembly.activeLeft ActualPrimary.nominal) |
| 27 | (NominalConeAssembly.activeRight ActualPrimary.nominal)} |
| 28 | |
| 29 | noncomputable def inner : ℝ := |
| 30 | PrimaryTargetBounds.leftRadius ActualPrimary.nominal / 4 |
| 31 | |
| 32 | noncomputable def outer : ℝ := |
| 33 | 2 * PrimaryTargetBounds.rightRadius ActualPrimary.nominal |
| 34 | |
| 35 | noncomputable def nativeDomain : Set Cylinder := |
| 36 | HarmonicResidual.liftDomain |
| 37 | (ActualInitialization.geometry.domain ∩ {x : Point | 0 < x.1}) |
| 38 | |
| 39 | theorem inner_pos : 0 < inner := |
| 40 | div_pos (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) (by norm_num) |
| 41 | |
| 42 | theorem outer_pos : 0 < outer := |
| 43 | mul_pos (by norm_num) (PrimaryTargetBounds.rightRadius_pos ActualPrimary.nominal) |
| 44 | |
| 45 | theorem inner_lt_outer : inner < outer := by |
| 46 | have ha := PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal |
| 47 | have hab := PrimaryTargetBounds.radii_ordered ActualPrimary.nominal |
| 48 | change PrimaryTargetBounds.leftRadius ActualPrimary.nominal / 4 < |
| 49 | 2 * PrimaryTargetBounds.rightRadius ActualPrimary.nominal |
| 50 | linarith |
| 51 | |
| 52 | theorem nativeDomain_open : IsOpen nativeDomain := |
| 53 | HarmonicResidual.liftDomain_open |
| 54 | (ActualInitialization.geometry.domain_open.inter |
| 55 | (isOpen_lt continuous_const continuous_fst)) |
| 56 | |
| 57 | theorem nativeDomain_radius_pos {x : Cylinder} (hx : x ∈ nativeDomain) : |
| 58 | 0 < x.1.1 := hx.1.2 |
| 59 | |
| 60 | theorem nativeDomain_radius_ne {x : Cylinder} (hx : x ∈ nativeDomain) : |
| 61 | x.1.1 ≠ 0 := (nativeDomain_radius_pos hx).ne' |
| 62 | |
| 63 | /-! ## Scale identities independent of the particular actual profile -/ |
| 64 | |
| 65 | theorem graph_radius_nonneg (h : ℝ) (n d : ℕ) (w : SpaceTime) : |
| 66 | 0 ≤ (graph h n d w).1 := by |
| 67 | rw [graph_radius] |
| 68 | exact PolarCharts.radius_nonneg _ |
| 69 | |
| 70 | theorem graph_radius_sq (h : ℝ) (n d : ℕ) (w : SpaceTime) : |
| 71 | (graph h n d w).1 ^ 2 = |
| 72 | (w.2 0 ^ 2 + w.2 1 ^ 2) / ChartScales.Q n := by |
| 73 | rw [graph_radius, PolarCharts.radius_sq] |
| 74 | have hs : (ChartScales.Q n ^ (-(1 / 2 : ℝ))) ^ 2 = |
| 75 | (ChartScales.Q n)⁻¹ := by |
| 76 | rw [← Real.rpow_mul_natCast (ChartScales.Q_pos n).le] |
| 77 | norm_num [Real.rpow_neg_one] |
| 78 | change (ChartScales.Q n ^ (-(1 / 2 : ℝ)) * w.2 0) ^ 2 + |
| 79 | (ChartScales.Q n ^ (-(1 / 2 : ℝ)) * w.2 1) ^ 2 = _ |
| 80 | calc |
| 81 | _ = (ChartScales.Q n ^ (-(1 / 2 : ℝ))) ^ 2 * |
| 82 | (w.2 0 ^ 2 + w.2 1 ^ 2) := by ring |
| 83 | _ = _ := by rw [hs]; ring |
| 84 | |
| 85 | theorem graph_profileRadius_sq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 86 | (n d : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) : |
| 87 | ((graph h n d w).1 / |
| 88 | VariableGaugeMean.qLength (2 * h) (graph h n d w).2.1) ^ 2 / 2 = |
| 89 | (SlowBorelBase.cartesianChart h w).2.1 := by |
| 90 | have hq := physicalQ_pos hh hh1 hw |
| 91 | have hQ := ChartScales.Q_pos n |
| 92 | have hqc : 0 < SimilarityCoordinates.coordinateQ (2 * h) (graph h n d w).2.1 := by |
| 93 | rw [graph_q_eq hh hh1 n d hw] |
| 94 | exact div_pos hq hQ |
| 95 | change ((graph h n d w).1 / |
| 96 | Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) (graph h n d w).2.1)) ^ 2 / 2 = _ |
| 97 | rw [div_pow, Real.sq_sqrt hqc.le, graph_radius_sq, graph_q_eq hh hh1 n d hw] |
| 98 | change ((w.2 0 ^ 2 + w.2 1 ^ 2) / ChartScales.Q n / |
| 99 | (physicalQ h w / ChartScales.Q n)) / 2 = |
| 100 | ((w.2 0 ^ 2 + w.2 1 ^ 2) / 2) / physicalQ h w |
| 101 | rw [div_div_div_cancel_right₀ hQ.ne'] |
| 102 | ring |
| 103 | |
| 104 | theorem graph_profileRadius_mem {F : OutgoingProfile.Profile} |
| 105 | (W : NominalProfile.Witness F) (n d : ℕ) {w : SpaceTime} |
| 106 | (hw : w ∈ preterminal) |
| 107 | (hactive : (SlowBorelBase.cartesianChart F.data.h w).2.1 ∈ |
| 108 | Icc (NominalConeAssembly.activeLeft W) (NominalConeAssembly.activeRight W)) : |
| 109 | (graph F.data.h n d w).1 / |
| 110 | VariableGaugeMean.qLength (2 * F.data.h) (graph F.data.h n d w).2.1 ∈ |
| 111 | Icc (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W) := by |
| 112 | have hsq := graph_profileRadius_sq F.data.h_pos F.data.h_lt_half n d hw |
| 113 | have hr := div_nonneg (graph_radius_nonneg F.data.h n d w) |
| 114 | (graph_length_pos F.data.h_pos F.data.h_lt_half n d hw).le |
| 115 | have ha := PrimaryTargetBounds.leftRadius_pos W |
| 116 | have hb := PrimaryTargetBounds.rightRadius_pos W |
| 117 | have hasq : PrimaryTargetBounds.leftRadius W ^ 2 = |
| 118 | 2 * NominalConeAssembly.activeLeft W := |
| 119 | Real.sq_sqrt (mul_nonneg (by norm_num) (NominalConeAssembly.activeLeft_pos W).le) |
| 120 | have hbsq : PrimaryTargetBounds.rightRadius W ^ 2 = |
| 121 | 2 * NominalConeAssembly.activeRight W := |
| 122 | Real.sq_sqrt (mul_nonneg (by norm_num) (LeadingStressWeights.activeRight_pos W).le) |
| 123 | constructor |
| 124 | · apply (sq_le_sq₀ ha.le hr).mp |
| 125 | nlinarith [hactive.1] |
| 126 | · apply (sq_le_sq₀ hr hb.le).mp |
| 127 | nlinarith [hactive.2] |
| 128 | |
| 129 | /-! ## Closure of a moving strip, including both radial endpoints -/ |
| 130 | |
| 131 | theorem mem_closure_strip (G : SignedMeanGain.Geometry) {x : Point} |
| 132 | (hx : x ∈ G.domain) |
| 133 | (hr : (LocalSignedRequest.profileMap G.coord x).1 ∈ Icc G.patch.a G.patch.b) : |
| 134 | x ∈ closure G.strip.domain := by |
| 135 | let ell := Real.sqrt (MeanRankUpdate.chartQ G.coord x) |
| 136 | have hell : 0 < ell := Real.sqrt_pos.mpr (G.region.chartQ_pos hx) |
| 137 | let f : ℝ → Point := fun r => (r * ell, x.2) |
| 138 | have hf : Continuous f := (continuous_id.mul continuous_const).prodMk continuous_const |
| 139 | have hmaps : MapsTo f (Ioo G.patch.a G.patch.b) G.strip.domain := by |
| 140 | intro r hr |
| 141 | apply (LocalSignedRequest.movingStrip_domain G.region G.patch.a G.patch.b |
| 142 | G.leftWeight G.rightWeight G.patch.a_pos G.left_pos G.right_pos G.epsilon G.slow |
| 143 | G.epsilon_pos G.epsilon_le_one G.slow_ge_one (f r)).mpr |
| 144 | refine ⟨hx, ?_⟩ |
| 145 | change r * ell / ell ∈ Ioo G.patch.a G.patch.b |
| 146 | simpa only [mul_div_cancel_right₀ _ hell.ne'] using hr |
| 147 | have hrcl : x.1 / ell ∈ closure (Ioo G.patch.a G.patch.b) := by |
| 148 | rw [closure_Ioo G.patch.a_lt_b.ne] |
| 149 | exact hr |
| 150 | have hfcl := hf.continuousAt.continuousWithinAt.mem_closure hrcl hmaps |
| 151 | have hfx : f (x.1 / ell) = x := by |
| 152 | dsimp only [f] |
| 153 | rw [div_mul_cancel₀ _ hell.ne'] |
| 154 | rwa [hfx] at hfcl |
| 155 | |
| 156 | theorem mem_closure_liftStrip (G : SignedMeanGain.Geometry) {x : Point} |
| 157 | (hx : x ∈ G.domain) |
| 158 | (hr : (LocalSignedRequest.profileMap G.coord x).1 ∈ Icc G.patch.a G.patch.b) |
| 159 | (theta : ℝ) : |
| 160 | (x, theta) ∈ closure (HarmonicResidual.liftDomain G.strip.domain) := by |
| 161 | have hc := mem_closure_strip G hx hr |
| 162 | have hf : Continuous (fun y : Point => (y, theta)) := |
| 163 | continuous_id.prodMk continuous_const |
| 164 | exact hf.continuousAt.continuousWithinAt.mem_closure hc |
| 165 | (fun y hy => ⟨hy, Set.mem_univ theta⟩) |
| 166 | |
| 167 | /-! ## The actual selected band belongs to the native slow window -/ |
| 168 | |
| 169 | theorem graph_slow_mem_standard {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 170 | (n d : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
| 171 | (hqQ : physicalQ h w ≤ ChartScales.Q n) |
| 172 | (hQq : ChartScales.Q n < 2 * physicalQ h w) : |
| 173 | (graph h n d w).2.1 ∈ (ActualSignedGeometry.standardSlowRegion hh hh1).carrier := by |
| 174 | change 0 < (graph h n d w).2.1.1 ∧ |
| 175 | SimilarityCoordinates.coordinateQ (2 * h) (graph h n d w).2.1 ∈ Ioo (1 / 2 : ℝ) 2 |
| 176 | refine ⟨graph_time_pos h n d hw, ?_⟩ |
| 177 | rw [graph_q_eq hh hh1 n d hw] |
| 178 | have hQ := ChartScales.Q_pos n |
| 179 | constructor |
| 180 | · apply (lt_div_iff₀ hQ).mpr |
| 181 | linarith |
| 182 | · apply (div_lt_iff₀ hQ).mpr |
| 183 | linarith |
| 184 | |
| 185 | theorem selected_mean_domain (n d : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
| 186 | (hqQ : physicalQ ActualPrimary.h w ≤ ChartScales.Q n) |
| 187 | (hQq : ChartScales.Q n < 2 * physicalQ ActualPrimary.h w) : |
| 188 | graph ActualPrimary.h n d w ∈ ActualInitialization.geometry.domain := |
| 189 | graph_slow_mem_standard ActualPrimary.outgoing.data.h_pos |
| 190 | ActualPrimary.outgoing.data.h_lt_half n d hw hqQ hQq |
| 191 | |
| 192 | theorem selected_mean_radius_pos (n d : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
| 193 | (hactive : w ∈ active) : 0 < (graph ActualPrimary.h n d w).1 := by |
| 194 | have hr := graph_profileRadius_mem ActualPrimary.nominal n d hw hactive |
| 195 | have hell := graph_length_pos ActualPrimary.outgoing.data.h_pos |
| 196 | ActualPrimary.outgoing.data.h_lt_half n d hw |
| 197 | exact (mul_pos (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) hell).trans_le |
| 198 | ((le_div_iff₀ hell).mp hr.1) |
| 199 | |
| 200 | theorem selected_annulus (n : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
| 201 | (hactive : w ∈ active) |
| 202 | (hqQ : physicalQ ActualPrimary.h w ≤ ChartScales.Q n) |
| 203 | (hQq : ChartScales.Q n < 2 * physicalQ ActualPrimary.h w) : |
| 204 | scaledRadial n w ∈ annulus inner outer := by |
| 205 | have hq := physicalQ_pos ActualPrimary.outgoing.data.h_pos |
| 206 | ActualPrimary.outgoing.data.h_lt_half hw |
| 207 | have hlo : physicalQ ActualPrimary.h w / 2 ≤ ChartScales.Q n := by linarith |
| 208 | have hell := graph_length_pos ActualPrimary.outgoing.data.h_pos |
| 209 | ActualPrimary.outgoing.data.h_lt_half n 0 hw |
| 210 | have hlen := graph_length_bounds ActualPrimary.outgoing.data.h_pos |
| 211 | ActualPrimary.outgoing.data.h_lt_half n 0 hw hlo hQq.le |
| 212 | have hr := graph_profileRadius_mem ActualPrimary.nominal n 0 hw hactive |
| 213 | have hloR := (le_div_iff₀ hell).mp hr.1 |
| 214 | have hhiR := (div_le_iff₀ hell).mp hr.2 |
| 215 | have ha := PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal |
| 216 | have hb := PrimaryTargetBounds.rightRadius_pos ActualPrimary.nominal |
| 217 | have hRlo : PrimaryTargetBounds.leftRadius ActualPrimary.nominal / 2 ≤ |
| 218 | (graph ActualPrimary.h n 0 w).1 := by nlinarith [hlen.1] |
| 219 | have hRhi : (graph ActualPrimary.h n 0 w).1 ≤ |
| 220 | 2 * PrimaryTargetBounds.rightRadius ActualPrimary.nominal := by nlinarith [hlen.2] |
| 221 | rw [graph_radius] at hRlo hRhi |
| 222 | refine ⟨?_, ?_⟩ |
| 223 | · simpa only [outer, Metric.mem_closedBall, dist_zero_right] using |
| 224 | (PolarCharts.norm_le_radius (scaledRadial n w)).trans hRhi |
| 225 | · change PrimaryTargetBounds.leftRadius ActualPrimary.nominal / 4 ≤ ‖scaledRadial n w‖ |
| 226 | linarith only [hRlo, PolarCharts.radius_le_two_norm (scaledRadial n w)] |
| 227 | |
| 228 | theorem selected_chart_exists (n : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
| 229 | (hactive : w ∈ active) |
| 230 | (hqQ : physicalQ ActualPrimary.h w ≤ ChartScales.Q n) |
| 231 | (hQq : ChartScales.Q n < 2 * physicalQ ActualPrimary.h w) : |
| 232 | ∃ j : PolarCharts.Index, scaledRadial n w ∈ PolarCharts.chartDomain inner j := by |
| 233 | obtain ⟨j, hj⟩ := PolarCharts.annulus_covered inner_pos |
| 234 | (selected_annulus n hw hactive hqQ hQq) |
| 235 | exact ⟨j, PolarCharts.sector_subset_chartDomain inner_pos j hj⟩ |
| 236 | |
| 237 | theorem selected_polar_nativeDomain (j : PolarCharts.Index) (n d : ℕ) |
| 238 | {w : SpaceTime} (hw : w ∈ preterminal) (hactive : w ∈ active) |
| 239 | (hqQ : physicalQ ActualPrimary.h w ≤ ChartScales.Q n) |
| 240 | (hQq : ChartScales.Q n < 2 * physicalQ ActualPrimary.h w) |
| 241 | (hj : scaledRadial n w ∈ PolarCharts.chartDomain inner j) : |
| 242 | PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ nativeDomain := by |
| 243 | rw [PhysicalResidualJetBounds.polarGraph_eq_meanGraph inner_pos ActualPrimary.h j n d hj] |
| 244 | exact ⟨⟨selected_mean_domain n d hw hqQ hQq, selected_mean_radius_pos n d hw hactive⟩, |
| 245 | Set.mem_univ _⟩ |
| 246 | |
| 247 | theorem selected_polar_closure (j : PolarCharts.Index) (n d : ℕ) |
| 248 | {w : SpaceTime} (hw : w ∈ preterminal) (hactive : w ∈ active) |
| 249 | (hqQ : physicalQ ActualPrimary.h w ≤ ChartScales.Q n) |
| 250 | (hQq : ChartScales.Q n < 2 * physicalQ ActualPrimary.h w) |
| 251 | (hj : scaledRadial n w ∈ PolarCharts.chartDomain inner j) : |
| 252 | PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ |
| 253 | closure (HarmonicResidual.liftDomain ActualInitialization.geometry.strip.domain) := by |
| 254 | rw [PhysicalResidualJetBounds.polarGraph_eq_meanGraph inner_pos ActualPrimary.h j n d hj] |
| 255 | apply mem_closure_liftStrip ActualInitialization.geometry |
| 256 | (selected_mean_domain n d hw hqQ hQq) |
| 257 | change (graph ActualPrimary.h n d w).1 / |
| 258 | VariableGaugeMean.qLength (2 * ActualPrimary.h) (graph ActualPrimary.h n d w).2.1 ∈ |
| 259 | Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 260 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) |
| 261 | exact graph_profileRadius_mem ActualPrimary.nominal n d hw hactive |
| 262 | |
| 263 | /-! ## Selection above an arbitrary certified floor -/ |
| 264 | |
| 265 | theorem exists_selected_band (N : ℕ) {w : SpaceTime} |
| 266 | (hw : w ∈ preterminal) (hactive : w ∈ active) |
| 267 | (hsmall : physicalQ ActualPrimary.h w ≤ ChartScales.Q N) : |
| 268 | ∃ n : ℕ, N ≤ n ∧ physicalQ ActualPrimary.h w ≤ ChartScales.Q n ∧ |
| 269 | ChartScales.Q n < 2 * physicalQ ActualPrimary.h w ∧ |
| 270 | scaledRadial n w ∈ annulus inner outer ∧ |
| 271 | ∀ (j : PolarCharts.Index) (d : ℕ), |
| 272 | scaledRadial n w ∈ PolarCharts.chartDomain inner j → |
| 273 | PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ nativeDomain ∧ |
| 274 | PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ |
| 275 | closure (HarmonicResidual.liftDomain ActualInitialization.geometry.strip.domain) := by |
| 276 | obtain ⟨n, hn, hqQ, hQq⟩ := exists_comparable_band N |
| 277 | (physicalQ_pos ActualPrimary.outgoing.data.h_pos ActualPrimary.outgoing.data.h_lt_half hw) |
| 278 | hsmall |
| 279 | refine ⟨n, hn, hqQ, hQq, selected_annulus n hw hactive hqQ hQq, ?_⟩ |
| 280 | intro j d hj |
| 281 | exact ⟨selected_polar_nativeDomain j n d hw hactive hqQ hQq hj, |
| 282 | selected_polar_closure j n d hw hactive hqQ hQq hj⟩ |
| 283 | |
| 284 | theorem exists_selected_band_of_qbig (firstBand : ℕ) {qbig : ℝ} {w : SpaceTime} |
| 285 | (hw : w ∈ preterminal) (hactive : w ∈ active) |
| 286 | (hsmall : physicalQ ActualPrimary.h w ≤ qbig) |
| 287 | (hfloor : qbig ≤ ChartScales.Q firstBand) : |
| 288 | ∃ n : ℕ, firstBand ≤ n ∧ physicalQ ActualPrimary.h w ≤ ChartScales.Q n ∧ |
| 289 | ChartScales.Q n < 2 * physicalQ ActualPrimary.h w ∧ |
| 290 | scaledRadial n w ∈ annulus inner outer ∧ |
| 291 | ∀ (j : PolarCharts.Index) (d : ℕ), |
| 292 | scaledRadial n w ∈ PolarCharts.chartDomain inner j → |
| 293 | PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ nativeDomain ∧ |
| 294 | PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ |
| 295 | closure (HarmonicResidual.liftDomain ActualInitialization.geometry.strip.domain) := |
| 296 | exists_selected_band firstBand hw hactive (hsmall.trans hfloor) |
| 297 | |
| 298 | end NavierStokes.ActualPolarCoverage |