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.TimeH1FrameTransport |
| 2 | |
| 3 | /-! |
| 4 | # The actual transverse inverse on a fixed Hilbert space |
| 5 | |
| 6 | The domain is the kernel of the ordinary time initial-trace operator, independent |
| 7 | of the spatial label, angle, or frame. The transported form and its actual |
| 8 | coercive inverse are constructed here and identified with the original physical |
| 9 | transverse solve. This is the fixed-space starting point for parameter estimates. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerTransverseFixedSpaceInverse |
| 15 | |
| 16 | open Set InnerProductSpace ContinuousLinearMap MeasureTheory |
| 17 | EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution |
| 18 | EulerTimeH1OperatorProduct EulerTimeH1FrameTransport EulerCoerciveProjection |
| 19 | EulerTransverseVariationalInverse EulerTransverseCoordinateRegularity |
| 20 | |
| 21 | variable {U E : Type*} |
| 22 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 23 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 24 | |
| 25 | variable (T : ℝ) (hT : 0 ≤ T) |
| 26 | (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 27 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 28 | |
| 29 | /-- The actual physical derivative associated to a fixed zero-trace coordinate derivative. -/ |
| 30 | def fixedFrameDerivative : zeroTraceDerivatives (U := U) T hT →L[ℝ] TimeLp T E := |
| 31 | (productDerivative T hT Q Q₁).comp (zeroTraceDerivatives (U := U) T hT).subtypeL |
| 32 | |
| 33 | /-- The actual physical displacement associated to a fixed coordinate derivative. -/ |
| 34 | def fixedFramePrimitive : zeroTraceDerivatives (U := U) T hT →L[ℝ] TimeLp T E := |
| 35 | (primitiveTimeLp T hT).comp (fixedFrameDerivative T hT Q Q₁) |
| 36 | |
| 37 | /-- The transported Dirichlet operator on the fixed coordinate Hilbert space. -/ |
| 38 | def fixedFrameOperator : |
| 39 | zeroTraceDerivatives (U := U) T hT →L[ℝ] zeroTraceDerivatives (U := U) T hT := |
| 40 | (fixedFrameDerivative T hT Q Q₁).adjoint.comp |
| 41 | ((dirichletOperator (primitiveTimeLp T hT) (timeMultiplier T hT H)).comp |
| 42 | (fixedFrameDerivative T hT Q Q₁)) |
| 43 | |
| 44 | /-- The transported operator has exactly the source displacement form. -/ |
| 45 | theorem fixedFrameOperator_inner (u v : zeroTraceDerivatives (U := U) T hT) : |
| 46 | ⟪fixedFrameOperator T hT Q Q₁ H u, v⟫_ℝ = |
| 47 | ⟪fixedFrameDerivative T hT Q Q₁ u, fixedFrameDerivative T hT Q Q₁ v⟫_ℝ - |
| 48 | ⟪timeMultiplier T hT H (fixedFramePrimitive T hT Q Q₁ u), |
| 49 | fixedFramePrimitive T hT Q Q₁ v⟫_ℝ := by |
| 50 | change ⟪(fixedFrameDerivative T hT Q Q₁).adjoint |
| 51 | (dirichletOperator (primitiveTimeLp T hT) (timeMultiplier T hT H) |
| 52 | (fixedFrameDerivative T hT Q Q₁ u)), v⟫_ℝ = _ |
| 53 | rw [adjoint_inner_left, dirichletOperator_inner] |
| 54 | rfl |
| 55 | |
| 56 | variable (c : ℝ) (hc : 0 < c) (hQ : ∀ t x, c * ‖x‖^2 ≤ ‖Q t x‖^2) |
| 57 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 58 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 59 | (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖^2) |
| 60 | (hsmall : K * (T^2/2) ≤ 1/2) |
| 61 | |
| 62 | /-- A polynomial quantitative coercivity constant on the fixed coordinate space. -/ |
| 63 | def fixedCoercivity : ℝ := (transportCost T Q Q₁ c)⁻¹ ^ 2 / 2 |
| 64 | |
| 65 | omit [CompleteSpace U] [CompleteSpace E] in |
| 66 | include hT hc in |
| 67 | /-- The transported coercivity constant is strictly positive. -/ |
| 68 | theorem fixedCoercivity_pos : 0 < fixedCoercivity T Q Q₁ c := by |
| 69 | unfold fixedCoercivity |
| 70 | exact div_pos (pow_pos (inv_pos.mpr (transportCost_pos T hT Q Q₁ c hc)) 2) (by norm_num) |
| 71 | |
| 72 | include hc hQ hd K hK hH hsmall in |
| 73 | /-- The actual transported form is coercive, with a proved coefficient-only constant. -/ |
| 74 | theorem fixedFrameOperator_coercive (v : zeroTraceDerivatives (U := U) T hT) : |
| 75 | fixedCoercivity T Q Q₁ c * ‖v‖^2 ≤ ⟪fixedFrameOperator T hT Q Q₁ H v, v⟫_ℝ := by |
| 76 | have hlow := productDerivative_norm_sq_lower T hT Q Q₁ c hc hQ hd (v : TimeLp T U) |
| 77 | have hphys := dirichletOperator_coercive (primitiveTimeLp T hT) (timeMultiplier T hT H) |
| 78 | (T^2/2) K hK (primitiveTimeLp_norm_sq_le T hT) |
| 79 | (timeMultiplier_quadratic_upper T hT H K hH) hsmall (fixedFrameDerivative T hT Q Q₁ v) |
| 80 | calc |
| 81 | fixedCoercivity T Q Q₁ c * ‖v‖^2 = |
| 82 | (1/2 : ℝ) * ((transportCost T Q Q₁ c)⁻¹ ^ 2 * ‖v‖^2) := by |
| 83 | unfold fixedCoercivity |
| 84 | ring |
| 85 | _ ≤ (1/2 : ℝ) * ‖fixedFrameDerivative T hT Q Q₁ v‖^2 := |
| 86 | mul_le_mul_of_nonneg_left hlow (by norm_num) |
| 87 | _ ≤ ⟪fixedFrameOperator T hT Q Q₁ H v, v⟫_ℝ := by |
| 88 | change _ ≤ ⟪(fixedFrameDerivative T hT Q Q₁).adjoint |
| 89 | (dirichletOperator (primitiveTimeLp T hT) (timeMultiplier T hT H) |
| 90 | (fixedFrameDerivative T hT Q Q₁ v)), v⟫_ℝ |
| 91 | rw [adjoint_inner_left] |
| 92 | exact hphys |
| 93 | |
| 94 | /-- The genuine fixed-space inverse, constructed from the transported coercive form. -/ |
| 95 | def fixedFrameSolver : TimeLp T E →L[ℝ] zeroTraceDerivatives (U := U) T hT := |
| 96 | (coerciveInverse (fixedFrameOperator T hT Q Q₁ H) (fixedCoercivity T Q Q₁ c) |
| 97 | (fixedCoercivity_pos T hT Q Q₁ c hc) |
| 98 | (fixedFrameOperator_coercive T hT Q Q₁ H c hc hQ hd K hK hH hsmall)).comp |
| 99 | (-(fixedFramePrimitive T hT Q Q₁).adjoint) |
| 100 | |
| 101 | /-- The actual fixed-space solution obeys the entire source variational form. -/ |
| 102 | theorem fixedFrameSolver_weak (f : TimeLp T E) (v : zeroTraceDerivatives (U := U) T hT) : |
| 103 | let u := fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f |
| 104 | ⟪fixedFrameDerivative T hT Q Q₁ u, fixedFrameDerivative T hT Q Q₁ v⟫_ℝ - |
| 105 | ⟪timeMultiplier T hT H (fixedFramePrimitive T hT Q Q₁ u), |
| 106 | fixedFramePrimitive T hT Q Q₁ v⟫_ℝ = -⟪f, fixedFramePrimitive T hT Q Q₁ v⟫_ℝ := by |
| 107 | dsimp only |
| 108 | rw [← fixedFrameOperator_inner] |
| 109 | change ⟪fixedFrameOperator T hT Q Q₁ H |
| 110 | (coerciveInverse (fixedFrameOperator T hT Q Q₁ H) (fixedCoercivity T Q Q₁ c) |
| 111 | (fixedCoercivity_pos T hT Q Q₁ c hc) |
| 112 | (fixedFrameOperator_coercive T hT Q Q₁ H c hc hQ hd K hK hH hsmall) |
| 113 | (-(fixedFramePrimitive T hT Q Q₁).adjoint f)), v⟫_ℝ = _ |
| 114 | rw [operator_inverse_apply, inner_neg_left, adjoint_inner_left] |
| 115 | |
| 116 | /-- The fixed-space variational inverse is unique. -/ |
| 117 | theorem fixedFrameSolver_unique (f : TimeLp T E) (u : zeroTraceDerivatives (U := U) T hT) |
| 118 | (hu : ∀ v : zeroTraceDerivatives (U := U) T hT, |
| 119 | ⟪fixedFrameDerivative T hT Q Q₁ u, fixedFrameDerivative T hT Q Q₁ v⟫_ℝ - |
| 120 | ⟪timeMultiplier T hT H (fixedFramePrimitive T hT Q Q₁ u), |
| 121 | fixedFramePrimitive T hT Q Q₁ v⟫_ℝ = -⟪f, fixedFramePrimitive T hT Q Q₁ v⟫_ℝ) : |
| 122 | u = fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f := by |
| 123 | apply (coerciveEquiv (fixedFrameOperator T hT Q Q₁ H) (fixedCoercivity T Q Q₁ c) |
| 124 | (fixedCoercivity_pos T hT Q Q₁ c hc) |
| 125 | (fixedFrameOperator_coercive T hT Q Q₁ H c hc hQ hd K hK hH hsmall)).injective |
| 126 | simp only [coerciveEquiv_apply] |
| 127 | apply ext_inner_right ℝ |
| 128 | intro v |
| 129 | rw [fixedFrameOperator_inner, hu, fixedFrameOperator_inner, fixedFrameSolver_weak] |
| 130 | |
| 131 | /-- The new fixed-space inverse is exactly the coordinates of the original |
| 132 | physical transverse solve, rather than a separate unconnected construction. -/ |
| 133 | theorem fixedFrameSolver_eq_transverse (m : Icc (0 : ℝ) T → E) |
| 134 | (hTangent : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) |
| 135 | (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) |
| 136 | (f : TimeLp T E) : |
| 137 | fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f = |
| 138 | transverseBackward T hT Q Q₁ c hc hQ hd m |
| 139 | (transverseSolver T hT m H K hK hH hsmall f) := by |
| 140 | symm |
| 141 | apply fixedFrameSolver_unique T hT Q Q₁ H c hc hQ hd K hK hH hsmall |
| 142 | intro v |
| 143 | let u := transverseSolver T hT m H K hK hH hsmall f |
| 144 | have h := transverseSolver_weak T hT m H K hK hH hsmall f |
| 145 | (transverseForward T hT Q Q₁ hd m hTangent v) |
| 146 | have hu := congrArg (fun z : transverseDerivatives T hT m => (z : TimeLp T E)) |
| 147 | (transverseForward_backward T hT Q Q₁ c hc hQ hd m hTangent hRange u) |
| 148 | change fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m u) = |
| 149 | (u : TimeLp T E) at hu |
| 150 | change ⟪fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m u), |
| 151 | fixedFrameDerivative T hT Q Q₁ v⟫_ℝ - |
| 152 | ⟪timeMultiplier T hT H (primitiveTimeLp T hT |
| 153 | (fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m u))), |
| 154 | fixedFramePrimitive T hT Q Q₁ v⟫_ℝ = _ |
| 155 | rw [hu] |
| 156 | exact h |
| 157 | |
| 158 | end EulerTransverseFixedSpaceInverse |