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.PacketJoinedSourceProfiles |
| 2 | import Euler.PacketSourceEquations |
| 3 | |
| 4 | /-! Actual equations, tangency and pressure regularity at every solved joined grade. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField |
| 9 | |
| 10 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 11 | open scoped ContDiff |
| 12 | |
| 13 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 14 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 15 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 16 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 17 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 18 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 19 | |
| 20 | theorem joinedInverse_eq_mean (A : SourceCoefficientAgreement M D) |
| 21 | (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 22 | (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ)) = M.inverseFrame (t,(x,θ)) := by |
| 23 | change D.FInv.field (D.clamp t) x = M.FInv (M.clamp t) x |
| 24 | rw [EulerMeanPacketProvider.Data.clamp_coe] |
| 25 | exact (A.inverse t x).symm |
| 26 | |
| 27 | theorem joinedStrain_eq_mean (A : SourceCoefficientAgreement M D) |
| 28 | (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 29 | (joinedSourceOperators P M D τ hτ hτT B).strain (t,(x,θ)) = M.strain (t,(x,θ)) := by |
| 30 | change D.M.field (D.clamp t) x = M.M.field (M.clamp t) x |
| 31 | rw [EulerMeanPacketProvider.Data.clamp_coe] |
| 32 | exact (A.strain t x).symm |
| 33 | |
| 34 | include hT hprimary in |
| 35 | theorem joinedSource_mean_equation (A : SourceCoefficientAgreement M D) (p : ℕ) (hp : 2 ≤ p) |
| 36 | (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 37 | linearPart ((joinedSourceOperators P M D τ hτ hτT B).strain (t,(x,θ))) |
| 38 | (slicedJet (Icc (0 : ℝ) M.T) (joinedSourceProfiles P M D τ hτ hτT B primary p).mean (t,(x,θ))) + |
| 39 | slowPressure ((joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ))) |
| 40 | (pressureJet (joinedSourceProfiles P M D τ hτ hτT B primary p).meanPressure (t,(x,θ))) = |
| 41 | meanForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 42 | (joinedSourceProfiles P M D τ hτ hτT B primary) (t,(x,θ)) := by |
| 43 | rw [joinedStrain_eq_mean P M D τ hτ hτT B A t x θ, |
| 44 | joinedInverse_eq_mean P M D τ hτ hτT B A t x θ] |
| 45 | have he : joinedSourceProfiles P M D τ hτ hτT B primary p = |
| 46 | EulerPacketProfileRecursion.step (joinedSourceOperators P M D τ hτ hτT B) p |
| 47 | (joinedSourceProfiles P M D τ hτ hτT B primary) := profiles_step _ _ p hp |
| 48 | rw [he] |
| 49 | exact EulerMeanPacketProvider.meanSolve_jet_equation M _ |
| 50 | ⟨joinedSource_meanForcing P M D hT τ hτ hτT B primary hprimary p hp⟩ t x θ |
| 51 | |
| 52 | include hT hprimary in |
| 53 | theorem joinedSource_high_equation (p : ℕ) (hp : 2 ≤ p) |
| 54 | (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 55 | linearPart ((joinedSourceOperators P M D τ hτ hτT B).strain (t,(x,θ))) |
| 56 | (slicedJet (Icc (0 : ℝ) M.T) (joinedSourceProfiles P M D τ hτ hτT B primary p).high (t,(x,θ))) + |
| 57 | fastPressure ((joinedSourceOperators P M D τ hτ hτT B).normal (t,(x,θ))) |
| 58 | (pressureJet (joinedSourceProfiles P M D τ hτ hτT B primary p).highPressure (t,(x,θ))) = |
| 59 | highForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 60 | (joinedSourceProfiles P M D τ hτ hτT B primary) (t,(x,θ)) := by |
| 61 | let ops := joinedSourceOperators P M D τ hτ hτT B |
| 62 | let a := joinedSourceProfiles P M D τ hτ hτT B primary |
| 63 | have he : a p = EulerPacketProfileRecursion.step ops p a := profiles_step _ _ p hp |
| 64 | change linearPart (ops.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) M.T) (a p).high (t,(x,θ))) + |
| 65 | fastPressure (ops.normal (t,(x,θ))) (pressureJet (a p).highPressure (t,(x,θ))) = _ |
| 66 | rw [he] |
| 67 | let td : Icc (0 : ℝ) D.T := ⟨t,by rw [← hT]; exact t.property⟩ |
| 68 | have h := EulerTransversePacketJoin.highSolve_equation τ hτ hτT B |
| 69 | ⟨joinedSource_highForcing P M D hT τ hτ hτT B primary hprimary p hp⟩ td x θ |
| 70 | change linearPart (D.strain (t,(x,θ))) |
| 71 | (slicedJet (Icc (0 : ℝ) M.T) |
| 72 | (EulerTransversePacketJoin.highSolve (P := P) τ hτ hτT B (highForce ops p a)).1 (t,(x,θ))) + |
| 73 | fastPressure (D.normalField (t,(x,θ))) |
| 74 | (pressureJet (EulerTransversePacketJoin.highSolve (P := P) τ hτ hτT B (highForce ops p a)).2 (t,(x,θ))) = _ |
| 75 | have hs : Icc (0 : ℝ) M.T = Icc (0 : ℝ) D.T := congrArg (Icc (0 : ℝ)) hT |
| 76 | have hj := congrArg (fun s : Set ℝ => slicedJet s |
| 77 | (EulerTransversePacketJoin.highSolve (P := P) τ hτ hτT B (highForce ops p a)).1 (t,(x,θ))) hs |
| 78 | rw [hj] |
| 79 | exact h |
| 80 | |
| 81 | include hT hprimary in |
| 82 | theorem joinedSource_high_tangent (p : ℕ) (hp : 2 ≤ p) |
| 83 | (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 84 | inner ℝ (D.normalField (t,(x,θ))) |
| 85 | ((joinedSourceProfiles P M D τ hτ hτT B primary p).high (t,(x,θ))) = 0 := by |
| 86 | let h : Nonempty (EulerTransversePacketProvider.Forcing P D |
| 87 | (highForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 88 | (joinedSourceProfiles P M D τ hτ hτT B primary))) := |
| 89 | ⟨joinedSource_highForcing P M D hT τ hτ hτT B primary hprimary p hp⟩ |
| 90 | have he : joinedSourceProfiles P M D τ hτ hτT B primary p = |
| 91 | EulerPacketProfileRecursion.step (joinedSourceOperators P M D τ hτ hτT B) p |
| 92 | (joinedSourceProfiles P M D τ hτ hτT B primary) := profiles_step _ _ p hp |
| 93 | rw [he] |
| 94 | change inner ℝ (D.normalField (t,(x,θ))) |
| 95 | ((EulerTransversePacketJoin.highSolve (P := P) τ hτ hτT B _).1 (t,(x,θ))) = 0 |
| 96 | rw [EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B h] |
| 97 | let td : Icc (0 : ℝ) D.T := ⟨t,by rw [← hT]; exact t.property⟩ |
| 98 | exact EulerTransversePacketJoin.vector_tangent τ hτ hτT B (Classical.choice h) td x θ |
| 99 | |
| 100 | include hT hprimary in |
| 101 | theorem joinedSource_highPressure_smooth (p : ℕ) (hp : 2 ≤ p) (t : ℝ) : |
| 102 | ContDiff ℝ ∞ (fun y : Space × ℝ => |
| 103 | (joinedSourceProfiles P M D τ hτ hτT B primary p).highPressure (t,y)) := by |
| 104 | let h : Nonempty (EulerTransversePacketProvider.Forcing P D |
| 105 | (highForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 106 | (joinedSourceProfiles P M D τ hτ hτT B primary))) := |
| 107 | ⟨joinedSource_highForcing P M D hT τ hτ hτT B primary hprimary p hp⟩ |
| 108 | unfold joinedSourceProfiles |
| 109 | rw [profiles_step _ _ p hp] |
| 110 | change ContDiff ℝ ∞ (fun y : Space × ℝ => |
| 111 | (EulerTransversePacketJoin.highSolve (P := P) τ hτ hτT B |
| 112 | (highForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 113 | (joinedSourceProfiles P M D τ hτ hτT B primary))).2 (t,y)) |
| 114 | rw [EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B h] |
| 115 | exact EulerTransversePacketJoin.scalar_smooth τ hτ hτT B (Classical.choice h) t |
| 116 | |
| 117 | include hT hprimary in |
| 118 | theorem joinedSource_meanPressure_smooth (p : ℕ) (hp : 2 ≤ p) (t : ℝ) : |
| 119 | ContDiff ℝ ∞ (fun y : Space × ℝ => |
| 120 | (joinedSourceProfiles P M D τ hτ hτT B primary p).meanPressure (t,y)) := by |
| 121 | let h : Nonempty (EulerMeanPacketProvider.Forcing M |
| 122 | (meanForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 123 | (joinedSourceProfiles P M D τ hτ hτT B primary))) := |
| 124 | ⟨joinedSource_meanForcing P M D hT τ hτ hτT B primary hprimary p hp⟩ |
| 125 | unfold joinedSourceProfiles |
| 126 | rw [profiles_step _ _ p hp] |
| 127 | change ContDiff ℝ ∞ (fun y : Space × ℝ => (EulerMeanPacketProvider.meanSolve M |
| 128 | (meanForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 129 | (joinedSourceProfiles P M D τ hτ hτT B primary))).2 (t,y)) |
| 130 | rw [EulerMeanPacketProvider.meanSolve_of_admissible M _ h] |
| 131 | exact (Classical.choice h).scalar_spatial_smooth t |
| 132 | |
| 133 | include hT hprimary in |
| 134 | theorem joinedSource_meanPressure_angle (p : ℕ) (hp : 2 ≤ p) (t : ℝ) (x : Space) (θ : ℝ) : |
| 135 | (pressureJet (joinedSourceProfiles P M D τ hτ hτT B primary p).meanPressure (t,(x,θ))).2 |
| 136 | angleDirection = 0 := by |
| 137 | let h : Nonempty (EulerMeanPacketProvider.Forcing M |
| 138 | (meanForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 139 | (joinedSourceProfiles P M D τ hτ hτT B primary))) := |
| 140 | ⟨joinedSource_meanForcing P M D hT τ hτ hτT B primary hprimary p hp⟩ |
| 141 | unfold joinedSourceProfiles |
| 142 | rw [profiles_step _ _ p hp] |
| 143 | change (pressureJet (EulerMeanPacketProvider.meanSolve M |
| 144 | (meanForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 145 | (joinedSourceProfiles P M D τ hτ hτT B primary))).2 (t,(x,θ))).2 angleDirection = 0 |
| 146 | rw [EulerMeanPacketProvider.meanSolve_of_admissible M _ h] |
| 147 | exact (Classical.choice h).scalar_angle_jet t x θ |
| 148 | |
| 149 | end EulerPacketCylinderField |