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.ActualBaseVelocityBounds |
| 2 | import NavierStokes.WholeDomainHeatBounds |
| 3 | |
| 4 | /-! Fixed polynomial losses for the actual slow pressure. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | open Set Filter Function |
| 9 | open scoped Topology ContDiff |
| 10 | |
| 11 | namespace NavierStokes.ActualBasePressureBounds |
| 12 | |
| 13 | open ProblemStatement SlowBorelBase BaseResidual DiagonalResidual ActualBaseVelocityBounds |
| 14 | |
| 15 | def pressureLoss (m : ℕ) : ℝ := 4 * ((m : ℝ) + 1) |
| 16 | |
| 17 | theorem pressureLoss_nonneg (m : ℕ) : 0 ≤ pressureLoss m := by |
| 18 | unfold pressureLoss |
| 19 | positivity |
| 20 | |
| 21 | theorem pressureLoss_controls_core {h : ℝ} (hh1 : h < 1 / 2) (m : ℕ) : |
| 22 | -pressureLoss m ≤ -2 * CoordinateAlgebra.A h - 2 * m := by |
| 23 | unfold pressureLoss CoordinateAlgebra.A |
| 24 | have hm : 0 ≤ (m : ℝ) := by positivity |
| 25 | linarith |
| 26 | |
| 27 | section Actual |
| 28 | |
| 29 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 30 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 31 | (v : ModulatedProfileAssembly.Witness ld) |
| 32 | |
| 33 | theorem actual_bounded_rate (upper : ℝ) (B : ℕ) {l : Filter SpaceTime} |
| 34 | (hl : l ≤ endpoint) |
| 35 | (hbox : ∀ᶠ z in l, (cartesianChart F.data.h z).2.1 ≤ FinalSlowBase.boxRadius W upper) |
| 36 | (m : ℕ) : |
| 37 | FiniteJetRate l (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.pressure H v upper B) |
| 38 | m (-2 * CoordinateAlgebra.A F.data.h - 2 * m) := by |
| 39 | let A := boundedApproach F.data.h_pos F.data.h_lt_half hl (FinalSlowBase.boxRadius W upper) hbox |
| 40 | have hp : ∀ᶠ z in l, z ∈ past := A.past.mono (fun _ hz => ⟨hz, mem_univ _⟩) |
| 41 | have hq := A.positive_small F.data.h_pos F.data.h_lt_half |
| 42 | have hd := FinalSlowBase.coefficients_smooth H v |
| 43 | have ha := FinalSlowBase.scales_admissible H v upper B |
| 44 | have hr := pressure_prefix_rate F.data.h_pos F.data.h_lt_half A hd ha m m (by omega) |
| 45 | have hs := cartesian_prefix_growth F.data.h_pos F.data.h_lt_half A |
| 46 | (bundleComponent_smooth hd W.axis.normalization 2) (-2 * CoordinateAlgebra.A F.data.h) m m |
| 47 | have hr' := finiteRate_weaken hr hq (show -2 * CoordinateAlgebra.A F.data.h - 2 * m ≤ |
| 48 | F.data.h * ((m : ℝ) + 1) - 2 * CoordinateAlgebra.A F.data.h - 2 * m by |
| 49 | have hm : 0 ≤ F.data.h * ((m : ℝ) + 1) := mul_nonneg F.data.h_pos.le (by positivity) |
| 50 | linarith) |
| 51 | have hs' := finiteRate_weaken hs hq (show -2 * CoordinateAlgebra.A F.data.h - 2 * m ≤ |
| 52 | -2 * CoordinateAlgebra.A F.data.h - m by |
| 53 | have hm : 0 ≤ (m : ℝ) := by positivity |
| 54 | linarith) |
| 55 | have hps := cartesianUncutPrefix_smooth (b := -2 * CoordinateAlgebra.A F.data.h) |
| 56 | F.data.h_pos F.data.h_lt_half |
| 57 | (bundleComponent_smooth hd W.axis.normalization 2) m |
| 58 | have hsum := finiteRate_add hr' hs' past_isOpen hp |
| 59 | ((FinalSlowBase.pressure_smooth H v upper B).sub hps) hps |
| 60 | simp only [prefixPressure, sub_add_cancel] at hsum |
| 61 | exact hsum |
| 62 | |
| 63 | theorem actual_leading_eq (upper : ℝ) (B : ℕ) : |
| 64 | EqOn (FinalSlowBase.pressure H v upper B) |
| 65 | (cartesianMonomial F.data.h (-2 * CoordinateAlgebra.A F.data.h) |
| 66 | ((FinalSlowBase.coefficients H v).pressure 0)) |
| 67 | (BaseExterior.cartesianExterior F.data.h (AssembledSlowBase.nominalOuterX W)) := by |
| 68 | intro z hz |
| 69 | exact BaseExterior.exterior_pressure_eq_leading F.data.h_pos F.data.h_lt_half |
| 70 | (actual_exterior_coefficients H v) hz |
| 71 | |
| 72 | theorem actual_middle_rate (upper : ℝ) (B : ℕ) {l : Filter SpaceTime} |
| 73 | (hl : l ≤ endpoint) {R : ℝ} |
| 74 | (hR : ∀ᶠ z in l, (cartesianChart F.data.h z).2.1 ≤ R) |
| 75 | (houter : ∀ᶠ z in l, AssembledSlowBase.nominalOuterX W < (cartesianChart F.data.h z).2.1) |
| 76 | (m : ℕ) : |
| 77 | FiniteJetRate l (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.pressure H v upper B) |
| 78 | m (-2 * CoordinateAlgebra.A F.data.h - m) := by |
| 79 | let A := boundedApproach F.data.h_pos F.data.h_lt_half hl R hR |
| 80 | have hr := monomial_rate F.data.h_pos F.data.h_lt_half A |
| 81 | ((FinalSlowBase.coefficients_smooth H v).pressure 0) (-2 * CoordinateAlgebra.A F.data.h) m |
| 82 | exact finiteRate_congr_on hr |
| 83 | (BaseExterior.cartesianExterior_isOpen F.data.h_pos F.data.h_lt_half _) |
| 84 | ((endpoint_past.filter_mono hl).and houter) (actual_leading_eq H v upper B).symm |
| 85 | |
| 86 | /-- Separate the finite coefficient region from the literal heat exterior. |
| 87 | The heat estimate is consumed at its actual exponent without changing the |
| 88 | Borel schedule or imposing a bound on similarity radius. -/ |
| 89 | theorem pressure_rate_of_heat (upper : ℝ) (B m : ℕ) |
| 90 | (hheat : ∀ (l : Filter SpaceTime), l ≤ endpoint → |
| 91 | (∀ᶠ z in l, BaseExterior.nominalExteriorRadius W < (cartesianChart F.data.h z).2.1) → |
| 92 | JetRate l (PhysicalWaveSum.physicalQ F.data.h) |
| 93 | (BaseExterior.heatPressureField (BaseExterior.nominalHeatNormalization W) F.data.h) |
| 94 | m (-pressureLoss m)) : |
| 95 | JetRate endpoint (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.pressure H v upper B) |
| 96 | m (-pressureLoss m) := by |
| 97 | let S : Set SpaceTime := {z | (cartesianChart F.data.h z).2.1 ≤ FinalSlowBase.boxRadius W upper} |
| 98 | have hq := endpoint_q_small F.data.h_pos F.data.h_lt_half |
| 99 | apply rate_glue (S := S) (hq.mono (fun _ hz => hz.1)) |
| 100 | · have hr := actual_bounded_rate H v upper B |
| 101 | (show endpoint ⊓ 𝓟 S ≤ endpoint from inf_le_left) |
| 102 | (show ∀ᶠ z in endpoint ⊓ 𝓟 S, |
| 103 | (cartesianChart F.data.h z).2.1 ≤ FinalSlowBase.boxRadius W upper from restricted_mem endpoint S) m |
| 104 | exact (finiteRate_at hr le_rfl).weaken (hq.filter_mono inf_le_left) |
| 105 | (pressureLoss_controls_core F.data.h_lt_half m) |
| 106 | · let l := endpoint ⊓ 𝓟 Sᶜ |
| 107 | have hl : l ≤ endpoint := inf_le_left |
| 108 | have ho : ∀ᶠ z in l, |
| 109 | AssembledSlowBase.nominalOuterX W < (cartesianChart F.data.h z).2.1 := |
| 110 | (restricted_mem endpoint Sᶜ).mono (fun _ hz => |
| 111 | (outer_lt_box (W := W) upper).trans (lt_of_not_ge hz)) |
| 112 | let T : Set SpaceTime := {z | (cartesianChart F.data.h z).2.1 ≤ BaseExterior.nominalExteriorRadius W} |
| 113 | apply rate_glue (S := T) ((hq.filter_mono hl).mono (fun _ hz => hz.1)) |
| 114 | · have hr := actual_middle_rate H v upper B (show l ⊓ 𝓟 T ≤ endpoint from inf_le_left.trans hl) |
| 115 | (show ∀ᶠ z in l ⊓ 𝓟 T, |
| 116 | (cartesianChart F.data.h z).2.1 ≤ BaseExterior.nominalExteriorRadius W from restricted_mem l T) |
| 117 | (ho.filter_mono inf_le_left) m |
| 118 | apply (finiteRate_at hr le_rfl).weaken (hq.filter_mono (inf_le_left.trans hl)) |
| 119 | have hc := pressureLoss_controls_core F.data.h_lt_half m |
| 120 | have hm : 0 ≤ (m : ℝ) := by positivity |
| 121 | linarith |
| 122 | · have hl' : l ⊓ 𝓟 Tᶜ ≤ endpoint := inf_le_left.trans hl |
| 123 | have hR : ∀ᶠ z in l ⊓ 𝓟 Tᶜ, |
| 124 | BaseExterior.nominalExteriorRadius W < (cartesianChart F.data.h z).2.1 := |
| 125 | (restricted_mem l Tᶜ).mono (fun _ hz => lt_of_not_ge hz) |
| 126 | exact (hheat _ hl' hR).congr_on |
| 127 | (BaseExterior.cartesianExterior_isOpen F.data.h_pos F.data.h_lt_half _) |
| 128 | ((endpoint_past.filter_mono hl').and hR) (FinalSlowBase.exterior_fields_eq_heat H v upper B).2.symm |
| 129 | |
| 130 | /-- The actual pressure has one fixed-order polynomial bound on the full |
| 131 | origin endpoint filter, including arbitrary similarity radii. -/ |
| 132 | theorem pressure_rate (upper : ℝ) (B m : ℕ) : |
| 133 | JetRate endpoint (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.pressure H v upper B) |
| 134 | m (-pressureLoss m) := by |
| 135 | apply pressure_rate_of_heat H v upper B m |
| 136 | intro l hl hR |
| 137 | obtain ⟨C, hC, hb⟩ := WholeDomainHeatBounds.heat_pressure_bound |
| 138 | (BaseExterior.nominalHeatNormalization W) F.data.h_pos F.data.h_lt_half |
| 139 | (BaseExterior.nominalExteriorRadius_pos W) m |
| 140 | refine ⟨C, hC, ?_⟩ |
| 141 | filter_upwards [endpoint_past.filter_mono hl, |
| 142 | (endpoint_q_small F.data.h_pos F.data.h_lt_half).filter_mono hl, hR] with w hw hq hRw |
| 143 | exact (hb w hw hq.2 hRw).trans (mul_le_mul_of_nonneg_left |
| 144 | (Real.rpow_le_rpow_of_exponent_ge hq.1 hq.2 (by |
| 145 | unfold pressureLoss WholeDomainHeatBounds.heatLoss |
| 146 | have hm : 0 ≤ (m : ℝ) := by positivity |
| 147 | linarith)) hC) |
| 148 | |
| 149 | end Actual |
| 150 | |
| 151 | end NavierStokes.ActualBasePressureBounds |