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.R3WeightedLp |
| 2 | |
| 3 | /-! |
| 4 | # Flux bounds for the physical Gaussian pressure approximations |
| 5 | |
| 6 | These bounds apply to the actual spatial stress function. They are uniform |
| 7 | in the Gaussian regularization index and pair the weighted pressure with an |
| 8 | arbitrary square-integrable flux factor. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | namespace NavierStokes.R3PressureFlux |
| 13 | |
| 14 | open Set Filter MeasureTheory ProblemStatement |
| 15 | open R3PressureCommutator R3PressureCutoff R3RieszApproximation R3WeightedLp |
| 16 | open scoped ENNReal |
| 17 | |
| 18 | theorem norm_integral_mul_le {f g : Space → ℂ} (hf : MemLp f 2) (hg : MemLp g 2) : |
| 19 | ‖∫ x : Space, f x * g x‖ ≤ lpNorm f 2 volume * lpNorm g 2 volume := by |
| 20 | calc |
| 21 | _ ≤ ∫ x : Space, ‖f x‖ * ‖g x‖ := by |
| 22 | simpa only [norm_mul] using norm_integral_le_integral_norm (fun x => f x * g x) |
| 23 | _ = lpNorm (fun x => ‖f x‖ * ‖g x‖) 1 volume := by |
| 24 | rw [lpNorm_one_eq_integral_norm (f := fun x => ‖f x‖ * ‖g x‖) (hf.norm.1.fun_mul hg.norm.1)] |
| 25 | apply integral_congr_ae |
| 26 | filter_upwards with x |
| 27 | rw [Real.norm_of_nonneg (mul_nonneg (norm_nonneg _) (norm_nonneg _))] |
| 28 | _ ≤ lpNorm (fun x => ‖f x‖) 2 volume * lpNorm (fun x => ‖g x‖) 2 volume := |
| 29 | lpNorm_mul_le hf.norm hg.norm |
| 30 | _ = _ := by rw [lpNorm_norm hf.1, lpNorm_norm hg.1] |
| 31 | |
| 32 | theorem lpNorm_congr_ae {F : Type*} [NormedAddCommGroup F] {p : ℝ≥0∞} {f g : Space → F} |
| 33 | (h : f =ᵐ[volume] g) : lpNorm f p volume = lpNorm g p volume := by |
| 34 | unfold lpNorm |
| 35 | rw [aestronglyMeasurable_congr h, eLpNorm_congr_ae h] |
| 36 | |
| 37 | theorem errorBound_congr_ae {R L : ℝ} {φ : Space → ℝ} {f g : Space → ℂ} |
| 38 | (h : f =ᵐ[volume] g) : errorBound R L φ f = errorBound R L φ g := by |
| 39 | have hw : weightedNorm φ f =ᵐ[volume] weightedNorm φ g := by |
| 40 | filter_upwards [h] with x hx |
| 41 | simp only [weightedNorm, hx] |
| 42 | simp only [errorBound, lpNorm_congr_ae hw, lpNorm_congr_ae h] |
| 43 | |
| 44 | /-- The actual weighted pressure regularization belongs to `L²`, with a |
| 45 | bound independent of the regularization scale. -/ |
| 46 | theorem actual_regularized_weighted {R L : ℝ} {φ : Space → ℝ} (hφ : Cutoff R L φ) |
| 47 | (hφg : φ.HasTemperateGrowth) (n : ℕ) (i j : Fin 3) {g : Space → ℂ} |
| 48 | (hg : MemLp g 1) (hw : MemLp (weightedNorm φ g) (3 / 2)) |
| 49 | (hg₂ : MemLp (fun x => powerCutoff φ x * g x) 2) : |
| 50 | MemLp (fun x => powerCutoff φ x * regularized n i j g x) 2 ∧ |
| 51 | lpNorm (fun x => powerCutoff φ x * regularized n i j g x) 2 volume ≤ |
| 52 | lpNorm (fun x => powerCutoff φ x * g x) 2 volume + errorBound R L φ g := by |
| 53 | let gLp := hg.toLp g |
| 54 | have hga : (gLp : Space → ℂ) =ᵐ[volume] g := hg.coeFn_toLp |
| 55 | have hwa : weightedNorm φ gLp =ᵐ[volume] weightedNorm φ g := by |
| 56 | filter_upwards [hga] with x hx |
| 57 | simp only [weightedNorm, hx] |
| 58 | have h2a : (fun x => powerCutoff φ x * gLp x) =ᵐ[volume] (fun x => powerCutoff φ x * g x) := by |
| 59 | filter_upwards [hga] with x hx |
| 60 | rw [hx] |
| 61 | have hw' := (memLp_congr_ae hwa).mpr hw |
| 62 | have h2' := (memLp_congr_ae h2a).mpr hg₂ |
| 63 | have hreg := regularized_congr_ae n i j hga |
| 64 | have hrep := regularizedWeightedPressure_ae hφ hφg n i j gLp hw' h2' |
| 65 | rw [hreg] at hrep |
| 66 | refine ⟨(memLp_congr_ae hrep).mp (Lp.memLp _), ?_⟩ |
| 67 | have hb := regularized_weighted_lpNorm_le hφ hφg n i j gLp hw' h2' |
| 68 | rw [hreg, lpNorm_congr_ae h2a, errorBound_congr_ae hga] at hb |
| 69 | exact hb |
| 70 | |
| 71 | /-- Cauchy--Schwarz pairs the weighted Gaussian pressure with the cutoff |
| 72 | flux factor. -/ |
| 73 | theorem regularized_flux_le {R L : ℝ} {φ : Space → ℝ} (hφ : Cutoff R L φ) |
| 74 | (hφg : φ.HasTemperateGrowth) (n : ℕ) (i j : Fin 3) {g h : Space → ℂ} |
| 75 | (hg : MemLp g 1) (hw : MemLp (weightedNorm φ g) (3 / 2)) |
| 76 | (hg₂ : MemLp (fun x => powerCutoff φ x * g x) 2) (hh : MemLp h 2) : |
| 77 | ‖∫ x : Space, powerCutoff φ x * regularized n i j g x * h x‖ ≤ |
| 78 | (lpNorm (fun x => powerCutoff φ x * g x) 2 volume + errorBound R L φ g) * |
| 79 | lpNorm h 2 volume := by |
| 80 | obtain ⟨hm, hb⟩ := actual_regularized_weighted hφ hφg n i j hg hw hg₂ |
| 81 | exact (norm_integral_mul_le hm hh).trans |
| 82 | (mul_le_mul_of_nonneg_right hb lpNorm_nonneg) |
| 83 | |
| 84 | end NavierStokes.R3PressureFlux |