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_continuous (s t : ℝ) : Continuous (flow P V s t) := |
| 38 | descendMap_continuous P (V.flow s t) (flow_deck P V hV s t) (V.flowHomeomorph s t).continuous |
| 39 | |
| 40 | include hV in |
| 41 | theorem flow_initial (s : ℝ) (q : LiftDomain P) : flow P V s s q=q := by |
| 42 | obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q |
| 43 | rw [flow_cover P V hV,V.flow_initial] |
| 44 | |
| 45 | include hV in |
| 46 | theorem flow_inverse (s t : ℝ) : Function.LeftInverse (flow P V t s) (flow P V s t) := |
| 47 | descendMap_leftInverse P (V.flow s t) (flow_deck P V hV s t) |
| 48 | (V.flow t s) (flow_deck P V hV t s) (V.flow_inverse s t) |
| 49 | |
| 50 | include hV in |
| 51 | theorem flow_cocycle (r s t : ℝ) (q : LiftDomain P) : |
| 52 | flow P V s t (flow P V r s q)=flow P V r t q := by |
| 53 | obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q |
| 54 | rw [flow_cover P V hV,flow_cover P V hV,flow_cover P V hV,V.flow_cocycle] |
| 55 | |
| 56 | def flowHomeomorph (s t : ℝ) : LiftDomain P ≃ₜ LiftDomain P where |
| 57 | toFun := flow P V s t |
| 58 | invFun := flow P V t s |
| 59 | left_inv := flow_inverse P V hV s t |
| 60 | right_inv := flow_inverse P V hV t s |
| 61 | continuous_toFun := flow_continuous P V hV s t |
| 62 | continuous_invFun := flow_continuous P V hV t s |
| 63 | |
| 64 | include hV in |
| 65 | theorem forward_joint_continuous : Continuous (fun z : ℝ × LiftDomain P => flow P V 0 z.1 z.2) := by |
| 66 | have hf : Continuous (fun z : ℝ × LiftTangent => coveringMap P (V.forward z.1 z.2)) := |
| 67 | (coveringMap_isOpenQuotient P).continuous.comp V.forward_joint_continuous |
| 68 | exact descend_joint_continuous P (fun t z => coveringMap P (V.forward t z)) hf |
| 69 | (fun t => map_fiber_constant P (V.flow 0 t) (flow_deck P V hV 0 t)) |
| 70 | |
| 71 | include hV in |
| 72 | theorem backward_joint_continuous : Continuous (fun z : ℝ × LiftDomain P => flow P V z.1 0 z.2) := by |
| 73 | have hf : Continuous (fun z : ℝ × LiftTangent => coveringMap P (V.backward z.1 z.2)) := |
| 74 | (coveringMap_isOpenQuotient P).continuous.comp V.backward_joint_continuous |
| 75 | exact descend_joint_continuous P (fun t z => coveringMap P (V.backward t z)) hf |
| 76 | (fun t => map_fiber_constant P (V.flow t 0) (flow_deck P V hV t 0)) |
| 77 | |
| 78 | include hV in |
| 79 | theorem flow_measurePreserving (s t : ℝ) (hf : MeasurePreserving (V.flow s t) volume volume) : |
| 80 | MeasurePreserving (flow P V s t) (liftMeasure P) (liftMeasure P) := |
| 81 | descendMap_measurePreserving P (V.flow s t) (flow_deck P V hV s t) hf |
| 82 | |
| 83 | end EulerCylinderPeriodicFlow |