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.MixedDiagonalResidual |
| 2 | import NavierStokes.MixedDiagonalExtensions |
| 3 | import NavierStokes.LocalAngularDiagonal |
| 4 | |
| 5 | /-! |
| 6 | # Candidate assembly from the actual finite-stage obligations |
| 7 | |
| 8 | The inputs here concern raw increments, their finite uncut prefixes, and |
| 9 | their local endpoint models. The scale sequence, infinite residual limits, |
| 10 | away extensions, divergence and blow-up are then derived for the same sums. |
| 11 | |
| 12 | This is a conditional consumer. It does not construct the complete |
| 13 | correction iteration or supply the finite-stage estimates it requires. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace NavierStokes.MixedCandidateAssembly |
| 19 | |
| 20 | open Set Filter ProblemStatement |
| 21 | open JointResidualLimits (OneSidedExtension) |
| 22 | open DiagonalResidual (JetRate) |
| 23 | open scoped Topology ContDiff |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | /-- The quantitative obligations are all on the raw fields or finite |
| 28 | prefixes. In particular no infinite residual limit is a field here. -/ |
| 29 | structure StageEstimates (h qbig : ℝ) (A B : ℕ → VelocityField) |
| 30 | (P : ℕ → PressureField) where |
| 31 | potential_smooth : ∀ j, ContDiffOn ℝ ∞ (A j) (CutStageEstimates.physicalSublevel h qbig) |
| 32 | direct_smooth : ∀ j, ContDiffOn ℝ ∞ (B j) (CutStageEstimates.physicalSublevel h qbig) |
| 33 | pressure_smooth : ∀ j, ContDiffOn ℝ ∞ (P j) (CutStageEstimates.physicalSublevel h qbig) |
| 34 | gain : ℕ → ℝ |
| 35 | gain_zero : 0 ≤ gain 0 |
| 36 | gain_pos : ∀ j, 1 ≤ j → 0 < gain j |
| 37 | gain_mono : Monotone gain |
| 38 | gain_top : Tendsto gain atTop atTop |
| 39 | potentialLoss : ℕ → ℝ |
| 40 | directLoss : ℕ → ℝ |
| 41 | pressureLoss : ℕ → ℝ |
| 42 | potentialConstant : ℕ → ℕ → ℝ |
| 43 | directConstant : ℕ → ℕ → ℝ |
| 44 | pressureConstant : ℕ → ℕ → ℝ |
| 45 | potentialLog : ℕ → ℕ → ℝ |
| 46 | directLog : ℕ → ℕ → ℝ |
| 47 | pressureLog : ℕ → ℕ → ℝ |
| 48 | potential_bound : CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) |
| 49 | A gain potentialLoss potentialConstant potentialLog |
| 50 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) |
| 51 | direct_bound : CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) |
| 52 | B gain directLoss directConstant directLog |
| 53 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) |
| 54 | pressure_bound : CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) |
| 55 | P gain pressureLoss pressureConstant pressureLog |
| 56 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) |
| 57 | backgroundLoss : ℕ → ℝ |
| 58 | residualLoss : ℕ → ℝ |
| 59 | finite_background : ∀ J m, |
| 60 | JetRate (𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space))) (PhysicalWaveSum.physicalQ h) |
| 61 | (MixedDiagonalResidual.uncutVelocity A B J) m (-backgroundLoss m) |
| 62 | finite_residual : ∀ J m, |
| 63 | JetRate (𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space))) (PhysicalWaveSum.physicalQ h) |
| 64 | (fun z => navierStokesResidual (MixedDiagonalResidual.uncutVelocity A B J) |
| 65 | (DiagonalJetBounds.uncutPrefix P (J + 1)) z.1 z.2) m (gain J - residualLoss m) |
| 66 | |
| 67 | theorem StageEstimates.exists_schedule {h qbig : ℝ} |
| 68 | {A B : ℕ → VelocityField} {P : ℕ → PressureField} |
| 69 | (E : StageEstimates h qbig A B P) (hh : 0 < h) (hh1 : h < 1 / 2) |
| 70 | (hqbig : 0 < qbig) (lower : ℕ) : |
| 71 | ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ |
| 72 | (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ |
| 73 | Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ |
| 74 | (∀ j, 1 / (a j : ℝ) < qbig) ∧ |
| 75 | MixedDiagonalSchedule.ThreeSmoothSums a h A B P ∧ |
| 76 | JointResidualLimits.VanishingJointJets |
| 77 | (MixedDiagonalResidual.residual (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) A B P) := by |
| 78 | have hS : ∀ᶠ z in 𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space)), |
| 79 | z ∈ PhysicalWaveSum.preterminal := by |
| 80 | filter_upwards [self_mem_nhdsWithin] with z hz |
| 81 | exact hz.1 |
| 82 | obtain ⟨a, hal, hap, had, ham, hat, hrecip, _, hs, hz⟩ := |
| 83 | MixedDiagonalResidual.exists_physical_schedule_residual_zero hh hh1 hqbig |
| 84 | PhysicalWaveSum.preterminal_open (Subset.refl _) hS |
| 85 | E.potential_smooth E.direct_smooth E.pressure_smooth |
| 86 | E.gain E.potentialLoss E.directLoss E.pressureLoss E.backgroundLoss E.residualLoss |
| 87 | E.potentialConstant E.directConstant E.pressureConstant |
| 88 | E.potentialLog E.directLog E.pressureLog |
| 89 | E.potential_bound E.direct_bound E.pressure_bound |
| 90 | E.gain_zero E.gain_pos E.gain_mono E.gain_top E.finite_background E.finite_residual lower |
| 91 | exact ⟨a, hal, hap, had, ham, hat, hrecip, hs, hz⟩ |
| 92 | |
| 93 | section ActualBase |
| 94 | |
| 95 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 96 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 97 | (v : ModulatedProfileAssembly.Witness ld) |
| 98 | |
| 99 | /-- The actual anchored base and finite initialization share stage zero. -/ |
| 100 | noncomputable def potentialStages (upper : ℝ) (bandFloor : ℕ) {qbig : ℝ} |
| 101 | (initial : MixedAxisPreservation.PotentialStage.{u} F.data.h |
| 102 | (MixedAxisPreservation.localDomain F.data.h qbig)) |
| 103 | (stages : ℕ → MixedAxisPreservation.PotentialStage.{u} F.data.h |
| 104 | (MixedAxisPreservation.localDomain F.data.h qbig)) : ℕ → VelocityField := |
| 105 | MixedAxisPreservation.initializedSeries (TailGaugePotential.finalPotential H v upper bandFloor) |
| 106 | initial stages |
| 107 | |
| 108 | /-- Pressure is recorded as the actual base plus its initialization |
| 109 | change, followed by the pressure differences of full correction stages. -/ |
| 110 | noncomputable def pressureStages (upper : ℝ) (bandFloor : ℕ) |
| 111 | (initial : PressureField) (stages : ℕ → PressureField) : ℕ → PressureField := |
| 112 | fun j w => if j = 0 then FinalSlowBase.pressure H v upper bandFloor w + initial w |
| 113 | else stages (j - 1) w |
| 114 | |
| 115 | theorem pressureStages_zero (upper : ℝ) (bandFloor : ℕ) |
| 116 | (initial : PressureField) (stages : ℕ → PressureField) (w : SpaceTime) : |
| 117 | pressureStages H v upper bandFloor initial stages 0 w = |
| 118 | FinalSlowBase.pressure H v upper bandFloor w + initial w := by |
| 119 | simp [pressureStages] |
| 120 | |
| 121 | theorem pressureStages_succ (upper : ℝ) (bandFloor : ℕ) |
| 122 | (initial : PressureField) (stages : ℕ → PressureField) (j : ℕ) : |
| 123 | pressureStages H v upper bandFloor initial stages (j + 1) = stages j := by |
| 124 | funext w |
| 125 | simp only [pressureStages, Nat.add_eq_zero_iff, Nat.one_ne_zero, and_false, ite_false, |
| 126 | Nat.add_sub_cancel] |
| 127 | |
| 128 | /-- Supply the finite-stage construction once, for these exact raw |
| 129 | families. All infinite-sum and final-force conditions are proved below. -/ |
| 130 | theorem candidate_of_finite_stages (upper : ℝ) (bandFloor : ℕ) |
| 131 | {qbig C : ℝ} (hqbig : 0 < qbig) |
| 132 | (initial : MixedAxisPreservation.PotentialStage.{u} F.data.h |
| 133 | (MixedAxisPreservation.localDomain F.data.h qbig)) |
| 134 | (stages : ℕ → MixedAxisPreservation.PotentialStage.{u} F.data.h |
| 135 | (MixedAxisPreservation.localDomain F.data.h qbig)) |
| 136 | (D : ℕ → DirectAngularDiagonal.AngularData (LocalAngularDiagonal.localSlowDomain F.data.h qbig)) |
| 137 | (pInitial : PressureField) (pStages : ℕ → PressureField) |
| 138 | (E : StageEstimates F.data.h qbig |
| 139 | (potentialStages H v upper bandFloor initial stages) (LocalAngularDiagonal.rawSeries D) |
| 140 | (pressureStages H v upper bandFloor pInitial pStages)) |
| 141 | (hInitial : MixedDiagonalExtensions.SublevelShrinkingSupport F.data.h C qbig initial.field) |
| 142 | (hStages : ∀ j, MixedDiagonalExtensions.SublevelShrinkingSupport F.data.h C qbig (stages j).field) |
| 143 | (hDirect : ∀ j, MixedDiagonalExtensions.SublevelShrinkingSupport F.data.h C qbig |
| 144 | (LocalAngularDiagonal.rawSeries D j)) |
| 145 | (hpInitial : MixedDiagonalExtensions.SublevelShrinkingSupport F.data.h C qbig pInitial) |
| 146 | (hpStages : ∀ j, MixedDiagonalExtensions.SublevelShrinkingSupport F.data.h C qbig (pStages j)) |
| 147 | (eA : ∀ x : Space, x 2 ≠ 0 → |
| 148 | EndpointCoordinates.endpointRoot (2 * F.data.h) (x 2) < qbig → ∀ j, |
| 149 | Nonempty (OneSidedExtension (potentialStages H v upper bandFloor initial stages j) x)) |
| 150 | (eB : ∀ x : Space, x 2 ≠ 0 → |
| 151 | EndpointCoordinates.endpointRoot (2 * F.data.h) (x 2) < qbig → ∀ j, |
| 152 | Nonempty (OneSidedExtension (LocalAngularDiagonal.rawSeries D j) x)) |
| 153 | (eP : ∀ x : Space, x 2 ≠ 0 → |
| 154 | EndpointCoordinates.endpointRoot (2 * F.data.h) (x 2) < qbig → ∀ j, |
| 155 | Nonempty (OneSidedExtension (pressureStages H v upper bandFloor pInitial pStages j) x)) : |
| 156 | candidateStatement := by |
| 157 | let A := potentialStages H v upper bandFloor initial stages |
| 158 | let B := LocalAngularDiagonal.rawSeries D |
| 159 | let P := pressureStages H v upper bandFloor pInitial pStages |
| 160 | obtain ⟨a, _, hap, _, ham, hat, hgap, hs, hz⟩ := |
| 161 | E.exists_schedule F.data.h_pos F.data.h_lt_half hqbig 1 |
| 162 | let ar : ℕ → ℝ := fun j => (a j : ℝ) |
| 163 | have ha0 : 0 < ar 0 := by |
| 164 | dsimp [ar] |
| 165 | exact_mod_cast hap 0 |
| 166 | have hamin (j : ℕ) : ar 0 ≤ ar j := by |
| 167 | dsimp [ar] |
| 168 | exact_mod_cast ham.monotone (Nat.zero_le j) |
| 169 | have hA0 : ∀ x : Space, x ≠ 0 → x 2 = 0 → Nonempty (OneSidedExtension (A 0) x) := by |
| 170 | intro x hx hxz |
| 171 | exact MixedDiagonalExtensions.initial_add_extension F.data.h_pos F.data.h_lt_half hqbig |
| 172 | hInitial hx hxz (Classical.choice (TailGaugePotential.finalPotential_awayExtensions H v upper bandFloor x hx)) |
| 173 | have hP0 : ∀ x : Space, x ≠ 0 → x 2 = 0 → Nonempty (OneSidedExtension (P 0) x) := by |
| 174 | intro x hx hxz |
| 175 | have h := MixedDiagonalExtensions.initial_add_extension F.data.h_pos F.data.h_lt_half hqbig |
| 176 | hpInitial hx hxz (Classical.choice ((SlowBaseEndpoint.final_fields_awayExtensions H v upper bandFloor).2 x hx)) |
| 177 | simp only [P] |
| 178 | exact h |
| 179 | have hB0 : ∀ x : Space, x ≠ 0 → x 2 = 0 → Nonempty (OneSidedExtension (B 0) x) := by |
| 180 | intro x hx hxz |
| 181 | exact MixedDiagonalExtensions.extension_of_eventually_zero |
| 182 | ((hDirect 0).eventually_zero F.data.h_pos F.data.h_lt_half hqbig hx hxz) |
| 183 | have hAsupport (j : ℕ) (hj : j ≠ 0) : |
| 184 | MixedDiagonalExtensions.SublevelShrinkingSupport F.data.h C qbig (A j) := by |
| 185 | cases j with |
| 186 | | zero => exact (hj rfl).elim |
| 187 | | succ j => exact hStages j |
| 188 | have hPsupport (j : ℕ) (hj : j ≠ 0) : |
| 189 | MixedDiagonalExtensions.SublevelShrinkingSupport F.data.h C qbig (P j) := by |
| 190 | cases j with |
| 191 | | zero => exact (hj rfl).elim |
| 192 | | succ j => simpa only [P, pressureStages_succ] using hpStages j |
| 193 | have ea := MixedDiagonalExtensions.diagonal_awayExtensions_local |
| 194 | F.data.h_pos F.data.h_lt_half hqbig hat ha0 hamin (hgap 0) hAsupport hA0 eA |
| 195 | have eb := MixedDiagonalExtensions.diagonal_awayExtensions_local |
| 196 | F.data.h_pos F.data.h_lt_half hqbig hat ha0 hamin (hgap 0) (fun j _ => hDirect j) hB0 eB |
| 197 | have ep := MixedDiagonalExtensions.diagonal_awayExtensions_local |
| 198 | F.data.h_pos F.data.h_lt_half hqbig hat ha0 hamin (hgap 0) hPsupport hP0 eP |
| 199 | have hcut := LocalAngularDiagonal.spatialCut_angularSum_divergence |
| 200 | F.data.h_pos F.data.h_lt_half D hat ha0 hamin (hgap 0) |
| 201 | have haxis := MixedAxisPreservation.local_initialized_final_origin_blowup |
| 202 | H v upper bandFloor hqbig initial stages (LocalAngularDiagonal.angularSupport D) hat |
| 203 | obtain ⟨forcing, hc, _, _⟩ := MixedPeriodicAssembly.exists_candidate_force |
| 204 | (A := SolenoidalDiagonal.potentialSum ar (PhysicalWaveSum.physicalQ F.data.h) A) |
| 205 | (v := SolenoidalDiagonal.potentialSum ar (PhysicalWaveSum.physicalQ F.data.h) B) |
| 206 | (p := SolenoidalDiagonal.potentialSum ar (PhysicalWaveSum.physicalQ F.data.h) P) |
| 207 | (hs.potential.mono (fun _ hx => hx.1)) (hs.direct.mono (fun _ hx => hx.1)) |
| 208 | (hs.pressure.mono (fun _ hx => hx.1)) hcut hz ea eb ep haxis |
| 209 | exact ⟨_, _, forcing, hc⟩ |
| 210 | |
| 211 | end ActualBase |
| 212 | |
| 213 | end NavierStokes.MixedCandidateAssembly |