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.ParentPacketPhysicalCoefficients |
| 2 | import Euler.TransversePacketIntervalData |
| 3 | import Mathlib.Analysis.Calculus.FDeriv.Symmetric |
| 4 | |
| 5 | /-! The actual scalar pressure gives a symmetric curvature operator. |
| 6 | Symmetry of the source history Hessian is consequently a theorem about |
| 7 | the constructed parent data, rather than an independent hypothesis. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerParentPacketFrames |
| 12 | |
| 13 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 14 | EulerTransverseFrameCoordinates EulerTimeIntervalRestriction |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | theorem hessian_isSymmetric (p : Space → ℝ) (hp : ContDiff ℝ 2 p) (x : Space) : |
| 18 | (fderiv ℝ (gradient p) x).IsSymmetric := by |
| 19 | have hd : DifferentiableAt ℝ (fderiv ℝ p) x := |
| 20 | ((hp.fderiv_right (m := 1) le_rfl).differentiable one_ne_zero).differentiableAt |
| 21 | have hg : fderiv ℝ (gradient p) x = |
| 22 | (toDual ℝ Space).symm.toContinuousLinearMap.comp (fderiv ℝ (fderiv ℝ p) x) := |
| 23 | ((toDual ℝ Space).symm.toContinuousLinearMap.hasFDerivAt.comp x hd.hasFDerivAt).fderiv |
| 24 | intro v w |
| 25 | change ⟪fderiv ℝ (gradient p) x v,w⟫_ℝ = ⟪v,fderiv ℝ (gradient p) x w⟫_ℝ |
| 26 | rw [hg] |
| 27 | change ⟪(toDual ℝ Space).symm (fderiv ℝ (fderiv ℝ p) x v),w⟫_ℝ = |
| 28 | ⟪v,(toDual ℝ Space).symm (fderiv ℝ (fderiv ℝ p) x w)⟫_ℝ |
| 29 | calc |
| 30 | _ = fderiv ℝ (fderiv ℝ p) x v w := toDual_symm_apply |
| 31 | _ = fderiv ℝ (fderiv ℝ p) x w v := (hp.contDiffAt.isSymmSndFDerivAt (by simp)).eq v w |
| 32 | _ = ⟪(toDual ℝ Space).symm (fderiv ℝ (fderiv ℝ p) x w),v⟫_ℝ := toDual_symm_apply.symm |
| 33 | _ = _ := real_inner_comm _ _ |
| 34 | |
| 35 | namespace Parent |
| 36 | |
| 37 | variable (G : Parent) (p : Icc (0 : ℝ) G.T → Space → ℝ) |
| 38 | (hp : ∀ t, ContDiff ℝ ∞ (p t)) |
| 39 | (hacceleration : ∀ t x, G.acceleration.field t x = -(gradient (p t) (G.position t x))) |
| 40 | |
| 41 | include hp hacceleration |
| 42 | |
| 43 | theorem curvature_symmetric (t : Icc (0 : ℝ) G.T) (x : Space) : |
| 44 | (G.curvature.field t x).IsSymmetric := by |
| 45 | rw [G.curvature_physical (fun t => gradient (p t)) |
| 46 | (fun t x => ((EulerMeanSolenoidal.contDiff_gradient (hp t)).differentiable (by simp) x)) |
| 47 | hacceleration] |
| 48 | exact hessian_isSymmetric (p t) ((hp t).of_le (by simp)) _ |
| 49 | |
| 50 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 51 | (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] referencePlane m) |
| 52 | (S : Set Space) (hS : IsCompact S) (H : LowBounds G) |
| 53 | |
| 54 | theorem history_symmetric (t : Icc (0 : ℝ) G.T) (x : Space) : |
| 55 | ((G.historyData m hm R S hS H).H.field t x).IsSymmetric := |
| 56 | G.curvature_symmetric p hp hacceleration t x |
| 57 | |
| 58 | theorem initial_history_symmetric (τ : ℝ) (hτ : 0 < τ) (hτT : τ ≤ G.T) |
| 59 | (t : Icc (0 : ℝ) τ) (x : Space) : |
| 60 | (((G.historyData m hm R S hS H).initial τ hτ hτT).H.field t x).IsSymmetric := |
| 61 | G.curvature_symmetric p hp hacceleration (initialInclusion G.T τ hτT t) x |
| 62 | |
| 63 | end Parent |
| 64 | end EulerParentPacketFrames |