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.PacketKnownTermFields |
| 2 | import Euler.PacketCylinderFieldUnique |
| 3 | |
| 4 | /-! |
| 5 | Exact mean and high forcing sums. Periodic BA/BC terms are absent from the |
| 6 | mean force, and the angle-constant BB term is absent from the high force. |
| 7 | Every summand is the genuine continuous cylinder L² path already constructed. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerPacketCylinderField |
| 13 | |
| 14 | open Set MeasureTheory Finset EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 15 | |
| 16 | variable {P T : ℝ} [Fact (0 < P)] |
| 17 | |
| 18 | theorem angleMean_congr_at (P : ℝ) (f g : VectorField) (t : ℝ) (x : Space) |
| 19 | (h : ∀ θ : ℝ, f (t,(x,θ)) = g (t,(x,θ))) (θ : ℝ) : |
| 20 | angleMean P f (t,(x,θ)) = angleMean P g (t,(x,θ)) := by |
| 21 | unfold angleMean |
| 22 | congr 1 |
| 23 | apply intervalIntegral.integral_congr |
| 24 | intro s _ |
| 25 | exact h s |
| 26 | |
| 27 | theorem angleMean_neg_finsetSum {ι : Type*} (s : Finset ι) (raw : ι → VectorField) |
| 28 | (G : ∀ i, Field P T (raw i)) (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 29 | angleMean P (fun z => -(∑ i ∈ s, raw i z)) (t,(x,θ)) = |
| 30 | -(∑ i ∈ s, angleMean P (raw i) (t,(x,θ))) := by |
| 31 | unfold angleMean |
| 32 | rw [intervalIntegral.integral_neg, |
| 33 | intervalIntegral.integral_finsetSum (fun i _ => ((G i).raw_angle_continuous t x).intervalIntegrable 0 P)] |
| 34 | simp only [smul_neg, Finset.smul_sum] |
| 35 | |
| 36 | variable {O : Operators} {p : ℕ} {a : ℕ → Profile} |
| 37 | |
| 38 | theorem PrefixFields.knownForce_decomposition (F : PrefixFields P T p a) |
| 39 | (hp : 2 ≤ p) (hc : (a 0).corrector = 0) (hB₁ : (a 1).mean = 0) |
| 40 | (hA : ∀ i, i < p → ∀ (t : Icc (0 : ℝ) T) x θ, |
| 41 | inner ℝ (O.normal (t,(x,θ))) ((a i).high (t,(x,θ))) = 0) |
| 42 | (hB : ∀ i, i < p → ∀ (t : Icc (0 : ℝ) T) x θ, |
| 43 | (a i).mean (t,(x,θ)) = (a i).mean (t,(x,0))) |
| 44 | (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 45 | EulerPacketProfileRecursion.knownForce O p a (t,(x,θ)) = |
| 46 | -(∑ q ∈ knownTermIndices p, q.1.raw O p a q.2.1 q.2.2 (t,(x,θ))) := |
| 47 | knownForce_eq_term_sum O p hp a hc hB₁ (t,(x,θ)) |
| 48 | (fun i => KnownPiece.high_tangent hA i t x θ) |
| 49 | (fun i => (F.meanPiece_angleIndependent hB i t x).angular θ) |
| 50 | |
| 51 | variable (F : PrefixFields P T p a) (C : CoefficientData P T O) |
| 52 | (hp : 2 ≤ p) (hT : 0 < T) {corrector_t : VectorField} |
| 53 | (Ct : Field P T corrector_t) |
| 54 | (hCt : TimeDerivative hT.le (F.corrector (p-1) (by omega)) Ct) |
| 55 | (pressure : Field P T (pressureGradient (a (p-1)).highPressure)) |
| 56 | (hc : (a 0).corrector = 0) (hB₁ : (a 1).mean = 0) |
| 57 | (hA : ∀ i, i < p → ∀ (t : Icc (0 : ℝ) T) x θ, |
| 58 | inner ℝ (O.normal (t,(x,θ))) ((a i).high (t,(x,θ))) = 0) |
| 59 | (hB : ∀ i, i < p → ∀ (t : Icc (0 : ℝ) T) x θ, |
| 60 | (a i).mean (t,(x,θ)) = (a i).mean (t,(x,0))) |
| 61 | |
| 62 | include C hp hT Ct hCt pressure hc hB₁ hA hB in |
| 63 | theorem PrefixFields.meanForce_decomposition (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 64 | EulerPacketProfileRecursion.meanForce O p a (t,(x,θ)) = |
| 65 | -(∑ q ∈ knownTermIndices p, q.1.meanRaw O p a q.2.1 q.2.2 (t,(x,θ))) := by |
| 66 | calc |
| 67 | _ = angleMean P (fun z => -(∑ q ∈ knownTermIndices p, |
| 68 | q.1.raw O p a q.2.1 q.2.2 z)) (t,(x,θ)) := by |
| 69 | unfold EulerPacketProfileRecursion.meanForce |
| 70 | rw [C.period_eq] |
| 71 | exact angleMean_congr_at P _ _ t x (F.knownForce_decomposition hp hc hB₁ hA hB t x) θ |
| 72 | _ = -(∑ q ∈ knownTermIndices p, angleMean P (q.1.raw O p a q.2.1 q.2.2) (t,(x,θ))) := |
| 73 | angleMean_neg_finsetSum (knownTermIndices p) |
| 74 | (fun q => q.1.raw O p a q.2.1 q.2.2) |
| 75 | (fun q => F.termField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) t x θ |
| 76 | _ = _ := by |
| 77 | congr 1 |
| 78 | apply sum_congr rfl |
| 79 | intro q _ |
| 80 | rw [KnownTerm.meanRaw_eq F C hB, C.period_eq] |
| 81 | |
| 82 | include C hp hT Ct hCt pressure hc hB₁ hA hB in |
| 83 | theorem PrefixFields.highForce_decomposition (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 84 | EulerPacketProfileRecursion.highForce O p a (t,(x,θ)) = |
| 85 | -(∑ q ∈ knownTermIndices p, q.1.highRaw O p a q.2.1 q.2.2 (t,(x,θ))) - |
| 86 | fastAdvection (O.normal (t,(x,θ))) |
| 87 | (slicedJet O.interval (meanResult O p a).1 (t,(x,θ))) |
| 88 | (slicedJet O.interval (a 1).high (t,(x,θ))) := by |
| 89 | have he : (∑ q ∈ knownTermIndices p, q.1.highRaw O p a q.2.1 q.2.2 (t,(x,θ))) = |
| 90 | (∑ q ∈ knownTermIndices p, q.1.raw O p a q.2.1 q.2.2 (t,(x,θ))) - |
| 91 | (∑ q ∈ knownTermIndices p, q.1.meanRaw O p a q.2.1 q.2.2 (t,(x,θ))) := by |
| 92 | rw [← sum_sub_distrib] |
| 93 | apply sum_congr rfl |
| 94 | intro q _ |
| 95 | rw [KnownTerm.highRaw_eq F C hB, KnownTerm.meanRaw_eq F C hB] |
| 96 | unfold EulerPacketProfileRecursion.highForce |
| 97 | rw [F.knownForce_decomposition hp hc hB₁ hA hB, |
| 98 | F.meanForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB, he] |
| 99 | abel |
| 100 | |
| 101 | include hc hB₁ hA hB in |
| 102 | theorem PrefixFields.knownForce_term_path : |
| 103 | (F.knownForce C (by omega) hT Ct hCt pressure).path = |
| 104 | -(∑ q ∈ knownTermIndices p, (F.termField C (by omega) hT Ct hCt pressure |
| 105 | q.1 q.2.1 q.2.2).path) := by |
| 106 | let G := Field.finsetSum (knownTermIndices p) _ |
| 107 | (fun q => F.termField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) |
| 108 | change (F.knownForce C (by omega) hT Ct hCt pressure).path = G.neg.path |
| 109 | apply Field.path_eq_of_raw_eq |
| 110 | intro t x θ |
| 111 | simpa only [Pi.neg_apply, Finset.sum_apply] using |
| 112 | (F.knownForce_decomposition hp hc hB₁ hA hB t x θ).symm |
| 113 | |
| 114 | include hc hB₁ hA hB in |
| 115 | theorem PrefixFields.meanForce_term_path : |
| 116 | (F.meanForce C (by omega) hT Ct hCt pressure).path = |
| 117 | -(∑ q ∈ knownTermIndices p, (F.meanTermField C (by omega) hT Ct hCt pressure |
| 118 | q.1 q.2.1 q.2.2).path) := by |
| 119 | let G := Field.finsetSum (knownTermIndices p) _ |
| 120 | (fun q => F.meanTermField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) |
| 121 | change (F.meanForce C (by omega) hT Ct hCt pressure).path = G.neg.path |
| 122 | apply Field.path_eq_of_raw_eq |
| 123 | intro t x θ |
| 124 | simpa only [Pi.neg_apply, Finset.sum_apply] using |
| 125 | (F.meanForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB t x θ).symm |
| 126 | |
| 127 | include hc hB₁ hA hB in |
| 128 | theorem PrefixFields.highForce_term_path (newMean : Field P T (meanResult O p a).1) : |
| 129 | (F.highForce C hp hT Ct hCt pressure newMean).path = |
| 130 | -(∑ q ∈ knownTermIndices p, (F.highTermField C (by omega) hT Ct hCt pressure |
| 131 | q.1 q.2.1 q.2.2).path) - |
| 132 | (SpatialJetField.fastAdvection C.normal (SpatialJetField.ofField O.interval newMean) |
| 133 | (SpatialJetField.ofField O.interval (F.high 1 (by omega)))).path := by |
| 134 | let G := Field.finsetSum (knownTermIndices p) _ |
| 135 | (fun q => F.highTermField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) |
| 136 | let A := SpatialJetField.fastAdvection C.normal (SpatialJetField.ofField O.interval newMean) |
| 137 | (SpatialJetField.ofField O.interval (F.high 1 (by omega))) |
| 138 | rw [sub_eq_add_neg] |
| 139 | change (F.highForce C hp hT Ct hCt pressure newMean).path = (G.neg.sub A).path |
| 140 | apply Field.path_eq_of_raw_eq |
| 141 | intro t x θ |
| 142 | simpa only [Pi.sub_apply, Pi.neg_apply, Finset.sum_apply] using |
| 143 | (F.highForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB t x θ).symm |
| 144 | |
| 145 | end EulerPacketCylinderField |