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 | omit [NormedSpace ℝ E] in |
| 121 | /-- A local support proof in any valid chart supplies the actual zero |
| 122 | germ of the representative, including at the physical axis. -/ |
| 123 | theorem field_zero_germ {h qbig : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 124 | {N : ℕ} {f : ℕ → SpaceTime → E} (hf : Compatible h N f) |
| 125 | (hqbig : qbig ≤ ChartScales.Q N) {w : SpaceTime} |
| 126 | (hw : w ∈ CutStageEstimates.physicalSublevel h qbig) |
| 127 | (hz : ∀ n, N ≤ n → w ∈ band h n → f n =ᶠ[𝓝 w] fun _ => 0) : |
| 128 | field h N f =ᶠ[𝓝 w] fun _ => 0 := by |
| 129 | obtain ⟨n, hn, hband, _⟩ := exists_band hh hh1 N hw.1 (hw.2.le.trans hqbig) |
| 130 | exact (field_germ hh hh1 hf hn hband).trans (hz n hn hband) |
| 131 | |
| 132 | end NavierStokes.ValidDyadicBandCover |