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.FinalSlowBase |
| 2 | import NavierStokes.SimilarityApproach |
| 3 | import NavierStokes.JointResidualLimits |
| 4 | |
| 5 | /-! |
| 6 | # Joint flatness of the actual excluded slow-base error |
| 7 | |
| 8 | One fixed schedule controls its entire compact similarity box. Beyond that |
| 9 | box the actual residual and virtual stress force both vanish, so the error |
| 10 | vanishes in every jet. The resulting estimates impose no upper bound on |
| 11 | the similarity radius of the approach to the origin. |
| 12 | |
| 13 | The field estimated here is `FinalSlowBase.error`, which is the actual |
| 14 | Navier--Stokes residual minus its virtual stress force. |
| 15 | -/ |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | namespace NavierStokes.GlobalBaseError |
| 20 | |
| 21 | open Set Filter ProblemStatement SlowBorelBase |
| 22 | open scoped Topology ContDiff |
| 23 | |
| 24 | section Coordinates |
| 25 | |
| 26 | theorem cartesian_q_pos {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 27 | {z : SpaceTime} (ht : z.1 < 1) : 0 < (cartesianChart h z).1 := |
| 28 | physicalChart_positive hh hh1 ht |
| 29 | |
| 30 | theorem cartesian_X_nonneg {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 31 | {z : SpaceTime} (ht : z.1 < 1) : 0 ≤ (cartesianChart h z).2.1 := |
| 32 | div_nonneg (AxisymmetricFields.radialEnergy_nonneg z.2) (cartesian_q_pos hh hh1 ht).le |
| 33 | |
| 34 | /-- The actual implicit scale tends to zero on a joint approach, without |
| 35 | any bound on `X = radialEnergy / q`. -/ |
| 36 | theorem cartesian_q_tendsto_zero {l : Filter SpaceTime} {h : ℝ} |
| 37 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 38 | (hl : Tendsto (fun z : SpaceTime => z) l (𝓝 ((1 : ℝ), (0 : Space)))) |
| 39 | (ht : ∀ᶠ z in l, z.1 < 1) : |
| 40 | Tendsto (fun z => (cartesianChart h z).1) l (𝓝 0) := by |
| 41 | apply SimilarityApproach.physical_q_tendsto_zero |
| 42 | (p := fun z : SpaceTime => AxisymmetricFields.profilePoint z.1 z.2) hh hh1 |
| 43 | · exact continuous_fst.continuousAt.tendsto.comp hl |
| 44 | · have hsp : Tendsto (fun z : SpaceTime => z.2) l (𝓝 (0 : Space)) := |
| 45 | continuous_snd.continuousAt.tendsto.comp hl |
| 46 | have he := ((AxisymmetricFields.projection 2).continuous.tendsto 0).comp hsp |
| 47 | simp only [AxisymmetricFields.profilePoint, AxisymmetricFields.projection_apply, |
| 48 | PiLp.zero_apply] at he ⊢ |
| 49 | exact he |
| 50 | · exact ht |
| 51 | |
| 52 | end Coordinates |
| 53 | |
| 54 | section FixedSchedule |
| 55 | |
| 56 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 57 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 58 | (v : ModulatedProfileAssembly.Witness ld) |
| 59 | |
| 60 | /-- The original schedule box contains both the supplied upper radius and |
| 61 | the end of the active stress annulus. -/ |
| 62 | theorem exteriorRadius_le_box {upper : ℝ} |
| 63 | (hupper : BaseExterior.nominalExteriorRadius W ≤ upper) : |
| 64 | BaseExterior.nominalExteriorRadius W ≤ FinalSlowBase.boxRadius W upper := |
| 65 | hupper.trans (le_max_left _ _) |
| 66 | |
| 67 | theorem error_zero_outside_box (upper : ℝ) (B : ℕ) |
| 68 | (hupper : BaseExterior.nominalExteriorRadius W ≤ upper) |
| 69 | {z : SpaceTime} (ht : z.1 < 1) |
| 70 | (hX : FinalSlowBase.boxRadius W upper < (cartesianChart F.data.h z).2.1) : |
| 71 | FinalSlowBase.error H v upper B z = 0 := by |
| 72 | have hr := FinalSlowBase.exterior_residual_zero H v upper B |
| 73 | (show z ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W) from |
| 74 | ⟨ht, (exteriorRadius_le_box hupper).trans_lt hX⟩) |
| 75 | have hs := FinalSlowBase.stressForce_zero_right H v upper B ht |
| 76 | ((le_max_right upper (NominalConeAssembly.activeRight W)).trans_lt hX) |
| 77 | change navierStokesResidual (FinalSlowBase.velocity H v upper B) |
| 78 | (FinalSlowBase.pressure H v upper B) z.1 z.2 - |
| 79 | FinalSlowBase.stressForce H v upper B z = 0 |
| 80 | rw [hr, hs, sub_self] |
| 81 | |
| 82 | /-- The exterior equalities hold on an open neighborhood, so they control |
| 83 | all actual derivatives of the error, not only its value. -/ |
| 84 | theorem error_germ_zero_outside_box (upper : ℝ) (B : ℕ) |
| 85 | (hupper : BaseExterior.nominalExteriorRadius W ≤ upper) |
| 86 | {z : SpaceTime} (ht : z.1 < 1) |
| 87 | (hX : FinalSlowBase.boxRadius W upper < (cartesianChart F.data.h z).2.1) : |
| 88 | FinalSlowBase.error H v upper B =ᶠ[𝓝 z] fun _ => 0 := by |
| 89 | have hO := BaseExterior.cartesianExterior_isOpen F.data.h_pos F.data.h_lt_half |
| 90 | (FinalSlowBase.boxRadius W upper) |
| 91 | filter_upwards [hO.mem_nhds (show z ∈ BaseExterior.cartesianExterior F.data.h |
| 92 | (FinalSlowBase.boxRadius W upper) from ⟨ht, hX⟩)] with y hy |
| 93 | exact error_zero_outside_box H v upper B hupper hy.1 hy.2 |
| 94 | |
| 95 | theorem error_jets_zero_outside_box (upper : ℝ) (B m : ℕ) |
| 96 | (hupper : BaseExterior.nominalExteriorRadius W ≤ upper) |
| 97 | {z : SpaceTime} (ht : z.1 < 1) |
| 98 | (hX : FinalSlowBase.boxRadius W upper < (cartesianChart F.data.h z).2.1) : |
| 99 | iteratedFDeriv ℝ m (FinalSlowBase.error H v upper B) z = 0 := by |
| 100 | rw [(SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 101 | (error_germ_zero_outside_box H v upper B hupper ht hX) m).self_of_nhds, |
| 102 | iteratedFDeriv_fun_zero, Pi.zero_apply] |
| 103 | |
| 104 | /-- An arbitrary physical approach with compact carrier and `q → 0` is |
| 105 | allowed. Its similarity radius need not be bounded. The scale sequence in |
| 106 | `FinalSlowBase.error H v upper B` is unchanged between the two regions. -/ |
| 107 | theorem error_jetRate (upper : ℝ) (B : ℕ) |
| 108 | (hupper : BaseExterior.nominalExteriorRadius W ≤ upper) |
| 109 | {l : Filter SpaceTime} {K : Set SpaceTime} (hK : IsCompact K) |
| 110 | (hcarrier : ∀ᶠ z in l, z ∈ K) (ht : ∀ᶠ z in l, z.1 < 1) |
| 111 | (hq : Tendsto (fun z => (cartesianChart F.data.h z).1) l (𝓝 0)) |
| 112 | (m : ℕ) (r : ℝ) (hr : 0 ≤ r) : |
| 113 | DiagonalResidual.JetRate l (fun z => (cartesianChart F.data.h z).1) |
| 114 | (FinalSlowBase.error H v upper B) m r := by |
| 115 | let S : Set SpaceTime := |
| 116 | {z | (cartesianChart F.data.h z).2.1 ≤ FinalSlowBase.boxRadius W upper} |
| 117 | have hS : ∀ᶠ z in l ⊓ 𝓟 S, z ∈ S := |
| 118 | (Filter.eventually_principal.mpr (fun _ hz => hz)).filter_mono inf_le_right |
| 119 | let P : BaseResidual.PhysicalApproach (l ⊓ 𝓟 S) F.data.h 0 |
| 120 | (FinalSlowBase.boxRadius W upper) := { |
| 121 | carrier := K |
| 122 | compact := hK |
| 123 | in_carrier := hcarrier.filter_mono inf_le_left |
| 124 | past := ht.filter_mono inf_le_left |
| 125 | radial := by |
| 126 | filter_upwards [ht.filter_mono inf_le_left, hS] with z htz hSz |
| 127 | exact ⟨cartesian_X_nonneg F.data.h_pos F.data.h_lt_half htz, hSz⟩ |
| 128 | scale := hq.mono_left inf_le_left } |
| 129 | obtain ⟨C, hC, hb⟩ := FinalSlowBase.error_jetRate H v upper B P le_rfl m r hr |
| 130 | have hb' := Filter.eventually_inf_principal.mp hb |
| 131 | refine ⟨C, hC, ?_⟩ |
| 132 | filter_upwards [ht, hb'] with z htz hbz |
| 133 | by_cases hSz : z ∈ S |
| 134 | · exact hbz hSz |
| 135 | · have hX : FinalSlowBase.boxRadius W upper < (cartesianChart F.data.h z).2.1 := |
| 136 | lt_of_not_ge hSz |
| 137 | rw [error_jets_zero_outside_box H v upper B m hupper htz hX, norm_zero] |
| 138 | exact mul_nonneg hC (Real.rpow_nonneg |
| 139 | (cartesian_q_pos F.data.h_pos F.data.h_lt_half htz).le r) |
| 140 | |
| 141 | theorem error_allJetsFlat (upper : ℝ) (B : ℕ) |
| 142 | (hupper : BaseExterior.nominalExteriorRadius W ≤ upper) |
| 143 | {l : Filter SpaceTime} {K : Set SpaceTime} (hK : IsCompact K) |
| 144 | (hcarrier : ∀ᶠ z in l, z ∈ K) (ht : ∀ᶠ z in l, z.1 < 1) |
| 145 | (hq : Tendsto (fun z => (cartesianChart F.data.h z).1) l (𝓝 0)) : |
| 146 | ResidualStability.AllJetsFlat l (fun z => (cartesianChart F.data.h z).1) |
| 147 | (FinalSlowBase.error H v upper B) := by |
| 148 | intro m N |
| 149 | obtain ⟨C, hC, hb⟩ := error_jetRate H v upper B hupper hK hcarrier ht hq m N (Nat.cast_nonneg N) |
| 150 | refine ⟨C, hC, ?_⟩ |
| 151 | filter_upwards [ht, hb] with z htz hbz |
| 152 | simpa only [abs_norm, abs_of_pos (cartesian_q_pos F.data.h_pos F.data.h_lt_half htz), |
| 153 | Real.rpow_natCast] using hbz |
| 154 | |
| 155 | end FixedSchedule |
| 156 | |
| 157 | /-! ## The joint past filter at the physical origin -/ |
| 158 | |
| 159 | noncomputable def originPast : Filter SpaceTime := |
| 160 | 𝓝[SpacetimeEndpoint.openPast 1] ((1 : ℝ), (0 : Space)) |
| 161 | |
| 162 | theorem originPast_before : ∀ᶠ z in originPast, z.1 < 1 := by |
| 163 | filter_upwards [self_mem_nhdsWithin] with z hz |
| 164 | exact hz.1 |
| 165 | |
| 166 | theorem originPast_tendsto : |
| 167 | Tendsto (fun z : SpaceTime => z) originPast (𝓝 ((1 : ℝ), (0 : Space))) := |
| 168 | nhdsWithin_le_nhds |
| 169 | |
| 170 | theorem originPast_in_compact : |
| 171 | ∀ᶠ z in originPast, z ∈ Metric.closedBall ((1 : ℝ), (0 : Space)) 1 := |
| 172 | nhdsWithin_le_nhds (Metric.closedBall_mem_nhds _ zero_lt_one) |
| 173 | |
| 174 | theorem originPast_q_tendsto_zero {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 175 | Tendsto (fun z => (cartesianChart h z).1) originPast (𝓝 0) := |
| 176 | cartesian_q_tendsto_zero hh hh1 originPast_tendsto originPast_before |
| 177 | |
| 178 | section JointOrigin |
| 179 | |
| 180 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 181 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 182 | (v : ModulatedProfileAssembly.Witness ld) |
| 183 | |
| 184 | theorem error_joint_jetRate (upper : ℝ) (B : ℕ) |
| 185 | (hupper : BaseExterior.nominalExteriorRadius W ≤ upper) (m : ℕ) (r : ℝ) (hr : 0 ≤ r) : |
| 186 | DiagonalResidual.JetRate originPast (fun z => (cartesianChart F.data.h z).1) |
| 187 | (FinalSlowBase.error H v upper B) m r := |
| 188 | error_jetRate H v upper B hupper (isCompact_closedBall _ _) originPast_in_compact |
| 189 | originPast_before (originPast_q_tendsto_zero F.data.h_pos F.data.h_lt_half) m r hr |
| 190 | |
| 191 | theorem error_joint_allJetsFlat (upper : ℝ) (B : ℕ) |
| 192 | (hupper : BaseExterior.nominalExteriorRadius W ≤ upper) : |
| 193 | ResidualStability.AllJetsFlat originPast (fun z => (cartesianChart F.data.h z).1) |
| 194 | (FinalSlowBase.error H v upper B) := |
| 195 | error_allJetsFlat H v upper B hupper (isCompact_closedBall _ _) originPast_in_compact |
| 196 | originPast_before (originPast_q_tendsto_zero F.data.h_pos F.data.h_lt_half) |
| 197 | |
| 198 | /-- Full joint vanishing of all actual error jets at `(1,0)` from the past, |
| 199 | with no bounded-similarity-radius premise. -/ |
| 200 | theorem error_vanishingJointJets (upper : ℝ) (B : ℕ) |
| 201 | (hupper : BaseExterior.nominalExteriorRadius W ≤ upper) : |
| 202 | JointResidualLimits.VanishingJointJets (FinalSlowBase.error H v upper B) := by |
| 203 | intro m |
| 204 | exact SimilarityApproach.jet_tendsto_zero |
| 205 | (error_joint_jetRate H v upper B hupper m 1 zero_le_one) |
| 206 | (originPast_q_tendsto_zero F.data.h_pos F.data.h_lt_half) |
| 207 | |
| 208 | end JointOrigin |
| 209 | |
| 210 | /-! ## One actual profile and one fixed enlarged schedule -/ |
| 211 | |
| 212 | /-- The enlargement depends only on the originally selected profile and |
| 213 | the supplied constant, never on the physical point, derivative order, or `q`. -/ |
| 214 | noncomputable def actualUpper (upper : ℝ) : ℝ := |
| 215 | max upper (BaseExterior.nominalExteriorRadius FinalSlowBase.actualProfile.nominal) |
| 216 | |
| 217 | noncomputable def actualError (upper : ℝ) (B : ℕ) : VelocityField := |
| 218 | FinalSlowBase.error FinalSlowBase.actualProfile.certificate FinalSlowBase.actualProfile.modulation |
| 219 | (actualUpper upper) B |
| 220 | |
| 221 | theorem actual_error_joint_jetRate (upper : ℝ) (B m : ℕ) (r : ℝ) (hr : 0 ≤ r) : |
| 222 | DiagonalResidual.JetRate originPast |
| 223 | (fun z => (cartesianChart FinalSlowBase.actualProfile.outgoing.data.h z).1) |
| 224 | (actualError upper B) m r := |
| 225 | error_joint_jetRate FinalSlowBase.actualProfile.certificate FinalSlowBase.actualProfile.modulation |
| 226 | (actualUpper upper) B (le_max_right _ _) m r hr |
| 227 | |
| 228 | theorem actual_error_joint_allJetsFlat (upper : ℝ) (B : ℕ) : |
| 229 | ResidualStability.AllJetsFlat originPast |
| 230 | (fun z => (cartesianChart FinalSlowBase.actualProfile.outgoing.data.h z).1) |
| 231 | (actualError upper B) := |
| 232 | error_joint_allJetsFlat FinalSlowBase.actualProfile.certificate FinalSlowBase.actualProfile.modulation |
| 233 | (actualUpper upper) B (le_max_right _ _) |
| 234 | |
| 235 | theorem actual_error_vanishingJointJets (upper : ℝ) (B : ℕ) : |
| 236 | JointResidualLimits.VanishingJointJets (actualError upper B) := |
| 237 | error_vanishingJointJets FinalSlowBase.actualProfile.certificate FinalSlowBase.actualProfile.modulation |
| 238 | (actualUpper upper) B (le_max_right _ _) |
| 239 | |
| 240 | end NavierStokes.GlobalBaseError |