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.CylinderPeriodicFlow |
| 2 | import Euler.SmoothFlowVolume |
| 3 | |
| 4 | /-! A smooth periodic divergence-free cover velocity constructs an actual |
| 5 | volume-preserving cylinder flow with continuous inverse. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerSmoothCylinderFlow |
| 10 | |
| 11 | open Set MeasureTheory EulerLiftedGradientSpace EulerSmoothBanachFlow |
| 12 | |
| 13 | private local instance : Measure.IsAddHaarMeasure (volume : Measure LiftTangent) := by |
| 14 | change Measure.IsAddHaarMeasure ((volume : Measure Vector3).prod (volume : Measure ℝ)) |
| 15 | infer_instance |
| 16 | |
| 17 | variable (P T : ℝ) [Fact (0 < P)] (hT : 0 ≤ T) |
| 18 | (A : SmoothTimeField (Icc (0 : ℝ) T) LiftTangent LiftTangent) |
| 19 | (hA : ∀ (c : AddSubgroup.zmultiples P) (t : Icc (0 : ℝ) T) z, |
| 20 | A.field t (z.1,(c : ℝ)+z.2)=A.field t z) |
| 21 | |
| 22 | include hA in |
| 23 | omit [Fact (0 < P)] in |
| 24 | theorem velocity_deck (c : AddSubgroup.zmultiples P) (t : ℝ) (z : LiftTangent) : |
| 25 | (flowData T hT A).velocity t (z.1,(c : ℝ)+z.2)=(flowData T hT A).velocity t z := |
| 26 | hA c (projIcc 0 T hT t) z |
| 27 | |
| 28 | def forward (t : ℝ) : LiftDomain P → LiftDomain P := |
| 29 | EulerCylinderPeriodicFlow.flow P (flowData T hT A) 0 t |
| 30 | |
| 31 | def backward (t : ℝ) : LiftDomain P → LiftDomain P := |
| 32 | EulerCylinderPeriodicFlow.flow P (flowData T hT A) t 0 |
| 33 | |
| 34 | include hA in |
| 35 | theorem forward_cover (t : ℝ) (z : LiftTangent) : |
| 36 | forward P T hT A t (coveringMap P z)=coveringMap P ((flowData T hT A).forward t z) := |
| 37 | EulerCylinderPeriodicFlow.flow_cover P (flowData T hT A) (velocity_deck P T hT A hA) 0 t z |
| 38 | |
| 39 | include hA in |
| 40 | theorem backward_cover (t : ℝ) (z : LiftTangent) : |
| 41 | backward P T hT A t (coveringMap P z)=coveringMap P ((flowData T hT A).backward t z) := |
| 42 | EulerCylinderPeriodicFlow.flow_cover P (flowData T hT A) (velocity_deck P T hT A hA) t 0 z |
| 43 | |
| 44 | include hA in |
| 45 | theorem forward_joint_continuous : Continuous (Function.uncurry (forward P T hT A)) := |
| 46 | EulerCylinderPeriodicFlow.forward_joint_continuous P (flowData T hT A) (velocity_deck P T hT A hA) |
| 47 | |
| 48 | include hA in |
| 49 | theorem backward_joint_continuous : Continuous (Function.uncurry (backward P T hT A)) := |
| 50 | EulerCylinderPeriodicFlow.backward_joint_continuous P (flowData T hT A) (velocity_deck P T hT A hA) |
| 51 | |
| 52 | include hA in |
| 53 | theorem backward_forward (t : ℝ) : Function.LeftInverse (backward P T hT A t) (forward P T hT A t) := |
| 54 | EulerCylinderPeriodicFlow.flow_inverse P (flowData T hT A) (velocity_deck P T hT A hA) 0 t |
| 55 | |
| 56 | include hA in |
| 57 | theorem forward_backward (t : ℝ) : Function.RightInverse (backward P T hT A t) (forward P T hT A t) := |
| 58 | EulerCylinderPeriodicFlow.flow_inverse P (flowData T hT A) (velocity_deck P T hT A hA) t 0 |
| 59 | |
| 60 | variable (hdiv : ∀ t x, |
| 61 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) x).toLinearMap=0) |
| 62 | |
| 63 | include hA hdiv in |
| 64 | theorem forward_measurePreserving (t : Icc (0 : ℝ) T) : |
| 65 | MeasurePreserving (forward P T hT A t) (liftMeasure P) (liftMeasure P) := |
| 66 | EulerCylinderPeriodicFlow.flow_measurePreserving P (flowData T hT A) (velocity_deck P T hT A hA) 0 t |
| 67 | (EulerSmoothBanachFlow.forward_measurePreserving T hT A hdiv volume t) |
| 68 | |
| 69 | include hA hdiv in |
| 70 | theorem backward_measurePreserving (t : Icc (0 : ℝ) T) : |
| 71 | MeasurePreserving (backward P T hT A t) (liftMeasure P) (liftMeasure P) := |
| 72 | EulerCylinderPeriodicFlow.flow_measurePreserving P (flowData T hT A) (velocity_deck P T hT A hA) t 0 |
| 73 | (EulerSmoothBanachFlow.backward_measurePreserving T hT A hdiv volume t) |
| 74 | |
| 75 | end EulerSmoothCylinderFlow |