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.OrdinaryEulerGradientControl |
| 2 | import Euler.PacketPotentialRegularity |
| 3 | |
| 4 | /-! Genuine ordinary vorticity fields, their continuous supremum norms, |
| 5 | and actual time integrals. These are literal curls of the velocity. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerOrdinarySobolev |
| 10 | |
| 11 | open Set Filter MeasureTheory EulerSmoothLimit EulerLpTranslation |
| 12 | EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal EulerVectorCalculus |
| 13 | EulerMeanSobolevBoundedField EulerMeanBoundary EulerMeanCutoffCurl EulerPacketPiola |
| 14 | EulerVolterraConvolution EulerContinuousTimeIntegral |
| 15 | open scoped ContDiff Topology |
| 16 | |
| 17 | def vorticityField (A : SmoothL2Field Space) : SmoothL2Field Space := |
| 18 | mapField curlOperator A.derivative |
| 19 | |
| 20 | theorem vorticityField_apply (A : SmoothL2Field Space) (x : Space) : |
| 21 | (vorticityField A).field x=vectorCurl A.field x := |
| 22 | (vectorCurl_eq_matrix A.field x (A.smooth.differentiable (by simp) x)).symm |
| 23 | |
| 24 | theorem vorticityField_continuous {K : Type*} [TopologicalSpace K] |
| 25 | (A : K → SmoothL2Field Space) (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (n : ℕ) : |
| 26 | Continuous (fun t => (vorticityField (A t)).jetLp n) := |
| 27 | continuous_jetLp_mapField curlOperator (fun t => (A t).derivative) |
| 28 | (continuous_jetLp_derivative A hA) n |
| 29 | |
| 30 | def vorticityNorm (A : SmoothL2Field Space) : ℝ := ‖finiteField (vorticityField A)‖ |
| 31 | |
| 32 | theorem vorticityNorm_nonneg (A : SmoothL2Field Space) : 0 ≤ vorticityNorm A := norm_nonneg _ |
| 33 | |
| 34 | theorem vorticityNorm_le_iff (A : SmoothL2Field Space) (K : ℝ) : |
| 35 | vorticityNorm A ≤ K ↔ ∀ x, ‖vectorCurl A.field x‖ ≤ K := by |
| 36 | unfold vorticityNorm |
| 37 | rw [BoundedContinuousFunction.norm_le_of_nonempty] |
| 38 | simp only [finiteField_apply,vorticityField_apply] |
| 39 | |
| 40 | theorem vorticityNorm_continuous {K : Type*} [TopologicalSpace K] |
| 41 | (A : K → SmoothL2Field Space) (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : |
| 42 | Continuous (fun t => vorticityNorm (A t)) := |
| 43 | (continuous_finiteField (fun t => vorticityField (A t)) (vorticityField_continuous A hA)).norm |
| 44 | |
| 45 | namespace Evolution |
| 46 | |
| 47 | variable {T : ℝ} {hT : 0 ≤ T} (U : Evolution T hT) |
| 48 | |
| 49 | def vorticityNormPath : C(Icc (0 : ℝ) T,ℝ) := |
| 50 | ⟨fun t => vorticityNorm (U.velocity t),vorticityNorm_continuous U.velocity U.velocity_continuous⟩ |
| 51 | |
| 52 | theorem vorticityNormPath_nonneg (t : Icc (0 : ℝ) T) : 0 ≤ U.vorticityNormPath t := |
| 53 | vorticityNorm_nonneg _ |
| 54 | |
| 55 | theorem vorticityNormPath_le_iff (t : Icc (0 : ℝ) T) (K : ℝ) : |
| 56 | U.vorticityNormPath t ≤ K ↔ ∀ x, ‖vectorCurl (U.velocity t).field x‖ ≤ K := |
| 57 | vorticityNorm_le_iff _ K |
| 58 | |
| 59 | theorem pointwise_vorticity_le (t : Icc (0 : ℝ) T) (x : Space) : |
| 60 | ‖vectorCurl (U.velocity t).field x‖ ≤ U.vorticityNormPath t := |
| 61 | (U.vorticityNormPath_le_iff t _).mp le_rfl x |
| 62 | |
| 63 | def vorticityIntegral (t : Icc (0 : ℝ) T) : ℝ := realIntegral T hT U.vorticityNormPath t |
| 64 | |
| 65 | theorem vorticityIntegral_nonneg (t : Icc (0 : ℝ) T) : 0 ≤ U.vorticityIntegral t := |
| 66 | intervalIntegral.integral_nonneg_of_forall t.property.1 |
| 67 | (fun r => U.vorticityNormPath_nonneg (projIcc 0 T hT r)) |
| 68 | |
| 69 | theorem vorticityIntegral_initial : U.vorticityIntegral ⟨0,le_rfl,hT⟩=0 := |
| 70 | intervalIntegral.integral_same |
| 71 | |
| 72 | theorem vorticityIntegral_continuous : Continuous U.vorticityIntegral := |
| 73 | (show Continuous (realIntegral T hT U.vorticityNormPath) from |
| 74 | (show Differentiable ℝ (realIntegral T hT U.vorticityNormPath) from |
| 75 | fun t => (realIntegral_hasDerivAt T hT U.vorticityNormPath t).differentiableAt).continuous).comp |
| 76 | continuous_subtype_val |
| 77 | |
| 78 | theorem vorticityIntegral_mono (s t : Icc (0 : ℝ) T) (hst : (s : ℝ) ≤ t) : |
| 79 | U.vorticityIntegral s ≤ U.vorticityIntegral t := |
| 80 | intervalIntegral.integral_mono_interval le_rfl s.property.1 hst |
| 81 | (Eventually.of_forall (fun r => U.vorticityNormPath_nonneg (projIcc 0 T hT r))) |
| 82 | ((extendPath_continuous T hT U.vorticityNormPath).intervalIntegrable 0 t) |
| 83 | |
| 84 | theorem vorticityIntegral_le_const (K : ℝ) |
| 85 | (hK : ∀ t x, ‖vectorCurl (U.velocity t).field x‖ ≤ K) (t : Icc (0 : ℝ) T) : |
| 86 | U.vorticityIntegral t ≤ K*(t : ℝ) := by |
| 87 | have hc := extendPath_continuous T hT U.vorticityNormPath |
| 88 | calc |
| 89 | _ ≤ ∫ _r in (0 : ℝ)..(t : ℝ), K := |
| 90 | intervalIntegral.integral_mono_on t.property.1 (hc.intervalIntegrable 0 t) |
| 91 | (continuous_const.intervalIntegrable 0 t) (fun r _ => |
| 92 | (U.vorticityNormPath_le_iff (projIcc 0 T hT r) K).mpr (hK _)) |
| 93 | _ = _ := by simp only [intervalIntegral.integral_const,sub_zero,smul_eq_mul]; ring |
| 94 | |
| 95 | theorem vorticityNormPath_le_gradient (t : Icc (0 : ℝ) T) : |
| 96 | U.vorticityNormPath t ≤ ‖curlOperator‖*U.gradientNormPath t := by |
| 97 | apply (U.vorticityNormPath_le_iff t _).mpr |
| 98 | intro x |
| 99 | rw [← vorticityField_apply] |
| 100 | exact (curlOperator.le_opNorm (fderiv ℝ (U.velocity t).field x)).trans |
| 101 | (mul_le_mul_of_nonneg_left (U.pointwise_gradient_le t x) (norm_nonneg _)) |
| 102 | |
| 103 | end Evolution |
| 104 | end EulerOrdinarySobolev |