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.GevreyCompactProduct |
| 2 | import Euler.PacketPotentialRegularity |
| 3 | import Euler.MeanSolenoidalSpace |
| 4 | |
| 5 | /-! The compact initial velocity in the manuscript is constructed using |
| 6 | the fixed factorial-bounded outer cutoff and the actual curl potential. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerBaseDatum |
| 11 | |
| 12 | open Set Filter ContinuousLinearMap MeasureTheory EulerSmoothLimit EulerVectorCalculus |
| 13 | EulerSpatialCutoffs EulerGevrey EulerGevreyFunctions EulerLpTranslation EulerMeanSolenoidal |
| 14 | open scoped ContDiff Topology |
| 15 | |
| 16 | def potential (L : Space →L[ℝ] Space) (i : Fin 3) (x : Space) : ℝ := |
| 17 | outerCutoff x*linearPotential L i x |
| 18 | |
| 19 | theorem potential_smooth (L : Space →L[ℝ] Space) (i : Fin 3) : |
| 20 | ContDiff ℝ ∞ (potential L i) := |
| 21 | outerCutoff_contDiff.mul (contDiff_linearPotential L i) |
| 22 | |
| 23 | theorem potential_support (L : Space →L[ℝ] Space) (i : Fin 3) : |
| 24 | tsupport (potential L i) ⊆ Metric.closedBall (0 : Space) 2 := |
| 25 | tsupport_mul_subset_left.trans outerCutoff_support |
| 26 | |
| 27 | def velocity (L : Space →L[ℝ] Space) : Space → Space := curl (potential L) |
| 28 | |
| 29 | theorem velocity_smooth (L : Space →L[ℝ] Space) : ContDiff ℝ ∞ (velocity L) := |
| 30 | contDiff_curl (potential L) (potential_smooth L) |
| 31 | |
| 32 | theorem velocity_support (L : Space →L[ℝ] Space) : |
| 33 | tsupport (velocity L) ⊆ Metric.closedBall (0 : Space) 2 := |
| 34 | tsupport_curl_subset (potential L) _ Metric.isClosed_closedBall (potential_support L) |
| 35 | |
| 36 | theorem velocity_compact (L : Space →L[ℝ] Space) : HasCompactSupport (velocity L) := |
| 37 | (isCompact_closedBall (0 : Space) 2).of_isClosed_subset |
| 38 | (isClosed_tsupport _) (velocity_support L) |
| 39 | |
| 40 | theorem velocity_divergence (L : Space →L[ℝ] Space) (x : Space) : |
| 41 | divergence (velocity L) x=0 := divergence_curl (potential L) (potential_smooth L) x |
| 42 | |
| 43 | theorem velocity_odd (L : Space →L[ℝ] Space) (x : Space) : velocity L (-x)= -velocity L x := by |
| 44 | apply odd_curl_of_even (potential L) (fun i => (potential_smooth L i).differentiable (by simp)) |
| 45 | intro i y |
| 46 | simp only [potential,outerCutoff_even,linearPotential_even] |
| 47 | |
| 48 | theorem velocity_plateau (L : Space →L[ℝ] Space) (hL : LinearMap.trace ℝ Space L.toLinearMap=0) |
| 49 | (x : Space) (hx : ‖x‖ < 1) : velocity L x=L x := by |
| 50 | have he (i : Fin 3) : potential L i =ᶠ[𝓝 x] linearPotential L i := by |
| 51 | have hx' : x ∈ Metric.ball (0 : Space) 1 := by simpa only [Metric.mem_ball,dist_zero_right] using hx |
| 52 | filter_upwards [Metric.isOpen_ball.mem_nhds hx'] with y hy |
| 53 | have hy' : ‖y‖ ≤ 1 := (by simpa only [Metric.mem_ball,dist_zero_right] using hy : ‖y‖ < 1).le |
| 54 | simp only [potential,outerCutoff_one y hy',one_mul] |
| 55 | exact (curl_congr_nhds _ _ x he).trans (curl_linearPotential_of_trace_zero L hL x) |
| 56 | |
| 57 | theorem velocity_fderiv_plateau (L : Space →L[ℝ] Space) |
| 58 | (hL : LinearMap.trace ℝ Space L.toLinearMap=0) (x : Space) (hx : ‖x‖ < 1) : |
| 59 | fderiv ℝ (velocity L) x=L := by |
| 60 | have he : velocity L =ᶠ[𝓝 x] (L : Space → Space) := by |
| 61 | have hx' : x ∈ Metric.ball (0 : Space) 1 := by simpa only [Metric.mem_ball,dist_zero_right] using hx |
| 62 | filter_upwards [Metric.isOpen_ball.mem_nhds hx'] with y hy |
| 63 | exact velocity_plateau L hL y (by simpa only [Metric.mem_ball,dist_zero_right] using hy) |
| 64 | exact he.fderiv_eq.trans L.fderiv |
| 65 | |
| 66 | def field (L : Space →L[ℝ] Space) : SmoothL2Field Space where |
| 67 | field := velocity L |
| 68 | smooth := velocity_smooth L |
| 69 | integrable n := ((velocity_smooth L).continuous_iteratedFDeriv (m := n) (by simp)).memLp_of_hasCompactSupport |
| 70 | ((velocity_compact L).iteratedFDeriv n) |
| 71 | |
| 72 | theorem velocity_memLp (L : Space →L[ℝ] Space) : MemLp (velocity L) 2 volume := |
| 73 | (velocity_smooth L).continuous.memLp_of_hasCompactSupport (velocity_compact L) |
| 74 | |
| 75 | theorem field_solenoidal (L : Space →L[ℝ] Space) : |
| 76 | (velocity_memLp L).toLp (velocity L) ∈ solenoidalSpace := |
| 77 | smooth_mem_solenoidal (velocity L) (velocity_smooth L) (velocity_memLp L) (velocity_divergence L) |
| 78 | |
| 79 | def linear (β : ℝ) : Space →L[ℝ] Space := |
| 80 | (EuclideanSpace.proj 1).smulRight (EuclideanSpace.single 0 1+β • EuclideanSpace.single 2 1) |
| 81 | |
| 82 | @[simp] theorem linear_apply (β : ℝ) (x : Space) : |
| 83 | linear β x=x 1 • (EuclideanSpace.single 0 1+β • EuclideanSpace.single 2 1) := rfl |
| 84 | |
| 85 | theorem linear_trace (β : ℝ) : LinearMap.trace ℝ Space (linear β).toLinearMap=0 := by |
| 86 | rw [← coordinateTrace_eq_linearTrace] |
| 87 | simp [coordinateTrace,Fin.sum_univ_three,linear_apply,PiLp.smul_apply] |
| 88 | |
| 89 | theorem linear_norm (β : ℝ) : ‖linear β‖ ≤ 1+|β| := by |
| 90 | apply opNorm_le_bound _ (by positivity) |
| 91 | intro x |
| 92 | rw [linear_apply,norm_smul,Real.norm_eq_abs] |
| 93 | have hv : ‖(EuclideanSpace.single 0 1 : Space)+β • EuclideanSpace.single 2 1‖ ≤ 1+|β| := by |
| 94 | apply (norm_add_le _ _).trans |
| 95 | rw [norm_smul,Real.norm_eq_abs] |
| 96 | simp |
| 97 | exact (mul_le_mul (PiLp.norm_apply_le x 1) hv (norm_nonneg _) (norm_nonneg x)).trans_eq (mul_comm _ _) |
| 98 | |
| 99 | theorem linear_q (β : ℝ) : |
| 100 | linear β (EuclideanSpace.single 1 1)=EuclideanSpace.single 0 1+β • EuclideanSpace.single 2 1 := by |
| 101 | simp [linear_apply] |
| 102 | |
| 103 | end EulerBaseDatum |