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.ConstantCorrectionData |
| 2 | import Euler.ExactLiftedGraphPressure |
| 3 | import Euler.FieldTowerPhysicalContinuity |
| 4 | import Euler.LpSmoothField |
| 5 | |
| 6 | /-! With spatial scale one and angular direction zero, the zero-angle |
| 7 | slice of the actual exact lifted solution solves ordinary three-dimensional |
| 8 | Euler. The scalar pressure is the canonical normalized graph potential. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerConstantEuler |
| 13 | |
| 14 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 15 | EulerLiftedGradientSpace EulerAllOrderCorrectionData EulerAllOrderDriftCorrection |
| 16 | EulerConstantCorrection EulerMetricTransport EulerGraphPressurePotential |
| 17 | EulerVolterraConvolution EulerLagrangian EulerLpTranslation |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | private local instance : NormedAddCommGroup Space := inferInstance |
| 21 | private local instance : NormedSpace ℝ Space := inferInstance |
| 22 | private local instance : NormedAddCommGroup LiftTangent := inferInstance |
| 23 | private local instance : NormedSpace ℝ LiftTangent := inferInstance |
| 24 | |
| 25 | def inclusion : (ℝ × Space) →L[ℝ] (ℝ × LiftTangent) := |
| 26 | (ContinuousLinearMap.id ℝ ℝ).prodMap (ContinuousLinearMap.inl ℝ Space ℝ) |
| 27 | |
| 28 | @[simp] theorem inclusion_apply (t : ℝ) (x : Space) : inclusion (t,x)=(t,(x,0)) := rfl |
| 29 | |
| 30 | variable {P T : ℝ} [Fact (0 < P)] {hT : 0 < T} {F R : FieldTower P T} |
| 31 | {B : Budget P hT (data P F R)} (S : ExactLiftedPacket P hT (data P F R) B) |
| 32 | |
| 33 | def velocity (q : ℝ × Space) : Space := S.rawVelocity (q.1,(q.2,0)) |
| 34 | def pressure (q : ℝ × Space) : ℝ := S.rawGraphPotential 1 q |
| 35 | def force (q : ℝ × Space) : Space := S.rawPressure (q.1,(q.2,0)) |
| 36 | |
| 37 | theorem velocity_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : Space) : |
| 38 | HasFDerivAt (velocity S) |
| 39 | ((fderiv ℝ S.rawVelocity (t,(x,0))).comp inclusion) (t,x) := by |
| 40 | have hu := (S.rawVelocity_hasFDerivAt t ht (x,0)).differentiableAt.hasFDerivAt |
| 41 | have hi : HasFDerivAt (inclusion : ℝ × Space → ℝ × LiftTangent) inclusion (t,x) := |
| 42 | inclusion.hasFDerivAt |
| 43 | exact hu.comp (t,x) hi |
| 44 | |
| 45 | theorem velocity_joint_continuous : Continuous (velocity S) := by |
| 46 | have hc : Continuous (projIcc 0 T hT.le) := continuous_projIcc |
| 47 | change Continuous (fun q : ℝ × Space => S.velocity.pointField |
| 48 | (projIcc 0 T hT.le q.1) (coveringMap P (q.2,0))) |
| 49 | exact S.velocity.pointField_joint_continuous.comp |
| 50 | ((hc.comp continuous_fst).prodMk |
| 51 | ((EulerLiftedGradientSpace.coveringMap_isOpenQuotient P).continuous.comp |
| 52 | (continuous_snd.prodMk continuous_const))) |
| 53 | |
| 54 | theorem force_joint_continuous : Continuous (force S) := by |
| 55 | have hc : Continuous (projIcc 0 T hT.le) := continuous_projIcc |
| 56 | change Continuous (fun q : ℝ × Space => S.pressure.pointField |
| 57 | (projIcc 0 T hT.le q.1) (coveringMap P (q.2,0))) |
| 58 | exact S.pressure.pointField_joint_continuous.comp |
| 59 | ((hc.comp continuous_fst).prodMk |
| 60 | ((EulerLiftedGradientSpace.coveringMap_isOpenQuotient P).continuous.comp |
| 61 | (continuous_snd.prodMk continuous_const))) |
| 62 | |
| 63 | theorem pressure_joint_continuous : Continuous (pressure S) := by |
| 64 | have hc : Continuous (projIcc 0 T hT.le) := continuous_projIcc |
| 65 | change Continuous (fun q : ℝ × Space => S.graphPotential 1 (projIcc 0 T hT.le q.1) q.2) |
| 66 | have hi : Continuous (fun q : ℝ × Space => (projIcc 0 T hT.le q.1,q.2)) := |
| 67 | (hc.comp continuous_fst).prodMk continuous_snd |
| 68 | have hh := (S.graphPotential_joint_continuous 1).comp hi |
| 69 | exact hh |
| 70 | |
| 71 | theorem pressure_smooth (t : ℝ) : ContDiff ℝ ∞ (fun x => pressure S (t,x)) := |
| 72 | S.rawGraphPotential_smooth 1 (by norm_num [data]) t |
| 73 | |
| 74 | theorem pressure_gradient (t : ℝ) (x : Space) : |
| 75 | _root_.gradient (fun y => pressure S (t,y)) x=force S (t,x) := by |
| 76 | have h := S.rawGraphPotential_gradient 1 (by norm_num [data]) t x |
| 77 | simpa only [data,pressure,force,one_smul,inner_zero_left,mul_zero] using h |
| 78 | |
| 79 | theorem pressure_zero (t : ℝ) : pressure S (t,0)=0 := |
| 80 | S.graphPotential_zero 1 (projIcc 0 T hT.le t) |
| 81 | |
| 82 | theorem velocity_divergence (t : ℝ) (x : Space) : |
| 83 | divergence (fun y => velocity S (t,y)) x=0 := by |
| 84 | rw [divergence_eq_coordinate_sum] |
| 85 | have h := S.graphVelocity_divergence 1 (by norm_num [data]) (projIcc 0 T hT.le t) x |
| 86 | simpa only [velocity,ExactLiftedPacket.rawVelocity,FieldTower.rawField, |
| 87 | cylinderGraph,coveringMap,data,inner_zero_left,mul_zero] using h |
| 88 | |
| 89 | theorem momentum (t : ℝ) (ht : t ∈ Ioo 0 T) (x : Space) : |
| 90 | momentumResidual (velocity S) (pressure S) (t,x)=0 := by |
| 91 | unfold momentumResidual |
| 92 | rw [(velocity_hasFDerivAt S t ht x).fderiv,comp_apply,inclusion_apply,pressure_gradient] |
| 93 | have h := S.raw_normalized_equation t ht (x,0) |
| 94 | simp only [data,tower,coefficient,zero_apply,smul_zero,Finset.sum_const_zero, |
| 95 | add_zero,transportDirection,one_smul,inner_zero_left,id_apply] at h |
| 96 | have hd : (1,(velocity S (t,x),0)) = |
| 97 | ((1,0) : ℝ × LiftTangent)+(0,(velocity S (t,x),0)) := by simp |
| 98 | rw [hd,map_add] |
| 99 | exact h |
| 100 | |
| 101 | def field (t : Icc (0 : ℝ) T) : SmoothL2Field Space where |
| 102 | field := S.velocity.physicalPointField 1 0 t |
| 103 | smooth := S.velocity.physicalPointField_smooth 1 0 t |
| 104 | integrable n := S.velocity.physicalTensor_memLp 1 0 n t |
| 105 | |
| 106 | theorem field_apply (t : Icc (0 : ℝ) T) (x : Space) : |
| 107 | (field S t).field x=velocity S (t,x) := by |
| 108 | simp only [field,FieldTower.physicalPointField,EulerCylinderPhysicalTensor.physicalField, |
| 109 | velocity,ExactLiftedPacket.rawVelocity,FieldTower.rawField,cylinderGraph, |
| 110 | coveringMap,projIcc_of_mem hT.le t.property,inner_zero_left,mul_zero] |
| 111 | |
| 112 | theorem field_jetLp (n : ℕ) (t : Icc (0 : ℝ) T) : |
| 113 | (field S t).jetLp n=S.velocity.physicalTensorPath 1 0 n t := by |
| 114 | apply Lp.ext |
| 115 | exact (SmoothL2Field.jetLp_ae _ n).trans (S.velocity.physicalTensorPath_ae 1 0 n t).symm |
| 116 | |
| 117 | theorem field_jetLp_continuous (n : ℕ) : Continuous (fun t => (field S t).jetLp n) := by |
| 118 | simp only [field_jetLp] |
| 119 | exact (S.velocity.physicalTensorPath 1 0 n).continuous |
| 120 | |
| 121 | theorem velocity_smooth (t : ℝ) : ContDiff ℝ ∞ (fun x => velocity S (t,x)) := by |
| 122 | have h := S.velocity.physicalPointField_smooth 1 0 (projIcc 0 T hT.le t) |
| 123 | change ContDiff ℝ ∞ (fun x => S.velocity.pointField (projIcc 0 T hT.le t) (cylinderGraph P 1 0 x)) at h |
| 124 | simpa only [cylinderGraph,inner_zero_left,mul_zero,velocity,ExactLiftedPacket.rawVelocity, |
| 125 | FieldTower.rawField,coveringMap] using h |
| 126 | |
| 127 | theorem force_smooth (t : ℝ) : ContDiff ℝ ∞ (fun x => force S (t,x)) := by |
| 128 | have h := S.pressure.physicalPointField_smooth 1 0 (projIcc 0 T hT.le t) |
| 129 | change ContDiff ℝ ∞ (fun x => S.pressure.pointField (projIcc 0 T hT.le t) (cylinderGraph P 1 0 x)) at h |
| 130 | simpa only [cylinderGraph,inner_zero_left,mul_zero,force,ExactLiftedPacket.rawPressure, |
| 131 | FieldTower.rawField,coveringMap] using h |
| 132 | |
| 133 | end EulerConstantEuler |