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.CylinderDirichletMean |
| 2 | import Euler.TransverseNormalResidual |
| 3 | |
| 4 | /-! |
| 5 | # The literal spatial equation of the actual cylinder history |
| 6 | |
| 7 | The Hilbert-space projected equation is an equality of genuine L² fields. |
| 8 | The adjoint multiplier identity turns it into the pointwise matrix equation |
| 9 | almost everywhere. Its normal residual is exactly the scalar source in (11). |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerCylinderDirichlet.Coefficients |
| 15 | |
| 16 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 17 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderRectangular |
| 18 | EulerTimeLp EulerTransverseGramInverse EulerTransverseNormalResidual EulerBoundedFieldCalculus |
| 19 | open scoped BoundedContinuousFunction |
| 20 | |
| 21 | variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U E : Type*} |
| 22 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 23 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 24 | (D : Coefficients T U E) |
| 25 | (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
| 26 | |
| 27 | /-- The exact source equation (10) for the actual cylinder representatives. -/ |
| 28 | theorem coordinate_equation_ae (t : Icc (0 : ℝ) T) : |
| 29 | ∀ᵐ x ∂liftMeasure P, |
| 30 | gram (D.Q t x.1) (D.accelerationPath P f t x) = |
| 31 | (D.Q t x.1).adjoint (f t x-(2 : ℝ) • |
| 32 | D.Q₁ t x.1 (D.velocityPath P (pathLp T D.time_pos.le f) t x)) := by |
| 33 | let v := D.velocityPath P (pathLp T D.time_pos.le f) t |
| 34 | let a := D.accelerationPath P f t |
| 35 | let r := f t-(2 : ℝ) • fullOperatorMap P (D.Q₁ t) v |
| 36 | have he : (fullOperatorMap P (D.Q t)).adjoint (fullOperatorMap P (D.Q t) a) = |
| 37 | (fullOperatorMap P (D.Q t)).adjoint r := D.projected_equation P f t |
| 38 | rw [fullOperatorMap_adjoint] at he |
| 39 | filter_upwards [ |
| 40 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (adjointMap (D.Q t))) |
| 41 | (fullOperatorMap P (D.Q t) a), |
| 42 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (D.Q t)) a, |
| 43 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (adjointMap (D.Q t))) r, |
| 44 | Lp.coeFn_sub (f t) ((2 : ℝ) • fullOperatorMap P (D.Q₁ t) v), |
| 45 | Lp.coeFn_smul (2 : ℝ) (fullOperatorMap P (D.Q₁ t) v), |
| 46 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (D.Q₁ t)) v] |
| 47 | with x hl hq hr hsub hsmul hq₁ |
| 48 | have hp := congrArg (fun w : CylinderL2 P U => w x) he |
| 49 | change fullOperatorMap P (adjointMap (D.Q t)) (fullOperatorMap P (D.Q t) a) x = |
| 50 | fullOperatorMap P (adjointMap (D.Q t)) r x at hp |
| 51 | change fullOperatorMap P (adjointMap (D.Q t)) (fullOperatorMap P (D.Q t) a) x = |
| 52 | (D.Q t x.1).adjoint (fullOperatorMap P (D.Q t) a x) at hl |
| 53 | change fullOperatorMap P (D.Q t) a x = D.Q t x.1 (a x) at hq |
| 54 | change fullOperatorMap P (adjointMap (D.Q t)) r x = (D.Q t x.1).adjoint (r x) at hr |
| 55 | change fullOperatorMap P (D.Q₁ t) v x = D.Q₁ t x.1 (v x) at hq₁ |
| 56 | rw [hl,hq,hr] at hp |
| 57 | change r x = f t x-((2 : ℝ) • fullOperatorMap P (D.Q₁ t) v) x at hsub |
| 58 | change ((2 : ℝ) • fullOperatorMap P (D.Q₁ t) v) x = |
| 59 | (2 : ℝ) • (fullOperatorMap P (D.Q₁ t) v x) at hsmul |
| 60 | rw [hsub,hsmul,hq₁] at hp |
| 61 | exact hp |
| 62 | |
| 63 | theorem physicalVelocity_ae (t : Icc (0 : ℝ) T) : |
| 64 | D.physicalVelocity P f t =ᵐ[liftMeasure P] fun x => |
| 65 | D.Q t x.1 (D.velocityPath P (pathLp T D.time_pos.le f) t x) := |
| 66 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (D.Q t)) _ |
| 67 | |
| 68 | theorem physicalDerivative_ae (t : Icc (0 : ℝ) T) : |
| 69 | D.physicalDerivative P f t =ᵐ[liftMeasure P] fun x => |
| 70 | D.Q₁ t x.1 (D.velocityPath P (pathLp T D.time_pos.le f) t x)+ |
| 71 | D.Q t x.1 (D.accelerationPath P f t x) := by |
| 72 | let v := D.velocityPath P (pathLp T D.time_pos.le f) t |
| 73 | let a := D.accelerationPath P f t |
| 74 | filter_upwards [ |
| 75 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (D.Q₁ t)) v, |
| 76 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (D.Q t)) a, |
| 77 | Lp.coeFn_add (fullOperatorMap P (D.Q₁ t) v) (fullOperatorMap P (D.Q t) a)] |
| 78 | with x h₁ h₂ hs |
| 79 | exact hs.trans (congrArg₂ (·+·) h₁ h₂) |
| 80 | |
| 81 | /-- The scalar normal source in (11), derived from the actual inverse. -/ |
| 82 | theorem physical_balance_ae |
| 83 | (M : Icc (0 : ℝ) T → Space → E →L[ℝ] E) (m : Icc (0 : ℝ) T → Space → E) |
| 84 | (hm : ∀ t x, m t x ≠ 0) |
| 85 | (hTangent : ∀ t x v, ⟪m t x,D.Q t x v⟫_ℝ = 0) |
| 86 | (hRange : ∀ t x η, ⟪m t x,η⟫_ℝ = 0 → ∃ v, D.Q t x v = η) |
| 87 | (hFlow : ∀ t x, D.Q₁ t x = (M t x).comp (D.Q t x)) |
| 88 | (t : Icc (0 : ℝ) T) : |
| 89 | ∀ᵐ x ∂liftMeasure P, |
| 90 | D.physicalDerivative P f t x+M t x.1 (D.physicalVelocity P f t x)+ |
| 91 | ((⟪m t x.1,f t x⟫_ℝ-2*⟪m t x.1,M t x.1 (D.physicalVelocity P f t x)⟫_ℝ)/ |
| 92 | ‖m t x.1‖^2) • m t x.1 = f t x := by |
| 93 | filter_upwards [D.coordinate_equation_ae P f t,D.physicalVelocity_ae P f t, |
| 94 | D.physicalDerivative_ae P f t] with x he hv hd |
| 95 | rw [hv,hd] |
| 96 | exact physical_velocity_balance (D.Q t x.1) (D.Q₁ t x.1) (M t x.1) (m t x.1) |
| 97 | (hm t x.1) (hTangent t x.1) (hRange t x.1) (hFlow t x.1) _ _ _ he |
| 98 | |
| 99 | end EulerCylinderDirichlet.Coefficients |