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.SmoothCylinderJets |
| 2 | import Euler.SmoothFlowTimeGevrey |
| 3 | import Euler.GevreyFlowLpIntegration |
| 4 | import Mathlib.LinearAlgebra.Multilinear.FiniteDimensional |
| 5 | |
| 6 | /-! The actual periodic flow displacement has simultaneous uniform and |
| 7 | L² Gevrey bounds. The L² estimate uses the cylinder's own Haar measure |
| 8 | and the differentiated equation of the constructed flow. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerSmoothCylinderFlow |
| 13 | |
| 14 | open Set MeasureTheory EulerLiftedGradientSpace EulerCylinderCoverDescent |
| 15 | EulerSmoothBanachFlow EulerSmoothFlowGevrey |
| 16 | open scoped ContDiff Interval BoundedContinuousFunction |
| 17 | |
| 18 | private local instance (n : ℕ) : NormedAddCommGroup (LiftTangent [×n]→L[ℝ] LiftTangent) := inferInstance |
| 19 | private local instance (n : ℕ) : NormedSpace ℝ (LiftTangent [×n]→L[ℝ] LiftTangent) := inferInstance |
| 20 | private local instance (n : ℕ) : NormedAddCommGroup (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] LiftTangent)) := inferInstance |
| 21 | private local instance (n : ℕ) : NormedSpace ℝ (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] LiftTangent)) := inferInstance |
| 22 | private local instance (n : ℕ) : MeasurableSpace (LiftTangent [×n]→L[ℝ] LiftTangent) := borel _ |
| 23 | private local instance (n : ℕ) : BorelSpace (LiftTangent [×n]→L[ℝ] LiftTangent) := ⟨rfl⟩ |
| 24 | private local instance (n : ℕ) : FiniteDimensional ℝ (LiftTangent [×n]→L[ℝ] LiftTangent) := by |
| 25 | let J : (LiftTangent [×n]→L[ℝ] LiftTangent) →ₗ[ℝ] |
| 26 | MultilinearMap ℝ (fun _ : Fin n => LiftTangent) LiftTangent := |
| 27 | ContinuousMultilinearMap.toMultilinearMapLinear |
| 28 | exact FiniteDimensional.of_injective J ContinuousMultilinearMap.toMultilinearMap_injective |
| 29 | |
| 30 | variable (P T : ℝ) [Fact (0 < P)] (hT : 0 ≤ T) |
| 31 | (A : SmoothTimeField (Icc (0 : ℝ) T) LiftTangent LiftTangent) |
| 32 | (hA : ∀ (c : AddSubgroup.zmultiples P) (t : Icc (0 : ℝ) T) z, |
| 33 | A.field t (z.1,(c : ℝ)+z.2)=A.field t z) |
| 34 | |
| 35 | theorem displacementJet_bound (B R : ℝ) |
| 36 | (hB : 0 ≤ B) (hR : 0 < R) (hsmall : B*R*T ≤ 1/8) |
| 37 | (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 38 | (n : ℕ) (t : Icc (0 : ℝ) T) (q : LiftDomain P) : |
| 39 | ‖displacementJet P T hT A t q n‖ ≤ B*(t : ℝ)*(4*R)^n*(n.factorial : ℝ)^2 := |
| 40 | EulerSmoothFlowGevrey.displacement_bound T hT A B R hB hR hsmall hb |
| 41 | n t t.property (sectionPoint P q) |
| 42 | |
| 43 | variable (hdiv : ∀ t x, |
| 44 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) x).toLinearMap=0) |
| 45 | |
| 46 | include hA hdiv in |
| 47 | theorem compositionJet_memLp_and_bound (B R C S : ℝ) |
| 48 | (hB : 0 ≤ B) (hR : 0 < R) (hC : 0 ≤ C) (hS : 0 ≤ S) |
| 49 | (hsmall : B*R*T ≤ 1/8) |
| 50 | (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 51 | (n : ℕ) |
| 52 | (hLp : ∀ t : Icc (0 : ℝ) T, ∀ j ≤ n, |
| 53 | MemLp (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) 2 (liftMeasure P)) |
| 54 | (hNorm : ∀ t : Icc (0 : ℝ) T, ∀ j ≤ n, |
| 55 | (eLpNorm (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) |
| 56 | 2 (liftMeasure P)).toReal ≤ C*S^j*(j.factorial : ℝ)^2) |
| 57 | (t : ℝ) : |
| 58 | MemLp (fun q => compositionJet P T hT A t q n) 2 (liftMeasure P) ∧ |
| 59 | (eLpNorm (fun q => compositionJet P T hT A t q n) 2 (liftMeasure P)).toReal ≤ |
| 60 | C*(flowRadius B R T S)^n*(n.factorial : ℝ)^2 := by |
| 61 | apply EulerGevreyJetCompositionLp.composition_memLp_and_bound (liftMeasure P) |
| 62 | (forward P T hT A (projIcc 0 T hT t)) |
| 63 | (forward_measurePreserving P T hT A hA hdiv (projIcc 0 T hT t)) |
| 64 | (jetSeries P (forwardCover T hT A t)) (jetSeries P (velocityCover T hT A t)) n |
| 65 | ((compositionJet_joint_measurable P T hT A hA n).comp (measurable_const.prodMk measurable_id)).aestronglyMeasurable |
| 66 | C (1+B*T) (4*R+1) S hC (by positivity) (by positivity) hS |
| 67 | · exact hLp (projIcc 0 T hT t) |
| 68 | · exact hNorm (projIcc 0 T hT t) |
| 69 | · intro j hj _ q |
| 70 | exact forward_positive_bound T hT A B R hB hR hsmall hb j hj |
| 71 | (projIcc 0 T hT t) (sectionPoint P q) |
| 72 | |
| 73 | include hA hdiv in |
| 74 | theorem displacementJet_memLp_and_bound (B R C S : ℝ) |
| 75 | (hB : 0 ≤ B) (hR : 0 < R) (hC : 0 ≤ C) (hS : 0 ≤ S) |
| 76 | (hsmall : B*R*T ≤ 1/8) |
| 77 | (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 78 | (n : ℕ) |
| 79 | (hLp : ∀ t : Icc (0 : ℝ) T, ∀ j ≤ n, |
| 80 | MemLp (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) 2 (liftMeasure P)) |
| 81 | (hNorm : ∀ t : Icc (0 : ℝ) T, ∀ j ≤ n, |
| 82 | (eLpNorm (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) |
| 83 | 2 (liftMeasure P)).toReal ≤ C*S^j*(j.factorial : ℝ)^2) |
| 84 | (t : Icc (0 : ℝ) T) : |
| 85 | MemLp (fun q => displacementJet P T hT A t q n) 2 (liftMeasure P) ∧ |
| 86 | (eLpNorm (fun q => displacementJet P T hT A t q n) 2 (liftMeasure P)).toReal ≤ |
| 87 | (t : ℝ)*C*(flowRadius B R T S)^n*(n.factorial : ℝ)^2 := by |
| 88 | have hm := (compositionJet_joint_measurable P T hT A hA n).aestronglyMeasurable |
| 89 | (μ := (volume.restrict (Icc 0 (t : ℝ))).prod (liftMeasure P)) |
| 90 | have hi := EulerGevreyFlowLpIntegration.integrated_composition_bound (t : ℝ) t.property.1 |
| 91 | (liftMeasure P) (fun s => forward P T hT A (projIcc 0 T hT s)) |
| 92 | (fun s _ => forward_measurePreserving P T hT A hA hdiv (projIcc 0 T hT s)) |
| 93 | (fun s => jetSeries P (forwardCover T hT A s)) |
| 94 | (fun s => jetSeries P (velocityCover T hT A s)) n hm |
| 95 | C (1+B*T) (4*R+1) S hC (by positivity) (by positivity) hS |
| 96 | (fun s _ => hLp (projIcc 0 T hT s)) (fun s _ => hNorm (projIcc 0 T hT s)) |
| 97 | (fun s _ j hj _ q => forward_positive_bound T hT A B R hB hR hsmall hb j hj |
| 98 | (projIcc 0 T hT s) (sectionPoint P q)) |
| 99 | have he : (fun q => ∫ s in (0 : ℝ)..(t : ℝ), compositionJet P T hT A s q n) = |
| 100 | fun q => displacementJet P T hT A t q n := |
| 101 | funext (fun q => (displacementJet_integral P T hT A hA t q n).symm) |
| 102 | change MemLp (fun q => ∫ s in (0 : ℝ)..(t : ℝ), compositionJet P T hT A s q n) |
| 103 | 2 (liftMeasure P) ∧ |
| 104 | (eLpNorm (fun q => ∫ s in (0 : ℝ)..(t : ℝ), compositionJet P T hT A s q n) |
| 105 | 2 (liftMeasure P)).toReal ≤ (t : ℝ)*C*(flowRadius B R T S)^n*(n.factorial : ℝ)^2 at hi |
| 106 | rwa [he] at hi |
| 107 | |
| 108 | end EulerSmoothCylinderFlow |