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.OffplaneCorrectionExtensions |
| 2 | import NavierStokes.AnnularEndpoint |
| 3 | import NavierStokes.LocalPhysicalCopyBounds |
| 4 | |
| 5 | /-! |
| 6 | # Endpoint extensions for locally constructed diagonal stages |
| 7 | |
| 8 | The raw stages only need endpoint models where the physical scale is below |
| 9 | their construction threshold. Farther away, the same cutoffs give a common |
| 10 | zero neighborhood. On the central plane, a uniform outer annulus removes |
| 11 | every positive stage at once and the initial cutoff is identically one. |
| 12 | |
| 13 | These results concern the full actual sum, including stage zero. They do |
| 14 | not assume that its away-from-origin extensions have already been built. |
| 15 | -/ |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | namespace NavierStokes.MixedDiagonalExtensions |
| 20 | |
| 21 | open Set Filter ProblemStatement |
| 22 | open JointResidualLimits (OneSidedExtension AwayExtensions) |
| 23 | open scoped Topology ContDiff |
| 24 | |
| 25 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 26 | |
| 27 | /-- Transfer a genuine local extension using equality on a past |
| 28 | neighborhood; no equality on the future side is needed. -/ |
| 29 | theorem extension_of_eventuallyEq {f g : SpaceTime → V} {x : Space} |
| 30 | (hfg : f =ᶠ[𝓝[SpacetimeEndpoint.openPast 1] (1, x)] g) |
| 31 | (e : OneSidedExtension g x) : Nonempty (OneSidedExtension f x) := by |
| 32 | obtain ⟨U, hU, hxU, he⟩ := mem_nhdsWithin.mp hfg |
| 33 | refine ⟨{ value := e.value |
| 34 | domain := e.domain ∩ U |
| 35 | isOpen := e.isOpen.inter hU |
| 36 | mem := ⟨e.mem, hxU⟩ |
| 37 | smooth := e.smooth.mono inter_subset_left |
| 38 | agrees := ?_ }⟩ |
| 39 | intro w hw |
| 40 | exact (e.agrees ⟨hw.1.1, hw.2⟩).trans (he ⟨hw.1.2, hw.2⟩).symm |
| 41 | |
| 42 | theorem extension_of_eventually_zero {f : SpaceTime → V} {x : Space} |
| 43 | (hf : f =ᶠ[𝓝[SpacetimeEndpoint.openPast 1] (1, x)] fun _ => 0) : |
| 44 | Nonempty (OneSidedExtension f x) := by |
| 45 | obtain ⟨U, hU, hxU, he⟩ := mem_nhdsWithin.mp hf |
| 46 | exact ⟨AnnularEndpoint.zeroExtension hU hxU he⟩ |
| 47 | |
| 48 | /-- At a nonzero axial coordinate the actual implicit scale has the |
| 49 | positive limit used by the continued finite-stage models. -/ |
| 50 | theorem physicalQ_tendsto_endpoint {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 51 | {x : Space} (hx : x 2 ≠ 0) : |
| 52 | Tendsto (PhysicalWaveSum.physicalQ h) |
| 53 | (𝓝[SpacetimeEndpoint.openPast 1] (1, x)) |
| 54 | (𝓝 (EndpointCoordinates.endpointRoot (2 * h) (x 2))) := by |
| 55 | have hc := (EndpointCoordinates.cartesianExtension_smoothAt hh hh1 |
| 56 | (EndpointCoordinates.cartesian_endpoint_mem hh hh1 hx)).fst.continuousAt |
| 57 | have he : (fun w => (EndpointCoordinates.cartesianExtension h w).1) =ᶠ[ |
| 58 | 𝓝[SpacetimeEndpoint.openPast 1] (1, x)] PhysicalWaveSum.physicalQ h := by |
| 59 | filter_upwards [self_mem_nhdsWithin] with w hw |
| 60 | exact OffplaneCorrectionExtensions.physicalQExtension_eq hh hh1 hw.1 |
| 61 | have ht := (hc.tendsto.mono_left nhdsWithin_le_nhds).congr' he |
| 62 | simpa only [EndpointCoordinates.cartesianExtension_endpoint hh hh1 hx] using ht |
| 63 | |
| 64 | /-- Above the support of the first cutoff, monotonicity kills every |
| 65 | stage on one common past neighborhood, regardless of raw totalizations. -/ |
| 66 | theorem sum_eventually_zero_of_scale_large {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 67 | {a : ℕ → ℝ} (ha0 : 0 < a 0) (ham : ∀ j, a 0 ≤ a j) |
| 68 | (F : ℕ → SpaceTime → V) {x : Space} (hx : x 2 ≠ 0) |
| 69 | (hlarge : 1 / a 0 < EndpointCoordinates.endpointRoot (2 * h) (x 2)) : |
| 70 | SolenoidalDiagonal.potentialSum a (PhysicalWaveSum.physicalQ h) F =ᶠ[ |
| 71 | 𝓝[SpacetimeEndpoint.openPast 1] (1, x)] fun _ => 0 := by |
| 72 | filter_upwards [(physicalQ_tendsto_endpoint hh hh1 hx).eventually |
| 73 | (lt_mem_nhds hlarge)] with w hw |
| 74 | have hz (j : ℕ) : SolenoidalDiagonal.cutStage a (PhysicalWaveSum.physicalQ h) F j w = 0 := by |
| 75 | have haj := ha0.trans_le (ham j) |
| 76 | have hcut := SmoothCutoffs.scaledCutoff_zero_of_inv_le haj |
| 77 | ((one_div_le_one_div_of_le ha0 (ham j)).trans hw.le) |
| 78 | simp only [SolenoidalDiagonal.cutStage, hcut, zero_smul] |
| 79 | simp only [SolenoidalDiagonal.potentialSum, hz, tsum_zero] |
| 80 | |
| 81 | /-- Only raw endpoint models strictly below `qbig` are required. The |
| 82 | strict support gap at the initial cutoff covers the other branch. -/ |
| 83 | theorem offplane_extension_local {h qbig : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 84 | {a : ℕ → ℝ} (hat : Tendsto a atTop atTop) |
| 85 | (ha0 : 0 < a 0) (ham : ∀ j, a 0 ≤ a j) (hgap : 1 / a 0 < qbig) |
| 86 | {F : ℕ → SpaceTime → V} {x : Space} (hx : x 2 ≠ 0) |
| 87 | (he : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig → |
| 88 | ∀ j, Nonempty (OneSidedExtension (F j) x)) : |
| 89 | Nonempty (OneSidedExtension |
| 90 | (SolenoidalDiagonal.potentialSum a (PhysicalWaveSum.physicalQ h) F) x) := by |
| 91 | by_cases hsmall : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig |
| 92 | · exact OffplaneCorrectionExtensions.diagonal_extension hh hh1 hat hx (he hsmall) |
| 93 | · exact extension_of_eventually_zero |
| 94 | (sum_eventually_zero_of_scale_large hh hh1 ha0 ham F hx |
| 95 | (hgap.trans_le (le_of_not_gt hsmall))) |
| 96 | |
| 97 | /-- Uniform outer support is needed only where the raw stage is used. |
| 98 | The constant is shared by all positive stages in the central-plane theorem. -/ |
| 99 | def SublevelShrinkingSupport (h C qbig : ℝ) (f : SpaceTime → V) : Prop := |
| 100 | ∀ w, w.1 < 1 → PhysicalWaveSum.physicalQ h w < qbig → f w ≠ 0 → |
| 101 | AnnularEndpoint.radius w ≤ AnnularEndpoint.outerRadius h C w |
| 102 | |
| 103 | omit [NormedSpace ℝ V] in |
| 104 | theorem SublevelShrinkingSupport.of_global {h C qbig : ℝ} {f : SpaceTime → V} |
| 105 | (hf : AnnularEndpoint.ShrinkingSupport h C f) : |
| 106 | SublevelShrinkingSupport h C qbig f := fun w ht _ hn => hf w ht hn |
| 107 | |
| 108 | omit [NormedSpace ℝ V] in |
| 109 | theorem SublevelShrinkingSupport.eventually_zero {h C qbig : ℝ} |
| 110 | (hh : 0 < h) (hh1 : h < 1 / 2) (hqbig : 0 < qbig) {f : SpaceTime → V} |
| 111 | (hf : SublevelShrinkingSupport h C qbig f) {x : Space} |
| 112 | (hx : x ≠ 0) (hz : x 2 = 0) : |
| 113 | f =ᶠ[𝓝[SpacetimeEndpoint.openPast 1] (1, x)] fun _ => 0 := by |
| 114 | obtain ⟨U, hU, hxU, hsep⟩ := AnnularEndpoint.exists_separating_neighborhood hh hh1 C hx hz |
| 115 | have hq := AnnularEndpoint.physicalQ_tendsto_zero hh hh1 hz |
| 116 | filter_upwards [nhdsWithin_le_nhds (hU.mem_nhds hxU), self_mem_nhdsWithin, |
| 117 | hq.eventually (gt_mem_nhds hqbig)] with w hw ht hsmall |
| 118 | by_contra hn |
| 119 | exact (not_lt_of_ge (hf w ht.1 hsmall hn)) (hsep w hw ht.1) |
| 120 | |
| 121 | /-- A finite initialization may be kept inside stage zero. Its supported |
| 122 | change leaves the original anchored base extension unchanged locally. -/ |
| 123 | theorem initial_add_extension {h C qbig : ℝ} |
| 124 | (hh : 0 < h) (hh1 : h < 1 / 2) (hqbig : 0 < qbig) |
| 125 | {base delta : SpaceTime → V} (hd : SublevelShrinkingSupport h C qbig delta) |
| 126 | {x : Space} (hx : x ≠ 0) (hz : x 2 = 0) (eb : OneSidedExtension base x) : |
| 127 | Nonempty (OneSidedExtension (fun w => base w + delta w) x) := by |
| 128 | apply extension_of_eventuallyEq (g := base) ?_ eb |
| 129 | filter_upwards [hd.eventually_zero hh hh1 hqbig hx hz] with w hw |
| 130 | simp only [hw, add_zero] |
| 131 | |
| 132 | /-- The outer support of an actual copy-and-label sum follows from its |
| 133 | primitive geometric data; no global raw smoothness is required. -/ |
| 134 | theorem localCopy_sum_support {H gap : ℕ} {K : Type*} |
| 135 | {f : PhysicalCopyBounds.CopyFamily H K} {a b h r0 Z : ℝ} |
| 136 | (hf : LocalPhysicalCopyBounds.SupportData f a b h r0 Z gap) : |
| 137 | AnnularEndpoint.ShrinkingSupport h (2 * b * Real.sqrt 2) (f.sum a h r0) := by |
| 138 | apply AnnularEndpoint.shrinkingSupport_of_normalized_annulus |
| 139 | intro w ht hn |
| 140 | obtain ⟨I, k, hk⟩ := f.sum_nonzero_term hn |
| 141 | have hamp := PhysicalWaveSum.globalWave_ne_zero_amp hk |
| 142 | have hm := PhysicalWaveSum.physicalMask_support_subset _ _ (hf.mask_support k I w ht hamp) |
| 143 | exact ⟨I.1.val.1, (hf.geometry_support k I w hamp).1, |
| 144 | (PhysicalWaveSum.labelRegion_active_relation hm).2⟩ |
| 145 | |
| 146 | theorem localCopy_vector_support {H gap : ℕ} {K : Type*} |
| 147 | {f : Fin 3 → PhysicalCopyBounds.CopyFamily H K} {a b h r0 Z : ℝ} |
| 148 | (hf : ∀ i, LocalPhysicalCopyBounds.SupportData (f i) a b h r0 Z gap) : |
| 149 | AnnularEndpoint.ShrinkingSupport h (2 * b * Real.sqrt 2) |
| 150 | (PhysicalCopyBounds.vectorSum f a h r0) := by |
| 151 | apply AnnularEndpoint.ShrinkingSupport.finset_sum |
| 152 | intro i _ |
| 153 | exact (localCopy_sum_support (hf i)).map_zero |
| 154 | (fun _ z => PhysicalWaveSum.realCoordinate i z) (by intro; simp) |
| 155 | |
| 156 | /-- At a nonzero point of the central plane, every positive stage |
| 157 | vanishes together and stage zero is retained without its cutoff. -/ |
| 158 | theorem sum_eventually_eq_initial {h C qbig : ℝ} |
| 159 | (hh : 0 < h) (hh1 : h < 1 / 2) (hqbig : 0 < qbig) |
| 160 | (a : ℕ → ℝ) {F : ℕ → SpaceTime → V} |
| 161 | (hs : ∀ j, j ≠ 0 → SublevelShrinkingSupport h C qbig (F j)) |
| 162 | {x : Space} (hx : x ≠ 0) (hz : x 2 = 0) : |
| 163 | SolenoidalDiagonal.potentialSum a (PhysicalWaveSum.physicalQ h) F =ᶠ[ |
| 164 | 𝓝[SpacetimeEndpoint.openPast 1] (1, x)] F 0 := by |
| 165 | have hq := AnnularEndpoint.physicalQ_tendsto_zero hh hh1 hz |
| 166 | obtain ⟨U, hU, hxU, hsep⟩ := AnnularEndpoint.exists_separating_neighborhood hh hh1 C hx hz |
| 167 | have hcut := (SmoothCutoffs.scaledCutoff_eventually_one_at_zero (a 0)).comp_tendsto hq |
| 168 | filter_upwards [nhdsWithin_le_nhds (hU.mem_nhds hxU), self_mem_nhdsWithin, |
| 169 | hq.eventually (gt_mem_nhds hqbig), hcut] with w hw ht hsmall hc |
| 170 | have hzero (j : ℕ) (hj : j ≠ 0) : F j w = 0 := by |
| 171 | by_contra hn |
| 172 | exact (not_lt_of_ge (hs j hj w ht.1 hsmall hn)) (hsep w hw ht.1) |
| 173 | have he : SolenoidalDiagonal.potentialSum a (PhysicalWaveSum.physicalQ h) F w = |
| 174 | SolenoidalDiagonal.cutStage a (PhysicalWaveSum.physicalQ h) F 0 w := by |
| 175 | apply tsum_eq_single 0 |
| 176 | intro j hj |
| 177 | simp only [SolenoidalDiagonal.cutStage, hzero j hj, smul_zero] |
| 178 | rw [he] |
| 179 | change SmoothCutoffs.scaledCutoff (a 0) (PhysicalWaveSum.physicalQ h w) • F 0 w = F 0 w |
| 180 | change SmoothCutoffs.scaledCutoff (a 0) (PhysicalWaveSum.physicalQ h w) = 1 at hc |
| 181 | rw [hc, one_smul] |
| 182 | |
| 183 | theorem central_extension_local {h C qbig : ℝ} |
| 184 | (hh : 0 < h) (hh1 : h < 1 / 2) (hqbig : 0 < qbig) |
| 185 | (a : ℕ → ℝ) {F : ℕ → SpaceTime → V} |
| 186 | (hs : ∀ j, j ≠ 0 → SublevelShrinkingSupport h C qbig (F j)) |
| 187 | {x : Space} (hx : x ≠ 0) (hz : x 2 = 0) |
| 188 | (e0 : OneSidedExtension (F 0) x) : |
| 189 | Nonempty (OneSidedExtension |
| 190 | (SolenoidalDiagonal.potentialSum a (PhysicalWaveSum.physicalQ h) F) x) := |
| 191 | extension_of_eventuallyEq (sum_eventually_eq_initial hh hh1 hqbig a hs hx hz) e0 |
| 192 | |
| 193 | /-- Construct the full sum's away extensions from finite raw endpoint |
| 194 | models in their valid domain and the initial field on the central plane. -/ |
| 195 | theorem diagonal_awayExtensions_local {h C qbig : ℝ} |
| 196 | (hh : 0 < h) (hh1 : h < 1 / 2) (hqbig : 0 < qbig) |
| 197 | {a : ℕ → ℝ} (hat : Tendsto a atTop atTop) |
| 198 | (ha0 : 0 < a 0) (ham : ∀ j, a 0 ≤ a j) (hgap : 1 / a 0 < qbig) |
| 199 | {F : ℕ → SpaceTime → V} |
| 200 | (hs : ∀ j, j ≠ 0 → SublevelShrinkingSupport h C qbig (F j)) |
| 201 | (he0 : ∀ x : Space, x ≠ 0 → x 2 = 0 → Nonempty (OneSidedExtension (F 0) x)) |
| 202 | (he : ∀ x : Space, x 2 ≠ 0 → |
| 203 | EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig → |
| 204 | ∀ j, Nonempty (OneSidedExtension (F j) x)) : |
| 205 | AwayExtensions (SolenoidalDiagonal.potentialSum a (PhysicalWaveSum.physicalQ h) F) := by |
| 206 | intro x hx |
| 207 | by_cases hz : x 2 = 0 |
| 208 | · exact central_extension_local hh hh1 hqbig a hs hx hz (Classical.choice (he0 x hx hz)) |
| 209 | · exact offplane_extension_local hh hh1 hat ha0 ham hgap hz (he x hz) |
| 210 | |
| 211 | end NavierStokes.MixedDiagonalExtensions |