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.ParentParticleInverse |
| 2 | import Euler.SmoothTimeFieldParity |
| 3 | import Euler.SmoothFlowParity |
| 4 | import Euler.MeanPacketReflection |
| 5 | |
| 6 | /-! Oddness of the actual displacement propagates to its true velocity |
| 7 | and acceleration, fixes the origin, and gives every even source |
| 8 | coefficient used by the packet. The genuine child flow preserves it. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerGraphInvariantFlow |
| 13 | |
| 14 | open Set EulerLiftedGradientSpace |
| 15 | |
| 16 | theorem physicalCoefficient_odd (k : ℝ) (m : Vector3) (T : ℝ) |
| 17 | (A : SmoothTimeField (Icc (0 : ℝ) T) LiftTangent LiftTangent) (ell : ℝ) |
| 18 | (ho : ∀ t, Function.Odd (A.field t : LiftTangent → LiftTangent)) (t : Icc (0 : ℝ) T) : |
| 19 | Function.Odd ((physicalCoefficient k m T A ell).field t : Vector3 → Vector3) := by |
| 20 | intro x |
| 21 | simp only [physicalCoefficient_apply,smul_neg,map_neg] |
| 22 | rw [ho t (graphLinear k m (ell⁻¹ • x))] |
| 23 | simp only [Prod.fst_neg,smul_neg] |
| 24 | |
| 25 | end EulerGraphInvariantFlow |
| 26 | |
| 27 | namespace EulerParentPacketFrames |
| 28 | |
| 29 | open Set ContinuousLinearMap EulerSmoothLimit EulerGraphInvariantFlow EulerSmoothBanachFlow |
| 30 | EulerTimeIntervalRestriction |
| 31 | |
| 32 | structure OddData (A : Parent) : Prop where |
| 33 | displacement : ∀ t, Function.Odd (A.displacement.field t : Space → Space) |
| 34 | |
| 35 | namespace OddData |
| 36 | |
| 37 | variable {A : Parent} (O : OddData A) |
| 38 | |
| 39 | include O |
| 40 | |
| 41 | theorem velocity (t : Icc (0 : ℝ) A.T) : Function.Odd (A.velocity.field t : Space → Space) := |
| 42 | A.displacement_time.odd A.T_pos O.displacement t |
| 43 | |
| 44 | theorem acceleration (t : Icc (0 : ℝ) A.T) : Function.Odd (A.acceleration.field t : Space → Space) := |
| 45 | A.velocity_time.odd A.T_pos O.velocity t |
| 46 | |
| 47 | theorem position_odd (t : Icc (0 : ℝ) A.T) : Function.Odd (A.position t) := by |
| 48 | intro x |
| 49 | change -x+A.displacement.field t (-x) = -(x+A.displacement.field t x) |
| 50 | rw [O.displacement t x,neg_add] |
| 51 | |
| 52 | theorem position_zero (t : Icc (0 : ℝ) A.T) : A.position t 0=0 := by |
| 53 | ext i |
| 54 | have hi : Function.Odd (fun x : Space => (A.position t x) i) := |
| 55 | fun x => congrArg (fun v : Space => v i) (O.position_odd t x) |
| 56 | exact hi.map_zero |
| 57 | |
| 58 | theorem frame_even (t : Icc (0 : ℝ) A.T) : Function.Even (A.frame.field t : Space → Space →L[ℝ] Space) := by |
| 59 | intro x |
| 60 | rw [A.frame_apply,A.frame_apply,smul_neg, |
| 61 | SmoothTimeField.fderiv_even_of_odd _ (A.displacement.smooth t) (O.displacement t) (A.ell • x)] |
| 62 | |
| 63 | theorem first_even (t : Icc (0 : ℝ) A.T) : Function.Even (A.first.field t : Space → Space →L[ℝ] Space) := by |
| 64 | intro x |
| 65 | rw [A.first_apply,A.first_apply,smul_neg, |
| 66 | SmoothTimeField.fderiv_even_of_odd _ (A.velocity.smooth t) (O.velocity t) (A.ell • x)] |
| 67 | |
| 68 | theorem second_even (t : Icc (0 : ℝ) A.T) : Function.Even (A.second.field t : Space → Space →L[ℝ] Space) := by |
| 69 | intro x |
| 70 | rw [A.second_apply,A.second_apply,smul_neg, |
| 71 | SmoothTimeField.fderiv_even_of_odd _ (A.acceleration.smooth t) (O.acceleration t) (A.ell • x)] |
| 72 | |
| 73 | theorem inverse_even (t : Icc (0 : ℝ) A.T) : Function.Even (A.inverse.field t : Space → Space →L[ℝ] Space) := by |
| 74 | intro x |
| 75 | rw [A.inverse_apply,A.inverse_apply,O.frame_even t x] |
| 76 | |
| 77 | theorem strain_even (t : Icc (0 : ℝ) A.T) : Function.Even (A.strain.field t : Space → Space →L[ℝ] Space) := by |
| 78 | intro x |
| 79 | rw [A.strain_apply,A.strain_apply,O.first_even t x,O.inverse_even t x] |
| 80 | |
| 81 | theorem curvature_even (t : Icc (0 : ℝ) A.T) : Function.Even (A.curvature.field t : Space → Space →L[ℝ] Space) := by |
| 82 | intro x |
| 83 | rw [A.curvature_apply,A.curvature_apply,O.second_even t x,O.inverse_even t x] |
| 84 | |
| 85 | theorem initialStrain_even : Function.Even (A.initialStrain.field : Space → Space →L[ℝ] Space) := by |
| 86 | intro x |
| 87 | rw [A.initialStrain_apply,A.initialStrain_apply,O.first_even A.zeroTime x] |
| 88 | |
| 89 | theorem meanEvenData (H : LowBounds A) : EulerMeanPacketProvider.EvenData (A.meanData H) where |
| 90 | frame := O.frame_even |
| 91 | frameDerivative := O.first_even |
| 92 | curvature := O.curvature_even |
| 93 | initialStrain := O.initialStrain_even |
| 94 | strain := O.strain_even |
| 95 | |
| 96 | theorem restrictTime (S : ℝ) (hS : 0 < S) (hST : S ≤ A.T) : OddData (A.restrictTime S hS hST) where |
| 97 | displacement t := O.displacement (initialInclusion A.T S hST t) |
| 98 | |
| 99 | theorem child {P : ℝ} [Fact (0 < P)] (G : EulerPhysicalGraphFlowBounds.Data P A.T) |
| 100 | (ho : ∀ t, Function.Odd (G.A.field t : EulerLiftedGradientSpace.LiftTangent → EulerLiftedGradientSpace.LiftTangent)) |
| 101 | (k : ℝ) (m : Space) (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0) |
| 102 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) : |
| 103 | OddData (A.child G k m hgraph nextEll hnext hnext1) := by |
| 104 | have hcover (t : Icc (0 : ℝ) A.T) : |
| 105 | Function.Odd (G.coverDisplacementCoefficient.field t : |
| 106 | EulerLiftedGradientSpace.LiftTangent → EulerLiftedGradientSpace.LiftTangent) := by |
| 107 | intro z |
| 108 | rw [G.coverDisplacementCoefficient_apply,G.coverDisplacementCoefficient_apply, |
| 109 | EulerSmoothBanachFlow.forward_odd A.T G.time_nonneg G.A ho t] |
| 110 | abel |
| 111 | have hd (t : Icc (0 : ℝ) A.T) : |
| 112 | Function.Odd ((G.physicalDisplacementCoefficient k m A.ell).field t : Space → Space) := |
| 113 | physicalCoefficient_odd k m A.T G.coverDisplacementCoefficient A.ell hcover t |
| 114 | constructor |
| 115 | intro t x |
| 116 | change A.displacement.field t (-x+(G.physicalDisplacementCoefficient k m A.ell).field t (-x))+ |
| 117 | (G.physicalDisplacementCoefficient k m A.ell).field t (-x) = |
| 118 | -(A.displacement.field t (x+(G.physicalDisplacementCoefficient k m A.ell).field t x)+ |
| 119 | (G.physicalDisplacementCoefficient k m A.ell).field t x) |
| 120 | rw [hd t x,← neg_add,O.displacement t (x+(G.physicalDisplacementCoefficient k m A.ell).field t x),neg_add] |
| 121 | |
| 122 | end OddData |
| 123 | |
| 124 | namespace ParticleInverse |
| 125 | |
| 126 | variable {A : Parent} (I : ParticleInverse A) (O : OddData A) |
| 127 | |
| 128 | include O |
| 129 | |
| 130 | theorem odd (t : Icc (0 : ℝ) A.T) : Function.Odd (I.field t) := by |
| 131 | intro x |
| 132 | have h := I.left_inverse t (-I.field t x) |
| 133 | rw [O.position_odd t (I.field t x),I.right_inverse] at h |
| 134 | exact h |
| 135 | |
| 136 | theorem zero (t : Icc (0 : ℝ) A.T) : I.field t 0=0 := by |
| 137 | ext i |
| 138 | have hi : Function.Odd (fun x : Space => I.field t x i) := |
| 139 | fun x => congrArg (fun v : Space => v i) (I.odd O t x) |
| 140 | exact hi.map_zero |
| 141 | |
| 142 | end ParticleInverse |
| 143 | end EulerParentPacketFrames |