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.TerminalTimePrimitive |
| 2 | import Euler.TransverseVariationalOperator |
| 3 | |
| 4 | /-! |
| 5 | # The actual zero-endpoint transverse displacement inverse |
| 6 | |
| 7 | We use the derivative of the physical displacement as the Hilbert-space |
| 8 | variable. Terminal integration supplies the displacement. Its initial trace |
| 9 | and its moving normal component are bounded linear constraints, hence define a |
| 10 | closed Hilbert subspace. The kinetic energy is exactly the squared norm on this |
| 11 | space; no norm equivalence or pre-existing differential inverse is assumed. |
| 12 | |
| 13 | This constructs the weak transverse inverse in source lines 172--184. The |
| 14 | coordinate identity `η = F R ξ` and strong coordinate evolution require the |
| 15 | separate frame and regularity arguments; they are not assumed in this file. |
| 16 | -/ |
| 17 | |
| 18 | /-! ## From `Euler/TransverseFrameCoordinates.lean` |
| 19 | |
| 20 | The text of `Euler/TransverseFrameCoordinates.lean`, folded into this file, which was its only importer. -/ |
| 21 | |
| 22 | section |
| 23 | |
| 24 | /-! |
| 25 | # Recovering the source's transverse coordinates |
| 26 | |
| 27 | The moving plane with normal `(F⁻¹)* m₀` is exactly the image under `F` of |
| 28 | the fixed plane `m₀⊥`. Orthogonal projection gives a bounded coordinate map, |
| 29 | and on the moving plane its reconstruction is the identity. These are |
| 30 | coefficient identities, not assumptions about a differential inverse. |
| 31 | -/ |
| 32 | |
| 33 | noncomputable section |
| 34 | |
| 35 | namespace EulerTransverseFrameCoordinates |
| 36 | |
| 37 | open InnerProductSpace ContinuousLinearMap |
| 38 | |
| 39 | variable {E U : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 40 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 41 | |
| 42 | /-- The fixed reference transverse plane. -/ |
| 43 | abbrev referencePlane (m₀ : E) : Submodule ℝ E := (ℝ ∙ m₀)ᗮ |
| 44 | |
| 45 | /-- The actual pulled-back normal used by the packet construction. -/ |
| 46 | def movingNormal (F : E ≃L[ℝ] E) (m₀ : E) : E := F.symm.toContinuousLinearMap.adjoint m₀ |
| 47 | |
| 48 | /-- Bounded recovery of fixed-plane coordinates from a physical displacement. -/ |
| 49 | def coordinates (F : E ≃L[ℝ] E) (m₀ : E) : E →L[ℝ] referencePlane m₀ := |
| 50 | (referencePlane m₀).orthogonalProjectionOnto.comp F.symm.toContinuousLinearMap |
| 51 | |
| 52 | /-- Moving tangency is exactly fixed-plane membership after applying `F⁻¹`. -/ |
| 53 | theorem tangent_iff (F : E ≃L[ℝ] E) (m₀ η : E) : |
| 54 | ⟪movingNormal F m₀, η⟫_ℝ = 0 ↔ F.symm η ∈ referencePlane m₀ := by |
| 55 | rw [Submodule.mem_orthogonal_singleton_iff_inner_right] |
| 56 | unfold movingNormal |
| 57 | rw [adjoint_inner_left] |
| 58 | rfl |
| 59 | |
| 60 | /-- Reconstructing a tangent displacement from its recovered coordinates is exact. -/ |
| 61 | theorem reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) |
| 62 | (hη : ⟪movingNormal F m₀, η⟫_ℝ = 0) : |
| 63 | F (coordinates F m₀ η : E) = η := by |
| 64 | have hm : F.symm η ∈ referencePlane m₀ := (tangent_iff F m₀ η).1 hη |
| 65 | have hp := (referencePlane m₀).orthogonalProjectionOnto_mem_subspace_eq_self |
| 66 | (⟨F.symm η, hm⟩ : referencePlane m₀) |
| 67 | change F ((referencePlane m₀).orthogonalProjectionOnto (F.symm η) : E) = η |
| 68 | rw [hp] |
| 69 | exact F.apply_symm_apply η |
| 70 | |
| 71 | omit [CompleteSpace E] in |
| 72 | /-- Any orthonormal identification with the fixed plane gives the source's `R⊥` coordinates. -/ |
| 73 | def frameCoordinates (F : E ≃L[ℝ] E) (m₀ : E) |
| 74 | (R : U ≃ₗᵢ[ℝ] referencePlane m₀) : E →L[ℝ] U := |
| 75 | R.symm.toContinuousLinearEquiv.toContinuousLinearMap.comp (coordinates F m₀) |
| 76 | |
| 77 | /-- The full source reconstruction `η = F R⊥ ξ` follows from moving tangency. -/ |
| 78 | theorem frame_reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) |
| 79 | (R : U ≃ₗᵢ[ℝ] referencePlane m₀) (hη : ⟪movingNormal F m₀, η⟫_ℝ = 0) : |
| 80 | F (R (frameCoordinates F m₀ R η) : E) = η := by |
| 81 | change F (R (R.symm (coordinates F m₀ η)) : E) = η |
| 82 | rw [R.apply_symm_apply] |
| 83 | exact reconstruct F m₀ η hη |
| 84 | |
| 85 | end EulerTransverseFrameCoordinates |
| 86 | end |
| 87 | |
| 88 | end |
| 89 | |
| 90 | noncomputable section |
| 91 | |
| 92 | namespace EulerTransverseVariationalInverse |
| 93 | |
| 94 | open MeasureTheory Set InnerProductSpace ContinuousLinearMap |
| 95 | EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution |
| 96 | |
| 97 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 98 | |
| 99 | /-- Derivatives of actual zero-endpoint displacements tangent to the moving plane. -/ |
| 100 | def transverseDerivatives (T : ℝ) (hT : 0 ≤ T) (m : Icc (0 : ℝ) T → E) : |
| 101 | Submodule ℝ (TimeLp T E) where |
| 102 | carrier := {u | initialTrace T hT u = 0 ∧ |
| 103 | ∀ t, ⟪m t, terminalPrimitive T hT u t⟫_ℝ = 0} |
| 104 | zero_mem' := by |
| 105 | constructor |
| 106 | · exact map_zero _ |
| 107 | · intro t |
| 108 | simp only [map_zero, ContinuousMap.zero_apply, inner_zero_right] |
| 109 | add_mem' := by |
| 110 | intro u v hu hv |
| 111 | constructor |
| 112 | · simp only [map_add, hu.1, hv.1, add_zero] |
| 113 | · intro t |
| 114 | simp only [map_add, ContinuousMap.add_apply, inner_add_right, hu.2 t, hv.2 t, |
| 115 | add_zero] |
| 116 | smul_mem' := by |
| 117 | intro a u hu |
| 118 | constructor |
| 119 | · simp only [map_smul, hu.1, smul_zero] |
| 120 | · intro t |
| 121 | simp only [map_smul, ContinuousMap.smul_apply, inner_smul_right, hu.2 t, |
| 122 | mul_zero] |
| 123 | |
| 124 | /-- The two endpoint and moving tangency conditions are closed constraints. -/ |
| 125 | theorem transverseDerivatives_closed (T : ℝ) (hT : 0 ≤ T) (m : Icc (0 : ℝ) T → E) : |
| 126 | IsClosed (transverseDerivatives T hT m : Set (TimeLp T E)) := by |
| 127 | change IsClosed {u : TimeLp T E | initialTrace T hT u = 0 ∧ |
| 128 | ∀ t, ⟪m t, terminalPrimitive T hT u t⟫_ℝ = 0} |
| 129 | rw [Set.ofPred_and, Set.ofPred_forall] |
| 130 | apply (isClosed_eq (initialTrace T hT).continuous continuous_const).inter |
| 131 | apply isClosed_iInter |
| 132 | intro t |
| 133 | exact isClosed_eq |
| 134 | (continuous_const.inner ((ContinuousMap.evalCLM ℝ t).continuous.comp |
| 135 | (terminalPrimitive T hT).continuous)) continuous_const |
| 136 | |
| 137 | /-- Closedness supplies completeness for the actual displacement-derivative space. -/ |
| 138 | instance transverseDerivatives_complete [CompleteSpace E] (T : ℝ) (hT : 0 ≤ T) |
| 139 | (m : Icc (0 : ℝ) T → E) : CompleteSpace (transverseDerivatives T hT m) := |
| 140 | (transverseDerivatives_closed T hT m).completeSpace_coe |
| 141 | |
| 142 | /-- Every genuine absolutely continuous zero-endpoint transverse path with an |
| 143 | L² derivative belongs to this Hilbert model. Thus the test space is not an |
| 144 | assumed family of already solved displacements. -/ |
| 145 | theorem derivative_mem_of_ac [CompleteSpace E] (T : ℝ) (hT : 0 ≤ T) |
| 146 | (m : Icc (0 : ℝ) T → E) (u : TimeLp T E) (η : ℝ → E) |
| 147 | (hη : AbsolutelyContinuousOnInterval η 0 T) |
| 148 | (hder : ∀ᵐ t ∂timeMeasure T, HasDerivAt η (u t) t) |
| 149 | (hzero : η 0 = 0) (hterminal : η T = 0) |
| 150 | (htangent : ∀ t : Icc (0 : ℝ) T, ⟪m t, η t⟫_ℝ = 0) : |
| 151 | u ∈ transverseDerivatives T hT m := by |
| 152 | have heq := eq_realPrimitive_of_ac_hasDerivAt_ae T hT u η hη hder hterminal |
| 153 | constructor |
| 154 | · change realPrimitive T u 0 = 0 |
| 155 | rw [← heq 0 ⟨le_rfl, hT⟩, hzero] |
| 156 | · intro t |
| 157 | change ⟪m t, realPrimitive T u t⟫_ℝ = 0 |
| 158 | rw [← heq t t.property] |
| 159 | exact htangent t |
| 160 | |
| 161 | /-- The actual terminal primitive restricted to the transverse derivative space. -/ |
| 162 | def transversePrimitive (T : ℝ) (hT : 0 ≤ T) (m : Icc (0 : ℝ) T → E) : |
| 163 | transverseDerivatives T hT m →L[ℝ] TimeLp T E := |
| 164 | (primitiveTimeLp T hT).comp (transverseDerivatives T hT m).subtypeL |
| 165 | |
| 166 | /-- The sharp time Poincaré bound holds on the actual transverse space. -/ |
| 167 | theorem transversePrimitive_norm_sq (T : ℝ) (hT : 0 ≤ T) |
| 168 | (m : Icc (0 : ℝ) T → E) (u : transverseDerivatives T hT m) : |
| 169 | ‖transversePrimitive T hT m u‖ ^ 2 ≤ T ^ 2 / 2 * ‖u‖ ^ 2 := |
| 170 | primitiveTimeLp_norm_sq_le T hT (u : TimeLp T E) |
| 171 | |
| 172 | variable [CompleteSpace E] |
| 173 | variable (T : ℝ) (hT : 0 ≤ T) (m : Icc (0 : ℝ) T → E) |
| 174 | variable (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 175 | variable (K : ℝ) (hK : 0 ≤ K) |
| 176 | variable (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) |
| 177 | variable (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) |
| 178 | |
| 179 | /-- The actual transverse forcing-to-derivative map, constructed from the |
| 180 | primitive and the given time-dependent Hessian. -/ |
| 181 | def transverseSolver : TimeLp T E →L[ℝ] transverseDerivatives T hT m := |
| 182 | dirichletSolver (transversePrimitive T hT m) (timeMultiplier T hT H) |
| 183 | (T ^ 2 / 2) K hK (transversePrimitive_norm_sq T hT m) |
| 184 | (timeMultiplier_quadratic_upper T hT H K hH) hsmall |
| 185 | |
| 186 | /-- The continuous displacement is constructed by integrating its solved derivative. -/ |
| 187 | def transverseDisplacement : TimeLp T E →L[ℝ] C(Icc (0 : ℝ) T, E) := |
| 188 | (terminalPrimitive T hT).comp |
| 189 | ((transverseDerivatives T hT m).subtypeL.comp |
| 190 | (transverseSolver T hT m H K hK hH hsmall)) |
| 191 | |
| 192 | /-- The actual weak transverse displacement equation, tested against every |
| 193 | zero-endpoint displacement in the same moving plane. -/ |
| 194 | theorem transverseSolver_weak (f : TimeLp T E) (v : transverseDerivatives T hT m) : |
| 195 | let u := transverseSolver T hT m H K hK hH hsmall f |
| 196 | ⟪(u : TimeLp T E), (v : TimeLp T E)⟫_ℝ - |
| 197 | ⟪timeMultiplier T hT H (transversePrimitive T hT m u), |
| 198 | transversePrimitive T hT m v⟫_ℝ = |
| 199 | -⟪f, transversePrimitive T hT m v⟫_ℝ := |
| 200 | dirichletSolver_weak (transversePrimitive T hT m) (timeMultiplier T hT H) |
| 201 | (T ^ 2 / 2) K hK (transversePrimitive_norm_sq T hT m) |
| 202 | (timeMultiplier_quadratic_upper T hT H K hH) hsmall f v |
| 203 | |
| 204 | /-- Zero forcing has zero displacement, the pointwise-in-label support preservation property. -/ |
| 205 | @[simp] theorem transverseDisplacement_zero : |
| 206 | transverseDisplacement T hT m H K hK hH hsmall 0 = 0 := map_zero _ |
| 207 | |
| 208 | end EulerTransverseVariationalInverse |