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.CylinderPathWords |
| 2 | import Euler.CylinderTimeGradient |
| 3 | import Euler.PacketCurlCoordinates |
| 4 | |
| 5 | /-! The literal slow curl as a continuous cylinder L² path with same-radius bounds. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCylinderSlowCurl |
| 10 | |
| 11 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 12 | EulerMetricTransport EulerLiftedWeakDerivative EulerCylinderSmoothOrbit EulerCylinderSobolev |
| 13 | EulerLpCylinderTranslation EulerLpCylinderRectangular EulerMeanCoefficients |
| 14 | EulerPacketPiola EulerMeanBoundary EulerParameterWordGevrey EulerGevrey |
| 15 | open scoped ContDiff BoundedContinuousFunction |
| 16 | |
| 17 | variable (P : ℝ) [Fact (0 < P)] |
| 18 | {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 19 | |
| 20 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 21 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 22 | private local instance : NormedAddCommGroup (LiftTangent →L[ℝ] Space) := inferInstance |
| 23 | private local instance : NormedSpace ℝ (LiftTangent →L[ℝ] Space) := inferInstance |
| 24 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 25 | private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 26 | private local instance : NormedAddCommGroup C(K,Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 27 | private local instance : NormedSpace ℝ C(K,Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 28 | private local instance : NormedAddCommGroup (LiftL2 P) := inferInstance |
| 29 | private local instance : NormedSpace ℝ (LiftL2 P) := inferInstance |
| 30 | private local instance : NormedAddCommGroup C(K,LiftL2 P) := inferInstance |
| 31 | private local instance : NormedSpace ℝ C(K,LiftL2 P) := inferInstance |
| 32 | |
| 33 | variable |
| 34 | (G : C(K,Space →ᵇ Space →L[ℝ] Space)) |
| 35 | (hG : ContDiff ℝ ∞ (translateCoefficientPath G)) |
| 36 | (p : C(K,LiftL2 P)) (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 37 | |
| 38 | def term (i : Fin 3) : C(K,LiftL2 P) := |
| 39 | fullMultiplierMap P (curlCoefficientPath i G) (derivativePath P p i.succ) |
| 40 | |
| 41 | include hG hp in |
| 42 | theorem term_orbit (i : Fin 3) : |
| 43 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (term P G p i)) := |
| 44 | product_orbit_contDiff P (curlCoefficientPath i G) (curlCoefficientPath_orbit i G hG) |
| 45 | (derivativePath P p i.succ) (derivativePath_orbit P p hp i.succ) |
| 46 | |
| 47 | def path : C(K,LiftL2 P) := ∑ i : Fin 3, term P G p i |
| 48 | |
| 49 | include hG hp in |
| 50 | theorem path_orbit : |
| 51 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (path P G p)) := by |
| 52 | simp only [path, map_sum] |
| 53 | exact ContDiff.sum (fun i _ => term_orbit P G hG p hp i) |
| 54 | |
| 55 | theorem term_ae (i : Fin 3) (t : K) : |
| 56 | (term P G p i t : LiftDomain P → Space) =ᵐ[liftMeasure P] |
| 57 | fun x => curlCoefficient i (G t x.1) |
| 58 | (fieldFDeriv P (pointField P p hp t) x (standardDirection i.succ)) := by |
| 59 | filter_upwards [EulerLpOperatorField.full_ae (liftMeasure P) |
| 60 | (fieldLift P (curlCoefficientPath i G t)) (derivativePath P p i.succ t), |
| 61 | pointField_ae P (derivativePath P p i.succ) (derivativePath_orbit P p hp i.succ) t] |
| 62 | with x hc hd |
| 63 | change term P G p i t x = curlCoefficient i (G t x.1) (derivativePath P p i.succ t x) at hc |
| 64 | rw [hc, hd, pointField_derivativePath P p hp] |
| 65 | |
| 66 | theorem path_ae (t : K) : |
| 67 | (path P G p t : LiftDomain P → Space) =ᵐ[liftMeasure P] |
| 68 | fun x => curlMatrix ((fieldFDeriv P (pointField P p hp t) x).comp |
| 69 | ((ContinuousLinearMap.inl ℝ Space ℝ).comp (G t x.1))) := by |
| 70 | have ht : ∀ᶠ x in ae (liftMeasure P), ∀ i : Fin 3, |
| 71 | term P G p i t x = curlCoefficient i (G t x.1) |
| 72 | (fieldFDeriv P (pointField P p hp t) x (standardDirection i.succ)) := |
| 73 | Filter.eventually_all.mpr (fun i => term_ae P G p hp i t) |
| 74 | have hs := Lp.coeFn_fun_finsetSum (Finset.univ : Finset (Fin 3)) (fun i => term P G p i t) |
| 75 | filter_upwards [hs, ht] with x hs ht |
| 76 | change (∑ i : Fin 3, term P G p i t) x = _ |
| 77 | rw [hs, curlMatrix_coordinates] |
| 78 | exact Finset.sum_congr rfl (fun i _ => ht i) |
| 79 | |
| 80 | def field (t : K) : LiftDomain P → Space := |
| 81 | pointField P (path P G p) (path_orbit P G hG p hp) t |
| 82 | |
| 83 | /-- The reconstructed L² path is exactly the classical curl used in the packet. -/ |
| 84 | theorem field_formula (t : K) (x : LiftDomain P) : |
| 85 | field P G hG p hp t x = |
| 86 | curlMatrix ((fieldFDeriv P (pointField P p hp t) x).comp |
| 87 | ((ContinuousLinearMap.inl ℝ Space ℝ).comp (G t x.1))) := by |
| 88 | have he : field P G hG p hp t = fun x => |
| 89 | curlMatrix ((fieldFDeriv P (pointField P p hp t) x).comp |
| 90 | ((ContinuousLinearMap.inl ℝ Space ℝ).comp (G t x.1))) := by |
| 91 | apply Measure.eq_of_ae_eq |
| 92 | ((pointField_ae P (path P G p) (path_orbit P G hG p hp) t).symm.trans |
| 93 | (path_ae P G p hp t)) |
| 94 | · exact smoothField_continuous P _ (pointField_smooth P _ _ t) |
| 95 | · have hD := (pointField_fderiv_joint_continuous (K := K) P p hp).comp |
| 96 | ((continuous_const : Continuous (fun _ : LiftDomain P => t)).prodMk continuous_id) |
| 97 | exact curlOperator.continuous.comp |
| 98 | (hD.clm_comp (continuous_const.clm_comp ((G t).continuous.comp continuous_fst))) |
| 99 | exact congrFun he x |
| 100 | |
| 101 | theorem field_eq_liftedSlowCurl (F : K → Space → Space ≃L[ℝ] Space) |
| 102 | (hF : ∀ t y, G t y = (F t y).symm.toContinuousLinearMap) (t : K) : |
| 103 | field P G hG p hp t = liftedSlowCurl P (F t) (pointField P p hp t) := by |
| 104 | funext x |
| 105 | rw [field_formula, hF] |
| 106 | rfl |
| 107 | |
| 108 | |
| 109 | end EulerCylinderSlowCurl |