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.MeanStrongInverse |
| 2 | import Euler.TimeH1FieldProduct |
| 3 | |
| 4 | /-! |
| 5 | # The actual mean velocity and pressure-gradient residual |
| 6 | |
| 7 | From a genuine strong mean evolution, construct B=F z_t in Bochner L², its |
| 8 | actual time derivative, and the residual f-B_t-MB. Its F-adjoint transform is |
| 9 | in the ordinary L² gradient space by the proved strong projected equation. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | |
| 15 | namespace EulerMeanVariationalInverse.StrongMeanEvolution |
| 16 | |
| 17 | open MeasureTheory Set EulerTimeLp EulerTerminalTimePrimitive EulerMeanSolenoidal |
| 18 | EulerVolterraConvolution EulerTimeH1FieldProduct |
| 19 | |
| 20 | variable {T : ℝ} {hT : 0 ≤ T} |
| 21 | {FInv F F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)} |
| 22 | {A : L2 →L[ℝ] L2} {L : ℝ} {u f : TimeLp T L2} |
| 23 | (s : StrongMeanEvolution T hT FInv F F₁ A L u f) |
| 24 | |
| 25 | /-- The actual physical velocity B=F z_t as a Bochner L² field. -/ |
| 26 | def velocityField : TimeLp T L2 := |
| 27 | timeMultiplier T hT (solenoidalFrame T F) s.velocityLp |
| 28 | |
| 29 | /-- The actual continuous physical-velocity representative. -/ |
| 30 | def physicalPath : ℝ → L2 := fun t => extendPath T hT F t (s.velocity t : L2) |
| 31 | |
| 32 | /-- The product-rule candidate for B_t, constructed in actual Bochner L². -/ |
| 33 | def velocityDerivative : TimeLp T L2 := |
| 34 | fieldProductDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F₁) |
| 35 | s.velocityLp s.acceleration |
| 36 | |
| 37 | /-- This field really is B_t, and B has an actual absolutely continuous representative. -/ |
| 38 | theorem physical_h1 |
| 39 | (hF : ∀ t : Icc (0 : ℝ) T, |
| 40 | HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) : |
| 41 | AbsolutelyContinuousOnInterval s.physicalPath 0 T ∧ |
| 42 | (s.velocityField : ℝ → L2) =ᵐ[timeMeasure T] s.physicalPath ∧ |
| 43 | ∀ᵐ t ∂timeMeasure T, HasDerivAt s.physicalPath (s.velocityDerivative t) t := |
| 44 | fieldProduct_h1 T hT (solenoidalFrame T F) (solenoidalFrame T F₁) |
| 45 | (solenoidalFrame_hasDerivWithinAt T hT F F₁ hF) s.velocityLp s.acceleration |
| 46 | s.velocity s.velocity_ac s.velocity_ae s.velocity_derivative |
| 47 | |
| 48 | /-- In label coordinates the actual physical velocity is solenoidal at every time. -/ |
| 49 | theorem inversePhysicalPath_solenoidal |
| 50 | (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) (t : ℝ) : |
| 51 | extendPath T hT FInv t (s.physicalPath t) ∈ solenoidalSpace := by |
| 52 | change FInv (projIcc 0 T hT t) (F (projIcc 0 T hT t) (s.velocity t : L2)) ∈ solenoidalSpace |
| 53 | rw [hInv] |
| 54 | exact (s.velocity t).property |
| 55 | |
| 56 | /-- The pressure residual in the strong equation, before using F_t=MF. -/ |
| 57 | def pressureResidual : TimeLp T L2 := |
| 58 | f - timeMultiplier T hT (solenoidalFrame T F) s.acceleration - |
| 59 | (2 : ℝ) • timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp |
| 60 | |
| 61 | /-- The residual has its literal pointwise strong-equation representative. -/ |
| 62 | theorem pressureResidual_ae : |
| 63 | (s.pressureResidual : ℝ → L2) =ᵐ[timeMeasure T] fun t => |
| 64 | f t - extendPath T hT F t (s.acceleration t : L2) - |
| 65 | (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2) := by |
| 66 | filter_upwards [Lp.coeFn_sub (f-timeMultiplier T hT (solenoidalFrame T F) s.acceleration) |
| 67 | ((2 : ℝ) • timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp), |
| 68 | Lp.coeFn_sub f (timeMultiplier T hT (solenoidalFrame T F) s.acceleration), |
| 69 | Lp.coeFn_smul (2 : ℝ) (timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp), |
| 70 | timeMultiplier_ae T hT (solenoidalFrame T F) s.acceleration, |
| 71 | timeMultiplier_ae T hT (solenoidalFrame T F₁) s.velocityLp, s.velocity_ae] |
| 72 | with t hs₂ hs₁ hsmul ha hv hvrep |
| 73 | simp only [Pi.sub_apply, Pi.smul_apply] at hs₂ hs₁ hsmul |
| 74 | change (f-timeMultiplier T hT (solenoidalFrame T F) s.acceleration- |
| 75 | (2 : ℝ) • timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp) t = _ |
| 76 | have hv' := hv.trans (congrArg |
| 77 | (fun w : solenoidalSpace => F₁ (projIcc 0 T hT t) (w : L2)) hvrep) |
| 78 | exact hs₂.trans (congrArg₂ (fun x y : L2 => x-y) |
| 79 | (hs₁.trans (congrArg (fun x : L2 => f t-x) ha)) |
| 80 | (hsmul.trans (congrArg (fun x : L2 => (2 : ℝ) • x) hv'))) |
| 81 | |
| 82 | /-- The actual pressure residual has an ordinary weak L² gradient after F-adjoint |
| 83 | transformation. This follows from the proved projected equation. -/ |
| 84 | theorem pressureResidual_gradient_ae : |
| 85 | ∀ᵐ t ∂timeMeasure T, |
| 86 | (extendPath T hT F t).adjoint (s.pressureResidual t) ∈ gradientSpace := by |
| 87 | filter_upwards [s.pressureResidual_ae, s.equation] with t hp he |
| 88 | apply (solenoidalProjection_eq_zero_iff _).1 |
| 89 | have hb : f t - extendPath T hT F t (s.acceleration t : L2) - |
| 90 | (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2) = |
| 91 | (f t - (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2))- |
| 92 | extendPath T hT F t (s.acceleration t : L2) := by abel |
| 93 | have hh := congrArg (fun x : L2 => solenoidalProjection ((F (projIcc 0 T hT t)).adjoint x)) |
| 94 | (hp.trans hb) |
| 95 | have hl := (solenoidalProjection.comp (F (projIcc 0 T hT t)).adjoint).map_sub |
| 96 | (f t - (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2)) |
| 97 | (extendPath T hT F t (s.acceleration t : L2)) |
| 98 | exact hh.trans (hl.trans (sub_eq_zero.mpr he.symm)) |
| 99 | |
| 100 | /-- The prescribed coefficient identity F_t=MF holds for the actual velocity field. -/ |
| 101 | theorem movingVelocityField_eq (M : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 102 | (hM : ∀ (t : Icc (0 : ℝ) T) (x : L2), F₁ t x = M t (F t x)) : |
| 103 | timeMultiplier T hT M s.velocityField = |
| 104 | timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp := by |
| 105 | apply Lp.ext |
| 106 | filter_upwards [timeMultiplier_ae T hT M s.velocityField, |
| 107 | timeMultiplier_ae T hT (solenoidalFrame T F) s.velocityLp, |
| 108 | timeMultiplier_ae T hT (solenoidalFrame T F₁) s.velocityLp] with t hmul hv hv₁ |
| 109 | exact hmul.trans ((congrArg (fun x : L2 => M (projIcc 0 T hT t) x) hv).trans |
| 110 | ((hM (projIcc 0 T hT t) (s.velocityLp t : L2)).symm.trans hv₁.symm)) |
| 111 | |
| 112 | /-- The reconstructed fields satisfy the actual evolution B_t+MB+dq=f in L². -/ |
| 113 | theorem velocity_evolution (M : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 114 | (hM : ∀ (t : Icc (0 : ℝ) T) (x : L2), F₁ t x = M t (F t x)) : |
| 115 | s.velocityDerivative + timeMultiplier T hT M s.velocityField + s.pressureResidual = f := by |
| 116 | calc |
| 117 | _ = s.velocityDerivative + timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp + |
| 118 | s.pressureResidual := congrArg |
| 119 | (fun x : TimeLp T L2 => s.velocityDerivative+x+s.pressureResidual) |
| 120 | (s.movingVelocityField_eq M hM) |
| 121 | _ = f := by |
| 122 | simp only [velocityDerivative, fieldProductDerivative, pressureResidual, two_smul] |
| 123 | abel |
| 124 | |
| 125 | /-- The initial physical velocity is exactly the source's localized boundary value. -/ |
| 126 | theorem physicalPath_initial |
| 127 | (hF₀ : F ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) : |
| 128 | s.physicalPath 0 = L • A (s.label 0 : L2) := by |
| 129 | change F (projIcc 0 T hT 0) (s.velocity 0 : L2) = _ |
| 130 | rw [projIcc_of_mem hT ⟨le_rfl, hT⟩, hF₀, ContinuousLinearMap.id_apply] |
| 131 | exact s.initial_velocity |
| 132 | |
| 133 | end EulerMeanVariationalInverse.StrongMeanEvolution |