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.StaticEulerCorrection |
| 2 | import Euler.ConstantEulerGraph |
| 3 | import Euler.EulerTimeRescaling |
| 4 | import Euler.LpSmoothFieldAlgebra |
| 5 | import Euler.PacketFieldGraphBounds |
| 6 | |
| 7 | /-! A positive-time classical Euler solution constructed from a genuine |
| 8 | solenoidal Gevrey datum. The initial velocity is the original datum, not |
| 9 | its small multiple. All spatial derivative tensors remain continuous L² |
| 10 | paths after the actual Euler time/amplitude rescaling. -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerStaticEuler |
| 15 | |
| 16 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLpTranslation |
| 17 | EulerLiftedGradientSpace EulerAllOrderCorrectionData EulerAllOrderDriftCorrection |
| 18 | EulerVolterraConvolution EulerSobolevPointEvaluation EulerLagrangian |
| 19 | open scoped ContDiff |
| 20 | |
| 21 | variable (P : ℝ) [Fact (0 < P)] (u : SmoothL2Field Space) (C R : ℝ) |
| 22 | (hC : 0 ≤ C) (hR : 0 ≤ R) (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 23 | |
| 24 | def localVelocity : ℝ × Space → Space := |
| 25 | EulerTimeRescaling.velocity (amplitude P C R hC hR) |
| 26 | (EulerConstantEuler.velocity (exactPacket P u C R hC hR hu hdiv)) |
| 27 | |
| 28 | def localPressure : ℝ × Space → ℝ := |
| 29 | EulerTimeRescaling.pressure (amplitude P C R hC hR) |
| 30 | (EulerConstantEuler.pressure (exactPacket P u C R hC hR hu hdiv)) |
| 31 | |
| 32 | def localForce (q : ℝ × Space) : Space := |
| 33 | ((amplitude P C R hC hR)⁻¹)^2 • |
| 34 | EulerConstantEuler.force (exactPacket P u C R hC hR hu hdiv) |
| 35 | (EulerTimeRescaling.coordinates (amplitude P C R hC hR) q) |
| 36 | |
| 37 | theorem unit_initial (x : Space) : |
| 38 | EulerConstantEuler.velocity (exactPacket P u C R hC hR hu hdiv) (0,x) = |
| 39 | amplitude P C R hC hR • u.field x := by |
| 40 | have hh := congrArg (pointEvaluation P (x,(0 : AddCircle P))) |
| 41 | (exactPacket_initial P u C R hC hR hu hdiv 3) |
| 42 | change (exactPacket P u C R hC hR hu hdiv).velocity.pointField |
| 43 | ⟨0,le_rfl,by norm_num⟩ (x,0) = |
| 44 | ((EulerStaticCylinder.field P 1 u).smul (amplitude P C R hC hR)).toFieldTower.pointField |
| 45 | ⟨0,le_rfl,by norm_num⟩ (x,0) at hh |
| 46 | have hr := ((EulerStaticCylinder.field P 1 u).smul (amplitude P C R hC hR)).toFieldTower_pointField_raw |
| 47 | ⟨0,le_rfl,by norm_num⟩ x 0 |
| 48 | change _ = amplitude P C R hC hR • u.field x at hr |
| 49 | have h0 : (0 : ℝ) ∈ Icc (0 : ℝ) 1 := ⟨le_rfl,by norm_num⟩ |
| 50 | simpa only [EulerConstantEuler.velocity,ExactLiftedPacket.rawVelocity,FieldTower.rawField, |
| 51 | projIcc_of_mem zero_le_one h0,coveringMap,AddCircle.coe_zero] using hh.trans hr |
| 52 | |
| 53 | theorem localVelocity_initial (x : Space) : localVelocity P u C R hC hR hu hdiv (0,x)=u.field x := by |
| 54 | change (amplitude P C R hC hR)⁻¹ • |
| 55 | EulerConstantEuler.velocity (exactPacket P u C R hC hR hu hdiv) |
| 56 | (EulerTimeRescaling.coordinates (amplitude P C R hC hR) (0,x)) = _ |
| 57 | rw [EulerTimeRescaling.coordinates_apply,mul_zero,unit_initial,smul_smul, |
| 58 | inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne',one_smul] |
| 59 | |
| 60 | theorem localMomentum (t : ℝ) (ht : t ∈ Ioo (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : |
| 61 | momentumResidual (localVelocity P u C R hC hR hu hdiv) |
| 62 | (localPressure P u C R hC hR hu hdiv) (t,x)=0 := by |
| 63 | have hs := EulerTimeRescaling.scaled_time_interior (amplitude P C R hC hR) |
| 64 | (amplitude_pos P C R hC hR) t ht |
| 65 | exact EulerTimeRescaling.momentumResidual_zero (amplitude P C R hC hR) _ _ (t,x) |
| 66 | (EulerConstantEuler.velocity_hasFDerivAt (exactPacket P u C R hC hR hu hdiv) _ hs x).differentiableAt |
| 67 | ((EulerConstantEuler.pressure_smooth (exactPacket P u C R hC hR hu hdiv) _).differentiable (by simp) x) |
| 68 | (EulerConstantEuler.momentum (exactPacket P u C R hC hR hu hdiv) _ hs x) |
| 69 | |
| 70 | theorem localVelocity_differentiableAt (t : ℝ) |
| 71 | (ht : t ∈ Ioo (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : |
| 72 | DifferentiableAt ℝ (localVelocity P u C R hC hR hu hdiv) (t,x) := by |
| 73 | have hs := EulerTimeRescaling.scaled_time_interior (amplitude P C R hC hR) |
| 74 | (amplitude_pos P C R hC hR) t ht |
| 75 | exact (EulerTimeRescaling.velocity_hasFDerivAt (amplitude P C R hC hR) _ (t,x) |
| 76 | (EulerConstantEuler.velocity_hasFDerivAt (exactPacket P u C R hC hR hu hdiv) _ hs x).differentiableAt).differentiableAt |
| 77 | |
| 78 | theorem localVelocity_divergence (t : ℝ) (x : Space) : |
| 79 | divergence (fun y => localVelocity P u C R hC hR hu hdiv (t,y)) x=0 := by |
| 80 | rw [divergence_eq_coordinate_sum] |
| 81 | have hd := EulerTimeRescaling.spatial_derivative (amplitude P C R hC hR) |
| 82 | (EulerConstantEuler.velocity (exactPacket P u C R hC hR hu hdiv)) t x |
| 83 | ((EulerConstantEuler.velocity_smooth (exactPacket P u C R hC hR hu hdiv) _).differentiable (by simp) x) |
| 84 | change (∑ i : Fin 3, (fderiv ℝ (fun y => EulerTimeRescaling.velocity (amplitude P C R hC hR) |
| 85 | (EulerConstantEuler.velocity (exactPacket P u C R hC hR hu hdiv)) (t,y)) x |
| 86 | (EuclideanSpace.single i 1)) i)=0 |
| 87 | rw [hd] |
| 88 | simp only [smul_apply,PiLp.smul_apply,smul_eq_mul,← Finset.mul_sum, |
| 89 | ← divergence_eq_coordinate_sum] |
| 90 | erw [EulerConstantEuler.velocity_divergence,mul_zero] |
| 91 | |
| 92 | theorem localVelocity_joint_continuous : Continuous (localVelocity P u C R hC hR hu hdiv) := by |
| 93 | change Continuous (fun q => (amplitude P C R hC hR)⁻¹ • |
| 94 | EulerConstantEuler.velocity (exactPacket P u C R hC hR hu hdiv) |
| 95 | (EulerTimeRescaling.coordinates (amplitude P C R hC hR) q)) |
| 96 | exact ((EulerConstantEuler.velocity_joint_continuous (exactPacket P u C R hC hR hu hdiv)).comp |
| 97 | (EulerTimeRescaling.coordinates (E := Space) (amplitude P C R hC hR)).continuous).const_smul |
| 98 | ((amplitude P C R hC hR)⁻¹) |
| 99 | |
| 100 | theorem localPressure_joint_continuous : Continuous (localPressure P u C R hC hR hu hdiv) := by |
| 101 | change Continuous (fun q => ((amplitude P C R hC hR)⁻¹)^2 • |
| 102 | EulerConstantEuler.pressure (exactPacket P u C R hC hR hu hdiv) |
| 103 | (EulerTimeRescaling.coordinates (amplitude P C R hC hR) q)) |
| 104 | exact ((EulerConstantEuler.pressure_joint_continuous (exactPacket P u C R hC hR hu hdiv)).comp |
| 105 | (EulerTimeRescaling.coordinates (E := Space) (amplitude P C R hC hR)).continuous).const_smul |
| 106 | (((amplitude P C R hC hR)⁻¹)^2) |
| 107 | |
| 108 | theorem localForce_joint_continuous : Continuous (localForce P u C R hC hR hu hdiv) := by |
| 109 | change Continuous (fun q => ((amplitude P C R hC hR)⁻¹)^2 • |
| 110 | EulerConstantEuler.force (exactPacket P u C R hC hR hu hdiv) |
| 111 | (EulerTimeRescaling.coordinates (amplitude P C R hC hR) q)) |
| 112 | exact ((EulerConstantEuler.force_joint_continuous (exactPacket P u C R hC hR hu hdiv)).comp |
| 113 | (EulerTimeRescaling.coordinates (E := Space) (amplitude P C R hC hR)).continuous).const_smul |
| 114 | (((amplitude P C R hC hR)⁻¹)^2) |
| 115 | |
| 116 | theorem localPressure_gradient (t : ℝ) (x : Space) : |
| 117 | _root_.gradient (fun y => localPressure P u C R hC hR hu hdiv (t,y)) x = |
| 118 | localForce P u C R hC hR hu hdiv (t,x) := by |
| 119 | have h := EulerTimeRescaling.pressure_gradient (amplitude P C R hC hR) |
| 120 | (EulerConstantEuler.pressure (exactPacket P u C R hC hR hu hdiv)) (t,x) |
| 121 | ((EulerConstantEuler.pressure_smooth (exactPacket P u C R hC hR hu hdiv) _).differentiable (by simp) x) |
| 122 | erw [EulerConstantEuler.pressure_gradient] at h |
| 123 | exact h |
| 124 | |
| 125 | theorem localPressure_smooth (t : ℝ) : |
| 126 | ContDiff ℝ ∞ (fun x => localPressure P u C R hC hR hu hdiv (t,x)) := by |
| 127 | change ContDiff ℝ ∞ (fun x => ((amplitude P C R hC hR)⁻¹)^2 • |
| 128 | EulerConstantEuler.pressure (exactPacket P u C R hC hR hu hdiv) ((amplitude P C R hC hR)⁻¹*t,x)) |
| 129 | exact (EulerConstantEuler.pressure_smooth (exactPacket P u C R hC hR hu hdiv) _).const_smul _ |
| 130 | |
| 131 | theorem localPressure_zero (t : ℝ) : localPressure P u C R hC hR hu hdiv (t,0)=0 := by |
| 132 | change ((amplitude P C R hC hR)⁻¹)^2 * |
| 133 | EulerConstantEuler.pressure (exactPacket P u C R hC hR hu hdiv) (_,0)=0 |
| 134 | erw [EulerConstantEuler.pressure_zero,mul_zero] |
| 135 | |
| 136 | def localField (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : SmoothL2Field Space := |
| 137 | SmoothL2Field.mapField ((amplitude P C R hC hR)⁻¹ • ContinuousLinearMap.id ℝ Space) |
| 138 | (EulerConstantEuler.field (exactPacket P u C R hC hR hu hdiv) |
| 139 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t)) |
| 140 | |
| 141 | theorem localField_apply (t : Icc (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : |
| 142 | (localField P u C R hC hR hu hdiv t).field x=localVelocity P u C R hC hR hu hdiv (t,x) := by |
| 143 | change (amplitude P C R hC hR)⁻¹ • |
| 144 | (EulerConstantEuler.field (exactPacket P u C R hC hR hu hdiv) _).field x = _ |
| 145 | erw [EulerConstantEuler.field_apply] |
| 146 | change (amplitude P C R hC hR)⁻¹ • EulerConstantEuler.velocity |
| 147 | (exactPacket P u C R hC hR hu hdiv) ((t : ℝ)/amplitude P C R hC hR,x) = |
| 148 | (amplitude P C R hC hR)⁻¹ • EulerConstantEuler.velocity |
| 149 | (exactPacket P u C R hC hR hu hdiv) ((amplitude P C R hC hR)⁻¹*(t : ℝ),x) |
| 150 | rw [div_eq_mul_inv,mul_comm (t : ℝ)] |
| 151 | |
| 152 | theorem localField_jetLp_continuous (n : ℕ) : |
| 153 | Continuous (fun t => (localField P u C R hC hR hu hdiv t).jetLp n) := |
| 154 | SmoothL2Field.continuous_jetLp_mapField _ _ |
| 155 | (fun n => (EulerConstantEuler.field_jetLp_continuous (exactPacket P u C R hC hR hu hdiv) n).comp |
| 156 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR)).continuous) n |
| 157 | |
| 158 | theorem localVelocity_smooth (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : |
| 159 | ContDiff ℝ ∞ (fun x => localVelocity P u C R hC hR hu hdiv (t,x)) := by |
| 160 | have he : (localField P u C R hC hR hu hdiv t).field = |
| 161 | fun x => localVelocity P u C R hC hR hu hdiv (t,x) := |
| 162 | funext (localField_apply P u C R hC hR hu hdiv t) |
| 163 | rw [← he] |
| 164 | exact (localField P u C R hC hR hu hdiv t).smooth |
| 165 | |
| 166 | end EulerStaticEuler |