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.LocalAngularGrowth |
| 2 | |
| 3 | /-! # A common local domain for the paper's heat-exterior formula -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace NavierStokes.LocalPaperDomain |
| 8 | |
| 9 | open Set Filter ProblemStatement CorrectionInitialization |
| 10 | open scoped Topology |
| 11 | |
| 12 | def residualBand : ℕ := |
| 13 | ActualCandidateConstruction.residualBand ActualCandidateConstruction.selectedBudget |
| 14 | ActualCandidateConstruction.selectedThreshold |
| 15 | |
| 16 | def qstar (a : ℕ → ℕ) : ℝ := |
| 17 | min (ChartScales.Q residualBand) ((1 / 2) / (|(a 0 : ℝ)| + 1)) |
| 18 | |
| 19 | def innerEdge : ℝ := NominalConeAssembly.activeLeft ActualPrimary.nominal |
| 20 | |
| 21 | def outerEdge : ℝ := |
| 22 | max innerEdge (max (NominalConeAssembly.activeRight ActualPrimary.nominal) |
| 23 | (BaseExterior.nominalExteriorRadius ActualPrimary.nominal)) + 1 |
| 24 | |
| 25 | def radius (w : SpaceTime) : ℝ := |
| 26 | AxisymmetricFields.radialEnergy w.2 / PhysicalWaveSum.physicalQ ActualPrimary.h w |
| 27 | |
| 28 | theorem radius_eq_chart (w : SpaceTime) : |
| 29 | radius w = (SlowBorelBase.cartesianChart ActualPrimary.h w).2.1 := rfl |
| 30 | |
| 31 | theorem qstar_pos (a : ℕ → ℕ) : 0 < qstar a := |
| 32 | lt_min (ChartScales.Q_pos _) (div_pos (by norm_num) (by positivity)) |
| 33 | |
| 34 | theorem innerEdge_pos : 0 < innerEdge := NominalConeAssembly.activeLeft_pos _ |
| 35 | |
| 36 | theorem innerEdge_lt_outerEdge : innerEdge < outerEdge := by |
| 37 | have := le_max_left innerEdge |
| 38 | (max (NominalConeAssembly.activeRight ActualPrimary.nominal) |
| 39 | (BaseExterior.nominalExteriorRadius ActualPrimary.nominal)) |
| 40 | dsimp only [outerEdge] |
| 41 | linarith |
| 42 | |
| 43 | theorem exterior_conditions {a : ℕ → ℕ} {w : SpaceTime} (ht : w.1 < 1) |
| 44 | (hq : PhysicalWaveSum.physicalQ ActualPrimary.h w < qstar a) |
| 45 | (hX : outerEdge ≤ radius w) : |
| 46 | w ∈ ActualExteriorPrefix.exteriorDomain residualBand ∧ |
| 47 | w ∈ BaseExterior.cartesianExterior ActualPrimary.h |
| 48 | (BaseExterior.nominalExteriorRadius ActualPrimary.nominal) ∧ |
| 49 | |(a 0 : ℝ) * PhysicalWaveSum.physicalQ ActualPrimary.h w| < 1 / 2 := by |
| 50 | have hright : NominalConeAssembly.activeRight ActualPrimary.nominal < radius w := by |
| 51 | have h1 := le_max_left (NominalConeAssembly.activeRight ActualPrimary.nominal) |
| 52 | (BaseExterior.nominalExteriorRadius ActualPrimary.nominal) |
| 53 | have h2 := le_max_right innerEdge |
| 54 | (max (NominalConeAssembly.activeRight ActualPrimary.nominal) |
| 55 | (BaseExterior.nominalExteriorRadius ActualPrimary.nominal)) |
| 56 | dsimp only [outerEdge] at hX |
| 57 | linarith |
| 58 | have hext : BaseExterior.nominalExteriorRadius ActualPrimary.nominal < radius w := by |
| 59 | have h1 := le_max_right (NominalConeAssembly.activeRight ActualPrimary.nominal) |
| 60 | (BaseExterior.nominalExteriorRadius ActualPrimary.nominal) |
| 61 | have h2 := le_max_right innerEdge |
| 62 | (max (NominalConeAssembly.activeRight ActualPrimary.nominal) |
| 63 | (BaseExterior.nominalExteriorRadius ActualPrimary.nominal)) |
| 64 | dsimp only [outerEdge] at hX |
| 65 | linarith |
| 66 | refine ⟨ActualExteriorPrefix.mem_exteriorDomain.mpr ⟨ht, |
| 67 | hq.trans_le (min_le_left _ _), ?_⟩, ⟨ht, hext⟩, ?_⟩ |
| 68 | · intro ha |
| 69 | exact (not_le_of_gt hright) ha.2 |
| 70 | · have hpos := PhysicalWaveSum.physicalQ_pos ActualPrimary.outgoing.data.h_pos |
| 71 | ActualPrimary.outgoing.data.h_lt_half ht |
| 72 | have hδ := (lt_div_iff₀ (show 0 < |(a 0 : ℝ)| + 1 by positivity)).mp |
| 73 | (hq.trans_le (min_le_right _ _)) |
| 74 | rw [abs_mul, abs_of_pos hpos] |
| 75 | nlinarith |
| 76 | |
| 77 | /-- The three strict exterior conditions persist on a neighborhood. -/ |
| 78 | theorem exterior_conditions_eventually {a : ℕ → ℕ} {w : SpaceTime} |
| 79 | (hw : w ∈ ActualExteriorPrefix.exteriorDomain residualBand) |
| 80 | (he : w ∈ BaseExterior.cartesianExterior ActualPrimary.h |
| 81 | (BaseExterior.nominalExteriorRadius ActualPrimary.nominal)) |
| 82 | (hc : |(a 0 : ℝ) * PhysicalWaveSum.physicalQ ActualPrimary.h w| < 1 / 2) : |
| 83 | ∀ᶠ z in 𝓝 w, |
| 84 | z ∈ ActualExteriorPrefix.exteriorDomain residualBand ∧ |
| 85 | z ∈ BaseExterior.cartesianExterior ActualPrimary.h |
| 86 | (BaseExterior.nominalExteriorRadius ActualPrimary.nominal) ∧ |
| 87 | |(a 0 : ℝ) * PhysicalWaveSum.physicalQ ActualPrimary.h z| < 1 / 2 := by |
| 88 | have hq := (PhysicalWaveSum.physicalQ_smoothAt ActualPrimary.outgoing.data.h_pos |
| 89 | ActualPrimary.outgoing.data.h_lt_half he.1).continuousAt |
| 90 | filter_upwards [(ActualExteriorPrefix.exteriorDomain_open residualBand).mem_nhds hw, |
| 91 | (BaseExterior.cartesianExterior_isOpen ActualPrimary.outgoing.data.h_pos |
| 92 | ActualPrimary.outgoing.data.h_lt_half _).mem_nhds he, |
| 93 | ((hq.const_mul (a 0 : ℝ)).abs).eventually_lt_const hc] with z hz hez hcz |
| 94 | exact ⟨hz, hez, hcz⟩ |
| 95 | |
| 96 | end NavierStokes.LocalPaperDomain |