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.MixedAxisPreservation |
| 2 | import NavierStokes.CutStageEstimates |
| 3 | |
| 4 | /-! |
| 5 | # Direct angular diagonal from local raw data |
| 6 | |
| 7 | The raw angular means need be smooth only where the actual physical |
| 8 | similarity parameter is below `qbig`. All cutoffs use the same sequence. |
| 9 | Its first support lies strictly inside that raw domain. Above the raw |
| 10 | domain every cutoff vanishes on one common neighborhood, so the original |
| 11 | sum itself is smooth and divergence-free on the whole preterminal region. |
| 12 | No global smooth replacement of the raw scalar is chosen. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace NavierStokes.LocalAngularDiagonal |
| 18 | |
| 19 | open Set Function Filter ProblemStatement |
| 20 | open scoped Topology ContDiff BigOperators |
| 21 | |
| 22 | /-- The actual similarity parameter depends only on physical time and the |
| 23 | axial coordinate, and not on radius or angle. -/ |
| 24 | noncomputable def slowQ (h : ℝ) (s : DirectAngularDiagonal.Slow) : ℝ := |
| 25 | SimilarityCoordinates.coordinateQ (2 * h) (1 - s.1, s.2) |
| 26 | |
| 27 | noncomputable def localSlowDomain (h qbig : ℝ) : Set DirectAngularDiagonal.Slow := |
| 28 | {s | s.1 < 1 ∧ slowQ h s < qbig} |
| 29 | |
| 30 | theorem slowQ_physical (h : ℝ) (w : SpaceTime) : |
| 31 | slowQ h (DirectAngularDiagonal.slowPoint w) = PhysicalWaveSum.physicalQ h w := rfl |
| 32 | |
| 33 | theorem slowQ_smoothAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 34 | {s : DirectAngularDiagonal.Slow} (hs : s.1 < 1) : ContDiffAt ℝ ∞ (slowQ h) s := by |
| 35 | exact (SimilarityCoordinates.coordinateQ_smooth (by linarith : 0 < 2 * h) |
| 36 | (by linarith : 2 * h < 1) (p := (1 - s.1, s.2)) (sub_pos.mpr hs)).comp s |
| 37 | ((contDiffAt_const.sub contDiffAt_fst).prodMk contDiffAt_snd) |
| 38 | |
| 39 | theorem localSlowDomain_open {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (qbig : ℝ) : |
| 40 | IsOpen (localSlowDomain h qbig) := by |
| 41 | apply isOpen_iff_mem_nhds.mpr |
| 42 | intro s hs |
| 43 | exact Filter.inter_mem (DirectAngularDiagonal.preterminalSlow_open.mem_nhds hs.1) |
| 44 | ((slowQ_smoothAt hh hh1 hs.1).continuousAt (gt_mem_nhds hs.2)) |
| 45 | |
| 46 | theorem physicalDomain_eq_localDomain (h qbig : ℝ) : |
| 47 | DirectAngularDiagonal.physicalDomain (localSlowDomain h qbig) = |
| 48 | MixedAxisPreservation.localDomain h qbig := rfl |
| 49 | |
| 50 | theorem physicalDomain_eq_physicalSublevel (h qbig : ℝ) : |
| 51 | DirectAngularDiagonal.physicalDomain (localSlowDomain h qbig) = |
| 52 | CutStageEstimates.physicalSublevel h qbig := rfl |
| 53 | |
| 54 | theorem localSlowDomain_subset (h qbig : ℝ) : |
| 55 | localSlowDomain h qbig ⊆ DirectAngularDiagonal.preterminalSlow := fun _ hs => hs.1 |
| 56 | |
| 57 | variable {h qbig : ℝ} |
| 58 | |
| 59 | /-- The literal uncut direct angular fields used in the diagonal. -/ |
| 60 | noncomputable def rawSeries |
| 61 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) : ℕ → VelocityField := |
| 62 | fun j => DirectAngularDiagonal.angularField (D j).scalar |
| 63 | |
| 64 | theorem rawSeries_eq |
| 65 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) (j : ℕ) : |
| 66 | rawSeries D j = DirectAngularDiagonal.angularField (D j).scalar := rfl |
| 67 | |
| 68 | theorem rawSeries_smooth (hh : 0 < h) (hh1 : h < 1 / 2) |
| 69 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) (j : ℕ) : |
| 70 | ContDiffOn ℝ ∞ (rawSeries D j) (CutStageEstimates.physicalSublevel h qbig) := |
| 71 | (D j).field_smooth (localSlowDomain_open hh hh1 qbig) |
| 72 | |
| 73 | /-- Axis preservation uses exactly the same local scalars and support, |
| 74 | without imposing global raw smoothness. -/ |
| 75 | noncomputable def angularSupport |
| 76 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) : |
| 77 | ℕ → MixedAxisPreservation.AngularSupport (MixedAxisPreservation.localDomain h qbig) := |
| 78 | fun j => MixedAxisPreservation.AngularSupport.ofAngularData (D j) (fun _ hw => hw) |
| 79 | |
| 80 | theorem angularSupport_field |
| 81 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) (j : ℕ) : |
| 82 | (angularSupport D j).field = rawSeries D j := rfl |
| 83 | |
| 84 | theorem angularSum_eq_potentialSum |
| 85 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) (a : ℕ → ℝ) : |
| 86 | DirectAngularDiagonal.angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar) = |
| 87 | SolenoidalDiagonal.potentialSum a (PhysicalWaveSum.physicalQ h) (rawSeries D) := rfl |
| 88 | |
| 89 | theorem angularSum_eq_directDiagonal |
| 90 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) (a : ℕ → ℝ) : |
| 91 | DirectAngularDiagonal.angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar) = |
| 92 | MixedAxisPreservation.directDiagonal h (angularSupport D) a := rfl |
| 93 | |
| 94 | /-! ## One common zero neighborhood above the cutoff support -/ |
| 95 | |
| 96 | theorem cutStages_zero_germ {a : ℕ → ℝ} (ha0 : 0 < a 0) (ham : ∀ j, a 0 ≤ a j) |
| 97 | {q : SpaceTime → ℝ} {w : SpaceTime} (hq : ContinuousAt q w) |
| 98 | (hlarge : 1 / a 0 < q w) (F : ℕ → VelocityField) : |
| 99 | ∀ᶠ y in 𝓝 w, ∀ j, SolenoidalDiagonal.cutStage a q F j y = 0 := by |
| 100 | filter_upwards [hq (lt_mem_nhds hlarge)] with y hy |
| 101 | intro j |
| 102 | have haj := ha0.trans_le (ham j) |
| 103 | have hz := SmoothCutoffs.scaledCutoff_zero_of_inv_le haj |
| 104 | ((one_div_le_one_div_of_le ha0 (ham j)).trans hy.le) |
| 105 | simp only [SolenoidalDiagonal.cutStage, hz, zero_smul] |
| 106 | |
| 107 | theorem sum_zero_germ {a : ℕ → ℝ} (ha0 : 0 < a 0) (ham : ∀ j, a 0 ≤ a j) |
| 108 | {q : SpaceTime → ℝ} {w : SpaceTime} (hq : ContinuousAt q w) |
| 109 | (hlarge : 1 / a 0 < q w) (F : ℕ → VelocityField) : |
| 110 | SolenoidalDiagonal.potentialSum a q F =ᶠ[𝓝 w] fun _ => 0 := by |
| 111 | filter_upwards [cutStages_zero_germ ha0 ham hq hlarge F] with y hy |
| 112 | simp only [SolenoidalDiagonal.potentialSum, hy, tsum_zero] |
| 113 | |
| 114 | theorem angularSum_zero_germ (hh : 0 < h) (hh1 : h < 1 / 2) |
| 115 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) |
| 116 | {a : ℕ → ℝ} (ha0 : 0 < a 0) (ham : ∀ j, a 0 ≤ a j) (hgap : 1 / a 0 < qbig) |
| 117 | {w : SpaceTime} (ht : w.1 < 1) (hq : qbig ≤ PhysicalWaveSum.physicalQ h w) : |
| 118 | DirectAngularDiagonal.angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar) |
| 119 | =ᶠ[𝓝 w] fun _ => 0 := |
| 120 | sum_zero_germ ha0 ham (PhysicalWaveSum.physicalQ_smoothAt hh hh1 ht).continuousAt |
| 121 | (hgap.trans_le hq) (rawSeries D) |
| 122 | |
| 123 | theorem spatialCut_zero_germ {f : VelocityField} {w : SpaceTime} |
| 124 | (hf : f =ᶠ[𝓝 w] fun _ => 0) : |
| 125 | SpatialLocalization.cutPotential f =ᶠ[𝓝 w] fun _ => 0 := by |
| 126 | filter_upwards [hf] with y hy |
| 127 | simp only [SpatialLocalization.cutPotential, hy, smul_zero] |
| 128 | |
| 129 | /-! ## Smoothness on the whole preterminal region -/ |
| 130 | |
| 131 | theorem angularSum_smoothAt (hh : 0 < h) (hh1 : h < 1 / 2) |
| 132 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) |
| 133 | {a : ℕ → ℝ} (hat : Tendsto a atTop atTop) (ha0 : 0 < a 0) |
| 134 | (ham : ∀ j, a 0 ≤ a j) (hgap : 1 / a 0 < qbig) |
| 135 | {w : SpaceTime} (ht : w.1 < 1) : |
| 136 | ContDiffAt ℝ ∞ |
| 137 | (DirectAngularDiagonal.angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar)) w := by |
| 138 | by_cases hq : PhysicalWaveSum.physicalQ h w < qbig |
| 139 | · exact (DirectAngularDiagonal.angularSum_smooth (localSlowDomain_open hh hh1 qbig) D hat |
| 140 | (fun _ hx => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hx.1).contDiffWithinAt) |
| 141 | (fun _ hx => PhysicalWaveSum.physicalQ_pos hh hh1 hx.1)).contDiffAt |
| 142 | ((MixedAxisPreservation.localDomain_open hh hh1 qbig).mem_nhds ⟨ht, hq⟩) |
| 143 | · exact contDiffAt_const.congr_of_eventuallyEq |
| 144 | (angularSum_zero_germ hh hh1 D ha0 ham hgap ht (le_of_not_gt hq)) |
| 145 | |
| 146 | theorem angularSum_smooth (hh : 0 < h) (hh1 : h < 1 / 2) |
| 147 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) |
| 148 | {a : ℕ → ℝ} (hat : Tendsto a atTop atTop) (ha0 : 0 < a 0) |
| 149 | (ham : ∀ j, a 0 ≤ a j) (hgap : 1 / a 0 < qbig) : |
| 150 | ContDiffOn ℝ ∞ |
| 151 | (DirectAngularDiagonal.angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar)) |
| 152 | PhysicalWaveSum.preterminal := |
| 153 | fun _ ht => (angularSum_smoothAt hh hh1 D hat ha0 ham hgap ht).contDiffWithinAt |
| 154 | |
| 155 | theorem qCoefficient_smooth (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 156 | ContDiffOn ℝ ∞ (DirectAngularDiagonal.qCoefficient h) |
| 157 | (DirectAngularDiagonal.positiveDomain (localSlowDomain h qbig)) := |
| 158 | (DirectAngularDiagonal.qCoefficient_smooth hh hh1).mono (fun _ hp => ⟨hp.1.1, hp.2⟩) |
| 159 | |
| 160 | theorem physicalQ_smooth (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 161 | ContDiffOn ℝ ∞ (fun w => DirectAngularDiagonal.qCoefficient h (DirectAngularDiagonal.cylPoint w)) |
| 162 | (DirectAngularDiagonal.physicalDomain (localSlowDomain h qbig)) := |
| 163 | fun _ hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw.1).contDiffWithinAt |
| 164 | |
| 165 | theorem angularSum_divergence (hh : 0 < h) (hh1 : h < 1 / 2) |
| 166 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) |
| 167 | {a : ℕ → ℝ} (hat : Tendsto a atTop atTop) (ha0 : 0 < a 0) |
| 168 | (ham : ∀ j, a 0 ≤ a j) (hgap : 1 / a 0 < qbig) |
| 169 | {w : SpaceTime} (ht : w.1 < 1) : |
| 170 | spatialDivergence |
| 171 | (DirectAngularDiagonal.angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar)) |
| 172 | w.1 w.2 = 0 := by |
| 173 | by_cases hq : PhysicalWaveSum.physicalQ h w < qbig |
| 174 | · exact DirectAngularDiagonal.angularSum_divergence (localSlowDomain_open hh hh1 qbig) D hat |
| 175 | (DirectAngularDiagonal.qCoefficient h) (qCoefficient_smooth hh hh1) (physicalQ_smooth hh hh1) |
| 176 | (fun _ hx => PhysicalWaveSum.physicalQ_pos hh hh1 hx.1) (x := w) ⟨ht, hq⟩ |
| 177 | · rw [DirectAngularDiagonal.divergence_congr |
| 178 | (angularSum_zero_germ hh hh1 D ha0 ham hgap ht (le_of_not_gt hq))] |
| 179 | simp [spatialDivergence, spatialDerivative] |
| 180 | |
| 181 | /-- Multiplication by the existing axisymmetric spatial cutoff preserves |
| 182 | divergence of the same local-data diagonal on every preterminal point. -/ |
| 183 | theorem spatialCut_angularSum_divergence (hh : 0 < h) (hh1 : h < 1 / 2) |
| 184 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) |
| 185 | {a : ℕ → ℝ} (hat : Tendsto a atTop atTop) (ha0 : 0 < a 0) |
| 186 | (ham : ∀ j, a 0 ≤ a j) (hgap : 1 / a 0 < qbig) |
| 187 | (t : ℝ) (ht : t < 1) (x : Space) : |
| 188 | spatialDivergence (SpatialLocalization.cutPotential |
| 189 | (DirectAngularDiagonal.angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar))) t x = 0 := by |
| 190 | by_cases hq : PhysicalWaveSum.physicalQ h (t, x) < qbig |
| 191 | · exact DirectAngularDiagonal.spatialCut_angularSum_divergence |
| 192 | (localSlowDomain_open hh hh1 qbig) D hat (DirectAngularDiagonal.qCoefficient h) |
| 193 | (qCoefficient_smooth hh hh1) (physicalQ_smooth hh hh1) |
| 194 | (fun _ hx => PhysicalWaveSum.physicalQ_pos hh hh1 hx.1) (x := (t, x)) ⟨ht, hq⟩ |
| 195 | · rw [DirectAngularDiagonal.divergence_congr (spatialCut_zero_germ |
| 196 | (angularSum_zero_germ hh hh1 D ha0 ham hgap (w := (t, x)) ht (le_of_not_gt hq)))] |
| 197 | simp [spatialDivergence, spatialDerivative] |
| 198 | |
| 199 | end NavierStokes.LocalAngularDiagonal |