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.PhysicalMeanJetBounds |
| 2 | import NavierStokes.CutStageEstimates |
| 3 | import NavierStokes.MixedDiagonalExtensions |
| 4 | import NavierStokes.ValidBandGluing |
| 5 | |
| 6 | /-! |
| 7 | # Gluing on the actual open dyadic validity regions |
| 8 | |
| 9 | The band floor is fixed. A sufficiently small positive physical scale is |
| 10 | inside an open validity region of some band above that floor. The local |
| 11 | formulas below are supplied on those open regions, rather than by the |
| 12 | values of a fixed reference formula on its excluded dyadic faces. |
| 13 | |
| 14 | This module transfers local formulas, jets, zero germs, and already proved |
| 15 | local endpoint extensions. It does not manufacture their local smoothness |
| 16 | or identify them with a reference formula outside its validity region. |
| 17 | -/ |
| 18 | |
| 19 | noncomputable section |
| 20 | |
| 21 | namespace NavierStokes.ValidDyadicBandCover |
| 22 | |
| 23 | open Set Filter ProblemStatement PhysicalWaveSum |
| 24 | open scoped Topology ContDiff |
| 25 | |
| 26 | |
| 27 | /-- Strictly inside the band: the normalized physical scale is in `(1/2,2)`. -/ |
| 28 | noncomputable def band (h : ℝ) (n : ℕ) : Set SpaceTime := |
| 29 | {w | w ∈ preterminal ∧ ChartScales.Q n / 2 < physicalQ h w ∧ |
| 30 | physicalQ h w < 2 * ChartScales.Q n} |
| 31 | |
| 32 | theorem mem_band_iff {h : ℝ} {n : ℕ} {w : SpaceTime} : |
| 33 | w ∈ band h n ↔ w ∈ preterminal ∧ |
| 34 | physicalQ h w / ChartScales.Q n ∈ Ioo (1 / 2 : ℝ) 2 := by |
| 35 | have hQ := ChartScales.Q_pos n |
| 36 | simp only [band, Set.mem_ofPred_eq, mem_Ioo, lt_div_iff₀ hQ, div_lt_iff₀ hQ] |
| 37 | constructor <;> rintro ⟨ht, hl, hr⟩ <;> refine ⟨ht, ?_, hr⟩ <;> linarith |
| 38 | |
| 39 | theorem band_open {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (n : ℕ) : |
| 40 | IsOpen (band h n) := by |
| 41 | apply isOpen_iff_mem_nhds.mpr |
| 42 | intro w hw |
| 43 | have hc := (physicalQ_smoothAt hh hh1 hw.1).continuousAt |
| 44 | exact inter_mem (preterminal_open.mem_nhds hw.1) |
| 45 | (inter_mem (hc (isOpen_Ioi.mem_nhds hw.2.1)) |
| 46 | (hc (isOpen_Iio.mem_nhds hw.2.2))) |
| 47 | |
| 48 | /-- The selected band has the stronger comparison `q ≤ Q_n < 2q`. -/ |
| 49 | theorem exists_band {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (N : ℕ) |
| 50 | {w : SpaceTime} (ht : w ∈ preterminal) (hq : physicalQ h w ≤ ChartScales.Q N) : |
| 51 | ∃ n : ℕ, N ≤ n ∧ w ∈ band h n ∧ physicalQ h w ≤ ChartScales.Q n := by |
| 52 | obtain ⟨n, hn, hlo, hhi⟩ := PhysicalMeanJetBounds.exists_comparable_band N |
| 53 | (physicalQ_pos hh hh1 ht) hq |
| 54 | refine ⟨n, hn, ⟨ht, ?_, ?_⟩, hlo⟩ |
| 55 | · linarith |
| 56 | · have := ChartScales.Q_pos n |
| 57 | linarith |
| 58 | |
| 59 | abbrev Index (N : ℕ) := {n : ℕ // N ≤ n} |
| 60 | |
| 61 | noncomputable def charts (h : ℝ) (N : ℕ) (n : Index N) : Set SpaceTime := band h n.val |
| 62 | |
| 63 | theorem sublevel_covered {h qbig : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (N : ℕ) |
| 64 | (hqbig : qbig ≤ ChartScales.Q N) : |
| 65 | CutStageEstimates.physicalSublevel h qbig ⊆ ValidBandGluing.domain (charts h N) := by |
| 66 | intro w hw |
| 67 | obtain ⟨n, hn, hb, _⟩ := exists_band hh hh1 N hw.1 (hw.2.le.trans hqbig) |
| 68 | exact ValidBandGluing.mem_domain_iff.mpr ⟨⟨n, hn⟩, hb⟩ |
| 69 | |
| 70 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 71 | |
| 72 | def Compatible (h : ℝ) (N : ℕ) (f : ℕ → SpaceTime → E) : Prop := |
| 73 | ValidBandGluing.Compatible (charts h N) (fun n => f n.val) |
| 74 | |
| 75 | noncomputable def field (h : ℝ) (N : ℕ) (f : ℕ → SpaceTime → E) : SpaceTime → E := |
| 76 | ValidBandGluing.representative (charts h N) (fun n => f n.val) |
| 77 | |
| 78 | omit [NormedSpace ℝ E] in |
| 79 | theorem field_eq {h : ℝ} {N n : ℕ} {f : ℕ → SpaceTime → E} |
| 80 | (hf : Compatible h N f) (hn : N ≤ n) {w : SpaceTime} (hw : w ∈ band h n) : |
| 81 | field h N f w = f n w := |
| 82 | ValidBandGluing.representative_eq_of_mem hf (i := ⟨n, hn⟩) hw |
| 83 | |
| 84 | omit [NormedSpace ℝ E] in |
| 85 | theorem field_germ {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 86 | {N n : ℕ} {f : ℕ → SpaceTime → E} (hf : Compatible h N f) |
| 87 | (hn : N ≤ n) {w : SpaceTime} (hw : w ∈ band h n) : |
| 88 | field h N f =ᶠ[𝓝 w] f n := |
| 89 | ValidBandGluing.representative_germ (fun n : Index N => band_open hh hh1 n.val) |
| 90 | hf (i := ⟨n, hn⟩) hw |
| 91 | |
| 92 | theorem field_smooth {h qbig : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 93 | {N : ℕ} {f : ℕ → SpaceTime → E} (hf : Compatible h N f) |
| 94 | (hqbig : qbig ≤ ChartScales.Q N) |
| 95 | (hs : ∀ n, N ≤ n → ContDiffOn ℝ ∞ (f n) (band h n)) : |
| 96 | ContDiffOn ℝ ∞ (field h N f) (CutStageEstimates.physicalSublevel h qbig) := |
| 97 | (ValidBandGluing.representative_contDiffOn (fun n : Index N => band_open hh hh1 n.val) |
| 98 | hf (fun n : Index N => hs n.val n.property)).mono (sublevel_covered hh hh1 N hqbig) |
| 99 | |
| 100 | theorem field_jet_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 101 | {N n : ℕ} {f : ℕ → SpaceTime → E} (hf : Compatible h N f) |
| 102 | (hn : N ≤ n) {w : SpaceTime} (hw : w ∈ band h n) (m : ℕ) : |
| 103 | iteratedFDeriv ℝ m (field h N f) w = iteratedFDeriv ℝ m (f n) w := |
| 104 | ValidBandGluing.representative_iteratedFDeriv_eq |
| 105 | (fun n : Index N => band_open hh hh1 n.val) hf (i := ⟨n, hn⟩) hw m |
| 106 | |
| 107 | /-- Pointwise transfer keeps any additional hypotheses on the physical |
| 108 | point available to the caller, such as a fixed time bound. -/ |
| 109 | theorem field_jet_bound_at {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 110 | {N : ℕ} {f : ℕ → SpaceTime → E} (hf : Compatible h N f) |
| 111 | {w : SpaceTime} (ht : w ∈ preterminal) (hq : physicalQ h w ≤ ChartScales.Q N) |
| 112 | (m : ℕ) {B : ℝ} |
| 113 | (hb : ∀ n, N ≤ n → w ∈ band h n → physicalQ h w ≤ ChartScales.Q n → |
| 114 | ‖iteratedFDeriv ℝ m (f n) w‖ ≤ B) : |
| 115 | ‖iteratedFDeriv ℝ m (field h N f) w‖ ≤ B := by |
| 116 | obtain ⟨n, hn, hband, hcomp⟩ := exists_band hh hh1 N ht hq |
| 117 | rw [field_jet_eq hh hh1 hf hn hband m] |
| 118 | exact hb n hn hband hcomp |
| 119 | |
| 120 | /-- Select a comparable chart for the bound, independently of the chart |
| 121 | chosen internally by `field`. No chart-count factor is incurred. -/ |
| 122 | theorem field_jet_bound {h qbig : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 123 | {N : ℕ} {f : ℕ → SpaceTime → E} (hf : Compatible h N f) |
| 124 | (hqbig : qbig ≤ ChartScales.Q N) (m : ℕ) (B : SpaceTime → ℝ) |
| 125 | (hb : ∀ n, N ≤ n → ∀ w ∈ band h n, physicalQ h w ≤ ChartScales.Q n → |
| 126 | ‖iteratedFDeriv ℝ m (f n) w‖ ≤ B w) : |
| 127 | ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| 128 | ‖iteratedFDeriv ℝ m (field h N f) w‖ ≤ B w := by |
| 129 | intro w hw |
| 130 | exact field_jet_bound_at hh hh1 hf hw.1 (hw.2.le.trans hqbig) m |
| 131 | (fun n hn hband hcomp => hb n hn w hband hcomp) |
| 132 | |
| 133 | omit [NormedSpace ℝ E] in |
| 134 | /-- A local support proof in any valid chart supplies the actual zero |
| 135 | germ of the representative, including at the physical axis. -/ |
| 136 | theorem field_zero_germ {h qbig : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 137 | {N : ℕ} {f : ℕ → SpaceTime → E} (hf : Compatible h N f) |
| 138 | (hqbig : qbig ≤ ChartScales.Q N) {w : SpaceTime} |
| 139 | (hw : w ∈ CutStageEstimates.physicalSublevel h qbig) |
| 140 | (hz : ∀ n, N ≤ n → w ∈ band h n → f n =ᶠ[𝓝 w] fun _ => 0) : |
| 141 | field h N f =ᶠ[𝓝 w] fun _ => 0 := by |
| 142 | obtain ⟨n, hn, hband, _⟩ := exists_band hh hh1 N hw.1 (hw.2.le.trans hqbig) |
| 143 | exact (field_germ hh hh1 hf hn hband).trans (hz n hn hband) |
| 144 | |
| 145 | /-- Endpoint selection concerns only the positive limiting scale. The |
| 146 | endpoint itself is not inserted into any preterminal formula. -/ |
| 147 | theorem endpoint_band {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (N : ℕ) |
| 148 | {x : Space} (hx : x 2 ≠ 0) |
| 149 | (hq : EndpointCoordinates.endpointRoot (2 * h) (x 2) ≤ ChartScales.Q N) : |
| 150 | ∃ n : ℕ, N ≤ n ∧ |
| 151 | ChartScales.Q n / 2 < EndpointCoordinates.endpointRoot (2 * h) (x 2) ∧ |
| 152 | EndpointCoordinates.endpointRoot (2 * h) (x 2) < 2 * ChartScales.Q n ∧ |
| 153 | ∀ᶠ w in 𝓝[SpacetimeEndpoint.openPast 1] (1, x), w ∈ band h n := by |
| 154 | obtain ⟨n, hn, hlo, hhi⟩ := PhysicalMeanJetBounds.exists_comparable_band N |
| 155 | (EndpointCoordinates.endpointRoot_pos (2 * h) hx) hq |
| 156 | have hl : ChartScales.Q n / 2 < EndpointCoordinates.endpointRoot (2 * h) (x 2) := by |
| 157 | linarith |
| 158 | have hr : EndpointCoordinates.endpointRoot (2 * h) (x 2) < 2 * ChartScales.Q n := by |
| 159 | have := ChartScales.Q_pos n |
| 160 | linarith |
| 161 | refine ⟨n, hn, hl, hr, ?_⟩ |
| 162 | have ht := MixedDiagonalExtensions.physicalQ_tendsto_endpoint hh hh1 hx |
| 163 | filter_upwards [self_mem_nhdsWithin, ht.eventually (isOpen_Ioo.mem_nhds ⟨hl, hr⟩)] with w hw hq |
| 164 | exact ⟨hw.1, hq⟩ |
| 165 | |
| 166 | /-- A proved continuation of the selected current-chart formula transfers |
| 167 | to the representative. Local continuation remains a necessary premise. -/ |
| 168 | theorem field_endpoint_extension {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 169 | {N : ℕ} {f : ℕ → SpaceTime → E} (hf : Compatible h N f) |
| 170 | {x : Space} (hx : x 2 ≠ 0) |
| 171 | (hq : EndpointCoordinates.endpointRoot (2 * h) (x 2) ≤ ChartScales.Q N) |
| 172 | (he : ∀ n, N ≤ n → |
| 173 | ChartScales.Q n / 2 < EndpointCoordinates.endpointRoot (2 * h) (x 2) → |
| 174 | EndpointCoordinates.endpointRoot (2 * h) (x 2) < 2 * ChartScales.Q n → |
| 175 | Nonempty (JointResidualLimits.OneSidedExtension (f n) x)) : |
| 176 | Nonempty (JointResidualLimits.OneSidedExtension (field h N f) x) := by |
| 177 | obtain ⟨n, hn, hl, hr, hg⟩ := endpoint_band hh hh1 N hx hq |
| 178 | apply MixedDiagonalExtensions.extension_of_eventuallyEq _ (Classical.choice (he n hn hl hr)) |
| 179 | filter_upwards [hg] with w hw |
| 180 | exact field_eq hf hn hw |
| 181 | |
| 182 | end NavierStokes.ValidDyadicBandCover |