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.CylinderEndpointData |
| 2 | import Euler.CylinderDirichletEquation |
| 3 | |
| 4 | /-! |
| 5 | The literal homogeneous physical equation for the constructed nonzero- |
| 6 | terminal cylinder history. Pointwise tangency and the normal residual are |
| 7 | deduced from the actual frame range; there is no single L² normal vector. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerCylinderDirichlet.Coefficients |
| 13 | |
| 14 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 15 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderRectangular |
| 16 | EulerTransverseGramInverse EulerTransverseNormalResidual EulerBoundedFieldCalculus |
| 17 | open scoped BoundedContinuousFunction |
| 18 | |
| 19 | variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U E : Type*} |
| 20 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 21 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 22 | (D : Coefficients T U E) (Y : CylinderL2 P U) |
| 23 | |
| 24 | theorem endpoint_coordinate_equation_ae (t : Icc (0 : ℝ) T) : |
| 25 | ∀ᵐ x ∂liftMeasure P, |
| 26 | gram (D.Q t x.1) (D.endpointAcceleration P Y t x) = |
| 27 | (D.Q t x.1).adjoint ((-2 : ℝ) • D.Q₁ t x.1 (D.endpointCoordinate P Y t x)) := by |
| 28 | let v := D.endpointCoordinate P Y t |
| 29 | let a := D.endpointAcceleration P Y t |
| 30 | let r := (-2 : ℝ) • fullOperatorMap P (D.Q₁ t) v |
| 31 | have he : (fullOperatorMap P (D.Q t)).adjoint (fullOperatorMap P (D.Q t) a) = |
| 32 | (fullOperatorMap P (D.Q t)).adjoint r := D.endpoint_projected_equation P Y t |
| 33 | rw [fullOperatorMap_adjoint] at he |
| 34 | filter_upwards [ |
| 35 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (adjointMap (D.Q t))) |
| 36 | (fullOperatorMap P (D.Q t) a), |
| 37 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (D.Q t)) a, |
| 38 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (adjointMap (D.Q t))) r, |
| 39 | Lp.coeFn_smul (-2 : ℝ) (fullOperatorMap P (D.Q₁ t) v), |
| 40 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (D.Q₁ t)) v] |
| 41 | with x hl hq hr hs hq₁ |
| 42 | have hp := congrArg (fun w : CylinderL2 P U => w x) he |
| 43 | change fullOperatorMap P (adjointMap (D.Q t)) (fullOperatorMap P (D.Q t) a) x = |
| 44 | fullOperatorMap P (adjointMap (D.Q t)) r x at hp |
| 45 | change fullOperatorMap P (adjointMap (D.Q t)) (fullOperatorMap P (D.Q t) a) x = |
| 46 | (D.Q t x.1).adjoint (fullOperatorMap P (D.Q t) a x) at hl |
| 47 | change fullOperatorMap P (D.Q t) a x = D.Q t x.1 (a x) at hq |
| 48 | change fullOperatorMap P (adjointMap (D.Q t)) r x = (D.Q t x.1).adjoint (r x) at hr |
| 49 | change r x = (-2 : ℝ) • (fullOperatorMap P (D.Q₁ t) v x) at hs |
| 50 | change fullOperatorMap P (D.Q₁ t) v x = D.Q₁ t x.1 (v x) at hq₁ |
| 51 | rw [hl,hq,hr,hs,hq₁] at hp |
| 52 | exact hp |
| 53 | |
| 54 | theorem endpointVelocity_ae (t : Icc (0 : ℝ) T) : |
| 55 | D.endpointVelocity P Y t =ᵐ[liftMeasure P] fun x => |
| 56 | D.Q t x.1 (D.endpointCoordinate P Y t x) := |
| 57 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (D.Q t)) _ |
| 58 | |
| 59 | theorem endpointDerivative_ae (t : Icc (0 : ℝ) T) : |
| 60 | D.endpointDerivative P Y t =ᵐ[liftMeasure P] fun x => |
| 61 | D.Q₁ t x.1 (D.endpointCoordinate P Y t x)+D.Q t x.1 (D.endpointAcceleration P Y t x) := by |
| 62 | let v := D.endpointCoordinate P Y t |
| 63 | let a := D.endpointAcceleration P Y t |
| 64 | filter_upwards [ |
| 65 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (D.Q₁ t)) v, |
| 66 | EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (D.Q t)) a, |
| 67 | Lp.coeFn_add (fullOperatorMap P (D.Q₁ t) v) (fullOperatorMap P (D.Q t) a)] with x h₁ h₂ hs |
| 68 | exact hs.trans (congrArg₂ (·+·) h₁ h₂) |
| 69 | |
| 70 | theorem endpoint_physical_balance_ae |
| 71 | (M : Icc (0 : ℝ) T → Space → E →L[ℝ] E) (m : Icc (0 : ℝ) T → Space → E) |
| 72 | (hm : ∀ t x, m t x ≠ 0) |
| 73 | (hTangent : ∀ t x v, ⟪m t x,D.Q t x v⟫_ℝ = 0) |
| 74 | (hRange : ∀ t x η, ⟪m t x,η⟫_ℝ = 0 → ∃ v, D.Q t x v = η) |
| 75 | (hFlow : ∀ t x, D.Q₁ t x = (M t x).comp (D.Q t x)) |
| 76 | (t : Icc (0 : ℝ) T) : |
| 77 | ∀ᵐ x ∂liftMeasure P, |
| 78 | D.endpointDerivative P Y t x+M t x.1 (D.endpointVelocity P Y t x)+ |
| 79 | (-(2*⟪m t x.1,M t x.1 (D.endpointVelocity P Y t x)⟫_ℝ)/‖m t x.1‖^2) • m t x.1 = 0 := by |
| 80 | filter_upwards [D.endpoint_coordinate_equation_ae P Y t,D.endpointVelocity_ae P Y t, |
| 81 | D.endpointDerivative_ae P Y t] with x he hv hd |
| 82 | rw [hv,hd] |
| 83 | have h := physical_velocity_balance (D.Q t x.1) (D.Q₁ t x.1) (M t x.1) (m t x.1) |
| 84 | (hm t x.1) (hTangent t x.1) (hRange t x.1) (hFlow t x.1) |
| 85 | (D.endpointCoordinate P Y t x) (D.endpointAcceleration P Y t x) (0 : E) |
| 86 | (by simpa only [zero_sub,neg_smul] using he) |
| 87 | simpa only [inner_zero_right,zero_sub] using h |
| 88 | |
| 89 | end EulerCylinderDirichlet.Coefficients |