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.MeanBoundaryOperator |
| 2 | |
| 3 | /-! The actual source outer cutoff in rescaled particle labels. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanBoundary |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerGevrey |
| 10 | open scoped ContDiff |
| 11 | |
| 12 | def scaledCutoff (ℓ : ℝ) (hℓ : 0 < ℓ) : Cutoff where |
| 13 | field := fun x => EulerSpatialCutoffs.outerCutoff (ℓ • x) |
| 14 | smooth := EulerSpatialCutoffs.outerCutoff_contDiff.comp (contDiff_id.const_smul ℓ) |
| 15 | compact := EulerSpatialCutoffs.outerCutoff_compactSupport.comp_smul hℓ.ne' |
| 16 | |
| 17 | theorem scaledCutoff_one (ℓ : ℝ) (hℓ : 0 < ℓ) (x : Space) (hx : ‖ℓ • x‖ ≤ 1) : |
| 18 | (scaledCutoff ℓ hℓ).field x = 1 := EulerSpatialCutoffs.outerCutoff_one _ hx |
| 19 | |
| 20 | theorem scaledCutoff_one_on_ball (ℓ : ℝ) (hℓ : 0 < ℓ) : |
| 21 | ∀ x ∈ Metric.ball (0 : Space) ℓ⁻¹, (scaledCutoff ℓ hℓ).field x = 1 := by |
| 22 | intro x hx |
| 23 | apply scaledCutoff_one ℓ hℓ |
| 24 | simp only [Metric.mem_ball, dist_zero_right] at hx |
| 25 | rw [norm_smul, Real.norm_eq_abs, abs_of_pos hℓ] |
| 26 | have H := mul_le_mul_of_nonneg_left hx.le hℓ.le |
| 27 | rwa [mul_inv_cancel₀ hℓ.ne'] at H |
| 28 | |
| 29 | theorem scaledCutoff_support (ℓ : ℝ) (hℓ : 0 < ℓ) : |
| 30 | tsupport (scaledCutoff ℓ hℓ).field ⊆ {x : Space | ‖ℓ • x‖ ≤ 2} := by |
| 31 | intro x hx |
| 32 | have H : ℓ • x ∈ tsupport EulerSpatialCutoffs.outerCutoff := |
| 33 | tsupport_comp_subset_preimage EulerSpatialCutoffs.outerCutoff (continuous_const_smul ℓ) hx |
| 34 | change ‖ℓ • x‖ ≤ 2 |
| 35 | simpa only [Metric.mem_closedBall, dist_zero_right] using |
| 36 | EulerSpatialCutoffs.outerCutoff_support H |
| 37 | |
| 38 | theorem scaledCutoff_even (ℓ : ℝ) (hℓ : 0 < ℓ) (x : Space) : |
| 39 | (scaledCutoff ℓ hℓ).field (-x) = (scaledCutoff ℓ hℓ).field x := by |
| 40 | change EulerSpatialCutoffs.outerCutoff (ℓ • (-x)) = _ |
| 41 | rw [smul_neg, EulerSpatialCutoffs.outerCutoff_even] |
| 42 | rfl |
| 43 | |
| 44 | theorem physical_ball_eq (ℓ r : ℝ) (hℓ : 0 < ℓ) : |
| 45 | {x : Space | ‖ℓ • x‖ < r} = Metric.ball (0 : Space) (ℓ⁻¹*r) := by |
| 46 | ext x |
| 47 | simp only [Set.mem_ofPred_eq, norm_smul, Real.norm_eq_abs, abs_of_pos hℓ, |
| 48 | Metric.mem_ball, dist_zero_right] |
| 49 | constructor |
| 50 | · intro h |
| 51 | have H := mul_lt_mul_of_pos_left h (inv_pos.mpr hℓ) |
| 52 | simpa only [← mul_assoc, inv_mul_cancel₀ hℓ.ne', one_mul] using H |
| 53 | · intro h |
| 54 | have H := mul_lt_mul_of_pos_left h hℓ |
| 55 | simpa only [← mul_assoc, mul_inv_cancel₀ hℓ.ne', one_mul] using H |
| 56 | |
| 57 | /-- Rescaling by at most one preserves the fixed factorial derivative bound. -/ |
| 58 | theorem scaledCutoff_gevrey (ℓ : ℝ) (hℓ : 0 < ℓ) (hℓ1 : ℓ ≤ 1) (n : ℕ) (x : Space) : |
| 59 | ‖iteratedFDeriv ℝ n (scaledCutoff ℓ hℓ).field x‖ ≤ |
| 60 | (9 * (1 + 3 / EulerGevreyCutoff.bumpMass)^2)^3 * majorant 256 0 n := by |
| 61 | change ‖iteratedFDeriv ℝ n (fun y => EulerSpatialCutoffs.outerCutoff (ℓ • y)) x‖ ≤ _ |
| 62 | rw [iteratedFDeriv_comp_const_smul ℓ |
| 63 | (EulerSpatialCutoffs.outerCutoff_contDiff.of_le (by simp)), norm_smul, |
| 64 | Real.norm_eq_abs, abs_of_nonneg (pow_nonneg hℓ.le n)] |
| 65 | have hpow : ℓ^n ≤ 1 := pow_le_one₀ hℓ.le hℓ1 |
| 66 | calc |
| 67 | _ ≤ 1 * ‖iteratedFDeriv ℝ n EulerSpatialCutoffs.outerCutoff (ℓ • x)‖ := |
| 68 | mul_le_mul_of_nonneg_right hpow (norm_nonneg _) |
| 69 | _ ≤ _ := by simpa only [one_mul] using EulerSpatialCutoffs.outerCutoff_gevrey n (ℓ • x) |
| 70 | |
| 71 | end EulerMeanBoundary |