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.LinearDuhamelOperator |
| 2 | import Euler.TransverseGramPath |
| 3 | import Euler.TransverseNormalResidual |
| 4 | |
| 5 | /-! |
| 6 | # The actual forward transverse initial value problem |
| 7 | |
| 8 | The matrix coefficient in source equation (12) is formed using the genuinely |
| 9 | constructed Gram inverse. Given the homogeneous evolution assumed in (H3), |
| 10 | Duhamel's integral constructs the forced coordinate and physical velocity. |
| 11 | The coordinate equation, tangency, initial trace and physical pressure balance |
| 12 | are proved at every time, including within-interval endpoint derivatives. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | |
| 18 | namespace EulerTransverseForwardInverse |
| 19 | |
| 20 | open Set InnerProductSpace ContinuousLinearMap EulerVolterraConvolution |
| 21 | EulerTransverseGramInverse EulerTransverseGramPath EulerTransverseNormalResidual |
| 22 | EulerContinuousTimeIntegral EulerLinearDuhamel |
| 23 | |
| 24 | variable {V E : Type*} |
| 25 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 26 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 27 | variable (T : ℝ) (hT : 0 ≤ T) |
| 28 | (Q Q₁ : C(Icc (0 : ℝ) T,V →L[ℝ] E)) |
| 29 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t v, c*‖v‖^2 ≤ ‖Q t v‖^2) |
| 30 | |
| 31 | /-- The actual ordinary coefficient `-2 K⁻¹ Q* Q₁` in equation (12). -/ |
| 32 | def generator : C(Icc (0 : ℝ) T,V →L[ℝ] V) := |
| 33 | ⟨fun t => (-2 : ℝ) • (gramInversePath T Q c hc hQ t).comp ((Q t).adjoint.comp (Q₁ t)), |
| 34 | ((gramInversePath T Q c hc hQ).continuous.clm_comp |
| 35 | ((adjointPath T Q).continuous.clm_comp Q₁.continuous)).const_smul (-2 : ℝ)⟩ |
| 36 | |
| 37 | /-- The actual projected forcing `K⁻¹ Q* f`, as a bounded continuous-path map. -/ |
| 38 | def forcingOperator : C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,V) := |
| 39 | multiplier (frameLeftInversePath T Q c hc hQ) |
| 40 | |
| 41 | variable (U : Evolution T hT (generator T Q Q₁ c hc hQ)) |
| 42 | |
| 43 | /-- The forward coordinate is the actual forced Duhamel path. -/ |
| 44 | def coordinates (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) : C(Icc (0 : ℝ) T,V) := |
| 45 | U.solution (forcingOperator T Q c hc hQ f) a₀ |
| 46 | |
| 47 | /-- Its derivative is the literal ordinary right hand side. -/ |
| 48 | def coordinateDerivative (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) : C(Icc (0 : ℝ) T,V) := |
| 49 | multiplier (generator T Q Q₁ c hc hQ) (coordinates T hT Q Q₁ c hc hQ U f a₀) + |
| 50 | forcingOperator T Q c hc hQ f |
| 51 | |
| 52 | /-- The physical velocity `A=Qa` is an actual continuous path. -/ |
| 53 | def velocity (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) : C(Icc (0 : ℝ) T,E) := |
| 54 | multiplier Q (coordinates T hT Q Q₁ c hc hQ U f a₀) |
| 55 | |
| 56 | /-- The physical time derivative, with the literal product-rule expression. -/ |
| 57 | def velocityDerivative (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) : C(Icc (0 : ℝ) T,E) := |
| 58 | multiplier Q₁ (coordinates T hT Q Q₁ c hc hQ U f a₀) + |
| 59 | multiplier Q (coordinateDerivative T hT Q Q₁ c hc hQ U f a₀) |
| 60 | |
| 61 | /-- The constructed coordinate attains the prescribed initial datum. -/ |
| 62 | @[simp] theorem coordinates_initial (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) : |
| 63 | coordinates T hT Q Q₁ c hc hQ U f a₀ ⟨0,le_rfl,hT⟩ = a₀ := |
| 64 | U.solution_initial _ _ |
| 65 | |
| 66 | /-- The actual initial physical velocity is `Q(0)a₀`. -/ |
| 67 | @[simp] theorem velocity_initial (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) : |
| 68 | velocity T hT Q Q₁ c hc hQ U f a₀ ⟨0,le_rfl,hT⟩ = Q ⟨0,le_rfl,hT⟩ a₀ := by |
| 69 | change Q ⟨0,le_rfl,hT⟩ (coordinates T hT Q Q₁ c hc hQ U f a₀ ⟨0,le_rfl,hT⟩) = _ |
| 70 | rw [coordinates_initial] |
| 71 | |
| 72 | /-- The constructed derivative satisfies the literal projected equation (12). -/ |
| 73 | theorem coordinate_equation (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : ℝ) T) : |
| 74 | gram (Q t) (coordinateDerivative T hT Q Q₁ c hc hQ U f a₀ t) = |
| 75 | (Q t).adjoint (f t - (2 : ℝ) • Q₁ t (coordinates T hT Q Q₁ c hc hQ U f a₀ t)) := by |
| 76 | change gram (Q t) ((-2 : ℝ) • gramInverse (Q t) c hc (hQ t) |
| 77 | ((Q t).adjoint (Q₁ t (coordinates T hT Q Q₁ c hc hQ U f a₀ t))) + |
| 78 | gramInverse (Q t) c hc (hQ t) ((Q t).adjoint (f t))) = _ |
| 79 | rw [map_add, map_smul, gram_inverse_apply, gram_inverse_apply, map_sub, map_smul] |
| 80 | module |
| 81 | |
| 82 | /-- The literal normal pressure coefficient in source equation (11). -/ |
| 83 | def pressureCoefficient (M : Icc (0 : ℝ) T → E →L[ℝ] E) (m : Icc (0 : ℝ) T → E) |
| 84 | (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : ℝ) T) : ℝ := |
| 85 | (⟪m t,f t⟫_ℝ - 2*⟪m t,M t (velocity T hT Q Q₁ c hc hQ U f a₀ t)⟫_ℝ) / ‖m t‖^2 |
| 86 | |
| 87 | /-- The actual forward velocity and explicit normal pressure residual satisfy |
| 88 | source equation (11) at every time. -/ |
| 89 | theorem velocity_balance (M : Icc (0 : ℝ) T → E →L[ℝ] E) (m : Icc (0 : ℝ) T → E) |
| 90 | (hm : ∀ t, m t ≠ 0) (hTangent : ∀ t v, ⟪m t,Q t v⟫_ℝ = 0) |
| 91 | (hRange : ∀ t η, ⟪m t,η⟫_ℝ = 0 → ∃ v, Q t v = η) |
| 92 | (hflow : ∀ t, Q₁ t = (M t).comp (Q t)) |
| 93 | (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : ℝ) T) : |
| 94 | velocityDerivative T hT Q Q₁ c hc hQ U f a₀ t + |
| 95 | M t (velocity T hT Q Q₁ c hc hQ U f a₀ t) + |
| 96 | pressureCoefficient T hT Q Q₁ c hc hQ U M m f a₀ t • m t = f t := |
| 97 | physical_velocity_balance (Q t) (Q₁ t) (M t) (m t) (hm t) (hTangent t) (hRange t) |
| 98 | (hflow t) _ _ (f t) (coordinate_equation T hT Q Q₁ c hc hQ U f a₀ t) |
| 99 | |
| 100 | end EulerTransverseForwardInverse |