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.R3.ProblemStatement |
| 2 | import NavierStokes.SmoothCutoffs |
| 3 | |
| 4 | /-! |
| 5 | # A smooth force cutoff separated from initial time |
| 6 | |
| 7 | The cutoff equals one throughout `[3/8, 1]`, and its support is contained |
| 8 | in `[1/16, 21/16]`. Thus a force with a fixed compact spatial support can |
| 9 | be extended to a compactly supported force in strictly positive spacetime. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open Set Function |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | namespace NavierStokesR3.PositiveTimeForce |
| 18 | |
| 19 | open ProblemStatement |
| 20 | |
| 21 | def timeCutoff (t : ℝ) : ℝ := |
| 22 | NavierStokes.SmoothCutoffs.cutoff ((8 / 5 : ℝ) * (t - 11 / 16)) |
| 23 | |
| 24 | theorem timeCutoff_contDiff : ContDiff ℝ ∞ timeCutoff := |
| 25 | NavierStokes.SmoothCutoffs.cutoff_contDiff.comp |
| 26 | (contDiff_const.mul (contDiff_id.sub contDiff_const)) |
| 27 | |
| 28 | theorem timeCutoff_eq_one {t : ℝ} (ht : t ∈ Icc (3 / 8 : ℝ) 1) : |
| 29 | timeCutoff t = 1 := by |
| 30 | apply NavierStokes.SmoothCutoffs.cutoff_one_of_abs_le |
| 31 | rw [abs_le] |
| 32 | constructor <;> nlinarith [ht.1, ht.2] |
| 33 | |
| 34 | theorem timeCutoff_eq_zero {t : ℝ} (ht : t ∉ Icc (1 / 16 : ℝ) (21 / 16)) : |
| 35 | timeCutoff t = 0 := by |
| 36 | apply NavierStokes.SmoothCutoffs.cutoff_zero_of_one_le_abs |
| 37 | rcases not_and_or.mp ht with h | h |
| 38 | · have hlt : t < 1 / 16 := lt_of_not_ge h |
| 39 | have hn : (8 / 5 : ℝ) * (t - 11 / 16) ≤ -1 := by linarith |
| 40 | exact (by linarith : (1 : ℝ) ≤ -((8 / 5 : ℝ) * (t - 11 / 16))).trans |
| 41 | (neg_le_abs _) |
| 42 | · have hgt : 21 / 16 < t := lt_of_not_ge h |
| 43 | exact (by linarith : (1 : ℝ) ≤ (8 / 5 : ℝ) * (t - 11 / 16)).trans |
| 44 | (le_abs_self _) |
| 45 | |
| 46 | def force (f : VelocityField) : VelocityField := |
| 47 | fun z => timeCutoff z.1 • f z |
| 48 | |
| 49 | theorem force_contDiff {f : VelocityField} (hf : ContDiff ℝ ∞ f) : |
| 50 | ContDiff ℝ ∞ (force f) := |
| 51 | (timeCutoff_contDiff.comp contDiff_fst).smul hf |
| 52 | |
| 53 | theorem force_eq {f : VelocityField} {t : ℝ} |
| 54 | (ht : t ∈ Icc (3 / 8 : ℝ) 1) (x : Space) : force f (t, x) = f (t, x) := by |
| 55 | simp only [force, timeCutoff_eq_one ht, one_smul] |
| 56 | |
| 57 | theorem force_eq_zero {f : VelocityField} {t : ℝ} {x : Space} |
| 58 | (hf : f (t, x) = 0) : force f (t, x) = 0 := by |
| 59 | simp only [force, hf, smul_zero] |
| 60 | |
| 61 | theorem force_tsupport_subset {f : VelocityField} {K : Set Space} |
| 62 | (hK : IsCompact K) (hf : ∀ t x, x ∉ K → f (t, x) = 0) : |
| 63 | tsupport (force f) ⊆ Icc (1 / 16 : ℝ) (21 / 16) ×ˢ K := by |
| 64 | apply closure_minimal _ (isClosed_Icc.prod hK.isClosed) |
| 65 | rintro ⟨t, x⟩ hz |
| 66 | constructor |
| 67 | · by_contra ht |
| 68 | exact hz (by simp only [force, timeCutoff_eq_zero ht, zero_smul]) |
| 69 | · by_contra hx |
| 70 | exact hz (force_eq_zero (hf t x hx)) |
| 71 | |
| 72 | theorem force_compactPositiveTimeSupport {f : VelocityField} {K : Set Space} |
| 73 | (hK : IsCompact K) (hf : ∀ t x, x ∉ K → f (t, x) = 0) : |
| 74 | CompactPositiveTimeSupport (force f) := by |
| 75 | have hs := force_tsupport_subset hK hf |
| 76 | constructor |
| 77 | · exact (isCompact_Icc.prod hK).of_isClosed_subset isClosed_closure hs |
| 78 | · intro z hz |
| 79 | have ht := (hs hz).1.1 |
| 80 | exact ⟨by change 0 < z.1; linarith, mem_univ _⟩ |
| 81 | |
| 82 | end NavierStokesR3.PositiveTimeForce |