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.TransverseInitialCoordinates |
| 2 | import Euler.TransverseEndpointMomentum |
| 3 | |
| 4 | /-! |
| 5 | The actual Green identity for the constructed stationary transverse path. |
| 6 | Its endpoint energy is the terminal momentum paired with terminal coordinates. |
| 7 | All time boundary terms are obtained from absolute continuity and the genuine |
| 8 | H¹ coordinate reconstruction. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | |
| 14 | namespace EulerTransverseEndpointGreen |
| 15 | |
| 16 | open MeasureTheory Set InnerProductSpace ContinuousLinearMap |
| 17 | EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive |
| 18 | EulerVolterraConvolution EulerTimeWeakDerivative EulerTransverseGramInverse |
| 19 | EulerTransverseGramPath EulerTransverseInitialCoordinates |
| 20 | EulerTransverseMomentumRegularity EulerTransverseEndpointMomentum |
| 21 | EulerTransverseEndpointEnergy EulerTransverseVariationalInverse |
| 22 | |
| 23 | variable {U E : Type*} |
| 24 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 25 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 26 | |
| 27 | variable (T : ℝ) (hT : 0 ≤ T) |
| 28 | (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 29 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) |
| 30 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 31 | |
| 32 | /-- The exact boundary identity for any genuine tangent initial-zero test path. -/ |
| 33 | theorem initial_coordinate_green (hTpos : 0 < T) |
| 34 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 35 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 36 | (u v : TimeLp T E) |
| 37 | (hweak : ∀ w : TimeLp T U, initialTrace T hT w = 0 → |
| 38 | ⟪momentum T hT Q u, w⟫_ℝ = |
| 39 | -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT w⟫_ℝ) |
| 40 | (hvRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T v t) : |
| 41 | ⟪energyOperator T hT H u, v⟫_ℝ = |
| 42 | ⟪terminalMomentum T hT Q Q₁ H u, initialCoordinates T hT Q c hc hQ v T⟫_ℝ := by |
| 43 | let φ : ℝ → ℝ := fun t => |
| 44 | ⟪momentumPath T hT Q Q₁ H u t, initialCoordinates T hT Q c hc hQ v t⟫_ℝ |
| 45 | have hξ := initialCoordinates_h1 T hT Q Q₁ c hc hQ hd v |
| 46 | have hφ : AbsolutelyContinuousOnInterval φ 0 T := |
| 47 | absolutelyContinuous_inner (momentumPath_absolutelyContinuous T hT Q Q₁ H u) hξ.1 |
| 48 | have hftc : (∫ t, deriv φ t ∂timeMeasure T) = φ T - φ 0 := by |
| 49 | change (∫ t in Icc (0 : ℝ) T, deriv φ t) = _ |
| 50 | rw [integral_Icc_eq_integral_Ioc, ← intervalIntegral.integral_of_le hT] |
| 51 | exact hφ.integral_deriv_eq_sub |
| 52 | have hder : ∀ᵐ t ∂timeMeasure T, |
| 53 | ⟪u t, v t⟫_ℝ - |
| 54 | ⟪timeMultiplier T hT H (initialPrimitiveTimeLp T hT u) t, |
| 55 | initialPrimitiveTimeLp T hT v t⟫_ℝ = deriv φ t := by |
| 56 | filter_upwards [ae_restrict_mem measurableSet_Icc, |
| 57 | momentumPath_ae_of_weak T hT Q Q₁ H hTpos u hweak, |
| 58 | momentum_ae T hT Q u, |
| 59 | momentumPath_hasDerivAt_ae T hT Q Q₁ H u, hξ.2.2, |
| 60 | initialCoordinateDerivative_reconstruct_ae T hT Q Q₁ c hc hQ hd v hvRange, |
| 61 | initialMomentumForcing_ae T hT Q Q₁ H u, |
| 62 | initialPrimitiveTimeLp_ae T hT u, initialPrimitiveTimeLp_ae T hT v, |
| 63 | timeMultiplier_ae T hT H (initialPrimitiveTimeLp T hT u)] |
| 64 | with t ht hp hpu hpd hξd hv hf hηu hηv hHu |
| 65 | have hp' : momentumPath T hT Q Q₁ H u t = (extendPath T hT Q t).adjoint (u t) := |
| 66 | hp.symm.trans hpu |
| 67 | have hη : extendPath T hT Q t (initialCoordinates T hT Q c hc hQ v t) = |
| 68 | initialRealPrimitive T v t := by |
| 69 | simpa only [extendPath, projIcc_of_mem hT ht] using |
| 70 | initialCoordinates_reconstruct T hT Q c hc hQ v hvRange ⟨t, ht⟩ |
| 71 | have hφd : deriv φ t = |
| 72 | ⟪initialMomentumForcing T hT Q Q₁ H u t, initialCoordinates T hT Q c hc hQ v t⟫_ℝ + |
| 73 | ⟪momentumPath T hT Q Q₁ H u t, |
| 74 | initialCoordinateDerivative T hT Q Q₁ c hc hQ v t⟫_ℝ := |
| 75 | by simpa only [φ, add_comm] using (hpd.inner ℝ hξd).deriv |
| 76 | rw [hφd, hf, hp', hHu, hηu, hηv, hv, ← hη] |
| 77 | simp only [inner_add_right, inner_sub_left, adjoint_inner_left] |
| 78 | ring |
| 79 | calc |
| 80 | ⟪energyOperator T hT H u, v⟫_ℝ = |
| 81 | ∫ t, ⟪u t, v t⟫_ℝ - |
| 82 | ⟪timeMultiplier T hT H (initialPrimitiveTimeLp T hT u) t, |
| 83 | initialPrimitiveTimeLp T hT v t⟫_ℝ ∂timeMeasure T := by |
| 84 | rw [energyOperator_inner, L2.inner_def, L2.inner_def] |
| 85 | exact (integral_sub (L2.integrable_inner u v) |
| 86 | (L2.integrable_inner (timeMultiplier T hT H (initialPrimitiveTimeLp T hT u)) |
| 87 | (initialPrimitiveTimeLp T hT v))).symm |
| 88 | _ = ∫ t, deriv φ t ∂timeMeasure T := integral_congr_ae hder |
| 89 | _ = φ T - φ 0 := hftc |
| 90 | _ = _ := by |
| 91 | simp only [φ, momentumPath_terminal, initialCoordinates_initial, inner_zero_right, sub_zero] |
| 92 | |
| 93 | variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 94 | |
| 95 | /-- The true terminal coordinate map associated with a physical terminal trace. -/ |
| 96 | def terminalCoordinates (R : V →L[ℝ] E) : V →L[ℝ] U := |
| 97 | (frameLeftInversePath T Q c hc hQ ⟨T, hT, le_rfl⟩).comp R |
| 98 | |
| 99 | /-- The constructed endpoint energy operator is exactly the pulled-back terminal momentum. -/ |
| 100 | theorem dirichletToNeumann_eq_terminalMomentum (hTpos : 0 < T) |
| 101 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 102 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 103 | (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) |
| 104 | (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) |
| 105 | (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) |
| 106 | (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) |
| 107 | (L : V →L[ℝ] TimeLp T E) (R : V →L[ℝ] E) |
| 108 | (hL : ∀ Y t, ⟪m t, initialPrimitive T hT (L Y) t⟫_ℝ = 0) |
| 109 | (hLT : ∀ Y, initialPrimitive T hT (L Y) ⟨T, hT, le_rfl⟩ = R Y) (Y : V) : |
| 110 | dirichletToNeumann T hT m H K hK hH hsmall L Y = |
| 111 | (terminalCoordinates T hT Q c hc hQ R).adjoint |
| 112 | (terminalMomentum T hT Q Q₁ H (endpointDerivative T hT m H K hK hH hsmall L Y)) := by |
| 113 | apply ext_inner_right ℝ |
| 114 | intro Z |
| 115 | let u := endpointDerivative T hT m H K hK hH hsmall L Y |
| 116 | let v := endpointDerivative T hT m H K hK hH hsmall L Z |
| 117 | have hvRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T v t := by |
| 118 | intro t |
| 119 | exact hRange t _ (endpointDisplacement_tangent T hT m H K hK hH hsmall L hL Z t) |
| 120 | have hw := initialMomentum_weak T hT Q Q₁ H hd m hm u |
| 121 | (endpointDerivative_weak T hT m H K hK hH hsmall L Y) |
| 122 | have hg := initial_coordinate_green T hT Q Q₁ c hc hQ H hTpos hd u v hw hvRange |
| 123 | have hterm : initialRealPrimitive T v T = R Z := |
| 124 | (endpointDisplacement_terminal T hT m H K hK hH hsmall L Z).trans (hLT Z) |
| 125 | have hcoords : initialCoordinates T hT Q c hc hQ v T = |
| 126 | terminalCoordinates T hT Q c hc hQ R Z := by |
| 127 | simp only [initialCoordinates, extendPath, projIcc_of_mem hT (show T ∈ Icc (0 : ℝ) T from |
| 128 | ⟨hT, le_rfl⟩), hterm, terminalCoordinates, comp_apply] |
| 129 | rw [energyOperator_inner, hcoords] at hg |
| 130 | rw [dirichletToNeumann_inner, adjoint_inner_left] |
| 131 | exact hg |
| 132 | |
| 133 | end EulerTransverseEndpointGreen |