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.MeanSolenoidalSpace |
| 3 | import Euler.MeanVariationalOperator |
| 4 | |
| 5 | /-! |
| 6 | # A genuine mean time-variational inverse on ordinary spatial L² |
| 7 | |
| 8 | The Hilbert variable is the time derivative of the physical displacement η. |
| 9 | Terminal integration constructs η, and the closed constraints require |
| 10 | `FInv(t) η(t)` to be an actual ordinary-space solenoidal field at every time. |
| 11 | The exact initial form is `M0 + L A`, not a replacement boundary condition. |
| 12 | |
| 13 | The lower bound for this given boundary operator on solenoidal fields remains |
| 14 | an explicit input. In the source it must be proved from the concrete cutoff |
| 15 | operator and harmonic localization. This file does not claim that step, the |
| 16 | strong interior equation, or the initial derivative boundary identity. The |
| 17 | recovered `z=FInv η` is continuous here; its H¹ regularity additionally uses the |
| 18 | source's C¹-in-time inverse deformation. |
| 19 | -/ |
| 20 | |
| 21 | noncomputable section |
| 22 | |
| 23 | |
| 24 | namespace EulerMeanVariationalInverse |
| 25 | |
| 26 | open MeasureTheory Set InnerProductSpace ContinuousLinearMap |
| 27 | EulerTimeLp EulerTerminalTimePrimitive EulerMeanSolenoidal |
| 28 | EulerTransverseVariationalInverse |
| 29 | |
| 30 | /-- Derivatives whose actual terminal primitives obey the solenoidal label constraint. -/ |
| 31 | def meanDerivatives (T : ℝ) (hT : 0 ≤ T) |
| 32 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : Submodule ℝ (TimeLp T L2) where |
| 33 | carrier := {u | ∀ t, FInv t (terminalPrimitive T hT u t) ∈ solenoidalSpace} |
| 34 | zero_mem' := by |
| 35 | intro t |
| 36 | simp only [map_zero, ContinuousMap.zero_apply, Submodule.zero_mem] |
| 37 | add_mem' := by |
| 38 | intro u v hu hv t |
| 39 | simpa only [map_add, ContinuousMap.add_apply] using solenoidalSpace.add_mem (hu t) (hv t) |
| 40 | smul_mem' := by |
| 41 | intro a u hu t |
| 42 | simpa only [map_smul, ContinuousMap.smul_apply] using solenoidalSpace.smul_mem a (hu t) |
| 43 | |
| 44 | /-- Every time constraint is the preimage of the actual closed solenoidal subspace. -/ |
| 45 | theorem meanDerivatives_closed (T : ℝ) (hT : 0 ≤ T) |
| 46 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : |
| 47 | IsClosed (meanDerivatives T hT FInv : Set (TimeLp T L2)) := by |
| 48 | change IsClosed {u : TimeLp T L2 | ∀ t, FInv t (terminalPrimitive T hT u t) ∈ solenoidalSpace} |
| 49 | rw [Set.ofPred_forall] |
| 50 | apply isClosed_iInter |
| 51 | intro t |
| 52 | exact gradientSpace.isClosed_orthogonal.preimage |
| 53 | ((FInv t).continuous.comp (evaluation T hT t).continuous) |
| 54 | |
| 55 | /-- The genuine closed constraint space is a complete Hilbert space. -/ |
| 56 | instance meanDerivatives_complete (T : ℝ) (hT : 0 ≤ T) |
| 57 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : |
| 58 | CompleteSpace (meanDerivatives T hT FInv) := |
| 59 | (meanDerivatives_closed T hT FInv).completeSpace_coe |
| 60 | |
| 61 | /-- The actual displacement primitive, restricted to the mean constraint space. -/ |
| 62 | def meanPrimitive (T : ℝ) (hT : 0 ≤ T) |
| 63 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : |
| 64 | meanDerivatives T hT FInv →L[ℝ] TimeLp T L2 := |
| 65 | (primitiveTimeLp T hT).comp (meanDerivatives T hT FInv).subtypeL |
| 66 | |
| 67 | /-- The actual initial trace on that same constraint space. -/ |
| 68 | def meanTrace (T : ℝ) (hT : 0 ≤ T) |
| 69 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : |
| 70 | meanDerivatives T hT FInv →L[ℝ] L2 := |
| 71 | (initialTrace T hT).comp (meanDerivatives T hT FInv).subtypeL |
| 72 | |
| 73 | /-- The sharp source Poincaré estimate survives restriction to the constraint space. -/ |
| 74 | theorem meanPrimitive_norm_sq (T : ℝ) (hT : 0 ≤ T) |
| 75 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : meanDerivatives T hT FInv) : |
| 76 | ‖meanPrimitive T hT FInv u‖^2 ≤ T^2/2*‖u‖^2 := |
| 77 | primitiveTimeLp_norm_sq_le T hT (u : TimeLp T L2) |
| 78 | |
| 79 | /-- The source initial trace estimate is an estimate of this literal trace. -/ |
| 80 | theorem meanTrace_norm_sq (T : ℝ) (hT : 0 ≤ T) |
| 81 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : meanDerivatives T hT FInv) : |
| 82 | ‖meanTrace T hT FInv u‖^2 ≤ T*‖u‖^2 := |
| 83 | initialTrace_norm_sq_le T hT (u : TimeLp T L2) |
| 84 | |
| 85 | /-- The normalization of the deformation makes the initial physical trace solenoidal. -/ |
| 86 | theorem meanTrace_mem (T : ℝ) (hT : 0 ≤ T) |
| 87 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 88 | (hF0 : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) |
| 89 | (u : meanDerivatives T hT FInv) : meanTrace T hT FInv u ∈ solenoidalSpace := by |
| 90 | have hu := u.property ⟨0, le_rfl, hT⟩ |
| 91 | rw [hF0, id_apply] at hu |
| 92 | exact hu |
| 93 | |
| 94 | /-- Only the boundary lower bound on actual solenoidal traces is needed. -/ |
| 95 | theorem meanTrace_boundary (T : ℝ) (hT : 0 ≤ T) |
| 96 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 97 | (M0 A : L2 →L[ℝ] L2) (L B : ℝ) |
| 98 | (hF0 : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) |
| 99 | (hboundary : ∀ z : L2, z ∈ solenoidalSpace → |
| 100 | -B*‖z‖^2 ≤ ⟪M0 z, z⟫_ℝ+L*⟪A z, z⟫_ℝ) |
| 101 | (u : meanDerivatives T hT FInv) : |
| 102 | -B*‖meanTrace T hT FInv u‖^2 ≤ |
| 103 | ⟪(M0+L • A) (meanTrace T hT FInv u), meanTrace T hT FInv u⟫_ℝ := by |
| 104 | simpa only [add_apply, smul_apply, inner_add_left, real_inner_smul_left] using |
| 105 | hboundary (meanTrace T hT FInv u) (meanTrace_mem T hT FInv hF0 u) |
| 106 | |
| 107 | variable (T : ℝ) (hT : 0 ≤ T) |
| 108 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 109 | (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) |
| 110 | (L K B : ℝ) (hK : 0 ≤ K) (hB : 0 ≤ B) |
| 111 | (hF0 : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) |
| 112 | (hH : ∀ t z, ⟪H t z, z⟫_ℝ ≤ K*‖z‖^2) |
| 113 | (hboundary : ∀ z : L2, z ∈ solenoidalSpace → |
| 114 | -B*‖z‖^2 ≤ ⟪M0 z, z⟫_ℝ+L*⟪A z, z⟫_ℝ) |
| 115 | (hsmall : K*(T^2/2)+B*T ≤ 1/2) |
| 116 | |
| 117 | /-- The mean forcing-to-displacement-derivative map is constructed by Lax--Milgram. -/ |
| 118 | def meanSolver : TimeLp T L2 →L[ℝ] meanDerivatives T hT FInv := |
| 119 | EulerMeanVariationalOperator.meanSolver (meanPrimitive T hT FInv) (meanTrace T hT FInv) |
| 120 | (timeMultiplier T hT H) (M0+L • A) (T^2/2) T K B hK hB |
| 121 | (meanPrimitive_norm_sq T hT FInv) (meanTrace_norm_sq T hT FInv) |
| 122 | (timeMultiplier_quadratic_upper T hT H K hH) |
| 123 | (meanTrace_boundary T hT FInv M0 A L B hF0 hboundary) hsmall |
| 124 | |
| 125 | /-- The exact mean form with the two original initial boundary terms. -/ |
| 126 | theorem meanSolver_weak (f : TimeLp T L2) (v : meanDerivatives T hT FInv) : |
| 127 | let u := meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f |
| 128 | ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ- |
| 129 | ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ+ |
| 130 | ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ+ |
| 131 | L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ = |
| 132 | -⟪f, meanPrimitive T hT FInv v⟫_ℝ := by |
| 133 | simpa only [meanSolver, Submodule.coe_inner, add_apply, smul_apply, inner_add_left, |
| 134 | real_inner_smul_left, add_assoc] using |
| 135 | EulerMeanVariationalOperator.meanSolver_weak (meanPrimitive T hT FInv) (meanTrace T hT FInv) |
| 136 | (timeMultiplier T hT H) (M0+L • A) (T^2/2) T K B hK hB |
| 137 | (meanPrimitive_norm_sq T hT FInv) (meanTrace_norm_sq T hT FInv) |
| 138 | (timeMultiplier_quadratic_upper T hT H K hH) |
| 139 | (meanTrace_boundary T hT FInv M0 A L B hF0 hboundary) hsmall f v |
| 140 | |
| 141 | end EulerMeanVariationalInverse |