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 | |
| 4 | /-! The constructed child particle velocity is the Eulerian pushforward |
| 5 | of the actual graph velocity. The normalized packet formula follows |
| 6 | from the literal lifted coefficient, with the physical scale explicit. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPhysicalGraphFlowBounds.Data |
| 11 | |
| 12 | open Set EulerLiftedGradientSpace EulerGraphInvariantFlow EulerSmoothBanachFlow EulerSmoothFlowGevrey |
| 13 | |
| 14 | variable {P T : ℝ} [Fact (0 < P)] (G : EulerPhysicalGraphFlowBounds.Data P T) |
| 15 | (k : ℝ) (m : Vector3) (ell : ℝ) (hell : 0 < ell) |
| 16 | (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0) |
| 17 | |
| 18 | include hgraph hell in |
| 19 | theorem physicalDisplacementCoefficient_position (t : Icc (0 : ℝ) T) (x : Vector3) : |
| 20 | x+(G.physicalDisplacementCoefficient k m ell).field t x = |
| 21 | (flowData T G.time_nonneg (physicalCoefficient k m T G.A ell)).forward t x := by |
| 22 | rw [G.physicalDisplacementCoefficient_eq k m ell hell, |
| 23 | G.displacementField_eq k m hgraph ell hell,displacement_eq] |
| 24 | abel |
| 25 | |
| 26 | include hgraph hell in |
| 27 | theorem physicalVelocityCoefficient_material (t : Icc (0 : ℝ) T) (x : Vector3) : |
| 28 | (G.physicalVelocityCoefficient k m ell).field t x = |
| 29 | (physicalCoefficient k m T G.A ell).field t |
| 30 | ((flowData T G.time_nonneg (physicalCoefficient k m T G.A ell)).forward t x) := by |
| 31 | rw [G.physicalVelocityCoefficient_eq k m ell hell,G.velocityField_eq k m hgraph ell hell] |
| 32 | rfl |
| 33 | |
| 34 | end EulerPhysicalGraphFlowBounds.Data |
| 35 | |
| 36 | namespace EulerParentPacketFrames.Parent |
| 37 | |
| 38 | open Set EulerSmoothLimit EulerLiftedGradientSpace EulerGraphInvariantFlow EulerSmoothBanachFlow |
| 39 | EulerMetricTransport |
| 40 | |
| 41 | variable (A : EulerParentPacketFrames.Parent) |
| 42 | {P : ℝ} [Fact (0 < P)] (G : EulerPhysicalGraphFlowBounds.Data P A.T) |
| 43 | (k : ℝ) (m : Vector3) (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0) |
| 44 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 45 | |
| 46 | def graphPushforwardVelocity (Y u : Icc (0 : ℝ) A.T → Space → Space) |
| 47 | (t : Icc (0 : ℝ) A.T) (x : Space) : Space := |
| 48 | u t x + (ContinuousLinearMap.id ℝ Space + fderiv ℝ (A.displacement.field t : Space → Space) (Y t x)) |
| 49 | ((physicalCoefficient k m A.T G.A A.ell).field t (Y t x)) |
| 50 | |
| 51 | theorem child_position (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 52 | (A.child G k m hgraph nextEll hnext hnext1).position t x = |
| 53 | A.position t ((flowData A.T G.time_nonneg (physicalCoefficient k m A.T G.A A.ell)).forward t x) := |
| 54 | A.child_particleMap G k m hgraph nextEll hnext hnext1 t x |
| 55 | |
| 56 | theorem child_velocity_formula (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 57 | (A.child G k m hgraph nextEll hnext hnext1).velocity.field t x = |
| 58 | let y := (flowData A.T G.time_nonneg (physicalCoefficient k m A.T G.A A.ell)).forward t x |
| 59 | A.velocity.field t y + |
| 60 | (ContinuousLinearMap.id ℝ Space + fderiv ℝ (A.displacement.field t : Space → Space) y) |
| 61 | ((physicalCoefficient k m A.T G.A A.ell).field t y) := by |
| 62 | change (EulerChildParticleTime.velocity A.displacement A.velocity |
| 63 | (G.physicalDisplacementCoefficient k m A.ell) (G.physicalVelocityCoefficient k m A.ell)).field t x=_ |
| 64 | rw [EulerChildParticleTime.velocity_apply, |
| 65 | G.physicalDisplacementCoefficient_position k m A.ell A.ell_pos hgraph, |
| 66 | G.physicalVelocityCoefficient_material k m A.ell A.ell_pos hgraph] |
| 67 | simp only [_root_.add_apply,ContinuousLinearMap.id_apply] |
| 68 | abel |
| 69 | |
| 70 | theorem child_velocity_pushforward (Y u : Icc (0 : ℝ) A.T → Space → Space) |
| 71 | (hYX : ∀ t x, Y t (A.position t x)=x) |
| 72 | (hvelocity : ∀ t x, A.velocity.field t x=u t (A.position t x)) |
| 73 | (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 74 | (A.child G k m hgraph nextEll hnext hnext1).velocity.field t x = |
| 75 | A.graphPushforwardVelocity G k m Y u t |
| 76 | ((A.child G k m hgraph nextEll hnext hnext1).position t x) := by |
| 77 | rw [A.child_velocity_formula G k m hgraph nextEll hnext hnext1,graphPushforwardVelocity, |
| 78 | A.child_position G k m hgraph nextEll hnext hnext1,hYX] |
| 79 | dsimp only |
| 80 | rw [hvelocity] |
| 81 | |
| 82 | theorem graphPushforwardVelocity_packet |
| 83 | (Y u : Icc (0 : ℝ) A.T → Space → Space) (κ : ℝ) |
| 84 | (z : Icc (0 : ℝ) A.T → LiftTangent → Space) |
| 85 | (hlift : ∀ t q, G.A.field t q=transportDirection κ m (z t q)) |
| 86 | (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 87 | A.graphPushforwardVelocity G k m Y u t x = |
| 88 | u t x + A.ell • (κ • A.frame.field t (A.ell⁻¹ • Y t x) |
| 89 | (z t (graphLinear k m (A.ell⁻¹ • Y t x)))) := by |
| 90 | rw [graphPushforwardVelocity,physicalCoefficient_apply,hlift] |
| 91 | change u t x + |
| 92 | (ContinuousLinearMap.id ℝ Space + fderiv ℝ (A.displacement.field t : Space → Space) (Y t x)) |
| 93 | (A.ell • (κ • z t (graphLinear k m (A.ell⁻¹ • Y t x))))=_ |
| 94 | rw [map_smul,map_smul,A.frame_apply] |
| 95 | have hx : A.ell • (A.ell⁻¹ • Y t x)=Y t x := by |
| 96 | rw [smul_smul,mul_inv_cancel₀ A.ell_pos.ne',one_smul] |
| 97 | rw [hx] |
| 98 | |
| 99 | end EulerParentPacketFrames.Parent |