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.SmoothCylinderFlow |
| 2 | import Euler.CylinderDescentJets |
| 3 | import Euler.SmoothFlowJets |
| 4 | |
| 5 | /-! Actual periodic displacement jets and their differentiated integral |
| 6 | equation. The real covering displacement is periodic, so its descent is |
| 7 | a vector-valued field, including its angular displacement component. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerSmoothCylinderFlow |
| 12 | |
| 13 | open Set MeasureTheory EulerLiftedGradientSpace EulerCylinderCoverDescent |
| 14 | EulerSmoothBanachFlow EulerFinitePathTensor EulerVolterraConvolution |
| 15 | open scoped ContDiff Interval |
| 16 | |
| 17 | private local instance (n : ℕ) : MeasurableSpace (LiftTangent [×n]→L[ℝ] LiftTangent) := borel _ |
| 18 | private local instance (n : ℕ) : BorelSpace (LiftTangent [×n]→L[ℝ] LiftTangent) := ⟨rfl⟩ |
| 19 | |
| 20 | variable (P T : ℝ) [Fact (0 < P)] (hT : 0 ≤ T) |
| 21 | (A : SmoothTimeField (Icc (0 : ℝ) T) LiftTangent LiftTangent) |
| 22 | (hA : ∀ (c : AddSubgroup.zmultiples P) (t : Icc (0 : ℝ) T) z, |
| 23 | A.field t (z.1,(c : ℝ)+z.2)=A.field t z) |
| 24 | |
| 25 | def velocityCover (t : ℝ) : LiftTangent → LiftTangent := A.field (projIcc 0 T hT t) |
| 26 | |
| 27 | def forwardCover (t : ℝ) : LiftTangent → LiftTangent := |
| 28 | (flowData T hT A).forward (projIcc 0 T hT t) |
| 29 | |
| 30 | include hA in |
| 31 | omit [Fact (0 < P)] in |
| 32 | theorem forwardCover_deck (t : ℝ) (c : AddSubgroup.zmultiples P) (z : LiftTangent) : |
| 33 | forwardCover T hT A t (z.1,(c : ℝ)+z.2) = |
| 34 | ((forwardCover T hT A t z).1,(c : ℝ)+(forwardCover T hT A t z).2) := |
| 35 | EulerCylinderPeriodicFlow.flow_deck P (flowData T hT A) (velocity_deck P T hT A hA) |
| 36 | 0 (projIcc 0 T hT t) c z |
| 37 | |
| 38 | include hA in |
| 39 | omit [Fact (0 < P)] in |
| 40 | theorem coverDisplacement_deck (t : ℝ) (c : AddSubgroup.zmultiples P) (z : LiftTangent) : |
| 41 | EulerSmoothBanachFlow.displacement T hT A t (z.1,(c : ℝ)+z.2) = |
| 42 | EulerSmoothBanachFlow.displacement T hT A t z := by |
| 43 | change forwardCover T hT A t (z.1,(c : ℝ)+z.2)-(z.1,(c : ℝ)+z.2) = |
| 44 | forwardCover T hT A t z-z |
| 45 | rw [forwardCover_deck P T hT A hA] |
| 46 | apply Prod.ext <;> simp |
| 47 | |
| 48 | def displacement (t : ℝ) : LiftDomain P → LiftTangent := |
| 49 | descend P (EulerSmoothBanachFlow.displacement T hT A t) |
| 50 | |
| 51 | def displacementJet (t : ℝ) (q : LiftDomain P) (n : ℕ) : LiftTangent [×n]→L[ℝ] LiftTangent := |
| 52 | jetSeries P (EulerSmoothBanachFlow.displacement T hT A t) q n |
| 53 | |
| 54 | def compositionJet (t : ℝ) (q : LiftDomain P) (n : ℕ) : LiftTangent [×n]→L[ℝ] LiftTangent := |
| 55 | (jetSeries P (velocityCover T hT A t) (forward P T hT A (projIcc 0 T hT t) q)).taylorComp |
| 56 | (jetSeries P (forwardCover T hT A t) q) n |
| 57 | |
| 58 | include hA in |
| 59 | theorem displacement_cover (t : ℝ) (z : LiftTangent) : |
| 60 | displacement P T hT A t (coveringMap P z)=EulerSmoothBanachFlow.displacement T hT A t z := |
| 61 | descend_cover P _ (fiber_constant_of_deck P _ (coverDisplacement_deck P T hT A hA t)) z |
| 62 | |
| 63 | include hA in |
| 64 | theorem displacement_smooth (t : ℝ) (q : LiftDomain P) : |
| 65 | ContDiff ℝ ∞ (EulerMetricTransport.localFieldLift P (displacement P T hT A t) q) := |
| 66 | descend_smooth P _ (coverDisplacement_deck P T hT A hA t) |
| 67 | (EulerSmoothBanachFlow.displacement_contDiff T hT A t) q |
| 68 | |
| 69 | include hA in |
| 70 | theorem displacementJet_local (t : ℝ) (q : LiftDomain P) (n : ℕ) : |
| 71 | displacementJet P T hT A t q n = |
| 72 | iteratedFDeriv ℝ n (EulerMetricTransport.localFieldLift P (displacement P T hT A t) q) 0 := |
| 73 | jetSeries_eq_local P _ (coverDisplacement_deck P T hT A hA t) q n |
| 74 | |
| 75 | include hA in |
| 76 | theorem compositionJet_eq (t : ℝ) (q : LiftDomain P) (n : ℕ) : |
| 77 | compositionJet P T hT A t q n = |
| 78 | iteratedFDeriv ℝ n (velocityCover T hT A t ∘ forwardCover T hT A t) (sectionPoint P q) := by |
| 79 | exact (jetSeries_comp P (velocityCover T hT A t) |
| 80 | (fun c z => hA c (projIcc 0 T hT t) z) (forwardCover T hT A t) |
| 81 | (A.smooth _) (forward_contDiff T hT A _) q n).symm |
| 82 | |
| 83 | include hA in |
| 84 | theorem compositionJet_path (t : ℝ) (q : LiftDomain P) (n : ℕ) : |
| 85 | compositionJet P T hT A t q n = |
| 86 | extendPath T hT (velocityJetPath T hT A n (sectionPoint P q)) t := by |
| 87 | rw [compositionJet_eq P T hT A hA] |
| 88 | exact (velocityJetPath_apply T hT A n (sectionPoint P q) (projIcc 0 T hT t)).symm |
| 89 | |
| 90 | theorem displacementJet_path (t : ℝ) (q : LiftDomain P) (n : ℕ) : |
| 91 | displacementJet P T hT A t q n = |
| 92 | extendPath T hT (displacementJetPath T hT A n (sectionPoint P q)) t := |
| 93 | (displacementJetPath_apply T hT A n (sectionPoint P q) t).symm |
| 94 | |
| 95 | include hA in |
| 96 | theorem displacementJet_integral (t : Icc (0 : ℝ) T) (q : LiftDomain P) (n : ℕ) : |
| 97 | displacementJet P T hT A t q n = ∫ s in (0 : ℝ)..(t : ℝ), compositionJet P T hT A s q n := by |
| 98 | rw [displacementJet_path,displacementJetPath_integral] |
| 99 | simp only [extendPath,projIcc_of_mem hT t.property,EulerContinuousTimeIntegral.integral_apply, |
| 100 | EulerContinuousTimeIntegral.realIntegral] |
| 101 | apply intervalIntegral.integral_congr |
| 102 | intro s _ |
| 103 | exact (compositionJet_path P T hT A hA s q n).symm |
| 104 | |
| 105 | omit [Fact (0 < P)] in |
| 106 | theorem velocityJetPath_label_continuous (n : ℕ) : |
| 107 | Continuous (velocityJetPath T hT A n) := |
| 108 | (tensorPathMap n).continuous.comp |
| 109 | (ContDiff.continuous_iteratedFDeriv (by simp) (velocityFamily_contDiff T hT A)) |
| 110 | |
| 111 | omit [Fact (0 < P)] in |
| 112 | theorem displacementJetPath_label_continuous (n : ℕ) : |
| 113 | Continuous (displacementJetPath T hT A n) := |
| 114 | (tensorPathMap n).continuous.comp |
| 115 | (ContDiff.continuous_iteratedFDeriv (by simp) (displacementFamily_contDiff T hT A)) |
| 116 | |
| 117 | include hA in |
| 118 | theorem compositionJet_joint_measurable (n : ℕ) : |
| 119 | Measurable (fun z : ℝ × LiftDomain P => compositionJet P T hT A z.1 z.2 n) := by |
| 120 | have hc : Continuous (fun z : ℝ × LiftTangent => |
| 121 | extendPath T hT (velocityJetPath T hT A n z.2) z.1) := |
| 122 | ((velocityJetPath_label_continuous T hT A n).comp continuous_snd).eval |
| 123 | (continuous_projIcc.comp continuous_fst) |
| 124 | have hm := hc.measurable.comp (measurable_fst.prodMk |
| 125 | ((sectionPoint_measurable P).comp measurable_snd)) |
| 126 | simpa only [compositionJet_path P T hT A hA,Function.comp_def] using hm |
| 127 | |
| 128 | theorem displacementJet_joint_measurable (n : ℕ) : |
| 129 | Measurable (fun z : ℝ × LiftDomain P => displacementJet P T hT A z.1 z.2 n) := by |
| 130 | have hc : Continuous (fun z : ℝ × LiftTangent => |
| 131 | extendPath T hT (displacementJetPath T hT A n z.2) z.1) := |
| 132 | ((displacementJetPath_label_continuous T hT A n).comp continuous_snd).eval |
| 133 | (continuous_projIcc.comp continuous_fst) |
| 134 | have hm := hc.measurable.comp (measurable_fst.prodMk |
| 135 | ((sectionPoint_measurable P).comp measurable_snd)) |
| 136 | simpa only [displacementJet_path,Function.comp_def] using hm |
| 137 | |
| 138 | end EulerSmoothCylinderFlow |