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.PacketSourceProfiles |
| 2 | |
| 3 | /-! Literal slice and scalar-pressure regularity of the actually generated source profiles. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPacketCylinderField |
| 8 | |
| 9 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 10 | open scoped ContDiff |
| 11 | |
| 12 | theorem Field.sliceDifferentiable {P T : ℝ} [Fact (0 < P)] {raw raw_t : VectorField} |
| 13 | (G : Field P T raw) (H : Field P T raw_t) (hT : 0 ≤ T) (hd : TimeDerivative hT G H) |
| 14 | (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 15 | SliceDifferentiable (Icc (0 : ℝ) T) raw (t,(x,θ)) := |
| 16 | ⟨(G.raw_hasDerivWithinAt hT H hd t x θ).differentiableWithinAt, |
| 17 | (G.raw_smooth t).differentiable (by simp) (x,θ)⟩ |
| 18 | |
| 19 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 20 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 21 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 22 | (I Iprimary : EulerTransversePacketProvider.InitialData P D) |
| 23 | |
| 24 | include hT in |
| 25 | theorem source_high_slice (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 26 | SliceDifferentiable (Icc (0 : ℝ) M.T) (sourceProfiles P M D I Iprimary p).high (t,(x,θ)) := by |
| 27 | let W := sourceProfileWitness P M D hT I Iprimary p |
| 28 | exact W.high.sliceDifferentiable W.highDerivative M.T_pos.le W.high_time t x θ |
| 29 | |
| 30 | include hT in |
| 31 | theorem source_mean_slice (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 32 | SliceDifferentiable (Icc (0 : ℝ) M.T) (sourceProfiles P M D I Iprimary p).mean (t,(x,θ)) := by |
| 33 | let W := sourceProfileWitness P M D hT I Iprimary p |
| 34 | exact W.mean.sliceDifferentiable W.meanDerivative M.T_pos.le W.mean_time t x θ |
| 35 | |
| 36 | include hT in |
| 37 | theorem source_corrector_slice (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 38 | SliceDifferentiable (Icc (0 : ℝ) M.T) (sourceProfiles P M D I Iprimary p).corrector (t,(x,θ)) := by |
| 39 | let W := sourceProfileWitness P M D hT I Iprimary p |
| 40 | exact W.corrector.sliceDifferentiable W.correctorDerivative M.T_pos.le W.corrector_time t x θ |
| 41 | |
| 42 | include hT in |
| 43 | theorem source_highPressure_smooth (p : ℕ) (t : ℝ) : |
| 44 | ContDiff ℝ ∞ (fun y : Space × ℝ => (sourceProfiles P M D I Iprimary p).highPressure (t,y)) := by |
| 45 | by_cases hp0 : p = 0 |
| 46 | · subst p |
| 47 | simp only [sourceProfiles,profiles_zero] |
| 48 | change ContDiff ℝ ∞ (fun _ : Space × ℝ => (0 : ℝ)) |
| 49 | exact contDiff_const |
| 50 | by_cases hp1 : p = 1 |
| 51 | · subst p |
| 52 | simpa only [sourceProfiles,profiles_one,homogeneousPrimary,primaryProfile] using |
| 53 | (homogeneousForcing (P := P) D).scalar_spatial_smooth Iprimary t |
| 54 | have hp : 2 ≤ p := by omega |
| 55 | let h : Nonempty (EulerTransversePacketProvider.Forcing P D |
| 56 | (highForce (sourceOperators P M D I) p (sourceProfiles P M D I Iprimary))) := |
| 57 | ⟨source_highForcing P M D hT I Iprimary p hp⟩ |
| 58 | unfold sourceProfiles |
| 59 | rw [profiles_step _ _ p hp] |
| 60 | change ContDiff ℝ ∞ (fun y : Space × ℝ => |
| 61 | (EulerTransversePacketProvider.highSolve P D I |
| 62 | (highForce (sourceOperators P M D I) p (sourceProfiles P M D I Iprimary))).2 (t,y)) |
| 63 | rw [EulerTransversePacketProvider.highSolve_of_admissible D I _ h] |
| 64 | exact (Classical.choice h).scalar_spatial_smooth I t |
| 65 | |
| 66 | include hT in |
| 67 | theorem source_meanPressure_smooth (p : ℕ) (t : ℝ) : |
| 68 | ContDiff ℝ ∞ (fun y : Space × ℝ => (sourceProfiles P M D I Iprimary p).meanPressure (t,y)) := by |
| 69 | by_cases hp0 : p = 0 |
| 70 | · subst p |
| 71 | simp only [sourceProfiles,profiles_zero] |
| 72 | change ContDiff ℝ ∞ (fun _ : Space × ℝ => (0 : ℝ)) |
| 73 | exact contDiff_const |
| 74 | by_cases hp1 : p = 1 |
| 75 | · subst p |
| 76 | simp only [sourceProfiles,profiles_one,homogeneousPrimary,primaryProfile] |
| 77 | change ContDiff ℝ ∞ (fun _ : Space × ℝ => (0 : ℝ)) |
| 78 | exact contDiff_const |
| 79 | have hp : 2 ≤ p := by omega |
| 80 | let h : Nonempty (EulerMeanPacketProvider.Forcing M |
| 81 | (meanForce (sourceOperators P M D I) p (sourceProfiles P M D I Iprimary))) := |
| 82 | ⟨source_meanForcing P M D hT I Iprimary p hp⟩ |
| 83 | unfold sourceProfiles |
| 84 | rw [profiles_step _ _ p hp] |
| 85 | change ContDiff ℝ ∞ (fun y : Space × ℝ => |
| 86 | (EulerMeanPacketProvider.meanSolve M |
| 87 | (meanForce (sourceOperators P M D I) p (sourceProfiles P M D I Iprimary))).2 (t,y)) |
| 88 | rw [EulerMeanPacketProvider.meanSolve_of_admissible M _ h] |
| 89 | exact (Classical.choice h).scalar_spatial_smooth t |
| 90 | |
| 91 | include hT in |
| 92 | theorem source_meanPressure_angle (p : ℕ) (t : ℝ) (x : Space) (θ : ℝ) : |
| 93 | (pressureJet (sourceProfiles P M D I Iprimary p).meanPressure (t,(x,θ))).2 angleDirection = 0 := by |
| 94 | by_cases hp0 : p = 0 |
| 95 | · subst p |
| 96 | simp only [sourceProfiles,profiles_zero] |
| 97 | change (pressureJet (0 : ScalarField) (t,(x,θ))).2 angleDirection = 0 |
| 98 | rw [pressureJet_zero] |
| 99 | rfl |
| 100 | by_cases hp1 : p = 1 |
| 101 | · subst p |
| 102 | simp only [sourceProfiles,profiles_one,homogeneousPrimary,primaryProfile] |
| 103 | rw [pressureJet_zero] |
| 104 | rfl |
| 105 | have hp : 2 ≤ p := by omega |
| 106 | let h : Nonempty (EulerMeanPacketProvider.Forcing M |
| 107 | (meanForce (sourceOperators P M D I) p (sourceProfiles P M D I Iprimary))) := |
| 108 | ⟨source_meanForcing P M D hT I Iprimary p hp⟩ |
| 109 | unfold sourceProfiles |
| 110 | rw [profiles_step _ _ p hp] |
| 111 | change (pressureJet (EulerMeanPacketProvider.meanSolve M |
| 112 | (meanForce (sourceOperators P M D I) p (sourceProfiles P M D I Iprimary))).2 |
| 113 | (t,(x,θ))).2 angleDirection = 0 |
| 114 | rw [EulerMeanPacketProvider.meanSolve_of_admissible M _ h] |
| 115 | exact (Classical.choice h).scalar_angle_jet t x θ |
| 116 | |
| 117 | include hT in |
| 118 | theorem source_high_tangent (p : ℕ) (t : ℝ) (x : Space) (θ : ℝ) : |
| 119 | inner ℝ (D.normalField (t,(x,θ))) ((sourceProfiles P M D I Iprimary p).high (t,(x,θ))) = 0 := by |
| 120 | by_cases hp0 : p = 0 |
| 121 | · subst p |
| 122 | simp only [sourceProfiles,profiles_zero] |
| 123 | exact inner_zero_right _ |
| 124 | by_cases hp1 : p = 1 |
| 125 | · subst p |
| 126 | simpa only [sourceProfiles,profiles_one,homogeneousPrimary,primaryProfile] using |
| 127 | (homogeneousForcing (P := P) D).vector_tangent Iprimary t x θ |
| 128 | have hp : 2 ≤ p := by omega |
| 129 | let h : Nonempty (EulerTransversePacketProvider.Forcing P D |
| 130 | (highForce (sourceOperators P M D I) p (sourceProfiles P M D I Iprimary))) := |
| 131 | ⟨source_highForcing P M D hT I Iprimary p hp⟩ |
| 132 | unfold sourceProfiles |
| 133 | rw [profiles_step _ _ p hp] |
| 134 | change inner ℝ (D.normalField (t,(x,θ))) |
| 135 | ((EulerTransversePacketProvider.highSolve P D I |
| 136 | (highForce (sourceOperators P M D I) p (sourceProfiles P M D I Iprimary))).1 (t,(x,θ))) = 0 |
| 137 | rw [EulerTransversePacketProvider.highSolve_of_admissible D I _ h] |
| 138 | exact (Classical.choice h).vector_tangent I t x θ |
| 139 | |
| 140 | end EulerPacketCylinderField |