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 Euler.MetricRootLimit |
| 2 | |
| 3 | /-! Weighted removal of root regularization, preserving the signed derivative of the radius. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerWeightedRootLimit |
| 8 | |
| 9 | open MeasureTheory Set Real EulerNoncompactTransport EulerMetricRootLimit |
| 10 | open scoped Topology |
| 11 | |
| 12 | /-- Dominated convergence for the regularized scalar energy integrand on a fixed finite interval. -/ |
| 13 | theorem regularized_integral_tendsto (Q A F : ℝ → ℝ) (s t : ℝ) (hst : s ≤ t) |
| 14 | (hQ : ContinuousOn Q (Icc s t)) (hQ0 : ∀ u ∈ Icc s t, 0 ≤ Q u) |
| 15 | (hA : IntegrableOn A (Icc s t)) (hF : IntegrableOn F (Icc s t)) : |
| 16 | Filter.Tendsto (fun n => ∫ u in s..t, (A u * √(Q u + cutoffScale n ^ 2) + F u)) |
| 17 | Filter.atTop (𝓝 (∫ u in s..t, (A u * √(Q u) + F u))) := by |
| 18 | let μ : Measure ℝ := volume.restrict (Ioc s t) |
| 19 | let fn := fun n u => A u * √(Q u + cutoffScale n ^ 2) + F u |
| 20 | have hAQ : IntegrableOn (fun u => A u * √(Q u)) (Icc s t) := |
| 21 | hA.mul_continuousOn hQ.sqrt isCompact_Icc |
| 22 | have hAn : Integrable A μ := hA.mono_set Ioc_subset_Icc_self |
| 23 | have hFn : Integrable F μ := hF.mono_set Ioc_subset_Icc_self |
| 24 | have hAQn : Integrable (fun u => A u * √(Q u)) μ := hAQ.mono_set Ioc_subset_Icc_self |
| 25 | have hmeas (n : ℕ) : AEStronglyMeasurable (fn n) μ := |
| 26 | (((hA.mul_continuousOn ((hQ.add continuousOn_const).sqrt) isCompact_Icc).add hF).mono_set Ioc_subset_Icc_self).aestronglyMeasurable |
| 27 | have hbound (n : ℕ) : ∀ᵐ u ∂μ, |
| 28 | ‖fn n u‖ ≤ ‖A u * √(Q u)‖ + ‖A u‖ + ‖F u‖ := by |
| 29 | filter_upwards [ae_restrict_mem measurableSet_Ioc] with u hu |
| 30 | have hq := hQ0 u ⟨hu.1.le, hu.2⟩ |
| 31 | have hr := (regularized_root_le (Q u) (cutoffScale n) hq (cutoffScale_pos n).le).trans |
| 32 | (add_le_add_right (cutoffScale_le_one n) (√(Q u))) |
| 33 | calc |
| 34 | _ ≤ ‖A u‖ * √(Q u + cutoffScale n ^ 2) + ‖F u‖ := by |
| 35 | simpa only [fn, norm_mul, Real.norm_of_nonneg (sqrt_nonneg _)] using |
| 36 | norm_add_le (A u * √(Q u + cutoffScale n ^ 2)) (F u) |
| 37 | _ ≤ ‖A u‖ * (√(Q u) + 1) + ‖F u‖ := |
| 38 | add_le_add_left (mul_le_mul_of_nonneg_left hr (norm_nonneg (A u))) ‖F u‖ |
| 39 | _ = _ := by |
| 40 | rw [norm_mul, Real.norm_of_nonneg (sqrt_nonneg _)] |
| 41 | ring |
| 42 | have hlim : ∀ᵐ u ∂μ, Filter.Tendsto (fun n => fn n u) Filter.atTop (𝓝 (A u * √(Q u) + F u)) := |
| 43 | Filter.Eventually.of_forall (fun u => |
| 44 | ((regularized_root_tendsto (Q u)).const_mul (A u)).add_const (F u)) |
| 45 | have hi := tendsto_integral_of_dominated_convergence |
| 46 | (fun u => ‖A u * √(Q u)‖ + ‖A u‖ + ‖F u‖) hmeas |
| 47 | ((hAQn.norm.add hAn.norm).add hFn.norm) hbound hlim |
| 48 | have hii : Filter.Tendsto (fun n => ∫ u in s..t, fn n u) Filter.atTop |
| 49 | (𝓝 (∫ u in s..t, (A u * √(Q u) + F u))) := by |
| 50 | simpa only [intervalIntegral.integral_of_le hst] using hi |
| 51 | exact hii |
| 52 | |
| 53 | /-- Endpoint weights pass through the same genuine regularization limit. -/ |
| 54 | theorem weighted_root_integral_limit (Q A F w : ℝ → ℝ) (s t : ℝ) (hst : s ≤ t) |
| 55 | (hQ : ContinuousOn Q (Icc s t)) (hQ0 : ∀ u ∈ Icc s t, 0 ≤ Q u) |
| 56 | (hA : IntegrableOn A (Icc s t)) (hF : IntegrableOn F (Icc s t)) |
| 57 | (hineq : ∀ δ : ℝ, 0 < δ → w t * √(Q t + δ ^ 2) - w s * √(Q s + δ ^ 2) ≤ |
| 58 | ∫ u in s..t, (A u * √(Q u + δ ^ 2) + F u)) : |
| 59 | w t * √(Q t) - w s * √(Q s) ≤ ∫ u in s..t, (A u * √(Q u) + F u) := by |
| 60 | exact le_of_tendsto_of_tendsto' |
| 61 | (((regularized_root_tendsto (Q t)).const_mul (w t)).sub |
| 62 | ((regularized_root_tendsto (Q s)).const_mul (w s))) |
| 63 | (regularized_integral_tendsto Q A F s t hst hQ hQ0 hA hF) |
| 64 | (fun n => hineq (cutoffScale n) (cutoffScale_pos n)) |
| 65 | |
| 66 | /-- A nonnegative differentiable weight preserves an energy differential bound with its signed derivative. -/ |
| 67 | theorem weighted_root_integral_of_deriv_bound (Q a F w w' : ℝ → ℝ) (s t : ℝ) |
| 68 | (hst : s ≤ t) (hQ : ContinuousOn Q (Icc s t)) (hQ0 : ∀ u ∈ Icc s t, 0 ≤ Q u) |
| 69 | (hwc : ContinuousOn w (Icc s t)) (hw : ∀ u ∈ Ioo s t, 0 ≤ w u) |
| 70 | (hwd : ∀ u ∈ Ioo s t, HasDerivAt w (w' u) u) |
| 71 | (hregd : ∀ δ : ℝ, 0 < δ → ∀ u ∈ Ioo s t, |
| 72 | DifferentiableAt ℝ (fun v => √(Q v + δ ^ 2)) u) |
| 73 | (hreg : ∀ δ : ℝ, 0 < δ → ∀ u ∈ Ioo s t, |
| 74 | deriv (fun v => √(Q v + δ ^ 2)) u ≤ a u * √(Q u + δ ^ 2) + F u) |
| 75 | (hA : IntegrableOn (fun u => w u * a u + w' u) (Icc s t)) |
| 76 | (hF : IntegrableOn (fun u => w u * F u) (Icc s t)) : |
| 77 | w t * √(Q t) - w s * √(Q s) ≤ |
| 78 | ∫ u in s..t, ((w u * a u + w' u) * √(Q u) + w u * F u) := by |
| 79 | apply weighted_root_integral_limit Q (fun u => w u * a u + w' u) (fun u => w u * F u) |
| 80 | w s t hst hQ hQ0 hA hF |
| 81 | intro δ hδ |
| 82 | have hrc : ContinuousOn (fun u => √(Q u + δ ^ 2)) (Icc s t) := |
| 83 | (hQ.add continuousOn_const).sqrt |
| 84 | have hcont := hwc.mul hrc |
| 85 | have hφint : IntegrableOn (fun u => (w u * a u + w' u) * √(Q u + δ ^ 2) + w u * F u) |
| 86 | (Icc s t) := (hA.mul_continuousOn hrc isCompact_Icc).add hF |
| 87 | refine intervalIntegral.sub_le_integral_of_hasDeriv_right_of_le |
| 88 | (g' := fun u => deriv (fun v => w v * √(Q v + δ ^ 2)) u) hst hcont ?_ hφint ?_ |
| 89 | · intro u hu |
| 90 | exact ((hwd u hu).fun_mul (hregd δ hδ u hu).hasDerivAt).differentiableAt.hasDerivAt.hasDerivWithinAt |
| 91 | · intro u hu |
| 92 | rw [((hwd u hu).fun_mul (hregd δ hδ u hu).hasDerivAt).deriv] |
| 93 | have h := mul_le_mul_of_nonneg_left (hreg δ hδ u hu) (hw u hu) |
| 94 | nlinarith |
| 95 | |
| 96 | end EulerWeightedRootLimit |