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.TransverseEndpointCoordinates |
| 2 | |
| 3 | /-! |
| 4 | The actual affine-terminal fixed-coordinate variational solution satisfies |
| 5 | the source homogeneous coordinate equation. The range condition follows |
| 6 | from its explicit coordinate primitive. No ambient normal, nor a supplied |
| 7 | weak equation or smooth representative, is an input to these results. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | |
| 13 | namespace EulerFixedEndpointStrong |
| 14 | |
| 15 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace |
| 16 | EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive |
| 17 | EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeH1FrameTransport |
| 18 | EulerTransverseGramInverse EulerTransverseGramPath EulerTransverseInitialCoordinates |
| 19 | EulerTransverseInitialInverse EulerTransverseEndpointEnergy EulerTransverseFixedEndpoint |
| 20 | EulerTransverseFixedSpaceInverse EulerTransverseEndpointParameter |
| 21 | EulerTransverseEndpointMomentum EulerTransverseMomentumRegularity |
| 22 | EulerTransverseEndpointVelocity EulerTransverseEndpointDifferentiation |
| 23 | EulerTransverseEndpointEquation EulerTransverseEndpointCoordinates |
| 24 | EulerTransverseForwardInverse EulerTimeH1Reconstruction EulerContinuousTimeIntegral |
| 25 | EulerLinearDuhamel |
| 26 | |
| 27 | variable {U E : Type*} |
| 28 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 29 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 30 | |
| 31 | variable (T : ℝ) (hT : 0 ≤ T) |
| 32 | (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 33 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 34 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t v, c * ‖v‖ ^ 2 ≤ ‖Q t v‖ ^ 2) |
| 35 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 36 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 37 | (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t v, ⟪H t v, v⟫_ℝ ≤ K * ‖v‖ ^ 2) |
| 38 | (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) |
| 39 | |
| 40 | /-- The constructed fixed-coordinate endpoint inverse obeys the literal |
| 41 | weak momentum identity, for every trial lift. -/ |
| 42 | theorem fixedEndpointDerivative_weak |
| 43 | {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 44 | (L : V →L[ℝ] TimeLp T E) (Y : V) |
| 45 | (v : TimeLp T U) (hv : initialTrace T hT v = 0) : |
| 46 | let u := fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y |
| 47 | ⟪momentum T hT Q u, v⟫_ℝ = |
| 48 | -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ := by |
| 49 | dsimp only |
| 50 | have ht := fixedEndpointDerivative_orthogonal T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y ⟨v, hv⟩ |
| 51 | rw [energyOperator_inner, |
| 52 | initialPrimitiveTimeLp_eq_primitive_of_trace_zero T hT _ |
| 53 | (fixedFrameDerivative_trace_zero T hT Q Q₁ hd ⟨v, hv⟩)] at ht |
| 54 | change ⟪fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y, |
| 55 | productDerivative T hT Q Q₁ v⟫_ℝ - |
| 56 | ⟪timeMultiplier T hT H (initialPrimitiveTimeLp T hT |
| 57 | (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y)), |
| 58 | primitiveTimeLp T hT (productDerivative T hT Q Q₁ v)⟫_ℝ = 0 at ht |
| 59 | rw [primitiveTimeLp_productDerivative T hT Q Q₁ hd] at ht |
| 60 | simp only [productDerivative, add_apply, comp_apply, inner_add_right] at ht |
| 61 | simp only [momentum, initialMomentumForcing, sub_apply, comp_apply, |
| 62 | inner_sub_left, adjoint_inner_left] |
| 63 | linarith only [ht] |
| 64 | |
| 65 | /-- The affine fixed-coordinate solution lies in the actual frame range |
| 66 | at every time, including the two endpoints. -/ |
| 67 | theorem coordinateSlope_range (ξ : U) (t : Icc (0 : ℝ) T) : |
| 68 | ∃ x : U, Q t x = initialRealPrimitive T |
| 69 | (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall |
| 70 | (affineTrial T hT Q Q₁) ξ) t := by |
| 71 | rw [← coordinateSlope_product T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ] |
| 72 | exact ⟨initialPrimitive T hT (coordinateSlope T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ) t, |
| 73 | (initialPrimitive_initialProductDerivative T hT Q Q₁ hd _ t).symm⟩ |
| 74 | |
| 75 | /-- The continuous momentum reconstruction represents the explicit |
| 76 | coordinate derivative of the fixed affine-terminal solution. -/ |
| 77 | theorem coordinateSlope_ae (hTpos : 0 < T) (ξ : U) : |
| 78 | (coordinateSlope T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ : ℝ → U) =ᵐ[timeMeasure T] |
| 79 | coordinateVelocityPath T hT Q Q₁ c hc hQ H |
| 80 | (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall |
| 81 | (affineTrial T hT Q Q₁) ξ) := by |
| 82 | rw [← coordinateSlope_derivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ] |
| 83 | exact coordinateVelocityPath_ae T hT Q Q₁ c hc hQ H hd hTpos _ |
| 84 | (fixedEndpointDerivative_weak T hT Q Q₁ H c hc hQ hd K hK hH hsmall _ ξ) |
| 85 | (coordinateSlope_range T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ) |
| 86 | |
| 87 | section Regularity |
| 88 | |
| 89 | variable (Q₂ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) (hTpos : 0 < T) |
| 90 | (hd₁ : ∀ t : Icc (0 : ℝ) T, |
| 91 | HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) |
| 92 | (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) |
| 93 | |
| 94 | include hd₁ hframe hTpos in |
| 95 | /-- Equation (10) for the constructed affine-terminal fixed-space inverse. -/ |
| 96 | theorem coordinate_equation (ξ : U) (t : Icc (0 : ℝ) T) : |
| 97 | let u := fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall |
| 98 | (affineTrial T hT Q Q₁) ξ |
| 99 | HasDerivWithinAt (initialCoordinates T hT Q c hc hQ u) |
| 100 | (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t) (Icc (0 : ℝ) T) t ∧ |
| 101 | HasDerivWithinAt (coordinateVelocityPath T hT Q Q₁ c hc hQ H u) |
| 102 | (generator T Q Q₁ c hc hQ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t)) |
| 103 | (Icc (0 : ℝ) T) t := by |
| 104 | dsimp only |
| 105 | have hw := fixedEndpointDerivative_weak T hT Q Q₁ H c hc hQ hd K hK hH hsmall |
| 106 | (affineTrial T hT Q Q₁) ξ |
| 107 | have hr := coordinateSlope_range T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ |
| 108 | exact ⟨initialCoordinates_hasDerivWithinAt T hT Q Q₁ c hc hQ H hTpos hd _ hw hr t, |
| 109 | coordinateVelocityPath_hasDerivWithinAt_generator T hT Q Q₁ Q₂ c hc hQ H |
| 110 | hTpos hd hd₁ hframe _ hw hr t⟩ |
| 111 | |
| 112 | include hd₁ hframe hTpos in |
| 113 | theorem coordinateSlope_h1 (ξ : U) : |
| 114 | let v := coordinateVelocityPath T hT Q Q₁ c hc hQ H |
| 115 | (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall |
| 116 | (affineTrial T hT Q Q₁) ξ) |
| 117 | AbsolutelyContinuousOnInterval v 0 T ∧ |
| 118 | (coordinateSlope T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ : ℝ → U) =ᵐ[timeMeasure T] v ∧ |
| 119 | ∀ᵐ t ∂timeMeasure T, |
| 120 | HasDerivAt v (coordinateAcceleration T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t) t := by |
| 121 | dsimp only |
| 122 | let u := fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall |
| 123 | (affineTrial T hT Q Q₁) ξ |
| 124 | let v := coordinateVelocityPath T hT Q Q₁ c hc hQ H u |
| 125 | have hv := coordinateVelocityPath_continuous T hT Q Q₁ c hc hQ H u |
| 126 | let g : C(Icc (0 : ℝ) T, U) := ⟨fun t => generator T Q Q₁ c hc hQ t (v t), |
| 127 | (generator T Q Q₁ c hc hQ).continuous.clm_apply (hv.comp continuous_subtype_val)⟩ |
| 128 | have hdv (t : Icc (0 : ℝ) T) : HasDerivWithinAt v (g t) (Icc (0 : ℝ) T) t := |
| 129 | (coordinate_equation T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ t).2 |
| 130 | have hcont : AbsolutelyContinuousOnInterval v 0 T := by |
| 131 | have hl : LipschitzOnWith ‖g‖₊ v (Icc (0 : ℝ) T) := by |
| 132 | apply (convex_Icc (0 : ℝ) T).lipschitzOnWith_of_nnnorm_hasDerivWithin_le |
| 133 | (f' := extendPath T hT g) |
| 134 | · intro t ht |
| 135 | simpa only [extendPath, projIcc_of_mem hT ht] using hdv ⟨t, ht⟩ |
| 136 | · intro t ht |
| 137 | exact g.norm_coe_le_norm (projIcc 0 T hT t) |
| 138 | exact (show LipschitzOnWith ‖g‖₊ v (uIcc (0 : ℝ) T) by |
| 139 | simpa only [uIcc_of_le hT] using hl).absolutelyContinuousOnInterval |
| 140 | have hae := coordinateSlope_ae T hT Q Q₁ H c hc hQ hd K hK hH hsmall hTpos ξ |
| 141 | refine ⟨hcont, hae, ?_⟩ |
| 142 | have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Ioo (0 : ℝ) T := by |
| 143 | change ∀ᵐ t ∂volume.restrict (Icc (0 : ℝ) T), t ∈ Ioo (0 : ℝ) T |
| 144 | rw [← restrict_Ioo_eq_restrict_Icc] |
| 145 | exact ae_restrict_mem measurableSet_Ioo |
| 146 | filter_upwards [hmem, hae, timeMultiplier_ae T hT (generator T Q Q₁ c hc hQ) |
| 147 | (coordinateSlope T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ)] with t ht hs ha |
| 148 | have hti : t ∈ Icc (0 : ℝ) T := ⟨ht.1.le, ht.2.le⟩ |
| 149 | change HasDerivAt v (timeMultiplier T hT (generator T Q Q₁ c hc hQ) |
| 150 | (coordinateSlope T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ) t) t |
| 151 | rw [ha, hs] |
| 152 | have hdt := (hdv ⟨t, hti⟩).hasDerivAt (Icc_mem_nhds ht.1 ht.2) |
| 153 | change HasDerivAt v (generator T Q Q₁ c hc hQ ⟨t, hti⟩ (v t)) t at hdt |
| 154 | simpa only [extendPath, projIcc_of_mem hT hti] using hdt |
| 155 | |
| 156 | include hd₁ hframe hTpos in |
| 157 | /-- The existing bounded reconstruction is this actual stationary coordinate |
| 158 | velocity at every time. -/ |
| 159 | theorem continuousCoordinateVelocity_eq (ξ : U) (t : Icc (0 : ℝ) T) : |
| 160 | continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t = |
| 161 | coordinateVelocityPath T hT Q Q₁ c hc hQ H |
| 162 | (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall |
| 163 | (affineTrial T hT Q Q₁) ξ) t := by |
| 164 | have hreg := coordinateSlope_h1 T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ |
| 165 | exact reconstruction_eq_path T hTpos _ _ _ hreg.1 hreg.2.1 hreg.2.2 t |
| 166 | |
| 167 | include hd₁ hframe hTpos in |
| 168 | theorem historyVelocity_eq (ξ : U) (t : Icc (0 : ℝ) T) : |
| 169 | historyVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t = |
| 170 | Q t (coordinateVelocityPath T hT Q Q₁ c hc hQ H |
| 171 | (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall |
| 172 | (affineTrial T hT Q Q₁) ξ) t) := by |
| 173 | change Q t (continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t) = _ |
| 174 | rw [continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe] |
| 175 | |
| 176 | include hd₁ hframe hTpos in |
| 177 | theorem continuousCoordinateVelocity_hasDerivWithinAt_generator (ξ : U) (t : Icc (0 : ℝ) T) : |
| 178 | HasDerivWithinAt |
| 179 | (extendPath T hT (continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ)) |
| 180 | (generator T Q Q₁ c hc hQ t |
| 181 | (continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t)) |
| 182 | (Icc (0 : ℝ) T) t := by |
| 183 | have hv := (coordinate_equation T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ t).2 |
| 184 | rw [← continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ t] at hv |
| 185 | apply hv.congr_of_mem _ t.property |
| 186 | intro s hs |
| 187 | simpa only [extendPath, projIcc_of_mem hT hs] using |
| 188 | continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ ⟨s, hs⟩ |
| 189 | |
| 190 | include hd₁ hframe hTpos in |
| 191 | /-- The affine-terminal coordinate history coincides with the actual |
| 192 | homogeneous forward solver with its own initial velocity. -/ |
| 193 | theorem continuousCoordinateVelocity_eq_forward |
| 194 | (evolution : Evolution T hT (generator T Q Q₁ c hc hQ)) |
| 195 | (ξ : U) (t : Icc (0 : ℝ) T) : |
| 196 | continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t = |
| 197 | coordinates T hT Q Q₁ c hc hQ evolution 0 |
| 198 | (continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ ⟨0, le_rfl, hT⟩) t := by |
| 199 | rw [continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ t, |
| 200 | continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ ⟨0, le_rfl, hT⟩] |
| 201 | exact coordinateVelocity_eq_forward T hT Q Q₁ Q₂ c hc hQ H hTpos hd hd₁ hframe _ |
| 202 | (fixedEndpointDerivative_weak T hT Q Q₁ H c hc hQ hd K hK hH hsmall _ ξ) |
| 203 | (coordinateSlope_range T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ) evolution t |
| 204 | |
| 205 | end Regularity |
| 206 | |
| 207 | end EulerFixedEndpointStrong |