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.PacketJoinedSourceEquations |
| 2 | import Euler.PacketCylinderMeanSolenoidal |
| 3 | |
| 4 | /-! Genuine mean and high constraints for the joined recursively constructed family. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField |
| 9 | |
| 10 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerPacketPointJets |
| 11 | EulerPacketProfileRecursion EulerVectorCalculus |
| 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 joinedSource_corrector_eq |
| 21 | (hc : primary.corrector = D.curlCorrector P primary.high) |
| 22 | (p : ℕ) (hp : 1 ≤ p) : |
| 23 | (joinedSourceProfiles P M D τ hτ hτT B primary p).corrector = |
| 24 | D.curlCorrector P (joinedSourceProfiles P M D τ hτ hτT B primary p).high := by |
| 25 | by_cases hp1 : p = 1 |
| 26 | · subst p |
| 27 | simpa only [joinedSourceProfiles,profiles_one] using hc |
| 28 | exact profiles_corrector (joinedSourceOperators P M D τ hτ hτT B) primary p (by omega) |
| 29 | |
| 30 | include hT hprimary in |
| 31 | theorem joinedSource_high_mean_zero |
| 32 | (hm : ∀ (t : Icc (0 : ℝ) M.T) x, (∫ θ in (0 : ℝ)..P, primary.high (t,(x,θ))) = 0) |
| 33 | (p : ℕ) (hp : 1 ≤ p) (t : Icc (0 : ℝ) M.T) (x : Space) : |
| 34 | (∫ θ in (0 : ℝ)..P, (joinedSourceProfiles P M D τ hτ hτT B primary p).high (t,(x,θ))) = 0 := by |
| 35 | by_cases hp1 : p = 1 |
| 36 | · subst p |
| 37 | simpa only [joinedSourceProfiles,profiles_one] using hm t x |
| 38 | have hp2 : 2 ≤ p := by omega |
| 39 | let h : Nonempty (EulerTransversePacketProvider.Forcing P D |
| 40 | (highForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 41 | (joinedSourceProfiles P M D τ hτ hτT B primary))) := |
| 42 | ⟨joinedSource_highForcing P M D hT τ hτ hτT B primary hprimary p hp2⟩ |
| 43 | have he : joinedSourceProfiles P M D τ hτ hτT B primary p = |
| 44 | EulerPacketProfileRecursion.step (joinedSourceOperators P M D τ hτ hτT B) p |
| 45 | (joinedSourceProfiles P M D τ hτ hτT B primary) := profiles_step _ _ p hp2 |
| 46 | rw [he] |
| 47 | change (∫ θ in (0 : ℝ)..P, |
| 48 | (EulerTransversePacketJoin.highSolve (P := P) τ hτ hτT B _).1 (t,(x,θ))) = 0 |
| 49 | rw [EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B h] |
| 50 | exact EulerTransversePacketJoin.vector_mean_zero τ hτ hτT B (Classical.choice h) t x |
| 51 | |
| 52 | include hT hprimary in |
| 53 | theorem joinedSource_high_tangent_all |
| 54 | (ht : ∀ (t : Icc (0 : ℝ) M.T) x θ, |
| 55 | inner ℝ (D.normalField (t,(x,θ))) (primary.high (t,(x,θ))) = 0) |
| 56 | (p : ℕ) (hp : 1 ≤ p) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 57 | inner ℝ (D.normalField (t,(x,θ))) |
| 58 | ((joinedSourceProfiles P M D τ hτ hτT B primary p).high (t,(x,θ))) = 0 := by |
| 59 | by_cases hp1 : p = 1 |
| 60 | · subst p |
| 61 | simpa only [joinedSourceProfiles,profiles_one] using ht t x θ |
| 62 | exact joinedSource_high_tangent P M D hT τ hτ hτT B primary hprimary p (by omega) t x θ |
| 63 | |
| 64 | def joinedMeanPullbackField (p : ℕ) : |
| 65 | Field P M.T (fun z => (joinedSourceOperators P M D τ hτ hτT B).inverseFrame z |
| 66 | ((joinedSourceProfiles P M D τ hτ hτT B primary p).mean z)) := |
| 67 | (joinedSourceCoefficientData P M D τ hτ hτT B hT).inverse.multiply |
| 68 | (joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary p).mean |
| 69 | |
| 70 | include hT hprimary in |
| 71 | theorem joinedMeanPullback_divergence (hmean : primary.mean = 0) |
| 72 | (A : SourceCoefficientAgreement M D) (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) : |
| 73 | divergence (fun y : Space => (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(y,0)) |
| 74 | ((joinedSourceProfiles P M D τ hτ hτT B primary p).mean (t,(y,0)))) x = 0 := by |
| 75 | by_cases hp0 : p = 0 |
| 76 | · subst p |
| 77 | simp only [joinedSourceProfiles,profiles_zero] |
| 78 | change divergence (fun y : Space => (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(y,0)) 0) x = 0 |
| 79 | simp [divergence] |
| 80 | by_cases hp1 : p = 1 |
| 81 | · subst p |
| 82 | simp only [joinedSourceProfiles,profiles_one,hmean,Pi.zero_apply] |
| 83 | simp [divergence] |
| 84 | have hp : 2 ≤ p := by omega |
| 85 | let h : Nonempty (EulerMeanPacketProvider.Forcing M |
| 86 | (meanForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 87 | (joinedSourceProfiles P M D τ hτ hτT B primary))) := |
| 88 | ⟨joinedSource_meanForcing P M D hT τ hτ hτT B primary hprimary p hp⟩ |
| 89 | have he : joinedSourceProfiles P M D τ hτ hτT B primary p = |
| 90 | EulerPacketProfileRecursion.step (joinedSourceOperators P M D τ hτ hτT B) p |
| 91 | (joinedSourceProfiles P M D τ hτ hτT B primary) := profiles_step _ _ p hp |
| 92 | have hf : (fun y : Space => (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(y,0)) |
| 93 | ((joinedSourceProfiles P M D τ hτ hτT B primary p).mean (t,(y,0)))) = |
| 94 | fun y => M.inverseFrame (t,(y,0)) |
| 95 | ((EulerMeanPacketProvider.meanSolve M (meanForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 96 | (joinedSourceProfiles P M D τ hτ hτT B primary))).1 (t,(y,0))) := by |
| 97 | funext y |
| 98 | rw [joinedInverse_eq_mean P M D τ hτ hτT B A t y 0,he] |
| 99 | rfl |
| 100 | rw [hf] |
| 101 | exact EulerMeanPacketProvider.meanSolve_divergence M _ h t x 0 |
| 102 | |
| 103 | theorem joinedMeanPullbackField_mem (hmean : primary.mean = 0) |
| 104 | (A : SourceCoefficientAgreement M D) (κ : ℝ) (m : Space) |
| 105 | (p : ℕ) (t : Icc (0 : ℝ) M.T) : |
| 106 | (joinedMeanPullbackField P M D hT τ hτ hτT B primary hprimary p).path t ∈ |
| 107 | divergenceFreeSpace P κ m := by |
| 108 | apply Field.mem_divergenceFree_of_angleIndependent _ κ m t |
| 109 | · intro x θ |
| 110 | change D.FInv.field (D.clamp t) x ((joinedSourceProfiles P M D τ hτ hτT B primary p).mean (t,(x,θ))) = |
| 111 | D.FInv.field (D.clamp t) x ((joinedSourceProfiles P M D τ hτ hτT B primary p).mean (t,(x,0))) |
| 112 | rw [(joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary p).mean_angle t x θ] |
| 113 | · exact joinedMeanPullback_divergence P M D hT τ hτ hτT B primary hprimary hmean A p t |
| 114 | |
| 115 | end EulerPacketCylinderField |