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.HarmonicSourceSupport |
| 2 | import NavierStokes.LocalizedWaveBounds |
| 3 | |
| 4 | /-! |
| 5 | # Gaussian cutoff errors from support-local primitive estimates |
| 6 | |
| 7 | The analytic phase patch may be smaller than the closed periodization |
| 8 | cell. Only primitive amplitude/source/cutoff jets on that patch enter |
| 9 | the Gaussian estimate. On the remainder of the cell, actual input zero |
| 10 | germs imply a zero germ of the two-term cutoff error. The global source |
| 11 | complement is retained once, exactly as in `CopyData.globalGaussian`. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.LocalizedGaussianBounds |
| 17 | |
| 18 | open Set Function Filter WeightedClasses PeriodizedWaveBounds |
| 19 | open HarmonicCalculus LinearWaveBounds GaussianTailFlat |
| 20 | open scoped Topology ContDiff BigOperators |
| 21 | |
| 22 | section LocalGerms |
| 23 | |
| 24 | variable {D E I : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 25 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 26 | |
| 27 | end LocalGerms |
| 28 | |
| 29 | section CopyBounds |
| 30 | |
| 31 | variable {D I : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 32 | variable (a : CopyData D I) |
| 33 | |
| 34 | /-- A zero cutoff alone leaves the source. Both zero germs are used. -/ |
| 35 | theorem localGaussian_zero_of_cutoff_source (d : GraphDirections D) |
| 36 | {n : ℕ} {i : I} {x : D} |
| 37 | (hψ : a.cutoff n i =ᶠ[𝓝 x] fun _ => 0) |
| 38 | (hf : a.source n =ᶠ[𝓝 x] fun _ => 0) : |
| 39 | a.localGaussian d n i =ᶠ[𝓝 x] fun _ => 0 := by |
| 40 | filter_upwards [a.localTail_zero_germ d hψ, hf] with y hy hfy |
| 41 | rw [a.localGaussian_eq, hy, hfy, smul_zero, add_zero] |
| 42 | |
| 43 | theorem localGaussian_zero_of_inactive (d : GraphDirections D) |
| 44 | {n : ℕ} {i : I} {x : D} |
| 45 | (h : ((a.cutoff n i =ᶠ[𝓝 x] fun _ => 0) ∧ (a.source n =ᶠ[𝓝 x] fun _ => 0)) ∨ |
| 46 | ((a.amplitude n i =ᶠ[𝓝 x] fun _ => 0) ∧ (a.source n =ᶠ[𝓝 x] fun _ => 0))) : |
| 47 | a.localGaussian d n i =ᶠ[𝓝 x] fun _ => 0 := by |
| 48 | rcases h with ⟨hψ, hf⟩ | ⟨hu, hf⟩ |
| 49 | · exact localGaussian_zero_of_cutoff_source a d hψ hf |
| 50 | · exact a.localGaussian_zero_of_fields d hu hf |
| 51 | |
| 52 | end CopyBounds |
| 53 | |
| 54 | /-! ## Gaussian absorption with an arbitrary extra index -/ |
| 55 | |
| 56 | section IndexedEstimates |
| 57 | |
| 58 | open LocalizedWaveBounds |
| 59 | |
| 60 | variable {D E J : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 61 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 62 | |
| 63 | end IndexedEstimates |
| 64 | |
| 65 | section UniformGluing |
| 66 | |
| 67 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 68 | {E L I : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 69 | |
| 70 | /-- Actual source jets on the uncovered set, with constants chosen |
| 71 | before the spatial label as well as the band and point. -/ |
| 72 | structure UniformComplementJets (s : StripData D) (w : L → ℕ → D → ℝ) (α : ℝ) |
| 73 | (K : L → ℕ → I → Set D) (f : L → ℕ → D → E) : Prop where |
| 74 | smooth : ∀ l n x, x ∈ s.domain → (∀ i, x ∉ K l n i) → ContDiffAt ℝ ∞ (f l n) x |
| 75 | bounds : ∀ m : ℕ, ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, |
| 76 | ∀ l n x, x ∈ s.domain → (∀ i, x ∉ K l n i) → ∀ j ≤ m, |
| 77 | ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ majorant s (w l) α A p n x |
| 78 | |
| 79 | namespace UniformComplementJets |
| 80 | |
| 81 | theorem each {s : StripData D} {w : L → ℕ → D → ℝ} {α : ℝ} |
| 82 | {K : L → ℕ → I → Set D} {f : L → ℕ → D → E} |
| 83 | (hf : UniformComplementJets s w α K f) (l : L) : ComplementJets s (w l) α (K l) (f l) := by |
| 84 | refine ⟨hf.smooth l, ?_⟩ |
| 85 | intro m |
| 86 | obtain ⟨A, hA, p, hb⟩ := hf.bounds m |
| 87 | exact ⟨A, hA, p, hb l⟩ |
| 88 | |
| 89 | theorem of_zero_germs (s : StripData D) (w : L → ℕ → D → ℝ) (α : ℝ) |
| 90 | (K : L → ℕ → I → Set D) (f : L → ℕ → D → E) |
| 91 | (hg : ∀ l n x, x ∈ s.domain → (∀ i, x ∉ K l n i) → f l n =ᶠ[𝓝 x] fun _ => 0) : |
| 92 | UniformComplementJets s w α K f := by |
| 93 | constructor |
| 94 | · intro l n x hx hn |
| 95 | exact contDiffAt_const.congr_of_eventuallyEq (hg l n x hx hn) |
| 96 | · intro m |
| 97 | refine ⟨0, le_rfl, 0, ?_⟩ |
| 98 | intro l n x hx hn j hj |
| 99 | rw [jets_eq_of_germ (hg l n x hx hn) j] |
| 100 | simp [majorant] |
| 101 | |
| 102 | end UniformComplementJets |
| 103 | |
| 104 | theorem uniformClass_of_local_and_complement_germs |
| 105 | {s : StripData D} {w : L → ℕ → D → ℝ} {α : ℝ} |
| 106 | {K : L → ℕ → I → Set D} {f : L → ℕ → I → D → E} {f₀ F : L → ℕ → D → E} |
| 107 | (hw : ∀ l n x, x ∈ s.domain → 0 ≤ w l n x) |
| 108 | (hlocal : UniformLocalJets s w α K f) (houtside : UniformComplementJets s w α K f₀) |
| 109 | (hactive : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → F l n =ᶠ[𝓝 x] f l n i) |
| 110 | (hinactive : ∀ l n x, x ∈ s.domain → (∀ i, x ∉ K l n i) → F l n =ᶠ[𝓝 x] f₀ l n) : |
| 111 | LabelSumBounds.UniformClass s w α F := by |
| 112 | classical |
| 113 | refine ⟨hw, ?_, ?_⟩ |
| 114 | · intro l |
| 115 | exact (memClass_of_local_and_complement_germs (hw l) (hlocal.each l) |
| 116 | (houtside.each l) (hactive l) (hinactive l)).smooth |
| 117 | · intro m |
| 118 | obtain ⟨A, hA, p, hb⟩ := hlocal.bounds m |
| 119 | obtain ⟨B, hB, q, hb₀⟩ := houtside.bounds m |
| 120 | refine ⟨A + B, add_nonneg hA hB, max p q, ?_⟩ |
| 121 | intro l n x hx j hj |
| 122 | by_cases h : ∃ i, x ∈ K l n i |
| 123 | · obtain ⟨i, hi⟩ := h |
| 124 | rw [jets_eq_of_germ (hactive l n i x hx hi) j] |
| 125 | exact (hb l n i x hx hi j hj).trans |
| 126 | ((majorant_mono_degree s (w l) α hA (le_max_left _ _) n x (hw l n x hx)).trans |
| 127 | (majorant_mono_constant s (w l) α (le_add_of_nonneg_right hB) _ n x (hw l n x hx))) |
| 128 | · rw [jets_eq_of_germ (hinactive l n x hx (not_exists.mp h)) j] |
| 129 | exact (hb₀ l n x hx (not_exists.mp h) j hj).trans |
| 130 | ((majorant_mono_degree s (w l) α hB (le_max_right _ _) n x (hw l n x hx)).trans |
| 131 | (majorant_mono_constant s (w l) α (le_add_of_nonneg_left hA) _ n x (hw l n x hx))) |
| 132 | |
| 133 | end UniformGluing |
| 134 | |
| 135 | /-! ## Primitive cutoff errors, uniformly over spatial labels -/ |
| 136 | |
| 137 | section UniformCopyBounds |
| 138 | |
| 139 | open LocalizedWaveBounds |
| 140 | |
| 141 | variable {D I L : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 142 | |
| 143 | noncomputable def indexedCutoffError (d : GraphDirections D) |
| 144 | (ψ : ℕ → I → D → ℝ) (u f : ℕ → I → D → ComplexVector) |
| 145 | (n : ℕ) (i : I) (x : D) : ComplexVector := |
| 146 | d.Dfast (fun n => ψ n i) n x • u n i x + (1 - ψ n i x) • f n i x |
| 147 | |
| 148 | theorem indexedCutoffError_wave_class {s : StripData D} (d : GraphDirections D) |
| 149 | {K : ℕ → I → Set D} {w : ℕ → I → D → ℝ} {α : ℝ} |
| 150 | {ψ : ℕ → I → D → ℝ} {u f : ℕ → I → D → ComplexVector} |
| 151 | (hψ : LocalUnweighted s K 0 ψ) (hfast : BandBound s 0 d.fastScale) |
| 152 | (hu : LocalClass s K w α u) (hf : LocalClass s K w α f) : |
| 153 | LocalClass s K w α (indexedCutoffError d ψ u f) := by |
| 154 | have hD : LocalUnweighted s K 0 (fun n i => d.Dfast (fun n => ψ n i) n) := by |
| 155 | have hh : LocalUnweighted s K 0 |
| 156 | (fun n i x => d.fastScale n * fderiv ℝ (ψ n i) x d.fast) := by |
| 157 | simpa using |
| 158 | (LocalClass.band_const (K := K) hfast).smul (hψ.directional d.fast) |
| 159 | convert! hh using 1 |
| 160 | funext n i x |
| 161 | simp [GraphDirections.Dfast, GraphDirections.fastField, HarmonicCalculus.along] |
| 162 | have hminus : LocalUnweighted s K 0 (fun n i x => 1 - ψ n i x) := |
| 163 | (local_const (s := s) (K := K) (1 : ℝ)).sub hψ |
| 164 | have he := (unweighted_smul hD hu).add (unweighted_smul hminus hf) |
| 165 | simp only [zero_add] at he |
| 166 | exact he |
| 167 | |
| 168 | theorem uniform_globalGaussian_class_with_complement |
| 169 | (a : L → CopyData D I) (K : L → Cells D I) |
| 170 | (hs : ∀ l n i, support ((a l).cutoff n i) ⊆ (K l).carrier n i) |
| 171 | {s : StripData D} (d : GraphDirections D) {w : L → ℕ → D → ℝ} {α : ℝ} |
| 172 | (hw : ∀ l n x, x ∈ s.domain → 0 ≤ w l n x) |
| 173 | (hg : UniformLocalJets s w α (fun l => (K l).carrier) (fun l => (a l).localGaussian d)) |
| 174 | (hf : UniformComplementJets s w α (fun l => (K l).carrier) (fun l => (a l).source)) : |
| 175 | LabelSumBounds.UniformClass s w α (fun l => (a l).globalGaussian d) := |
| 176 | uniformClass_of_local_and_complement_germs hw hg hf |
| 177 | (fun l n _ _ _ hx => (a l).globalGaussian_germ (K l) (hs l) d n hx) |
| 178 | (fun l _ _ _ hx => (a l).globalGaussian_uncovered_germ (K l) (hs l) d hx) |
| 179 | |
| 180 | end UniformCopyBounds |
| 181 | |
| 182 | /-! ## The literal harmonic residual supplies the complement -/ |
| 183 | |
| 184 | section HarmonicSource |
| 185 | |
| 186 | open CommonCoverSolve TorusInverse ParticularWaveAssembly HarmonicSourceSupport |
| 187 | |
| 188 | variable {P L : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 189 | |
| 190 | end HarmonicSource |
| 191 | |
| 192 | end NavierStokes.LocalizedGaussianBounds |