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.ExactLiftedJointDifferentiability |
| 2 | import Euler.PacketCorrectionSourceData |
| 3 | import Euler.PacketCoordinateResidual |
| 4 | import Euler.TransversePacketPiolaData |
| 5 | |
| 6 | /-! The actual pointwise equation of the exact packet, expressed with the |
| 7 | prescribed deformation and its genuine time and spatial derivatives. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketPhysicalTransform |
| 12 | |
| 13 | open Set Filter ContinuousLinearMap EulerSmoothLimit EulerVolterraConvolution |
| 14 | open scoped Topology |
| 15 | |
| 16 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 17 | (D : EulerTransversePacketProvider.Data U) |
| 18 | |
| 19 | theorem source_frame_time (F : ℝ × Space → Space →L[ℝ] Space) |
| 20 | (hmatch : ∀ s : Icc (0 : ℝ) D.T, ∀ x, F (s,x) = D.F.field s x) |
| 21 | (t : ℝ) (ht : t ∈ Ioo 0 D.T) (x : Space) |
| 22 | (DF : (ℝ × Space) →L[ℝ] (Space →L[ℝ] Space)) |
| 23 | (hF : HasFDerivAt F DF (t,x)) : |
| 24 | DF (1,0) = D.F₁.field ⟨t,ht.1.le,ht.2.le⟩ x := by |
| 25 | have he : (fun s => F (s,x)) =ᶠ[𝓝 t] |
| 26 | (fun s => extendPath D.T D.T_pos.le D.F.field s x) := by |
| 27 | filter_upwards [Icc_mem_nhds ht.1 ht.2] with s hs |
| 28 | simpa only [extendPath,projIcc_of_mem D.T_pos.le hs] using hmatch ⟨s,hs⟩ x |
| 29 | have hf := hF.comp_hasDerivAt t |
| 30 | ((hasDerivAt_id t).prodMk (hasDerivAt_const t x)) |
| 31 | have hd := (D.frame_time t ⟨ht.1.le,ht.2.le⟩ x).hasDerivAt (Icc_mem_nhds ht.1 ht.2) |
| 32 | simpa only [extendPath,projIcc_of_mem D.T_pos.le ⟨ht.1.le,ht.2.le⟩] using |
| 33 | hf.unique (hd.congr_of_eventuallyEq he) |
| 34 | |
| 35 | theorem source_frame_spatial (F : ℝ × Space → Space →L[ℝ] Space) |
| 36 | (hmatch : ∀ s : Icc (0 : ℝ) D.T, ∀ x, F (s,x) = D.F.field s x) |
| 37 | (t : Icc (0 : ℝ) D.T) (x v : Space) |
| 38 | (DF : (ℝ × Space) →L[ℝ] (Space →L[ℝ] Space)) |
| 39 | (hF : HasFDerivAt F DF (t,x)) : |
| 40 | DF (0,v) = fderiv ℝ (D.F.field t : Space → Space →L[ℝ] Space) x v := by |
| 41 | have hd := hF.comp x (hasFDerivAt_prodMk_right (t : ℝ) x) |
| 42 | have he : (fun y => F (t,y)) = (D.F.field t : Space → Space →L[ℝ] Space) := |
| 43 | funext (hmatch t) |
| 44 | change HasFDerivAt (fun y => F (t,y)) (DF.comp (inr ℝ ℝ Space)) x at hd |
| 45 | rw [he] at hd |
| 46 | rw [hd.fderiv] |
| 47 | rfl |
| 48 | |
| 49 | end EulerPacketPhysicalTransform |
| 50 | |
| 51 | namespace EulerAllOrderDriftCorrection.ExactLiftedPacket |
| 52 | |
| 53 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 54 | EulerAllOrderCorrectionData EulerLiftedGradientSpace EulerPacketCorrectionCoefficients |
| 55 | EulerPacketCoordinates EulerMetricTransport |
| 56 | |
| 57 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 58 | (D : EulerTransversePacketProvider.Data U) {P : ℝ} [Fact (0 < P)] |
| 59 | {κ : ℝ} {hκ : |κ| ≤ 1} {Z R : FieldTower P D.T} |
| 60 | {B : Budget P D.T_pos (correctionData D P κ hκ Z R)} |
| 61 | (S : ExactLiftedPacket P D.T_pos (correctionData D P κ hκ Z R) B) |
| 62 | |
| 63 | theorem source_equation (t : ℝ) (ht : t ∈ Ioo 0 D.T) (z : LiftTangent) : |
| 64 | fderiv ℝ S.rawVelocity (t,z) (1,0) + |
| 65 | (2 : ℝ) • D.FInv.field ⟨t,ht.1.le,ht.2.le⟩ z.1 |
| 66 | (D.F₁.field ⟨t,ht.1.le,ht.2.le⟩ z.1 (S.rawVelocity (t,z))) + |
| 67 | fderiv ℝ S.rawVelocity (t,z) (0,(κ • S.rawVelocity (t,z),⟪D.m₀,S.rawVelocity (t,z)⟫_ℝ)) + |
| 68 | κ • D.FInv.field ⟨t,ht.1.le,ht.2.le⟩ z.1 |
| 69 | (fderiv ℝ (D.F.field ⟨t,ht.1.le,ht.2.le⟩ : Space → Space →L[ℝ] Space) |
| 70 | z.1 (S.rawVelocity (t,z)) (S.rawVelocity (t,z))) + |
| 71 | D.FInv.field ⟨t,ht.1.le,ht.2.le⟩ z.1 |
| 72 | ((D.FInv.field ⟨t,ht.1.le,ht.2.le⟩ z.1).adjoint (S.rawPressure (t,z))) = 0 := by |
| 73 | have h := S.raw_normalized_equation t ht z |
| 74 | simp only [correctionData_linear,correctionData_quadratic,correctionData_metric, |
| 75 | coveringMap,smul_apply,comp_apply] at h |
| 76 | have hquad := algebraic_formula D κ S.rawVelocity (t,z) |
| 77 | simp only [algebraic,rawQuadratic,rawFrame,rawInverse,EulerTransversePacketProvider.Data.clamp, |
| 78 | projIcc_of_mem D.T_pos.le ⟨ht.1.le,ht.2.le⟩,smul_apply,comp_apply] at hquad |
| 79 | rw [hquad] at h |
| 80 | exact h |
| 81 | |
| 82 | theorem source_equation_of_frame (F : ℝ × Space → Space →L[ℝ] Space) |
| 83 | (hmatch : ∀ s : Icc (0 : ℝ) D.T, ∀ x, F (s,x) = D.F.field s x) |
| 84 | (t : ℝ) (ht : t ∈ Ioo 0 D.T) (z : LiftTangent) |
| 85 | (DF : (ℝ × Space) →L[ℝ] (Space →L[ℝ] Space)) |
| 86 | (hF : HasFDerivAt F DF (t,z.1)) : |
| 87 | fderiv ℝ S.rawVelocity (t,z) (1,0) + |
| 88 | (2 : ℝ) • (D.deformationEquiv ⟨t,ht.1.le,ht.2.le⟩ z.1).symm |
| 89 | (DF (1,0) (S.rawVelocity (t,z))) + |
| 90 | fderiv ℝ S.rawVelocity (t,z) (0,(κ • S.rawVelocity (t,z),⟪D.m₀,S.rawVelocity (t,z)⟫_ℝ)) + |
| 91 | κ • (D.deformationEquiv ⟨t,ht.1.le,ht.2.le⟩ z.1).symm |
| 92 | (DF (0,S.rawVelocity (t,z)) (S.rawVelocity (t,z))) + |
| 93 | (D.deformationEquiv ⟨t,ht.1.le,ht.2.le⟩ z.1).symm |
| 94 | ((D.deformationEquiv ⟨t,ht.1.le,ht.2.le⟩ z.1).symm.toContinuousLinearMap.adjoint |
| 95 | (S.rawPressure (t,z))) = 0 := by |
| 96 | rw [EulerPacketPhysicalTransform.source_frame_time D F hmatch t ht z.1 DF hF, |
| 97 | EulerPacketPhysicalTransform.source_frame_spatial D F hmatch |
| 98 | ⟨t,ht.1.le,ht.2.le⟩ z.1 (S.rawVelocity (t,z)) DF hF] |
| 99 | exact S.source_equation D t ht z |
| 100 | |
| 101 | end EulerAllOrderDriftCorrection.ExactLiftedPacket |