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.PhysicalChildParent |
| 2 | import Euler.ParentPacketPhysicalCoefficients |
| 3 | import Euler.PacketLiftedCoefficient |
| 4 | import Euler.ExactLiftedJointDifferentiability |
| 5 | |
| 6 | /-! The child particle velocity matches the physical reconstruction of |
| 7 | the actual common correction, including the source spatial scaling. -/ |
| 8 | |
| 9 | /-! ## From `Euler/PhysicalChildVelocity.lean` |
| 10 | |
| 11 | The text of `Euler/PhysicalChildVelocity.lean`, folded into this file, which was its only importer. -/ |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! The constructed child particle velocity is the Eulerian pushforward |
| 16 | of the actual graph velocity. The normalized packet formula follows |
| 17 | from the literal lifted coefficient, with the physical scale explicit. -/ |
| 18 | |
| 19 | noncomputable section |
| 20 | |
| 21 | namespace EulerPhysicalGraphFlowBounds.Data |
| 22 | |
| 23 | open Set EulerLiftedGradientSpace EulerGraphInvariantFlow EulerSmoothBanachFlow EulerSmoothFlowGevrey |
| 24 | |
| 25 | variable {P T : ℝ} [Fact (0 < P)] (G : EulerPhysicalGraphFlowBounds.Data P T) |
| 26 | (k : ℝ) (m : Vector3) (ell : ℝ) (hell : 0 < ell) |
| 27 | (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0) |
| 28 | |
| 29 | include hgraph hell in |
| 30 | theorem physicalDisplacementCoefficient_position (t : Icc (0 : ℝ) T) (x : Vector3) : |
| 31 | x+(G.physicalDisplacementCoefficient k m ell).field t x = |
| 32 | (flowData T G.time_nonneg (physicalCoefficient k m T G.A ell)).forward t x := by |
| 33 | rw [G.physicalDisplacementCoefficient_eq k m ell hell, |
| 34 | G.displacementField_eq k m hgraph ell hell,displacement_eq] |
| 35 | abel |
| 36 | |
| 37 | include hgraph hell in |
| 38 | theorem physicalVelocityCoefficient_material (t : Icc (0 : ℝ) T) (x : Vector3) : |
| 39 | (G.physicalVelocityCoefficient k m ell).field t x = |
| 40 | (physicalCoefficient k m T G.A ell).field t |
| 41 | ((flowData T G.time_nonneg (physicalCoefficient k m T G.A ell)).forward t x) := by |
| 42 | rw [G.physicalVelocityCoefficient_eq k m ell hell,G.velocityField_eq k m hgraph ell hell] |
| 43 | rfl |
| 44 | |
| 45 | end EulerPhysicalGraphFlowBounds.Data |
| 46 | |
| 47 | namespace EulerParentPacketFrames.Parent |
| 48 | |
| 49 | open Set EulerSmoothLimit EulerLiftedGradientSpace EulerGraphInvariantFlow EulerSmoothBanachFlow |
| 50 | EulerMetricTransport |
| 51 | |
| 52 | variable (A : EulerParentPacketFrames.Parent) |
| 53 | {P : ℝ} [Fact (0 < P)] (G : EulerPhysicalGraphFlowBounds.Data P A.T) |
| 54 | (k : ℝ) (m : Vector3) (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0) |
| 55 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 56 | |
| 57 | def graphPushforwardVelocity (Y u : Icc (0 : ℝ) A.T → Space → Space) |
| 58 | (t : Icc (0 : ℝ) A.T) (x : Space) : Space := |
| 59 | u t x + (ContinuousLinearMap.id ℝ Space + fderiv ℝ (A.displacement.field t : Space → Space) (Y t x)) |
| 60 | ((physicalCoefficient k m A.T G.A A.ell).field t (Y t x)) |
| 61 | |
| 62 | theorem child_position (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 63 | (A.child G k m hgraph nextEll hnext hnext1).position t x = |
| 64 | A.position t ((flowData A.T G.time_nonneg (physicalCoefficient k m A.T G.A A.ell)).forward t x) := |
| 65 | A.child_particleMap G k m hgraph nextEll hnext hnext1 t x |
| 66 | |
| 67 | theorem child_velocity_formula (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 68 | (A.child G k m hgraph nextEll hnext hnext1).velocity.field t x = |
| 69 | let y := (flowData A.T G.time_nonneg (physicalCoefficient k m A.T G.A A.ell)).forward t x |
| 70 | A.velocity.field t y + |
| 71 | (ContinuousLinearMap.id ℝ Space + fderiv ℝ (A.displacement.field t : Space → Space) y) |
| 72 | ((physicalCoefficient k m A.T G.A A.ell).field t y) := by |
| 73 | change (EulerChildParticleTime.velocity A.displacement A.velocity |
| 74 | (G.physicalDisplacementCoefficient k m A.ell) (G.physicalVelocityCoefficient k m A.ell)).field t x=_ |
| 75 | rw [EulerChildParticleTime.velocity_apply, |
| 76 | G.physicalDisplacementCoefficient_position k m A.ell A.ell_pos hgraph, |
| 77 | G.physicalVelocityCoefficient_material k m A.ell A.ell_pos hgraph] |
| 78 | simp only [_root_.add_apply,ContinuousLinearMap.id_apply] |
| 79 | abel |
| 80 | |
| 81 | theorem child_velocity_pushforward (Y u : Icc (0 : ℝ) A.T → Space → Space) |
| 82 | (hYX : ∀ t x, Y t (A.position t x)=x) |
| 83 | (hvelocity : ∀ t x, A.velocity.field t x=u t (A.position t x)) |
| 84 | (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 85 | (A.child G k m hgraph nextEll hnext hnext1).velocity.field t x = |
| 86 | A.graphPushforwardVelocity G k m Y u t |
| 87 | ((A.child G k m hgraph nextEll hnext hnext1).position t x) := by |
| 88 | rw [A.child_velocity_formula G k m hgraph nextEll hnext hnext1,graphPushforwardVelocity, |
| 89 | A.child_position G k m hgraph nextEll hnext hnext1,hYX] |
| 90 | dsimp only |
| 91 | rw [hvelocity] |
| 92 | |
| 93 | theorem graphPushforwardVelocity_packet |
| 94 | (Y u : Icc (0 : ℝ) A.T → Space → Space) (κ : ℝ) |
| 95 | (z : Icc (0 : ℝ) A.T → LiftTangent → Space) |
| 96 | (hlift : ∀ t q, G.A.field t q=transportDirection κ m (z t q)) |
| 97 | (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 98 | A.graphPushforwardVelocity G k m Y u t x = |
| 99 | u t x + A.ell • (κ • A.frame.field t (A.ell⁻¹ • Y t x) |
| 100 | (z t (graphLinear k m (A.ell⁻¹ • Y t x)))) := by |
| 101 | rw [graphPushforwardVelocity,physicalCoefficient_apply,hlift] |
| 102 | change u t x + |
| 103 | (ContinuousLinearMap.id ℝ Space + fderiv ℝ (A.displacement.field t : Space → Space) (Y t x)) |
| 104 | (A.ell • (κ • z t (graphLinear k m (A.ell⁻¹ • Y t x))))=_ |
| 105 | rw [map_smul,map_smul,A.frame_apply] |
| 106 | have hx : A.ell • (A.ell⁻¹ • Y t x)=Y t x := by |
| 107 | rw [smul_smul,mul_inv_cancel₀ A.ell_pos.ne',one_smul] |
| 108 | rw [hx] |
| 109 | |
| 110 | end EulerParentPacketFrames.Parent |
| 111 | end |
| 112 | |
| 113 | end |
| 114 | |
| 115 | noncomputable section |
| 116 | |
| 117 | namespace EulerParentPacketFrames.Parent |
| 118 | |
| 119 | open Set InnerProductSpace EulerSmoothLimit EulerLiftedGradientSpace EulerGraphInvariantFlow |
| 120 | EulerAllOrderCorrectionData EulerAllOrderDriftCorrection EulerGraphPressurePotential |
| 121 | EulerMetricTransport EulerPacketPhysicalTransform |
| 122 | |
| 123 | variable (A : EulerParentPacketFrames.Parent) |
| 124 | {P : ℝ} [Fact (0 < P)] {C : EulerAllOrderCorrectionData.Data P A.T} |
| 125 | (B : EulerAllOrderDriftCorrection.Budget P A.T_pos C) |
| 126 | |
| 127 | def correctedPacketVelocity (k : ℝ) (Y u : Icc (0 : ℝ) A.T → Space → Space) |
| 128 | (t : Icc (0 : ℝ) A.T) (x : Space) : Space := |
| 129 | u t x + A.ell • (C.κ • A.frame.field t (A.ell⁻¹ • Y t x) |
| 130 | ((B.correctedFieldTower P).pointField t (cylinderGraph P k C.direction (A.ell⁻¹ • Y t x)))) |
| 131 | |
| 132 | def packetInverse (Y : Icc (0 : ℝ) A.T → Space → Space) (q : ℝ × Space) : Space := |
| 133 | A.ell⁻¹ • Y (projIcc 0 A.T A.T_pos.le q.1) (A.ell • q.2) |
| 134 | |
| 135 | theorem correctedPacketVelocity_eq_physical (k : ℝ) |
| 136 | (Y u : Icc (0 : ℝ) A.T → Space → Space) (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 137 | A.correctedPacketVelocity B k Y u t x = |
| 138 | u t x + A.ell • physicalVelocity C.κ k C.direction |
| 139 | (fun q => A.frame.realField A.T A.T_pos.le q.1 q.2) |
| 140 | ((B.correctedFieldTower P).rawField A.T_pos.le) (A.packetInverse Y) (t,A.ell⁻¹ • x) := by |
| 141 | have hx : A.ell • (A.ell⁻¹ • x)=x := by |
| 142 | rw [smul_smul,mul_inv_cancel₀ A.ell_pos.ne',one_smul] |
| 143 | simp only [correctedPacketVelocity,EulerPacketPhysicalTransform.physicalVelocity, |
| 144 | EulerPacketPhysicalTransform.inverseCoordinates,EulerPacketPhysicalTransform.graphVelocity, |
| 145 | EulerPacketPhysicalTransform.spaceTimeGraph_apply,packetInverse,FieldTower.rawField,SmoothTimeField.realField_apply, |
| 146 | projIcc_of_mem A.T_pos.le t.property,hx,cylinderGraph,coveringMap] |
| 147 | |
| 148 | variable {raw : EulerPacketProfileRecursion.VectorField} |
| 149 | (V : EulerPacketCylinderField.Field P A.T raw) |
| 150 | (hV : C.approximation=V.toFieldTower) |
| 151 | (G : EulerPhysicalGraphFlowBounds.Data P A.T) |
| 152 | (hG : G.A=B.liftedPacketCoefficient P V) |
| 153 | |
| 154 | include hV hG in |
| 155 | theorem graphPushforwardVelocity_corrected (k : ℝ) |
| 156 | (Y u : Icc (0 : ℝ) A.T → Space → Space) (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 157 | A.graphPushforwardVelocity G k C.direction Y u t x = A.correctedPacketVelocity B k Y u t x := by |
| 158 | have h := A.graphPushforwardVelocity_packet G k C.direction Y u C.κ |
| 159 | (fun s q => (B.correctedFieldTower P).pointField s (coveringMap P q)) |
| 160 | (by |
| 161 | intro s q |
| 162 | rw [hG] |
| 163 | exact B.liftedPacketCoefficient_eq_corrected P V hV s q) t x |
| 164 | simpa only [correctedPacketVelocity,graphLinear_apply,cylinderGraph,coveringMap] using h |
| 165 | |
| 166 | include hV hG in |
| 167 | theorem child_velocity_corrected (k : ℝ) |
| 168 | (hgraph : ∀ t q, graphConstraint k C.direction (G.A.field t q)=0) |
| 169 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 170 | (Y u : Icc (0 : ℝ) A.T → Space → Space) |
| 171 | (hYX : ∀ t x, Y t (A.position t x)=x) |
| 172 | (hvelocity : ∀ t x, A.velocity.field t x=u t (A.position t x)) |
| 173 | (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 174 | (A.child G k C.direction hgraph nextEll hnext hnext1).velocity.field t x = |
| 175 | A.correctedPacketVelocity B k Y u t |
| 176 | ((A.child G k C.direction hgraph nextEll hnext hnext1).position t x) := |
| 177 | (A.child_velocity_pushforward G k C.direction hgraph nextEll hnext hnext1 Y u hYX hvelocity t x).trans |
| 178 | (A.graphPushforwardVelocity_corrected B V hV G hG k Y u t _) |
| 179 | |
| 180 | end EulerParentPacketFrames.Parent |