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.CylinderCoverDescent |
| 2 | import Euler.BoundedFlowPeriodicity |
| 3 | |
| 4 | /-! The actual flow of a periodic cover velocity descends to a genuine |
| 5 | continuous cylinder flow with two-sided inverse. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCylinderPeriodicFlow |
| 10 | |
| 11 | open Set Function MeasureTheory EulerLiftedGradientSpace EulerCylinderCoverDescent |
| 12 | |
| 13 | variable (P : ℝ) [Fact (0 < P)] (V : EulerBoundedLipschitzFlow.Data LiftTangent) |
| 14 | (hV : ∀ (c : AddSubgroup.zmultiples P) t z, |
| 15 | V.velocity t (z.1,(c : ℝ)+z.2)=V.velocity t z) |
| 16 | |
| 17 | include hV in |
| 18 | omit [Fact (0 < P)] in |
| 19 | theorem flow_deck (s t : ℝ) (c : AddSubgroup.zmultiples P) (z : LiftTangent) : |
| 20 | V.flow s t (z.1,(c : ℝ)+z.2) = ((V.flow s t z).1,(c : ℝ)+(V.flow s t z).2) := by |
| 21 | have shift (w : LiftTangent) : w+(0,(c : ℝ)) = (w.1,(c : ℝ)+w.2) := by |
| 22 | apply Prod.ext <;> simp [add_comm] |
| 23 | have hp : ∀ r w, V.velocity r (w+(0,(c : ℝ)))=V.velocity r w := by |
| 24 | intro r w |
| 25 | rw [shift] |
| 26 | exact hV c r w |
| 27 | simpa only [shift] using V.flow_add_eq (0,(c : ℝ)) hp s t z |
| 28 | |
| 29 | def flow (s t : ℝ) : LiftDomain P → LiftDomain P := descendMap P (V.flow s t) |
| 30 | |
| 31 | include hV in |
| 32 | theorem flow_cover (s t : ℝ) (z : LiftTangent) : |
| 33 | flow P V s t (coveringMap P z) = coveringMap P (V.flow s t z) := |
| 34 | descendMap_cover P (V.flow s t) (flow_deck P V hV s t) z |
| 35 | |
| 36 | include hV in |
| 37 | theorem flow_inverse (s t : ℝ) : Function.LeftInverse (flow P V t s) (flow P V s t) := |
| 38 | descendMap_leftInverse P (V.flow s t) (flow_deck P V hV s t) |
| 39 | (V.flow t s) (flow_deck P V hV t s) (V.flow_inverse s t) |
| 40 | |
| 41 | include hV in |
| 42 | theorem forward_joint_continuous : Continuous (fun z : ℝ × LiftDomain P => flow P V 0 z.1 z.2) := by |
| 43 | have hf : Continuous (fun z : ℝ × LiftTangent => coveringMap P (V.forward z.1 z.2)) := |
| 44 | (coveringMap_isOpenQuotient P).continuous.comp V.forward_joint_continuous |
| 45 | exact descend_joint_continuous P (fun t z => coveringMap P (V.forward t z)) hf |
| 46 | (fun t => map_fiber_constant P (V.flow 0 t) (flow_deck P V hV 0 t)) |
| 47 | |
| 48 | include hV in |
| 49 | theorem backward_joint_continuous : Continuous (fun z : ℝ × LiftDomain P => flow P V z.1 0 z.2) := by |
| 50 | have hf : Continuous (fun z : ℝ × LiftTangent => coveringMap P (V.backward z.1 z.2)) := |
| 51 | (coveringMap_isOpenQuotient P).continuous.comp V.backward_joint_continuous |
| 52 | exact descend_joint_continuous P (fun t z => coveringMap P (V.backward t z)) hf |
| 53 | (fun t => map_fiber_constant P (V.flow t 0) (flow_deck P V hV t 0)) |
| 54 | |
| 55 | include hV in |
| 56 | theorem flow_measurePreserving (s t : ℝ) (hf : MeasurePreserving (V.flow s t) volume volume) : |
| 57 | MeasurePreserving (flow P V s t) (liftMeasure P) (liftMeasure P) := |
| 58 | descendMap_measurePreserving P (V.flow s t) (flow_deck P V hV s t) hf |
| 59 | |
| 60 | end EulerCylinderPeriodicFlow |