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.PhysicalChildVelocity |
| 2 | import Euler.PacketLiftedCoefficient |
| 3 | import Euler.ExactLiftedJointDifferentiability |
| 4 | |
| 5 | /-! The child particle velocity matches the physical reconstruction of |
| 6 | the actual common correction, including the source spatial scaling. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerParentPacketFrames.Parent |
| 11 | |
| 12 | open Set InnerProductSpace EulerSmoothLimit EulerLiftedGradientSpace EulerGraphInvariantFlow |
| 13 | EulerAllOrderCorrectionData EulerAllOrderDriftCorrection EulerGraphPressurePotential |
| 14 | EulerMetricTransport EulerPacketPhysicalTransform |
| 15 | |
| 16 | variable (A : EulerParentPacketFrames.Parent) |
| 17 | {P : ℝ} [Fact (0 < P)] {C : EulerAllOrderCorrectionData.Data P A.T} |
| 18 | (B : EulerAllOrderDriftCorrection.Budget P A.T_pos C) |
| 19 | |
| 20 | def correctedPacketVelocity (k : ℝ) (Y u : Icc (0 : ℝ) A.T → Space → Space) |
| 21 | (t : Icc (0 : ℝ) A.T) (x : Space) : Space := |
| 22 | u t x + A.ell • (C.κ • A.frame.field t (A.ell⁻¹ • Y t x) |
| 23 | ((B.correctedFieldTower P).pointField t (cylinderGraph P k C.direction (A.ell⁻¹ • Y t x)))) |
| 24 | |
| 25 | def packetInverse (Y : Icc (0 : ℝ) A.T → Space → Space) (q : ℝ × Space) : Space := |
| 26 | A.ell⁻¹ • Y (projIcc 0 A.T A.T_pos.le q.1) (A.ell • q.2) |
| 27 | |
| 28 | theorem correctedPacketVelocity_eq_physical (k : ℝ) |
| 29 | (Y u : Icc (0 : ℝ) A.T → Space → Space) (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 30 | A.correctedPacketVelocity B k Y u t x = |
| 31 | u t x + A.ell • physicalVelocity C.κ k C.direction |
| 32 | (fun q => A.frame.realField A.T A.T_pos.le q.1 q.2) |
| 33 | ((B.correctedFieldTower P).rawField A.T_pos.le) (A.packetInverse Y) (t,A.ell⁻¹ • x) := by |
| 34 | have hx : A.ell • (A.ell⁻¹ • x)=x := by |
| 35 | rw [smul_smul,mul_inv_cancel₀ A.ell_pos.ne',one_smul] |
| 36 | simp only [correctedPacketVelocity,EulerPacketPhysicalTransform.physicalVelocity, |
| 37 | EulerPacketPhysicalTransform.inverseCoordinates,EulerPacketPhysicalTransform.graphVelocity, |
| 38 | EulerPacketPhysicalTransform.spaceTimeGraph_apply,packetInverse,FieldTower.rawField,SmoothTimeField.realField_apply, |
| 39 | projIcc_of_mem A.T_pos.le t.property,hx,cylinderGraph,coveringMap] |
| 40 | |
| 41 | variable {raw : EulerPacketProfileRecursion.VectorField} |
| 42 | (V : EulerPacketCylinderField.Field P A.T raw) |
| 43 | (hV : C.approximation=V.toFieldTower) |
| 44 | (G : EulerPhysicalGraphFlowBounds.Data P A.T) |
| 45 | (hG : G.A=B.liftedPacketCoefficient P V) |
| 46 | |
| 47 | include hV hG in |
| 48 | theorem lifted_graph_constraint (k : ℝ) (hk : k*C.κ=1) |
| 49 | (t : Icc (0 : ℝ) A.T) (q : LiftTangent) : |
| 50 | graphConstraint k C.direction (G.A.field t q)=0 := by |
| 51 | rw [hG,B.liftedPacketCoefficient_eq_corrected P V hV] |
| 52 | simp only [graphConstraint_apply,transportDirection,real_inner_smul_right] |
| 53 | rw [← mul_assoc,hk,one_mul,sub_self] |
| 54 | |
| 55 | include hV hG in |
| 56 | theorem graphPushforwardVelocity_corrected (k : ℝ) |
| 57 | (Y u : Icc (0 : ℝ) A.T → Space → Space) (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 58 | A.graphPushforwardVelocity G k C.direction Y u t x = A.correctedPacketVelocity B k Y u t x := by |
| 59 | have h := A.graphPushforwardVelocity_packet G k C.direction Y u C.κ |
| 60 | (fun s q => (B.correctedFieldTower P).pointField s (coveringMap P q)) |
| 61 | (by |
| 62 | intro s q |
| 63 | rw [hG] |
| 64 | exact B.liftedPacketCoefficient_eq_corrected P V hV s q) t x |
| 65 | simpa only [correctedPacketVelocity,graphLinear_apply,cylinderGraph,coveringMap] using h |
| 66 | |
| 67 | include hV hG in |
| 68 | theorem child_velocity_corrected (k : ℝ) |
| 69 | (hgraph : ∀ t q, graphConstraint k C.direction (G.A.field t q)=0) |
| 70 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 71 | (Y u : Icc (0 : ℝ) A.T → Space → Space) |
| 72 | (hYX : ∀ t x, Y t (A.position t x)=x) |
| 73 | (hvelocity : ∀ t x, A.velocity.field t x=u t (A.position t x)) |
| 74 | (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 75 | (A.child G k C.direction hgraph nextEll hnext hnext1).velocity.field t x = |
| 76 | A.correctedPacketVelocity B k Y u t |
| 77 | ((A.child G k C.direction hgraph nextEll hnext hnext1).position t x) := |
| 78 | (A.child_velocity_pushforward G k C.direction hgraph nextEll hnext hnext1 Y u hYX hvelocity t x).trans |
| 79 | (A.graphPushforwardVelocity_corrected B V hV G hG k Y u t _) |
| 80 | |
| 81 | end EulerParentPacketFrames.Parent |