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.PacketResidualTailFields |
| 2 | import Euler.PacketProfileParity |
| 3 | import Euler.PacketFiniteProfileFields |
| 4 | |
| 5 | /-! Actual finite packet velocities and residual tails preserve the joint |
| 6 | odd parity of the constructed profiles. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketCylinderField |
| 11 | |
| 12 | open Set Finset ContinuousLinearMap EulerSmoothLimit EulerPacketPointJets |
| 13 | EulerPacketProfileRecursion EulerFiniteGrades |
| 14 | |
| 15 | namespace JointOdd |
| 16 | |
| 17 | variable {T : ℝ} {f : VectorField} |
| 18 | |
| 19 | theorem smul (hf : JointOdd T f) (c : ℝ) : JointOdd T (c • f) := by |
| 20 | intro t x θ |
| 21 | change c • f (t,(-x,-θ)) = -(c • f (t,(x,θ))) |
| 22 | rw [hf,smul_neg] |
| 23 | |
| 24 | theorem sum {ι : Type*} (s : Finset ι) (f : ι → VectorField) |
| 25 | (hf : ∀ i ∈ s, JointOdd T (f i)) : JointOdd T (fun z => ∑ i ∈ s, f i z) := by |
| 26 | intro t x θ |
| 27 | rw [← sum_neg_distrib] |
| 28 | exact sum_congr rfl (fun i hi => hf i hi t x θ) |
| 29 | |
| 30 | theorem matrix_apply (hf : JointOdd T f) (A : Domain → Space →L[ℝ] Space) |
| 31 | (hA : ∀ (t : Icc (0 : ℝ) T) x θ, A (t,(-x,-θ)) = A (t,(x,θ))) : |
| 32 | JointOdd T (fun z => A z (f z)) := by |
| 33 | intro t x θ |
| 34 | change A (t,(-x,-θ)) (f (t,(-x,-θ))) = -(A (t,(x,θ)) (f (t,(x,θ)))) |
| 35 | rw [hA,hf,map_neg] |
| 36 | |
| 37 | theorem truncate (N : ℕ) (f : ℕ → VectorField) |
| 38 | (hf : ∀ i, i ≤ N → JointOdd T (f i)) (i : ℕ) : |
| 39 | JointOdd T (EulerFiniteGrades.truncate N f i) := by |
| 40 | by_cases hi : i ≤ N |
| 41 | · rw [truncate_of_le N i f hi] |
| 42 | exact hf i hi |
| 43 | · rw [truncate_of_gt N i f (by omega)] |
| 44 | exact JointOdd.zero T |
| 45 | |
| 46 | theorem assemble (N : ℕ) (f c : ℕ → VectorField) |
| 47 | (hf : ∀ i, i ≤ N → JointOdd T (f i)) (hc : ∀ i, i ≤ N → JointOdd T (c i)) |
| 48 | (i : ℕ) : JointOdd T (EulerFiniteGrades.assemble N f c i) := by |
| 49 | cases i with |
| 50 | | zero => |
| 51 | simpa only [EulerFiniteGrades.assemble,shiftUp,add_zero] using JointOdd.truncate N f hf 0 |
| 52 | | succ i => |
| 53 | exact (JointOdd.truncate N f hf (i+1)).add (JointOdd.truncate N c hc i) |
| 54 | |
| 55 | theorem fieldSum (N : ℕ) (κ : ℝ) (f : ℕ → VectorField) |
| 56 | (hf : ∀ i, i ≤ N → JointOdd T (f i)) : JointOdd T (EulerPacketPointJets.fieldSum N κ f) := |
| 57 | JointOdd.sum (range (N+1)) (fun i => κ^i • f i) |
| 58 | (fun i hi => (hf i (by have := mem_range.mp hi; omega)).smul (κ^i)) |
| 59 | |
| 60 | end JointOdd |
| 61 | |
| 62 | variable {P T : ℝ} [Fact (0 < P)] |
| 63 | |
| 64 | theorem Field.linearPart_odd {f ft : VectorField} (G : Field P T f) |
| 65 | (Gt : Field P T ft) (hT : 0 < T) (hdt : TimeDerivative hT.le G Gt) |
| 66 | (hf : JointOdd T f) (M : Domain → Space →L[ℝ] Space) |
| 67 | (hM : ∀ (t : Icc (0 : ℝ) T) x θ, M (t,(-x,-θ)) = M (t,(x,θ))) : |
| 68 | JointOdd T (fun z => EulerPacketPointJets.linearPart (M z) (slicedJet (Icc (0 : ℝ) T) f z)) := by |
| 69 | have ht := G.timeDerivative_odd Gt hT hdt hf |
| 70 | intro t x θ |
| 71 | change (slicedJet (Icc (0 : ℝ) T) f (t,(-x,-θ))).2 timeDirection + |
| 72 | M (t,(-x,-θ)) (f (t,(-x,-θ))) = |
| 73 | -((slicedJet (Icc (0 : ℝ) T) f (t,(x,θ))).2 timeDirection + M (t,(x,θ)) (f (t,(x,θ)))) |
| 74 | simp only [G.slicedJet_temporal hT Gt hdt,ht t x θ,hM t x θ,hf t x θ,map_neg,neg_add] |
| 75 | |
| 76 | theorem slowPressure_odd (f : ScalarField) (I : Domain → Space →L[ℝ] Space) |
| 77 | (hf : JointOdd T (pressureGradient f)) |
| 78 | (hI : ∀ (t : Icc (0 : ℝ) T) x θ, I (t,(-x,-θ)) = I (t,(x,θ))) : |
| 79 | JointOdd T (fun z => slowPressure (I z) (pressureJet f z)) := by |
| 80 | intro t x θ |
| 81 | change (I (t,(-x,-θ))).adjoint (pressureGradient f (t,(-x,-θ))) = |
| 82 | -((I (t,(x,θ))).adjoint (pressureGradient f (t,(x,θ)))) |
| 83 | rw [hI,hf,map_neg] |
| 84 | |
| 85 | variable {O : Operators} {p : ℕ} {a : ℕ → Profile} |
| 86 | |
| 87 | theorem PrefixFields.nonlinearGrade_odd (F : PrefixFields P T p a) (H : PrefixOdd T p a) |
| 88 | (hp : 1 ≤ p) (E : CoefficientEven T O) (M n : ℕ) : |
| 89 | JointOdd T (fun z => nonlinearGrade M n (O.inverseFrame z) (O.normal z) (knownJets O p a z)) := by |
| 90 | have hs (i j : ℕ) := (F.knownJet O hp j).slowAdvection_odd O.inverseFrame E.inverse |
| 91 | (H.knownJet_value_odd (O := O) hp i) (H.knownJet_value_odd (O := O) hp j) |
| 92 | have ha (i j : ℕ) := (F.knownJet O hp j).fastAdvection_odd O.normal E.normal |
| 93 | (H.knownJet_value_odd (O := O) hp i) (H.knownJet_value_odd (O := O) hp j) |
| 94 | exact (JointOdd.convolution M n _ hs).add (JointOdd.convolution M (n+1) _ ha) |
| 95 | |
| 96 | namespace ProfileParity |
| 97 | |
| 98 | variable {N : ℕ} (H : ∀ i, i ≤ N → ProfileParity T (a i)) |
| 99 | |
| 100 | include H |
| 101 | |
| 102 | theorem assembledVelocity_odd (i : ℕ) : JointOdd T (assembledVelocity N a i) := |
| 103 | JointOdd.assemble N _ _ (fun j hj => (H j hj).high.add (H j hj).mean) |
| 104 | (fun j hj => (H j hj).corrector) i |
| 105 | |
| 106 | theorem velocity_odd (κ : ℝ) : JointOdd T (fieldSum (N+1) κ (assembledVelocity N a)) := |
| 107 | JointOdd.fieldSum (N+1) κ _ (fun i _ => assembledVelocity_odd H i) |
| 108 | |
| 109 | end ProfileParity |
| 110 | |
| 111 | namespace ProfileRegularity |
| 112 | |
| 113 | variable {N : ℕ} {S : Set Space} (hT : 0 < T) |
| 114 | (G : ∀ i, i ≤ N → ProfileRegularity P T hT.le S (a i)) |
| 115 | (H : ∀ i, i ≤ N → ProfileParity T (a i)) (C : CoefficientData P T O) |
| 116 | (E : CoefficientEven T O) (ha : a 0 = 0) |
| 117 | |
| 118 | include hT G H C E ha |
| 119 | |
| 120 | theorem recursiveTail_odd (n : ℕ) (hn : N+1 ≤ n) : |
| 121 | JointOdd T (fun z => recursiveGrade O N a z n) := by |
| 122 | let F := prefixThrough hT G |
| 123 | let Hpre : PrefixOdd T (N+1) a := |
| 124 | ProfileParity.prefixOdd (fun i (hi : i < N+1) => H i (by omega)) |
| 125 | have hL : JointOdd T (fun z => |
| 126 | linearPart (O.strain z) (slicedJet O.interval (a N).corrector z)) := by |
| 127 | rw [C.interval_eq] |
| 128 | exact (G N le_rfl).corrector.linearPart_odd (G N le_rfl).correctorDerivative hT |
| 129 | (G N le_rfl).corrector_time (H N le_rfl).corrector O.strain E.strain |
| 130 | have hQ := slowPressure_odd (a N).highPressure O.inverseFrame (H N le_rfl).pressure E.inverse |
| 131 | have hlinear : JointOdd T (fun z => if n=N+1 then |
| 132 | linearPart (O.strain z) (slicedJet O.interval (a N).corrector z) + |
| 133 | slowPressure (O.inverseFrame z) (pressureJet (a N).highPressure z) else 0) := by |
| 134 | intro t x θ |
| 135 | by_cases he : n=N+1 |
| 136 | · simp only [he,ite_true] |
| 137 | exact (hL.add hQ) t x θ |
| 138 | · simp only [he,ite_false,neg_zero] |
| 139 | have hnonlinear := F.nonlinearGrade_odd Hpre (by omega) E (N+1) n |
| 140 | exact (hlinear.add hnonlinear).congr |
| 141 | (fun t x θ => recursiveGrade_tail O N n hn a ha (t,(x,θ))) |
| 142 | |
| 143 | theorem residualTail_odd (κ : ℝ) : |
| 144 | JointOdd T (fun z => ∑ n ∈ Ico (N+1) (2*N+3), κ^n • recursiveGrade O N a z n) := |
| 145 | JointOdd.sum (Ico (N+1) (2*N+3)) (fun n => κ^n • (fun z => recursiveGrade O N a z n)) |
| 146 | (fun n hn => (recursiveTail_odd hT G H C E ha n (mem_Ico.mp hn).1).smul (κ^n)) |
| 147 | |
| 148 | end ProfileRegularity |
| 149 | end EulerPacketCylinderField |