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.PacketInitializedProfiles |
| 2 | import Euler.PacketJoinedUniformProfiles |
| 3 | import Euler.PacketResidualTailActual |
| 4 | import Euler.PacketJoinedSourceResidual |
| 5 | import Euler.PacketProfileTailEstimates |
| 6 | import Euler.PacketJoinedSourceConstraints |
| 7 | import Euler.PacketSourcePiola |
| 8 | import Euler.PacketJetAssembly |
| 9 | import Euler.PacketNormalDriftBounds |
| 10 | |
| 11 | /-! The literal terminal wave yields the actual finite packet, its small normal |
| 12 | drift, and its exponentially small residual. Primary bounds and the primary |
| 13 | equation are supplied by the construction itself. -/ |
| 14 | |
| 15 | /-! ## From `Euler/PacketJoinedResidualFields.lean` |
| 16 | |
| 17 | The text of `Euler/PacketJoinedResidualFields.lean`, folded into this file, which was its only importer. -/ |
| 18 | |
| 19 | section |
| 20 | |
| 21 | /-! Actual tail-grade and full residual fields for the joined source construction. -/ |
| 22 | |
| 23 | noncomputable section |
| 24 | |
| 25 | namespace EulerPacketCylinderField |
| 26 | |
| 27 | open Set Finset EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 28 | open scoped ContDiff |
| 29 | |
| 30 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 31 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 32 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 33 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 34 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 35 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 36 | |
| 37 | def joinedTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : |
| 38 | Field P M.T (fun z => recursiveGrade (joinedSourceOperators P M D τ hτ hτT B) N |
| 39 | (joinedSourceProfiles P M D τ hτ hτT B primary) z n) := |
| 40 | ProfileRegularity.tailGradeField M.T_pos |
| 41 | (fun i _ => joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary i) |
| 42 | (joinedSourceCoefficientData P M D τ hτ hτT B hT) (profiles_zero _ _) n hn |
| 43 | |
| 44 | def joinedTailSumField (N : ℕ) (κ : ℝ) : |
| 45 | Field P M.T (fun z => ∑ n ∈ Ico (N+1) (2*N+3), κ^n • |
| 46 | recursiveGrade (joinedSourceOperators P M D τ hτ hτT B) N |
| 47 | (joinedSourceProfiles P M D τ hτ hτT B primary) z n) := |
| 48 | ProfileRegularity.tailSumField M.T_pos |
| 49 | (fun i _ => joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary i) |
| 50 | (joinedSourceCoefficientData P M D τ hτ hτT B hT) (profiles_zero _ _) κ |
| 51 | |
| 52 | omit primary hprimary in |
| 53 | def joinedResidualField (A : VectorField) (π : ScalarField) |
| 54 | (hprimary : ProfileRegularity P M.T M.T_pos.le D.support |
| 55 | (primaryProfile (joinedSourceOperators P M D τ hτ hτT B) A π)) |
| 56 | (hπ : ∀ t : Icc (0 : ℝ) M.T, ContDiff ℝ ∞ (fun y : Space × ℝ => π (t,y))) |
| 57 | (htan : ∀ (t : Icc (0 : ℝ) M.T) x θ, inner ℝ (D.normalField (t,(x,θ))) (A (t,(x,θ))) = 0) |
| 58 | (hprimaryEquation : ∀ (t : Icc (0 : ℝ) M.T) x θ, |
| 59 | linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) M.T) A (t,(x,θ))) + |
| 60 | fastPressure (D.normalField (t,(x,θ))) (pressureJet π (t,(x,θ))) = 0) |
| 61 | (Cagree : SourceCoefficientAgreement M D) |
| 62 | (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) (hκ : κ ≠ 0) : |
| 63 | Field P M.T (fun z => slicedMomentumResidual (Icc (0 : ℝ) M.T) κ |
| 64 | ((joinedSourceOperators P M D τ hτ hτT B).inverseFrame z) |
| 65 | ((joinedSourceOperators P M D τ hτ hτT B).strain z) |
| 66 | ((joinedSourceOperators P M D τ hτ hτT B).normal z) |
| 67 | (fieldSum (N+1) κ (assembledVelocity N (joinedPrimaryProfiles P M D τ hτ hτT B A π))) |
| 68 | (fieldSum (N+1) κ (assembledPressure N (joinedPrimaryProfiles P M D τ hτ hτT B A π))) z) := |
| 69 | (joinedTailSumField P M D hT τ hτ hτT B |
| 70 | (primaryProfile (joinedSourceOperators P M D τ hτ hτT B) A π) hprimary N κ).congr |
| 71 | (joinedSource_residual_tail P M D hT τ hτ hτT B A π hprimary hπ htan hprimaryEquation Cagree N hN κ hκ) |
| 72 | |
| 73 | end EulerPacketCylinderField |
| 74 | end |
| 75 | |
| 76 | end |
| 77 | |
| 78 | /-! ## From `Euler/PacketJoinedResidualBounds.lean` |
| 79 | |
| 80 | The text of `Euler/PacketJoinedResidualBounds.lean`, folded into this file, which was its only importer. -/ |
| 81 | |
| 82 | section |
| 83 | |
| 84 | /-! Exponential residual bounds for the actual recursively solved joined packet. -/ |
| 85 | |
| 86 | noncomputable section |
| 87 | |
| 88 | namespace EulerPacketCylinderField |
| 89 | |
| 90 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 91 | EulerPacketTimeProfile EulerParameterWordGevrey EulerPacketCoarseMajorant |
| 92 | open scoped ContDiff |
| 93 | |
| 94 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 95 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 96 | (D : EulerTransversePacketProvider.Data U) (hTime : M.T = D.T) |
| 97 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 98 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 99 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 100 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 101 | (W : EulerTransversePacketJoin.Budget.GradeGuards (P := P) L NB) |
| 102 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 103 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 104 | (BC : CoefficientBudget (joinedSourceCoefficientData P M D τ hτ hτT B hTime)) |
| 105 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 106 | (S : Scales (Icc (0 : ℝ) M.T)) (α : ℝ) (hα : 0 < α) |
| 107 | (hgrowth : timeProfileChange S.growth hTime = α • L.fullProfile) |
| 108 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 109 | (hprimaryBudget : ProfileBudget hprimary S L.R 1) |
| 110 | (hprimaryMean : primary.mean = 0) |
| 111 | (hprimaryTangent : ∀ (t : Icc (0 : ℝ) M.T) x θ, |
| 112 | inner ℝ (D.normalField (t,(x,θ))) (primary.high (t,(x,θ))) = 0) |
| 113 | |
| 114 | include NB W LM WM BC hRc hcost hα hgrowth hprimaryBudget hprimaryMean hprimaryTangent |
| 115 | |
| 116 | theorem joinedTailSum_normalized_bound (N : ℕ) (hN : 1 ≤ N) (k X : ℝ) (hk : 4 ≤ k) |
| 117 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 118 | (hcoef : BC.multiplierCost ≤ k^(1/100 : ℝ)) |
| 119 | (hX : 6 ≤ X) (hNX : X-1 ≤ (N : ℝ)) : |
| 120 | (((joinedSourceCoefficientData P M D τ hτ hτT B hTime).inverse.multiply |
| 121 | (joinedTailSumField P M D hTime τ hτ hτT B primary hprimary N k⁻¹)).smul k).WordBound |
| 122 | 6 (4*L.R) (Real.exp (-(7/10)*X*Real.log k)) 0 := by |
| 123 | let a := joinedSourceProfiles P M D τ hτ hτT B primary |
| 124 | let G : ∀ i, i ≤ N → ProfileRegularity P M.T M.T_pos.le D.support (a i) := |
| 125 | fun i _ => joinedSourceProfileWitness P M D hTime τ hτ hτT B primary hprimary i |
| 126 | have hG : ∀ i (hi : i ≤ N), 1 ≤ i → ProfileBudget (G i hi) S L.R i := |
| 127 | fun i _ hi => joinedSource_profile_budgets P M D hTime τ hτ hτT B L NB W LM WM BC |
| 128 | hRc hcost S α hα hgrowth primary hprimary hprimaryBudget hprimaryMean hprimaryTangent i hi |
| 129 | have ha : a 0=0 := profiles_zero _ _ |
| 130 | have hb : (a 1).mean=0 := by |
| 131 | simpa only [a,joinedSourceProfiles,profiles_one] using hprimaryMean |
| 132 | exact ProfileRegularity.normalized_tail_bound M.T_pos G BC hG hN L.radius_bounds.1 hRc ha hb |
| 133 | k X hk hbase hcoef hX hNX |
| 134 | |
| 135 | omit primary hprimary hprimaryBudget hprimaryMean hprimaryTangent in |
| 136 | /-- All later-grade bounds and equations are proved by the actual source |
| 137 | recursion. The remaining hypotheses are the fixed source and primary data, |
| 138 | and the explicit scalar frequency guards. -/ |
| 139 | theorem joinedResidual_normalized_bound (A : VectorField) (π : ScalarField) |
| 140 | (hp : ProfileRegularity P M.T M.T_pos.le D.support |
| 141 | (primaryProfile (joinedSourceOperators P M D τ hτ hτT B) A π)) |
| 142 | (hpBudget : ProfileBudget hp S L.R 1) |
| 143 | (hπ : ∀ t : Icc (0 : ℝ) M.T, ContDiff ℝ ∞ (fun y : Space × ℝ => π (t,y))) |
| 144 | (htan : ∀ (t : Icc (0 : ℝ) M.T) x θ, inner ℝ (D.normalField (t,(x,θ))) (A (t,(x,θ))) = 0) |
| 145 | (hpEquation : ∀ (t : Icc (0 : ℝ) M.T) x θ, |
| 146 | linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) M.T) A (t,(x,θ)))+ |
| 147 | fastPressure (D.normalField (t,(x,θ))) (pressureJet π (t,(x,θ)))=0) |
| 148 | (Cagree : SourceCoefficientAgreement M D) |
| 149 | (N : ℕ) (hN : 1 ≤ N) (k X : ℝ) (hk : 4 ≤ k) |
| 150 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 151 | (hcoef : BC.multiplierCost ≤ k^(1/100 : ℝ)) |
| 152 | (hX : 6 ≤ X) (hNX : X-1 ≤ (N : ℝ)) : |
| 153 | (((joinedSourceCoefficientData P M D τ hτ hτT B hTime).inverse.multiply |
| 154 | (joinedResidualField P M D hTime τ hτ hτT B A π hp hπ htan hpEquation Cagree N hN |
| 155 | k⁻¹ (inv_ne_zero (by linarith)))).smul k).WordBound |
| 156 | 6 (4*L.R) (Real.exp (-(7/10)*X*Real.log k)) 0 := by |
| 157 | have h := joinedTailSum_normalized_bound P M D hTime τ hτ hτT B L NB W LM WM BC |
| 158 | hRc hcost S α hα hgrowth |
| 159 | (primaryProfile (joinedSourceOperators P M D τ hτ hτT B) A π) hp hpBudget rfl htan |
| 160 | N hN k X hk hbase hcoef hX hNX |
| 161 | exact h.of_path_eq _ rfl |
| 162 | |
| 163 | end EulerPacketCylinderField |
| 164 | end |
| 165 | |
| 166 | end |
| 167 | |
| 168 | /-! ## From `Euler/PacketJoinedSourcePiola.lean` |
| 169 | |
| 170 | The text of `Euler/PacketJoinedSourcePiola.lean`, folded into this file, which was its only importer. -/ |
| 171 | |
| 172 | section |
| 173 | |
| 174 | /-! Every joined high/corrector pair lies in the actual lifted solenoidal space. -/ |
| 175 | |
| 176 | noncomputable section |
| 177 | |
| 178 | namespace EulerPacketCylinderField |
| 179 | |
| 180 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerPacketPointJets |
| 181 | EulerPacketProfileRecursion EulerLpCylinderPaths |
| 182 | open scoped ContDiff |
| 183 | |
| 184 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 185 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 186 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 187 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 188 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 189 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 190 | |
| 191 | def joinedPairField (κ : ℝ) (p : ℕ) : |
| 192 | Field P M.T (fun z => (joinedSourceOperators P M D τ hτ hτT B).inverseFrame z |
| 193 | (κ^p • (joinedSourceProfiles P M D τ hτ hτT B primary p).high z + |
| 194 | κ^(p+1) • (joinedSourceProfiles P M D τ hτ hτT B primary p).corrector z)) := |
| 195 | (joinedSourceCoefficientData P M D τ hτ hτT B hT).inverse.multiply |
| 196 | (((joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary p).high.smul (κ^p)).add |
| 197 | ((joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary p).corrector.smul (κ^(p+1)))) |
| 198 | |
| 199 | theorem joinedPairField_mem |
| 200 | (hc : primary.corrector = D.curlCorrector P primary.high) |
| 201 | (hm : ∀ (t : Icc (0 : ℝ) M.T) x, (∫ θ in (0 : ℝ)..P, primary.high (t,(x,θ))) = 0) |
| 202 | (ht : ∀ (t : Icc (0 : ℝ) M.T) x θ, |
| 203 | inner ℝ (D.normalField (t,(x,θ))) (primary.high (t,(x,θ))) = 0) |
| 204 | (κ : ℝ) (p : ℕ) (hp : 1 ≤ p) (t : Icc (0 : ℝ) M.T) |
| 205 | (Ξ : Space → Space) (hΞ : ContDiff ℝ ∞ Ξ) |
| 206 | (hF : ∀ x, fderiv ℝ Ξ x = D.F.field (sourceTime M D hT t) x) |
| 207 | (hdet : ∀ x, (EulerPacketPiola.operatorMatrix (D.F.field (sourceTime M D hT t) x)).det = 1) : |
| 208 | (joinedPairField P M D hT τ hτ hτT B primary hprimary κ p).path t ∈ |
| 209 | divergenceFreeSpace P κ D.m₀ := by |
| 210 | let W := joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary p |
| 211 | let G := W.high.changeTime hT |
| 212 | let C := (W.corrector.congr (fun _ _ _ => by |
| 213 | rw [joinedSource_corrector_eq P M D τ hτ hτT B primary hc p hp])).changeTime hT |
| 214 | let V := piolaPairField D G C κ p |
| 215 | have hs : G.path (sourceTime M D hT t) ∈ Supported P Space D.support D.support_measurable := |
| 216 | G.supported_of_raw_zero D.support D.support_measurable |
| 217 | (raw_zero_changeTime hT D.support W.high_zero) _ |
| 218 | have hm' : ∀ x, (∫ θ in (0 : ℝ)..P, |
| 219 | (joinedSourceProfiles P M D τ hτ hτT B primary p).high (sourceTime M D hT t,(x,θ))) = 0 := |
| 220 | joinedSource_high_mean_zero P M D hT τ hτ hτT B primary hprimary hm p hp t |
| 221 | have ht' : ∀ x θ, inner ℝ (D.normalField (sourceTime M D hT t,(x,θ))) |
| 222 | ((joinedSourceProfiles P M D τ hτ hτT B primary p).high (sourceTime M D hT t,(x,θ))) = 0 := |
| 223 | joinedSource_high_tangent_all P M D hT τ hτ hτT B primary hprimary ht p hp t |
| 224 | have hV : V.path (sourceTime M D hT t) ∈ divergenceFreeSpace P κ D.m₀ := |
| 225 | piolaPairField_mem D G C κ p (sourceTime M D hT t) Ξ hΞ hF hdet hs hm' ht' |
| 226 | let H := joinedPairField P M D hT τ hτ hτT B primary hprimary κ p |
| 227 | have he : (H.changeTime hT).path = V.path := by |
| 228 | apply Field.path_eq_of_raw_eq |
| 229 | intro r x θ |
| 230 | change D.FInv.field (D.clamp r) x |
| 231 | (κ^p • (joinedSourceProfiles P M D τ hτ hτT B primary p).high (r,(x,θ)) + |
| 232 | κ^(p+1) • D.curlCorrector P (joinedSourceProfiles P M D τ hτ hτT B primary p).high (r,(x,θ))) = |
| 233 | D.FInv.field (D.clamp r) x |
| 234 | (κ^p • (joinedSourceProfiles P M D τ hτ hτT B primary p).high (r,(x,θ)) + |
| 235 | κ^(p+1) • (joinedSourceProfiles P M D τ hτ hτT B primary p).corrector (r,(x,θ))) |
| 236 | rw [joinedSource_corrector_eq P M D τ hτ hτT B primary hc p hp] |
| 237 | have hev : H.path t = V.path (sourceTime M D hT t) := |
| 238 | (H.changeTime_apply hT t).symm.trans (congrArg (fun q => q (sourceTime M D hT t)) he) |
| 239 | rw [hev] |
| 240 | exact hV |
| 241 | |
| 242 | end EulerPacketCylinderField |
| 243 | end |
| 244 | |
| 245 | end |
| 246 | |
| 247 | /-! ## From `Euler/PacketJoinedSourceSolenoidal.lean` |
| 248 | |
| 249 | The text of `Euler/PacketJoinedSourceSolenoidal.lean`, folded into this file, which was its only importer. -/ |
| 250 | |
| 251 | section |
| 252 | |
| 253 | /-! The actual finite joined packet, including its terminal corrector, satisfies the lifted constraint. -/ |
| 254 | |
| 255 | noncomputable section |
| 256 | |
| 257 | namespace EulerPacketCylinderField |
| 258 | |
| 259 | open Set MeasureTheory Finset EulerSmoothLimit EulerLiftedGradientSpace EulerPacketPointJets |
| 260 | EulerPacketProfileRecursion EulerFiniteGrades |
| 261 | open scoped ContDiff |
| 262 | |
| 263 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 264 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 265 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 266 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 267 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 268 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 269 | |
| 270 | def joinedPacketPullbackField (N : ℕ) (κ : ℝ) : |
| 271 | Field P M.T (fun z => (joinedSourceOperators P M D τ hτ hτT B).inverseFrame z |
| 272 | (fieldSum (N+1) κ (assembledVelocity N (joinedSourceProfiles P M D τ hτ hτT B primary)) z)) := by |
| 273 | let a := joinedSourceProfiles P M D τ hτ hτT B primary |
| 274 | let term := fun i : ℕ => |
| 275 | (joinedPairField P M D hT τ hτ hτT B primary hprimary κ (i+1)).add |
| 276 | ((joinedMeanPullbackField P M D hT τ hτ hτT B primary hprimary (i+1)).smul (κ^(i+1))) |
| 277 | let total := Field.finsetSum (range N) _ term |
| 278 | refine total.congr ?_ |
| 279 | intro t x θ |
| 280 | have ha0 : a 0 = 0 := profiles_zero _ _ |
| 281 | have hu0 : (a 0).high+(a 0).mean = (0 : VectorField) := by rw [ha0]; simp |
| 282 | have hc0 : (a 0).corrector = (0 : VectorField) := by rw [ha0]; rfl |
| 283 | have he := fieldSum_assemble_from_one N κ (fun i => (a i).high+(a i).mean) |
| 284 | (fun i => (a i).corrector) hu0 hc0 (t,(x,θ)) |
| 285 | change (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ)) |
| 286 | (fieldSum (N+1) κ (assemble N (fun i => (a i).high+(a i).mean) |
| 287 | (fun i => (a i).corrector)) (t,(x,θ))) = _ |
| 288 | rw [he,map_sum,Finset.sum_apply] |
| 289 | apply sum_congr rfl |
| 290 | intro i _ |
| 291 | change (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ)) |
| 292 | (κ^(i+1) • ((a (i+1)).high (t,(x,θ))+(a (i+1)).mean (t,(x,θ))) + |
| 293 | κ^(i+2) • (a (i+1)).corrector (t,(x,θ))) = |
| 294 | (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ)) |
| 295 | (κ^(i+1) • (a (i+1)).high (t,(x,θ)) + κ^(i+2) • (a (i+1)).corrector (t,(x,θ))) + |
| 296 | κ^(i+1) • (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ)) ((a (i+1)).mean (t,(x,θ))) |
| 297 | simp only [map_add,map_smul,smul_add] |
| 298 | abel |
| 299 | |
| 300 | theorem joinedPacketPullbackField_path (N : ℕ) (κ : ℝ) : |
| 301 | (joinedPacketPullbackField P M D hT τ hτ hτT B primary hprimary N κ).path = |
| 302 | ∑ i ∈ range N, ((joinedPairField P M D hT τ hτ hτT B primary hprimary κ (i+1)).path + |
| 303 | κ^(i+1) • (joinedMeanPullbackField P M D hT τ hτ hτT B primary hprimary (i+1)).path) := rfl |
| 304 | |
| 305 | theorem joinedPacketPullbackField_mem |
| 306 | (hmean : primary.mean = 0) |
| 307 | (hc : primary.corrector = D.curlCorrector P primary.high) |
| 308 | (hm : ∀ (t : Icc (0 : ℝ) M.T) x, (∫ θ in (0 : ℝ)..P, primary.high (t,(x,θ))) = 0) |
| 309 | (ht : ∀ (t : Icc (0 : ℝ) M.T) x θ, |
| 310 | inner ℝ (D.normalField (t,(x,θ))) (primary.high (t,(x,θ))) = 0) |
| 311 | (A : SourceCoefficientAgreement M D) (N : ℕ) (κ : ℝ) (t : Icc (0 : ℝ) M.T) |
| 312 | (Ξ : Space → Space) (hΞ : ContDiff ℝ ∞ Ξ) |
| 313 | (hF : ∀ x, fderiv ℝ Ξ x = D.F.field (sourceTime M D hT t) x) |
| 314 | (hdet : ∀ x, (EulerPacketPiola.operatorMatrix (D.F.field (sourceTime M D hT t) x)).det = 1) : |
| 315 | (joinedPacketPullbackField P M D hT τ hτ hτT B primary hprimary N κ).path t ∈ |
| 316 | divergenceFreeSpace P κ D.m₀ := by |
| 317 | rw [joinedPacketPullbackField_path] |
| 318 | have he : (∑ i ∈ range N, ((joinedPairField P M D hT τ hτ hτT B primary hprimary κ (i+1)).path + |
| 319 | κ^(i+1) • (joinedMeanPullbackField P M D hT τ hτ hτT B primary hprimary (i+1)).path)) t = |
| 320 | ∑ i ∈ range N, ((joinedPairField P M D hT τ hτ hτT B primary hprimary κ (i+1)).path t + |
| 321 | κ^(i+1) • (joinedMeanPullbackField P M D hT τ hτ hτT B primary hprimary (i+1)).path t) := |
| 322 | map_sum (ContinuousMap.evalCLM ℝ t) _ (range N) |
| 323 | rw [he] |
| 324 | apply (divergenceFreeSpace P κ D.m₀).sum_mem |
| 325 | intro i _ |
| 326 | apply (divergenceFreeSpace P κ D.m₀).add_mem |
| 327 | · exact joinedPairField_mem P M D hT τ hτ hτT B primary hprimary hc hm ht κ (i+1) (by omega) t Ξ hΞ hF hdet |
| 328 | · exact (divergenceFreeSpace P κ D.m₀).smul_mem (κ^(i+1)) |
| 329 | (joinedMeanPullbackField_mem P M D hT τ hτ hτT B primary hprimary hmean A κ D.m₀ (i+1) t) |
| 330 | |
| 331 | end EulerPacketCylinderField |
| 332 | end |
| 333 | |
| 334 | end |
| 335 | |
| 336 | /-! ## From `Euler/PacketJoinedApproximationBounds.lean` |
| 337 | |
| 338 | The text of `Euler/PacketJoinedApproximationBounds.lean`, folded into this file, which was its only importer. -/ |
| 339 | |
| 340 | section |
| 341 | |
| 342 | /-! The actual joined packet has a bounded normalized velocity and a small normal drift. -/ |
| 343 | |
| 344 | noncomputable section |
| 345 | |
| 346 | namespace EulerPacketCylinderField |
| 347 | |
| 348 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 349 | EulerPacketTimeProfile EulerParameterWordGevrey EulerPacketCoarseMajorant |
| 350 | |
| 351 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 352 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 353 | (D : EulerTransversePacketProvider.Data U) (hTime : M.T = D.T) |
| 354 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 355 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 356 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 357 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 358 | (W : EulerTransversePacketJoin.Budget.GradeGuards (P := P) L NB) |
| 359 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 360 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 361 | (BC : CoefficientBudget (joinedSourceCoefficientData P M D τ hτ hτT B hTime)) |
| 362 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 363 | (S : Scales (Icc (0 : ℝ) M.T)) (α : ℝ) (hα : 0 < α) |
| 364 | (hgrowth : timeProfileChange S.growth hTime = α • L.fullProfile) |
| 365 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 366 | (hprimaryBudget : ProfileBudget hprimary S L.R 1) |
| 367 | (hprimaryMean : primary.mean=0) |
| 368 | (hprimaryTangent : ∀ (t : Icc (0 : ℝ) M.T) x θ, |
| 369 | inner ℝ (D.normalField (t,(x,θ))) (primary.high (t,(x,θ)))=0) |
| 370 | |
| 371 | include NB W LM WM BC hRc hcost hα hgrowth hprimaryBudget hprimaryMean hprimaryTangent |
| 372 | |
| 373 | theorem joinedPacket_normalized_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 374 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) : |
| 375 | ((joinedPacketPullbackField P M D hTime τ hτ hτT B primary hprimary N k⁻¹).smul k).WordBound |
| 376 | 6 (4*L.R) (BC.multiplierCost*(fixedVelocityGradeCost L.R S.H0 1+ |
| 377 | fixedVelocityGradeCost L.R S.H0 2+1)) 0 := by |
| 378 | let a := joinedSourceProfiles P M D τ hτ hτT B primary |
| 379 | let G : ∀ i, i ≤ N → ProfileRegularity P M.T M.T_pos.le D.support (a i) := |
| 380 | fun i _ => joinedSourceProfileWitness P M D hTime τ hτ hτT B primary hprimary i |
| 381 | have hG : ∀ i (hi : i ≤ N), 1 ≤ i → ProfileBudget (G i hi) S L.R i := |
| 382 | fun i _ hi => joinedSource_profile_budgets P M D hTime τ hτ hτT B L NB W LM WM BC |
| 383 | hRc hcost S α hα hgrowth primary hprimary hprimaryBudget hprimaryMean hprimaryTangent i hi |
| 384 | have h := ProfileRegularity.normalizedVelocity_bound M.T_pos G hG L.radius_bounds.1 |
| 385 | (profiles_zero _ _) hN BC hRc k hk hbase |
| 386 | exact h.of_raw_eq _ (fun _ _ _ => rfl) |
| 387 | |
| 388 | theorem joinedPacket_normal_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 389 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) : |
| 390 | (((joinedPacketPullbackField P M D hTime τ hτ hτT B primary hprimary N k⁻¹).smul k).map |
| 391 | (normalComponentMap D.m₀)).WordBound 6 (4*L.R) |
| 392 | (BC.multiplierCost*(fixedVelocityGradeCost L.R S.H0 2+2)/k) 0 := by |
| 393 | let a := joinedSourceProfiles P M D τ hτ hτT B primary |
| 394 | let G : ∀ i, i ≤ N → ProfileRegularity P M.T M.T_pos.le D.support (a i) := |
| 395 | fun i _ => joinedSourceProfileWitness P M D hTime τ hτ hτT B primary hprimary i |
| 396 | have hG : ∀ i (hi : i ≤ N), 1 ≤ i → ProfileBudget (G i hi) S L.R i := |
| 397 | fun i _ hi => joinedSource_profile_budgets P M D hTime τ hτ hτT B L NB W LM WM BC |
| 398 | hRc hcost S α hα hgrowth primary hprimary hprimaryBudget hprimaryMean hprimaryTangent i hi |
| 399 | have hb : (a 1).mean=0 := by |
| 400 | simpa only [a,joinedSourceProfiles,profiles_one] using hprimaryMean |
| 401 | have ht : ∀ (t : Icc (0 : ℝ) M.T) x θ, |
| 402 | inner ℝ D.m₀ ((joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ)) |
| 403 | ((a 1).high (t,(x,θ))))=0 := by |
| 404 | intro t x θ |
| 405 | have h := hprimaryTangent t x θ |
| 406 | change inner ℝ ((D.FInv.field (D.clamp t) x).adjoint D.m₀) (primary.high (t,(x,θ)))=0 at h |
| 407 | rw [ContinuousLinearMap.adjoint_inner_left] at h |
| 408 | change inner ℝ D.m₀ (D.FInv.field (D.clamp t) x ((a 1).high (t,(x,θ))))=0 |
| 409 | simpa only [a,joinedSourceProfiles,profiles_one] using h |
| 410 | have h := ProfileRegularity.normalizedNormal_bound M.T_pos G hG L.radius_bounds.1 |
| 411 | (profiles_zero _ _) hb hN BC hRc D.m₀ D.m₀_unit.le ht k hk hbase |
| 412 | exact h.of_raw_eq _ (fun _ _ _ => rfl) |
| 413 | |
| 414 | end EulerPacketCylinderField |
| 415 | end |
| 416 | |
| 417 | end |
| 418 | |
| 419 | noncomputable section |
| 420 | |
| 421 | namespace EulerPacketTerminalDatum |
| 422 | |
| 423 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 424 | EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketTimeProfile |
| 425 | EulerParameterWordGevrey EulerPacketCoarseMajorant |
| 426 | |
| 427 | variable (M : EulerMeanPacketProvider.Data) |
| 428 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 429 | (D : Data U) (hTime : M.T=D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 430 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 431 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 432 | (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 433 | |
| 434 | def initializedPacketField (N : ℕ) (κ : ℝ) := |
| 435 | joinedPacketPullbackField period M D hTime τ hτ hτT B |
| 436 | (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 437 | (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) N κ |
| 438 | |
| 439 | def initializedResidualField (Cagree : SourceCoefficientAgreement M D) |
| 440 | (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) (hκ : κ ≠ 0) := |
| 441 | joinedResidualField period M D hTime τ hτ hτT B |
| 442 | (EulerTransversePacketPrimary.vector τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 443 | (EulerTransversePacketPrimary.scalar τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 444 | (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 445 | (fun t => joinedTerminalPrimary_pressure_smooth period M D τ hτ hτT B |
| 446 | (initialData D δ hδ (α • ξ) hs) t.val) |
| 447 | (joinedTerminalPrimary_tangent period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 448 | (joinedTerminalPrimary_equation period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 449 | Cagree N hN κ hκ |
| 450 | |
| 451 | variable |
| 452 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 453 | (H : EulerTransversePacketPrimary.Budget L) |
| 454 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 455 | (W : EulerTransversePacketJoin.Budget.GradeGuards (P := period) L NB) |
| 456 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 457 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 458 | (BC : CoefficientBudget (joinedSourceCoefficientData period M D τ hτ hτT B hTime)) |
| 459 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 460 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 461 | (WP : EulerTransversePacketPrimary.Budget.GradeGuards (P := period) H NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 462 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 463 | (hgrowth : timeProfileChange S.growth hTime=α • L.fullProfile) |
| 464 | |
| 465 | include H NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 466 | |
| 467 | theorem initializedPacket_normalized_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 468 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) : |
| 469 | ((initializedPacketField M D hTime τ hτ hτT B δ hδ ξ hs α N k⁻¹).smul k).WordBound |
| 470 | 6 (4*L.R) (BC.multiplierCost*(fixedVelocityGradeCost L.R S.H0 1+ |
| 471 | fixedVelocityGradeCost L.R S.H0 2+1)) 0 := |
| 472 | joinedPacket_normalized_bound period M D hTime τ hτ hτT B L NB W LM WM BC hRc hcost S α hα hgrowth |
| 473 | (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 474 | (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 475 | (joinedTerminalPrimary_budget M D hTime τ hτ hτT B L H NB δ hδ hδ1 ξ hs α hα hR WP S hgrowth) |
| 476 | rfl (joinedTerminalPrimary_tangent period M D hTime τ hτ hτT B |
| 477 | (initialData D δ hδ (α • ξ) hs)) N hN k hk hbase |
| 478 | |
| 479 | theorem initializedPacket_normal_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 480 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) : |
| 481 | (((initializedPacketField M D hTime τ hτ hτT B δ hδ ξ hs α N k⁻¹).smul k).map |
| 482 | (normalComponentMap D.m₀)).WordBound 6 (4*L.R) |
| 483 | (BC.multiplierCost*(fixedVelocityGradeCost L.R S.H0 2+2)/k) 0 := |
| 484 | joinedPacket_normal_bound period M D hTime τ hτ hτT B L NB W LM WM BC hRc hcost S α hα hgrowth |
| 485 | (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 486 | (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 487 | (joinedTerminalPrimary_budget M D hTime τ hτ hτT B L H NB δ hδ hδ1 ξ hs α hα hR WP S hgrowth) |
| 488 | rfl (joinedTerminalPrimary_tangent period M D hTime τ hτ hτT B |
| 489 | (initialData D δ hδ (α • ξ) hs)) N hN k hk hbase |
| 490 | |
| 491 | theorem initializedResidual_normalized_bound (Cagree : SourceCoefficientAgreement M D) |
| 492 | (N : ℕ) (hN : 1 ≤ N) (k X : ℝ) (hk : 4 ≤ k) |
| 493 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 494 | (hcoef : BC.multiplierCost ≤ k^(1/100 : ℝ)) (hX : 6 ≤ X) (hNX : X-1 ≤ (N : ℝ)) : |
| 495 | (((joinedSourceCoefficientData period M D τ hτ hτT B hTime).inverse.multiply |
| 496 | (initializedResidualField M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k⁻¹ |
| 497 | (inv_ne_zero (by linarith)))).smul k).WordBound |
| 498 | 6 (4*L.R) (Real.exp (-(7/10)*X*Real.log k)) 0 := |
| 499 | joinedResidual_normalized_bound period M D hTime τ hτ hτT B L NB W LM WM BC hRc hcost S α hα hgrowth |
| 500 | (EulerTransversePacketPrimary.vector τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 501 | (EulerTransversePacketPrimary.scalar τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 502 | (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 503 | (joinedTerminalPrimary_budget M D hTime τ hτ hτT B L H NB δ hδ hδ1 ξ hs α hα hR WP S hgrowth) |
| 504 | (fun t => joinedTerminalPrimary_pressure_smooth period M D τ hτ hτT B |
| 505 | (initialData D δ hδ (α • ξ) hs) t.val) |
| 506 | (joinedTerminalPrimary_tangent period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 507 | (joinedTerminalPrimary_equation period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 508 | Cagree N hN k X hk hbase hcoef hX hNX |
| 509 | |
| 510 | end EulerPacketTerminalDatum |