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.TransverseFixedStrong |
| 2 | import Euler.TimeLpGramInverse |
| 3 | import Euler.TimeH1Reconstruction |
| 4 | import Euler.ContinuousGramAcceleration |
| 5 | import Euler.TimeH1ContinuousDerivative |
| 6 | |
| 7 | /-! |
| 8 | # Continuous coordinate velocity of the actual fixed Dirichlet inverse |
| 9 | |
| 10 | The acceleration is constructed by the true Gram inverse. The weak solve |
| 11 | proves it is the derivative of the solved coordinate velocity; bounded H¹ |
| 12 | reconstruction then supplies the actual continuous history path. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace EulerTransverseFixedEvolution |
| 18 | |
| 19 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerTimeLp |
| 20 | EulerTerminalTimePrimitive EulerVolterraConvolution EulerTimeH1OperatorProduct |
| 21 | EulerTimeH1FrameTransport EulerTransverseFixedSpaceInverse EulerTransverseFixedStrong |
| 22 | EulerTransverseCoordinateRegularity EulerTransverseMomentumRegularity |
| 23 | EulerTransverseStrongEquation EulerTransverseGramInverse EulerTransverseGramPath |
| 24 | EulerTimeLpGramInverse EulerTimeH1Reconstruction |
| 25 | |
| 26 | variable {U E : Type*} |
| 27 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 28 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 29 | (T : ℝ) (hT : 0 ≤ T) |
| 30 | (Q Q₁ : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (H : C(Icc (0 : ℝ) T,E →L[ℝ] E)) |
| 31 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t v, c*‖v‖^2 ≤ ‖Q t v‖^2) |
| 32 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 33 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 34 | (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t v, ⟪H t v,v⟫_ℝ ≤ K*‖v‖^2) |
| 35 | (hsmall : K*(T^2/2) ≤ 1/2) |
| 36 | |
| 37 | def velocityLp : TimeLp T E →L[ℝ] TimeLp T U := |
| 38 | (zeroTraceDerivatives (U := U) T hT).subtypeL.comp |
| 39 | (fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall) |
| 40 | |
| 41 | def accelerationLp : TimeLp T E →L[ℝ] TimeLp T U := |
| 42 | (gramSolver T hT Q c hc hQ).comp ((timeMultiplier T hT Q).adjoint.comp |
| 43 | (ContinuousLinearMap.id ℝ (TimeLp T E)-(2 : ℝ) • (timeMultiplier T hT Q₁).comp |
| 44 | (velocityLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall))) |
| 45 | |
| 46 | def velocityPath : TimeLp T E →L[ℝ] C(Icc (0 : ℝ) T,U) := |
| 47 | (valuePart T hT).comp (velocityLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall)+ |
| 48 | (derivativePart T hT).comp (accelerationLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall) |
| 49 | |
| 50 | theorem velocityLp_zero_trace (f : TimeLp T E) : |
| 51 | initialTrace T hT (velocityLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) = 0 := |
| 52 | (fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f).property |
| 53 | |
| 54 | theorem accelerationLp_ae (f : TimeLp T E) : |
| 55 | (accelerationLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f : ℝ → U) =ᵐ[timeMeasure T] |
| 56 | fun t => gramInverse (Q (projIcc 0 T hT t)) c hc (hQ (projIcc 0 T hT t)) |
| 57 | ((Q (projIcc 0 T hT t)).adjoint (f t-(2 : ℝ) • Q₁ (projIcc 0 T hT t) |
| 58 | (velocityLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f t))) := by |
| 59 | let v := velocityLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f |
| 60 | let w := f-(2 : ℝ) • timeMultiplier T hT Q₁ v |
| 61 | change (gramSolver T hT Q c hc hQ ((timeMultiplier T hT Q).adjoint w) : ℝ → U) =ᵐ[timeMeasure T] _ |
| 62 | rw [gramSolver_eq_multiplier] |
| 63 | filter_upwards [timeMultiplier_ae T hT (gramInversePath T Q c hc hQ) |
| 64 | ((timeMultiplier T hT Q).adjoint w), momentum_ae T hT Q w, |
| 65 | Lp.coeFn_sub f ((2 : ℝ) • timeMultiplier T hT Q₁ v), |
| 66 | Lp.coeFn_smul (2 : ℝ) (timeMultiplier T hT Q₁ v),timeMultiplier_ae T hT Q₁ v] |
| 67 | with t ha hm hw hs hv |
| 68 | change w t = _ at hw |
| 69 | change ((timeMultiplier T hT Q).adjoint w) t = _ at hm |
| 70 | rw [ha,hm,hw,Pi.sub_apply,hs,Pi.smul_apply,hv] |
| 71 | rfl |
| 72 | |
| 73 | theorem accelerationLp_equation (f : TimeLp T E) : |
| 74 | ∀ᵐ t ∂timeMeasure T, |
| 75 | gram (extendPath T hT Q t) (accelerationLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f t) = |
| 76 | (extendPath T hT Q t).adjoint (f t-(2 : ℝ) • extendPath T hT Q₁ t |
| 77 | (velocityLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f t)) := by |
| 78 | filter_upwards [accelerationLp_ae T hT Q Q₁ H c hc hQ hd K hK hH hsmall f] with t ht |
| 79 | change gram (Q (projIcc 0 T hT t)) _ = _ |
| 80 | rw [ht] |
| 81 | exact gram_inverse_apply _ c hc (hQ (projIcc 0 T hT t)) _ |
| 82 | |
| 83 | variable (Q₂ : C(Icc (0 : ℝ) T,U →L[ℝ] E)) |
| 84 | (hd₁ : ∀ t : Icc (0 : ℝ) T, |
| 85 | HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) |
| 86 | (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) |
| 87 | |
| 88 | include hd₁ hframe in |
| 89 | theorem velocityLp_h1 (hTpos : 0 < T) (f : TimeLp T E) : |
| 90 | ∃ v : ℝ → U, AbsolutelyContinuousOnInterval v 0 T ∧ |
| 91 | (velocityLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f : ℝ → U) =ᵐ[timeMeasure T] v ∧ |
| 92 | ∀ᵐ t ∂timeMeasure T, |
| 93 | HasDerivAt v (accelerationLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f t) t := by |
| 94 | obtain ⟨v,hv,hrep,hder,heq⟩ := EulerTransverseFixedStrong.exists_strong T hT Q Q₁ H c hc hQ |
| 95 | hd K hK hH hsmall Q₂ hd₁ hframe hTpos f |
| 96 | refine ⟨v,hv,hrep,?_⟩ |
| 97 | filter_upwards [hder,heq,hrep,accelerationLp_ae T hT Q Q₁ H c hc hQ hd K hK hH hsmall f] |
| 98 | with t hdt het hvt hat |
| 99 | dsimp only [extendPath] at het |
| 100 | have hi := congrArg (gramInverse (Q (projIcc 0 T hT t)) c hc (hQ (projIcc 0 T hT t))) het |
| 101 | rw [inverse_gram_apply] at hi |
| 102 | change (velocityLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) t = v t at hvt |
| 103 | rw [← hvt,← hat] at hi |
| 104 | rw [← hi] |
| 105 | exact hdt |
| 106 | |
| 107 | theorem velocityPath_eq (hTpos : 0 < T) (f : TimeLp T E) (v : ℝ → U) |
| 108 | (hv : AbsolutelyContinuousOnInterval v 0 T) |
| 109 | (hrep : (velocityLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f : ℝ → U) =ᵐ[timeMeasure T] v) |
| 110 | (hder : ∀ᵐ t ∂timeMeasure T, |
| 111 | HasDerivAt v (accelerationLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f t) t) |
| 112 | (t : Icc (0 : ℝ) T) : |
| 113 | velocityPath T hT Q Q₁ H c hc hQ hd K hK hH hsmall f t = v t := |
| 114 | reconstruction_eq_path T hTpos _ _ v hv hrep hder t |
| 115 | |
| 116 | include hd₁ hframe in |
| 117 | theorem velocityPath_ae (hTpos : 0 < T) (f : TimeLp T E) : |
| 118 | (velocityLp T hT Q Q₁ H c hc hQ hd K hK hH hsmall f : ℝ → U) =ᵐ[timeMeasure T] |
| 119 | extendPath T hT (velocityPath T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) := by |
| 120 | obtain ⟨v,hv,hrep,hder⟩ := velocityLp_h1 T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hd₁ hframe hTpos f |
| 121 | filter_upwards [hrep,ae_restrict_mem measurableSet_Icc] with t ht hmem |
| 122 | rw [ht] |
| 123 | change v t = velocityPath T hT Q Q₁ H c hc hQ hd K hK hH hsmall f (projIcc 0 T hT t) |
| 124 | rw [projIcc_of_mem hT hmem] |
| 125 | exact (velocityPath_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall hTpos f v hv hrep hder ⟨t,hmem⟩).symm |
| 126 | |
| 127 | end EulerTransverseFixedEvolution |