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.MixedPeriodicAssembly |
| 2 | import NavierStokes.DiagonalResidual |
| 3 | import NavierStokes.AnnularEndpoint |
| 4 | import NavierStokes.MixedDiagonalSchedule |
| 5 | |
| 6 | /-! |
| 7 | # Residual estimates for the mixed diagonal sum |
| 8 | |
| 9 | The direct angular increments are summed as velocity fields, while the |
| 10 | potential increments are differentiated after cutoff. Both use the same |
| 11 | scale sequence. The actual mixed tail is estimated from these two different |
| 12 | operations; it is not identified with the curl of an unspecified potential. |
| 13 | |
| 14 | The finite uncut background and residual estimates are explicit inputs from |
| 15 | the correction construction. The infinite-tail estimates and the resulting |
| 16 | residual decay are proved here. |
| 17 | -/ |
| 18 | |
| 19 | noncomputable section |
| 20 | |
| 21 | namespace NavierStokes.MixedDiagonalResidual |
| 22 | |
| 23 | open ProblemStatement Set Filter DiagonalResidual ResidualStability |
| 24 | open scoped Topology ContDiff BigOperators |
| 25 | |
| 26 | def velocity (a : ℕ → ℝ) (q : SpaceTime → ℝ) (A B : ℕ → VelocityField) : |
| 27 | VelocityField := |
| 28 | fun z => SolenoidalDiagonal.velocitySum a q A z + |
| 29 | SolenoidalDiagonal.potentialSum a q B z |
| 30 | |
| 31 | /-- Stage zero remains in every nonempty uncut prefix. -/ |
| 32 | def uncutVelocity (A B : ℕ → VelocityField) (J : ℕ) : VelocityField := |
| 33 | fun z => SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix A (J + 1)) z + |
| 34 | DiagonalJetBounds.uncutPrefix B (J + 1) z |
| 35 | |
| 36 | def pressure (a : ℕ → ℝ) (q : SpaceTime → ℝ) (P : ℕ → PressureField) : |
| 37 | PressureField := SolenoidalDiagonal.potentialSum a q P |
| 38 | |
| 39 | def residual (a : ℕ → ℝ) (q : SpaceTime → ℝ) |
| 40 | (A B : ℕ → VelocityField) (P : ℕ → PressureField) : VelocityField := |
| 41 | fun z => navierStokesResidual (velocity a q A B) (pressure a q P) z.1 z.2 |
| 42 | |
| 43 | /-- The residual is exactly the nonlinear residual used by the mixed |
| 44 | localization and force construction, including both cross interactions. -/ |
| 45 | theorem residual_eq_originalResidual (a : ℕ → ℝ) (q : SpaceTime → ℝ) |
| 46 | (A B : ℕ → VelocityField) (P : ℕ → PressureField) : |
| 47 | residual a q A B P = MixedPeriodicAssembly.originalResidual |
| 48 | (SolenoidalDiagonal.potentialSum a q A) |
| 49 | (SolenoidalDiagonal.potentialSum a q B) |
| 50 | (SolenoidalDiagonal.potentialSum a q P) := rfl |
| 51 | |
| 52 | theorem velocity_smooth {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) |
| 53 | {q : SpaceTime → ℝ} {A B : ℕ → VelocityField} {U : Set SpaceTime} |
| 54 | (hU : IsOpen U) (hqpos : ∀ z ∈ U, 0 < q z) (hq : ContDiffOn ℝ ∞ q U) |
| 55 | (hA : ∀ j, ContDiffOn ℝ ∞ (A j) U) (hB : ∀ j, ContDiffOn ℝ ∞ (B j) U) : |
| 56 | ContDiffOn ℝ ∞ (velocity a q A B) U := |
| 57 | (SolenoidalDiagonal.velocitySum_contDiffOn ha hU hqpos hq hA).add |
| 58 | (SolenoidalDiagonal.potentialSum_contDiffOn ha hU hqpos hq hB) |
| 59 | |
| 60 | /-- Smoothness of the full cut sums suffices. The raw stages need not |
| 61 | be smooth outside the positive-scale domain where they are constructed. -/ |
| 62 | theorem velocity_smooth_of_sums {a : ℕ → ℕ} {h : ℝ} |
| 63 | {A B : ℕ → VelocityField} {P : ℕ → PressureField} |
| 64 | (hs : MixedDiagonalSchedule.ThreeSmoothSums a h A B P) : |
| 65 | ContDiffOn ℝ ∞ (velocity (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) A B) |
| 66 | PhysicalWaveSum.preterminal := by |
| 67 | intro z hz |
| 68 | have hmem := PhysicalWaveSum.preterminal_open.mem_nhds hz |
| 69 | exact ((SpatialCurl.contDiffAt_spatialCurl (hs.potential.contDiffAt hmem) |
| 70 | (by simp)).add (hs.direct.contDiffAt hmem)).contDiffWithinAt |
| 71 | |
| 72 | theorem uncutVelocity_smooth {A B : ℕ → VelocityField} {U : Set SpaceTime} |
| 73 | (hU : IsOpen U) (hA : ∀ j, ContDiffOn ℝ ∞ (A j) U) |
| 74 | (hB : ∀ j, ContDiffOn ℝ ∞ (B j) U) (J : ℕ) : |
| 75 | ContDiffOn ℝ ∞ (uncutVelocity A B J) U := by |
| 76 | have hpA : ContDiffOn ℝ ∞ (DiagonalJetBounds.uncutPrefix A (J + 1)) U := |
| 77 | ContDiffOn.sum (fun j _ => hA j) |
| 78 | have hcurl : ContDiffOn ℝ ∞ |
| 79 | (SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix A (J + 1))) U := by |
| 80 | intro z hz |
| 81 | exact (SpatialCurl.contDiffAt_spatialCurl |
| 82 | (hpA.contDiffAt (hU.mem_nhds hz)) (by simp)).contDiffWithinAt |
| 83 | exact hcurl.add (ContDiffOn.sum (fun j _ => hB j)) |
| 84 | |
| 85 | /-- One derivative is paid for the potential component only. The loss |
| 86 | depends on the derivative order, never on the stage number. -/ |
| 87 | noncomputable def velocityLoss (LA LB : ℕ → ℝ) (m : ℕ) : ℝ := max (LA (m + 1)) (LB m) |
| 88 | |
| 89 | theorem velocity_tail_jetRate {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) |
| 90 | {q : SpaceTime → ℝ} {A B : ℕ → VelocityField} {g LA LB : ℕ → ℝ} |
| 91 | {U : Set SpaceTime} {l : Filter SpaceTime} |
| 92 | (hU : IsOpen U) (hqpos : ∀ z ∈ U, 0 < q z) (hq : ContDiffOn ℝ ∞ q U) |
| 93 | (hA : ∀ j, ContDiffOn ℝ ∞ (A j) U) (hB : ∀ j, ContDiffOn ℝ ∞ (B j) U) |
| 94 | (hg : Monotone g) |
| 95 | (hbA : DiagonalJetBounds.CutStageBounds a q A g LA U) |
| 96 | (hbB : DiagonalJetBounds.CutStageBounds a q B g LB U) |
| 97 | (hlU : ∀ᶠ z in l, z ∈ U) (hlq : ∀ᶠ z in l, 0 < q z ∧ q z ≤ 1) |
| 98 | (hqzero : Tendsto q l (𝓝 0)) (J m : ℕ) (hm : m + 1 ≤ J + 3) : |
| 99 | JetRate l q (fun z => velocity a q A B z - uncutVelocity A B J z) |
| 100 | m (g (J + 1) - velocityLoss LA LB m) := by |
| 101 | have hAt := (jetRate_diagonal_velocity_tail ha hU hqpos hq hA hg hbA |
| 102 | hlU hlq hqzero J m hm).weaken hlq |
| 103 | (sub_le_sub_left (le_max_left (LA (m + 1)) (LB m)) _) |
| 104 | have hBt := (jetRate_diagonal_tail ha hU hq hB hg hbB |
| 105 | hlU hlq hqzero J m (by omega)).weaken hlq |
| 106 | (sub_le_sub_left (le_max_right (LA (m + 1)) (LB m)) _) |
| 107 | have hpA : ContDiffOn ℝ ∞ (DiagonalJetBounds.uncutPrefix A (J + 1)) U := |
| 108 | ContDiffOn.sum (fun j _ => hA j) |
| 109 | have hcurl : ContDiffOn ℝ ∞ |
| 110 | (SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix A (J + 1))) U := by |
| 111 | intro z hz |
| 112 | exact (SpatialCurl.contDiffAt_spatialCurl |
| 113 | (hpA.contDiffAt (hU.mem_nhds hz)) (by simp)).contDiffWithinAt |
| 114 | have hsum := hAt.add hBt hU hlU |
| 115 | ((SolenoidalDiagonal.velocitySum_contDiffOn ha hU hqpos hq hA).sub hcurl) |
| 116 | ((SolenoidalDiagonal.potentialSum_contDiffOn ha hU hqpos hq hB).sub |
| 117 | (ContDiffOn.sum (fun j _ => hB j))) |
| 118 | apply hsum.congr_on hU hlU |
| 119 | intro z hz |
| 120 | dsimp [velocity, uncutVelocity] |
| 121 | abel |
| 122 | |
| 123 | /-- Every positive power follows by selecting an adequately advanced |
| 124 | finite uncut stage. No one fixed tail is assumed to have all powers. -/ |
| 125 | theorem residual_jetRate {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) |
| 126 | {q : SpaceTime → ℝ} {A B : ℕ → VelocityField} {P : ℕ → PressureField} |
| 127 | {g LA LB LP Lbg Lres : ℕ → ℝ} {U : Set SpaceTime} {l : Filter SpaceTime} |
| 128 | (hU : IsOpen U) (hqpos : ∀ z ∈ U, 0 < q z) (hq : ContDiffOn ℝ ∞ q U) |
| 129 | (hA : ∀ j, ContDiffOn ℝ ∞ (A j) U) (hB : ∀ j, ContDiffOn ℝ ∞ (B j) U) |
| 130 | (hP : ∀ j, ContDiffOn ℝ ∞ (P j) U) |
| 131 | (hgmono : Monotone g) (hgtop : Tendsto g atTop atTop) |
| 132 | (hbA : DiagonalJetBounds.CutStageBounds a q A g LA U) |
| 133 | (hbB : DiagonalJetBounds.CutStageBounds a q B g LB U) |
| 134 | (hbP : DiagonalJetBounds.CutStageBounds a q P g LP U) |
| 135 | (hlU : ∀ᶠ z in l, z ∈ U) (hqzero : Tendsto q l (𝓝 0)) |
| 136 | (hbg : ∀ J m, JetRate l q (uncutVelocity A B J) m (-Lbg m)) |
| 137 | (hres : ∀ J m, JetRate l q |
| 138 | (fun z => navierStokesResidual (uncutVelocity A B J) |
| 139 | (DiagonalJetBounds.uncutPrefix P (J + 1)) z.1 z.2) m (g J - Lres m)) |
| 140 | (m : ℕ) (r : ℝ) (hr : 0 ≤ r) : |
| 141 | JetRate l q (residual a q A B P) m r := by |
| 142 | have hlq : ∀ᶠ z in l, 0 < q z ∧ q z ≤ 1 := by |
| 143 | filter_upwards [hlU, hqzero.eventually (gt_mem_nhds (show (0 : ℝ) < 1 by norm_num))] |
| 144 | with z hz hq1 |
| 145 | exact ⟨hqpos z hz, hq1.le⟩ |
| 146 | have hprefixP (J : ℕ) : |
| 147 | ContDiffOn ℝ ∞ (DiagonalJetBounds.uncutPrefix P (J + 1)) U := |
| 148 | ContDiffOn.sum (fun j _ => hP j) |
| 149 | apply DiagonalResidual.residual_jetRate_of_stages |
| 150 | (uStage := uncutVelocity A B) |
| 151 | (pStage := fun J => DiagonalJetBounds.uncutPrefix P (J + 1)) |
| 152 | (g := g) (Ltail := fun m => max (velocityLoss LA LB m) (LP m)) |
| 153 | hU hlU hlq (velocity_smooth ha hU hqpos hq hA hB) |
| 154 | (SolenoidalDiagonal.potentialSum_contDiffOn ha hU hqpos hq hP) |
| 155 | (uncutVelocity_smooth hU hA hB) hprefixP hgtop hbg ?_ ?_ hres m r hr |
| 156 | · intro J m hm |
| 157 | apply (velocity_tail_jetRate ha hU hqpos hq hA hB hgmono hbA hbB |
| 158 | hlU hlq hqzero J m (by omega)).weaken hlq |
| 159 | exact sub_le_sub (hgmono (Nat.le_succ J)) (le_max_left (velocityLoss LA LB m) (LP m)) |
| 160 | · intro J m hm |
| 161 | apply (jetRate_diagonal_tail ha hU hq hP hgmono hbP hlU hlq hqzero J m |
| 162 | (by omega)).weaken hlq |
| 163 | exact sub_le_sub (hgmono (Nat.le_succ J)) (le_max_right (velocityLoss LA LB m) (LP m)) |
| 164 | |
| 165 | /-- The actual physical scale has its joint zero limit at the origin. |
| 166 | Thus the finite-stage construction inputs give the tensor limits needed |
| 167 | by `MixedPeriodicAssembly`, rather than postulating those limits. -/ |
| 168 | theorem physical_vanishingJointJets {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 169 | {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) |
| 170 | {A B : ℕ → VelocityField} {P : ℕ → PressureField} |
| 171 | {g LA LB LP Lbg Lres : ℕ → ℝ} {U : Set SpaceTime} |
| 172 | (hU : IsOpen U) (hUp : U ⊆ PhysicalWaveSum.preterminal) |
| 173 | (hlU : ∀ᶠ z in 𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space)), z ∈ U) |
| 174 | (hA : ∀ j, ContDiffOn ℝ ∞ (A j) U) (hB : ∀ j, ContDiffOn ℝ ∞ (B j) U) |
| 175 | (hP : ∀ j, ContDiffOn ℝ ∞ (P j) U) |
| 176 | (hgmono : Monotone g) (hgtop : Tendsto g atTop atTop) |
| 177 | (hbA : DiagonalJetBounds.CutStageBounds a (PhysicalWaveSum.physicalQ h) A g LA U) |
| 178 | (hbB : DiagonalJetBounds.CutStageBounds a (PhysicalWaveSum.physicalQ h) B g LB U) |
| 179 | (hbP : DiagonalJetBounds.CutStageBounds a (PhysicalWaveSum.physicalQ h) P g LP U) |
| 180 | (hbg : ∀ J m, JetRate (𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space))) |
| 181 | (PhysicalWaveSum.physicalQ h) (uncutVelocity A B J) m (-Lbg m)) |
| 182 | (hres : ∀ J m, JetRate (𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space))) |
| 183 | (PhysicalWaveSum.physicalQ h) |
| 184 | (fun z => navierStokesResidual (uncutVelocity A B J) |
| 185 | (DiagonalJetBounds.uncutPrefix P (J + 1)) z.1 z.2) m (g J - Lres m)) : |
| 186 | JointResidualLimits.VanishingJointJets (residual a (PhysicalWaveSum.physicalQ h) A B P) := by |
| 187 | have hqpos : ∀ z ∈ U, 0 < PhysicalWaveSum.physicalQ h z := |
| 188 | fun z hz => PhysicalWaveSum.physicalQ_pos hh hh1 (hUp hz) |
| 189 | have hq : ContDiffOn ℝ ∞ (PhysicalWaveSum.physicalQ h) U := |
| 190 | fun z hz => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 (hUp hz)).contDiffWithinAt |
| 191 | have hqzero := AnnularEndpoint.physicalQ_tendsto_zero hh hh1 (x := (0 : Space)) rfl |
| 192 | intro m |
| 193 | exact SimilarityApproach.jet_tendsto_zero |
| 194 | (residual_jetRate ha hU hqpos hq hA hB hP hgmono hgtop hbA hbB hbP |
| 195 | hlU hqzero hbg hres m 1 zero_le_one) hqzero |
| 196 | |
| 197 | /-- A single schedule is selected from the three genuine raw estimates. |
| 198 | The resulting mixed residual has joint zero jets. All raw fields are used |
| 199 | only on their stated positive-scale domain, and stage zero is retained. -/ |
| 200 | theorem exists_physical_schedule_residual_zero {h qbig : ℝ} |
| 201 | (hh : 0 < h) (hh1 : h < 1 / 2) (hqbig : 0 < qbig) |
| 202 | {S : Set SpaceTime} (hSopen : IsOpen S) (hS : S ⊆ PhysicalWaveSum.preterminal) |
| 203 | (hlS : ∀ᶠ z in 𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space)), z ∈ S) |
| 204 | {A B : ℕ → VelocityField} {P : ℕ → PressureField} |
| 205 | (hA : ∀ j, ContDiffOn ℝ ∞ (A j) (CutStageEstimates.physicalSublevel h qbig)) |
| 206 | (hB : ∀ j, ContDiffOn ℝ ∞ (B j) (CutStageEstimates.physicalSublevel h qbig)) |
| 207 | (hP : ∀ j, ContDiffOn ℝ ∞ (P j) (CutStageEstimates.physicalSublevel h qbig)) |
| 208 | (g LA LB LP Lbg Lres : ℕ → ℝ) (CA CB CP pA pB pP : ℕ → ℕ → ℝ) |
| 209 | (rawA : CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) A g LA CA pA |
| 210 | (S ∩ CutStageEstimates.physicalSublevel h qbig)) |
| 211 | (rawB : CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) B g LB CB pB |
| 212 | (S ∩ CutStageEstimates.physicalSublevel h qbig)) |
| 213 | (rawP : CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) P g LP CP pP |
| 214 | (S ∩ CutStageEstimates.physicalSublevel h qbig)) |
| 215 | (hg0 : 0 ≤ g 0) (hg : ∀ j, 1 ≤ j → 0 < g j) |
| 216 | (hgmono : Monotone g) (hgtop : Tendsto g atTop atTop) |
| 217 | (hbg : ∀ J m, JetRate (𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space))) |
| 218 | (PhysicalWaveSum.physicalQ h) (uncutVelocity A B J) m (-Lbg m)) |
| 219 | (hres : ∀ J m, JetRate (𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space))) |
| 220 | (PhysicalWaveSum.physicalQ h) |
| 221 | (fun z => navierStokesResidual (uncutVelocity A B J) |
| 222 | (DiagonalJetBounds.uncutPrefix P (J + 1)) z.1 z.2) m (g J - Lres m)) |
| 223 | (lower : ℕ) : |
| 224 | ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ |
| 225 | (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ |
| 226 | Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ |
| 227 | (∀ j, 1 / (a j : ℝ) < qbig) ∧ |
| 228 | MixedDiagonalSchedule.ThreeCutBounds a h A B P (fun j => g j / 2) |
| 229 | (MixedDiagonalSchedule.commonLoss LA LB LP) S ∧ |
| 230 | MixedDiagonalSchedule.ThreeSmoothSums a h A B P ∧ |
| 231 | JointResidualLimits.VanishingJointJets |
| 232 | (residual (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) A B P) := by |
| 233 | obtain ⟨a, hal, hap, had, ham, hat, hrecip, hb, hs⟩ := |
| 234 | MixedDiagonalSchedule.exists_three_component_local_schedule hh hh1 hqbig hS |
| 235 | hA hB hP g LA LB LP CA CB CP pA pB pP rawA rawB rawP hg lower |
| 236 | refine ⟨a, hal, hap, had, ham, hat, hrecip, hb, hs, ?_⟩ |
| 237 | let U := S ∩ CutStageEstimates.physicalSublevel h qbig |
| 238 | have hU : IsOpen U := hSopen.inter (CutStageEstimates.physicalSublevel_open hh hh1 qbig) |
| 239 | have hUp : U ⊆ PhysicalWaveSum.preterminal := fun _ hx => hS hx.1 |
| 240 | have hqzero := AnnularEndpoint.physicalQ_tendsto_zero hh hh1 (x := (0 : Space)) rfl |
| 241 | have hlU : ∀ᶠ z in 𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space)), z ∈ U := by |
| 242 | filter_upwards [hlS, hqzero.eventually (gt_mem_nhds hqbig)] with z hz hqz |
| 243 | exact ⟨hz, hS hz, hqz⟩ |
| 244 | have hlq : ∀ᶠ z in 𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space)), |
| 245 | 0 < PhysicalWaveSum.physicalQ h z ∧ PhysicalWaveSum.physicalQ h z ≤ 1 := by |
| 246 | filter_upwards [hlS, hqzero.eventually (gt_mem_nhds (show (0 : ℝ) < 1 by norm_num))] |
| 247 | with z hz hqz |
| 248 | exact ⟨PhysicalWaveSum.physicalQ_pos hh hh1 (hS hz), hqz.le⟩ |
| 249 | have hhalfmono : Monotone (fun j => g j / 2) := by |
| 250 | intro i j hij |
| 251 | exact div_le_div_of_nonneg_right (hgmono hij) (by norm_num) |
| 252 | have hhalftop : Tendsto (fun j => g j / 2) atTop atTop := by |
| 253 | apply tendsto_atTop.2 |
| 254 | intro r |
| 255 | filter_upwards [hgtop.eventually (eventually_ge_atTop (2 * r))] with j hj |
| 256 | linarith |
| 257 | have hnonneg (J : ℕ) : 0 ≤ g J := hg0.trans (hgmono (Nat.zero_le J)) |
| 258 | apply physical_vanishingJointJets (Lbg := Lbg) (Lres := Lres) hh hh1 hat hU hUp hlU |
| 259 | (fun j => (hA j).mono inter_subset_right) |
| 260 | (fun j => (hB j).mono inter_subset_right) |
| 261 | (fun j => (hP j).mono inter_subset_right) hhalfmono hhalftop |
| 262 | (fun j hj m hm z hz => hb.potential j hj m hm z hz.1) |
| 263 | (fun j hj m hm z hz => hb.direct j hj m hm z hz.1) |
| 264 | (fun j hj m hm z hz => hb.pressure j hj m hm z hz.1) hbg |
| 265 | intro J m |
| 266 | exact (hres J m).weaken hlq (by linarith [hnonneg J]) |
| 267 | |
| 268 | end NavierStokes.MixedDiagonalResidual |