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.OffplaneJetExtensions |
| 2 | import NavierStokes.MixedCandidateAssembly |
| 3 | import NavierStokes.ActualMeanStageData |
| 4 | import NavierStokes.TailGaugePotential |
| 5 | import NavierStokes.SlowBaseEndpoint |
| 6 | import NavierStokes.ActualStageEstimates |
| 7 | |
| 8 | /-! |
| 9 | # Endpoint inputs for the actual raw candidate stages |
| 10 | |
| 11 | Positive stages use their already proved raw estimates. Stage zero uses |
| 12 | the actual initial mean families and the existing extensions of the same |
| 13 | base potential and pressure. No output extension is an input below. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace NavierStokes.ActualEndpointInputs |
| 19 | |
| 20 | open Set Function Filter ProblemStatement |
| 21 | open CorrectionInitialization.ActualPrimary |
| 22 | open scoped Topology ContDiff |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | /-- The three off-plane endpoint obligations of `candidate_of_finite_stages`. |
| 27 | This is an output package; the construction below does not assume its fields. -/ |
| 28 | structure EndpointInputs (h qbig : ℝ) (A V : ℕ → VelocityField) (P : ℕ → PressureField) : Prop where |
| 29 | potential : ∀ x : Space, x 2 ≠ 0 → EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig → |
| 30 | ∀ j, Nonempty (JointResidualLimits.OneSidedExtension (A j) x) |
| 31 | direct : ∀ x : Space, x 2 ≠ 0 → EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig → |
| 32 | ∀ j, Nonempty (JointResidualLimits.OneSidedExtension (V j) x) |
| 33 | pressure : ∀ x : Space, x 2 ≠ 0 → EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig → |
| 34 | ∀ j, Nonempty (JointResidualLimits.OneSidedExtension (P j) x) |
| 35 | |
| 36 | section InitialModels |
| 37 | |
| 38 | variable {DA DP : Type} [NormedAddCommGroup DA] [NormedSpace ℝ DA] |
| 39 | [NormedAddCommGroup DP] [NormedSpace ℝ DP] {IA KA IP KP : Type*} |
| 40 | |
| 41 | /-- The exact base and bounded finite initial potential correction. -/ |
| 42 | noncomputable def initialPotentialModel (B N0 N : ℕ) (hN : 4 ≤ N) |
| 43 | (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) : VelocityField := |
| 44 | ActualPhysicalStageBounds.initialPotential certificate modulation upper B WA |
| 45 | (ActualPhysicalStageBounds.actualInitialTemporalInput B N0 N hN) |
| 46 | (ActualPhysicalStageBounds.actualInitialRankInput B N0 N hN) |
| 47 | |
| 48 | noncomputable def initialDirectModel (B N0 N : ℕ) : VelocityField := |
| 49 | (ActualMeanPhysicalData.initialAngularFamily B N0 N).angularField |
| 50 | |
| 51 | /-- The pressure of the same summed base and the actual finite initial |
| 52 | wave and mean-pressure correction. -/ |
| 53 | noncomputable def initialPressureModel (B N0 N : ℕ) (hN : 4 ≤ N) |
| 54 | (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) : PressureField := |
| 55 | fun w => FinalSlowBase.pressure certificate modulation upper B w + |
| 56 | ActualPhysicalStageBounds.initialPressureIncrement WP |
| 57 | (ActualPhysicalStageBounds.actualInitialPressureInput B N0 N hN) w |
| 58 | |
| 59 | theorem initialPotentialModel_eq (B N0 N : ℕ) (hN : 4 ≤ N) |
| 60 | (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) (w : SpaceTime) : |
| 61 | initialPotentialModel B N0 N hN WA w = |
| 62 | TailGaugePotential.finalPotential certificate modulation upper B w + |
| 63 | (WA.vector w + (ActualMeanPhysicalData.initialStreamFamily B N0 N).angularField w) := by |
| 64 | change _ + (WA.vector w + (ActualMeanPhysicalData.initialTemporalFamily B N0 N).angularField w + |
| 65 | (ActualMeanPhysicalData.initialRankFamily B N0 N).angularField w) = _ |
| 66 | rw [ActualMeanPhysicalData.initialStream_angularField] |
| 67 | simp only [Pi.add_apply] |
| 68 | abel |
| 69 | |
| 70 | theorem initialPressureModel_eq (B N0 N : ℕ) (hN : 4 ≤ N) |
| 71 | (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) (w : SpaceTime) : |
| 72 | initialPressureModel B N0 N hN WP w = |
| 73 | FinalSlowBase.pressure certificate modulation upper B w + |
| 74 | (WP.pressure w + (ActualMeanPhysicalData.initialPressureFamily B N0 N).field w) := rfl |
| 75 | |
| 76 | theorem initialPotentialModel_extension (B N0 N : ℕ) (hN : 4 ≤ N) |
| 77 | (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) |
| 78 | {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) {x : Space} (hx : x 2 ≠ 0) |
| 79 | (hqx : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig) : |
| 80 | Nonempty (JointResidualLimits.OneSidedExtension (initialPotentialModel B N0 N hN WA) x) := by |
| 81 | have hx0 : x ≠ 0 := by intro he; exact hx (by simp [he]) |
| 82 | have hb := TailGaugePotential.finalPotential_awayExtensions certificate modulation upper B x hx0 |
| 83 | have hi := OffplaneJetExtensions.initialIncrement_extension WA |
| 84 | (ActualPhysicalStageBounds.actualInitialTemporalInput B N0 N hN) |
| 85 | (ActualPhysicalStageBounds.actualInitialRankInput B N0 N hN) |
| 86 | outgoing.data.h_pos outgoing.data.h_lt_half (hq.trans (ChartScales.Q_le_one N)) hq hq hx hqx |
| 87 | exact OffplaneJetExtensions.extension_add hb hi |
| 88 | |
| 89 | theorem initialDirectModel_extension (B N0 N : ℕ) (hN : 4 ≤ N) |
| 90 | {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) {x : Space} (hx : x 2 ≠ 0) |
| 91 | (hqx : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig) : |
| 92 | Nonempty (JointResidualLimits.OneSidedExtension (initialDirectModel B N0 N) x) := |
| 93 | OffplaneJetExtensions.mean_angular_extension |
| 94 | (ActualPhysicalStageBounds.actualInitialAngularInput B N0 N hN) |
| 95 | outgoing.data.h_pos outgoing.data.h_lt_half (hq.trans (ChartScales.Q_le_one N)) hq hx hqx |
| 96 | |
| 97 | theorem initialPressureModel_extension (B N0 N : ℕ) (hN : 4 ≤ N) |
| 98 | (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) |
| 99 | {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) {x : Space} (hx : x 2 ≠ 0) |
| 100 | (hqx : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig) : |
| 101 | Nonempty (JointResidualLimits.OneSidedExtension (initialPressureModel B N0 N hN WP) x) := by |
| 102 | have hb : Nonempty (JointResidualLimits.OneSidedExtension |
| 103 | (FinalSlowBase.pressure certificate modulation upper B) x) := |
| 104 | ⟨SlowBaseEndpoint.finalPressureNonzeroAxial certificate modulation upper B hx⟩ |
| 105 | have hi := OffplaneJetExtensions.initialPressureIncrement_extension WP |
| 106 | (ActualPhysicalStageBounds.actualInitialPressureInput B N0 N hN) |
| 107 | outgoing.data.h_pos outgoing.data.h_lt_half (hq.trans (ChartScales.Q_le_one N)) hq hx hqx |
| 108 | exact OffplaneJetExtensions.extension_add hb hi |
| 109 | |
| 110 | end InitialModels |
| 111 | |
| 112 | section RawFamilies |
| 113 | |
| 114 | variable {DA DP : Type} [NormedAddCommGroup DA] [NormedSpace ℝ DA] |
| 115 | [NormedAddCommGroup DP] [NormedSpace ℝ DP] {IA KA IP KP : Type*} |
| 116 | |
| 117 | /-- The physical bounds and exact initial representations supply all |
| 118 | three endpoint inputs, including index zero. No extension or endpoint |
| 119 | limit is assumed for any raw stage. -/ |
| 120 | theorem endpointInputs_of_representations (B N0 N : ℕ) (hN : 4 ≤ N) |
| 121 | {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) |
| 122 | (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) |
| 123 | (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) |
| 124 | {A V : ℕ → VelocityField} {P : ℕ → PressureField} |
| 125 | (E : MixedCandidateAssembly.StageEstimates h qbig A V P) |
| 126 | (hA : EqOn (A 0) (initialPotentialModel B N0 N hN WA) (CutStageEstimates.physicalSublevel h qbig)) |
| 127 | (hV : EqOn (V 0) (initialDirectModel B N0 N) (CutStageEstimates.physicalSublevel h qbig)) |
| 128 | (hP : EqOn (P 0) (initialPressureModel B N0 N hN WP) (CutStageEstimates.physicalSublevel h qbig)) : |
| 129 | EndpointInputs h qbig A V P := by |
| 130 | have hq1 := hq.trans (ChartScales.Q_le_one N) |
| 131 | constructor |
| 132 | · intro x hx hqx j |
| 133 | cases j with |
| 134 | | zero => |
| 135 | exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half |
| 136 | hA hx hqx (initialPotentialModel_extension B N0 N hN WA hq hx hqx) |
| 137 | | succ j => |
| 138 | exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 |
| 139 | E.potential_bound (Nat.succ_le_succ (Nat.zero_le j)) (E.potential_smooth (j + 1)) hx hqx |
| 140 | · intro x hx hqx j |
| 141 | cases j with |
| 142 | | zero => |
| 143 | exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half |
| 144 | hV hx hqx (initialDirectModel_extension B N0 N hN hq hx hqx) |
| 145 | | succ j => |
| 146 | exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 |
| 147 | E.direct_bound (Nat.succ_le_succ (Nat.zero_le j)) (E.direct_smooth (j + 1)) hx hqx |
| 148 | · intro x hx hqx j |
| 149 | cases j with |
| 150 | | zero => |
| 151 | exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half |
| 152 | hP hx hqx (initialPressureModel_extension B N0 N hN WP hq hx hqx) |
| 153 | | succ j => |
| 154 | exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 |
| 155 | E.pressure_bound (Nat.succ_le_succ (Nat.zero_le j)) (E.pressure_smooth (j + 1)) hx hqx |
| 156 | |
| 157 | /-- Application to the literal raw families expected by |
| 158 | `MixedCandidateAssembly.candidate_of_finite_stages`. The remaining |
| 159 | equalities identify the produced physical fields, not their endpoint jets. -/ |
| 160 | theorem actual_stage_endpoints (B N0 N : ℕ) (hN : 4 ≤ N) |
| 161 | {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) |
| 162 | (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) |
| 163 | (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) |
| 164 | (initial : MixedAxisPreservation.PotentialStage.{u} h (MixedAxisPreservation.localDomain h qbig)) |
| 165 | (stages : ℕ → MixedAxisPreservation.PotentialStage.{u} h (MixedAxisPreservation.localDomain h qbig)) |
| 166 | (direct : ℕ → DirectAngularDiagonal.AngularData (LocalAngularDiagonal.localSlowDomain h qbig)) |
| 167 | (pInitial : PressureField) (pStages : ℕ → PressureField) |
| 168 | (E : MixedCandidateAssembly.StageEstimates h qbig |
| 169 | (MixedCandidateAssembly.potentialStages certificate modulation upper B initial stages) |
| 170 | (LocalAngularDiagonal.rawSeries direct) |
| 171 | (MixedCandidateAssembly.pressureStages certificate modulation upper B pInitial pStages)) |
| 172 | (hInitial : EqOn initial.field |
| 173 | (fun w => WA.vector w + (ActualMeanPhysicalData.initialStreamFamily B N0 N).angularField w) |
| 174 | (CutStageEstimates.physicalSublevel h qbig)) |
| 175 | (hDirect : EqOn (LocalAngularDiagonal.rawSeries direct 0) (initialDirectModel B N0 N) |
| 176 | (CutStageEstimates.physicalSublevel h qbig)) |
| 177 | (hPressure : EqOn pInitial |
| 178 | (fun w => WP.pressure w + (ActualMeanPhysicalData.initialPressureFamily B N0 N).field w) |
| 179 | (CutStageEstimates.physicalSublevel h qbig)) : |
| 180 | EndpointInputs h qbig |
| 181 | (MixedCandidateAssembly.potentialStages certificate modulation upper B initial stages) |
| 182 | (LocalAngularDiagonal.rawSeries direct) |
| 183 | (MixedCandidateAssembly.pressureStages certificate modulation upper B pInitial pStages) := by |
| 184 | refine endpointInputs_of_representations B N0 N hN hq WA WP E ?_ hDirect ?_ |
| 185 | · intro w hw |
| 186 | change TailGaugePotential.finalPotential certificate modulation upper B w + initial.field w = _ |
| 187 | rw [initialPotentialModel_eq] |
| 188 | exact congrArg (fun z => TailGaugePotential.finalPotential certificate modulation upper B w + z) (hInitial hw) |
| 189 | · intro w hw |
| 190 | rw [MixedCandidateAssembly.pressureStages_zero, initialPressureModel_eq] |
| 191 | exact congrArg (fun z => FinalSlowBase.pressure certificate modulation upper B w + z) (hPressure hw) |
| 192 | |
| 193 | /-- The chosen direct angular constructor supplies its stage-zero |
| 194 | representation by its proved global field identity. -/ |
| 195 | theorem direct_initial_representation (B N0 N : ℕ) {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) |
| 196 | (direct : ℕ → DirectAngularDiagonal.AngularData (LocalAngularDiagonal.localSlowDomain h qbig)) |
| 197 | (hDirect : direct 0 = ActualMeanStageData.initialAngularData B N0 N qbig hq) : |
| 198 | LocalAngularDiagonal.rawSeries direct 0 = initialDirectModel B N0 N := by |
| 199 | rw [LocalAngularDiagonal.rawSeries_eq, hDirect, ActualMeanStageData.initialAngularData_field] |
| 200 | rfl |
| 201 | |
| 202 | end RawFamilies |
| 203 | |
| 204 | section ActualRun |
| 205 | |
| 206 | variable {B N0 N : ℕ} |
| 207 | {DP DS DA0 DP0 : Type} |
| 208 | [NormedAddCommGroup DP] [NormedSpace ℝ DP] |
| 209 | [NormedAddCommGroup DS] [NormedSpace ℝ DS] |
| 210 | [NormedAddCommGroup DA0] [NormedSpace ℝ DA0] |
| 211 | [NormedAddCommGroup DP0] [NormedSpace ℝ DP0] |
| 212 | {IP KP IS KS IA0 KA0 IP0 KP0 : Type*} |
| 213 | |
| 214 | /-- Direct application to the fixed actual run. Native wave and mean data |
| 215 | and their exact physical representations already imply the endpoint |
| 216 | inputs; no finite-residual estimate or completed `StageEstimates` record |
| 217 | is required for this conclusion. -/ |
| 218 | theorem endpointInputs_of_run |
| 219 | (R : ActualStageEstimates.RunData B N0) |
| 220 | (M : ActualMeanPhysicalData.InitialCycleInput B N0 N |
| 221 | (fun _ => ActualCycleParameters.fixedParameters B N0)) |
| 222 | (hN : 4 ≤ N) |
| 223 | (W : ActualStageEstimates.WaveInputs DP IP KP DS IS KS) |
| 224 | (WA : PhysicalStageBounds.WaveData h DA0 IA0 KA0 (Fin 3)) |
| 225 | (WP : PhysicalStageBounds.WaveData h DP0 IP0 KP0 Unit) |
| 226 | {qbig : ℝ} {A V : ℕ → VelocityField} {P : ℕ → PressureField} |
| 227 | (e : ActualStageEstimates.Representations R M hN W qbig WA WP A V P) |
| 228 | (hq : qbig ≤ ChartScales.Q N) : EndpointInputs h qbig A V P := by |
| 229 | let Cyc := ActualStageEstimates.cycleInputs R M hN W |
| 230 | obtain ⟨CA, CV, CP, _, ha, hv, hp⟩ := |
| 231 | ActualPhysicalStageBounds.CycleInputs.represented_raw_bounds Cyc |
| 232 | (ActualStageEstimates.cycleInputs_metadata R M hN W) |
| 233 | (ActualStageEstimates.cycleInputs_validScale R M hN W hq) |
| 234 | outgoing.data.h_pos outgoing.data.h_lt_half ActualCyclePreservation.kappa_small |
| 235 | A V P e.potential_succ e.direct_succ e.pressure_succ |
| 236 | have hsA := e.potential_smooth R M hN W WA WP hq |
| 237 | have hsV := e.direct_smooth R M hN W WA WP hq |
| 238 | have hsP := e.pressure_smooth R M hN W WA WP hq |
| 239 | have hq1 := hq.trans (ChartScales.Q_le_one N) |
| 240 | constructor |
| 241 | · intro x hx hqx j |
| 242 | cases j with |
| 243 | | zero => |
| 244 | exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half |
| 245 | e.potential_zero hx hqx (initialPotentialModel_extension B N0 N hN WA hq hx hqx) |
| 246 | | succ j => |
| 247 | exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 |
| 248 | ha (Nat.succ_le_succ (Nat.zero_le j)) (hsA (j + 1)) hx hqx |
| 249 | · intro x hx hqx j |
| 250 | cases j with |
| 251 | | zero => |
| 252 | exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half |
| 253 | e.direct_zero hx hqx (initialDirectModel_extension B N0 N hN hq hx hqx) |
| 254 | | succ j => |
| 255 | exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 |
| 256 | hv (Nat.succ_le_succ (Nat.zero_le j)) (hsV (j + 1)) hx hqx |
| 257 | · intro x hx hqx j |
| 258 | cases j with |
| 259 | | zero => |
| 260 | exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half |
| 261 | e.pressure_zero hx hqx (initialPressureModel_extension B N0 N hN WP hq hx hqx) |
| 262 | | succ j => |
| 263 | exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 |
| 264 | hp (Nat.succ_le_succ (Nat.zero_le j)) (hsP (j + 1)) hx hqx |
| 265 | |
| 266 | end ActualRun |
| 267 | |
| 268 | end NavierStokes.ActualEndpointInputs |