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.TransversePacketForwardBudget |
| 2 | import Euler.TransversePacketAmplitude |
| 3 | import Euler.TransversePacketPrimaryHomogeneity |
| 4 | import Euler.TransversePacketNormalBudget |
| 5 | import Euler.TransversePacketCorrector |
| 6 | import Euler.CylinderSlowCurlWeight |
| 7 | import Euler.CylinderPotentialTimeWeight |
| 8 | import Euler.TransversePacketPressureGradient |
| 9 | import Euler.PacketCylinderScalarGradientWeight |
| 10 | import Euler.SourceCylinderPressureWeight |
| 11 | |
| 12 | /-! |
| 13 | All eight genuine direct-forward outputs obey one fixed mixed-word Sobolev |
| 14 | budget. The input radius is retained, both data amplitudes remain outside |
| 15 | the solve, and at most two derivative shifts are spent. All normalization |
| 16 | uses the literal positive time profile without differentiating that profile. |
| 17 | -/ |
| 18 | |
| 19 | /-! ## From `Euler/TransversePacketPairAmplitude.lean` |
| 20 | |
| 21 | The text of `Euler/TransversePacketPairAmplitude.lean`, folded into this file, which was its only importer. -/ |
| 22 | |
| 23 | section |
| 24 | |
| 25 | /-! Homogeneity restores a common arbitrary envelope for genuine forcing |
| 26 | and initial data, without adding either envelope to the radius guards. -/ |
| 27 | |
| 28 | noncomputable section |
| 29 | |
| 30 | namespace EulerTransversePacketProvider |
| 31 | |
| 32 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation |
| 33 | EulerLpCylinderPaths EulerPacketProfileRecursion EulerContinuousTimeWeight |
| 34 | EulerParameterWordGevrey EulerGevrey |
| 35 | open scoped ContDiff |
| 36 | |
| 37 | variable {P : ℝ} [Fact (0 < P)] |
| 38 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 39 | {D : Data U} {ι : Type*} [Fintype ι] |
| 40 | |
| 41 | theorem pair_amplitude_bound |
| 42 | (S : ∀ {r : VectorField}, Forcing P D r → InitialData P D → C(Icc (0 : ℝ) D.T,LiftL2 P)) |
| 43 | (hs : ∀ {r} (G : Forcing P D r) (I : InitialData P D), |
| 44 | ContDiff ℝ ∞ (fun a => pathTranslate P a (S G I))) |
| 45 | (hm : ∀ {r r'} (G : Forcing P D r) (H : Forcing P D r') (I J : InitialData P D) (a : ℝ), |
| 46 | H.path = a • G.path → J.value = a • I.value → S H J = a • S G I) |
| 47 | (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) |
| 48 | (directions : ι → LiftTangent) (q : ℕ) (R C : ℝ) (d e : ℕ) |
| 49 | (hunit : ∀ {r} (G : Forcing P D r) (I : InitialData P D), |
| 50 | (∀ n, block directions q (fun a => pathTranslate P a |
| 51 | (normalize g hg (HistoryData.forcingPath G))) n 0 ≤ majorant R d n) → |
| 52 | (∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ majorant R d n) → |
| 53 | ∀ n, block directions q (fun a => pathTranslate P a (normalize g hg (S G I))) n 0 ≤ C*majorant R e n) |
| 54 | {r : VectorField} (G : Forcing P D r) (I : InitialData P D) (A : ℝ) (hA : 0 ≤ A) |
| 55 | (hb : ∀ n, block directions q (fun a => pathTranslate P a |
| 56 | (normalize g hg (HistoryData.forcingPath G))) n 0 ≤ A*majorant R d n) |
| 57 | (hi : ∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ A*majorant R d n) |
| 58 | (n : ℕ) : |
| 59 | block directions q (fun a => pathTranslate P a (normalize g hg (S G I))) n 0 ≤ |
| 60 | (C*A)*majorant R e n := by |
| 61 | by_cases hz : A = 0 |
| 62 | · have hf := value_zero_of_block_zero_bound directions q |
| 63 | (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath G))) 0 |
| 64 | (by simpa only [hz,zero_mul] using hb 0) |
| 65 | have ht : pathTranslate P 0 (normalize g hg (HistoryData.forcingPath G)) = |
| 66 | normalize g hg (HistoryData.forcingPath G) := by |
| 67 | apply ContinuousMap.ext |
| 68 | intro t |
| 69 | exact translate_zero P _ |
| 70 | rw [ht] at hf |
| 71 | have hfull : HistoryData.forcingPath G = 0 := by |
| 72 | have he := congrArg (weight g) hf |
| 73 | rw [weight_normalize,map_zero] at he |
| 74 | exact he |
| 75 | have hp : G.path = 0 := by |
| 76 | have he := congrArg (projectPath P D.support D.support_measurable) hfull |
| 77 | rw [project_include,map_zero] at he |
| 78 | exact he |
| 79 | have hinitial := value_zero_of_block_zero_bound directions q |
| 80 | (fun a => translate P a (I.value : CylinderL2 P U)) 0 |
| 81 | (by simpa only [hz,zero_mul] using hi 0) |
| 82 | rw [translate_zero] at hinitial |
| 83 | have hv : I.value = 0 := Subtype.ext hinitial |
| 84 | have hS : S G I = 0 := by |
| 85 | have he := hm G G I I 0 (hp.trans (zero_smul ℝ G.path).symm) |
| 86 | (hv.trans (zero_smul ℝ I.value).symm) |
| 87 | simpa only [zero_smul] using he |
| 88 | simp only [hS,map_zero,block_zero_function,hz,mul_zero,zero_mul,le_refl] |
| 89 | · have hApos : 0 < A := lt_of_le_of_ne hA (Ne.symm hz) |
| 90 | let H := G.smul A⁻¹ |
| 91 | let J := I.smul A⁻¹ |
| 92 | have hinput : HistoryData.forcingPath H = A⁻¹ • HistoryData.forcingPath G := by |
| 93 | change includePath P D.support D.support_measurable (A⁻¹ • G.path) = _ |
| 94 | rw [map_smul] |
| 95 | have hH (j : ℕ) : block directions q (fun a => pathTranslate P a |
| 96 | (normalize g hg (HistoryData.forcingPath H))) j 0 ≤ majorant R d j := by |
| 97 | have he : (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath H))) = |
| 98 | fun a => A⁻¹ • pathTranslate P a (normalize g hg (HistoryData.forcingPath G)) := by |
| 99 | funext a |
| 100 | rw [hinput,map_smul,map_smul] |
| 101 | rw [he] |
| 102 | simpa only [one_mul] using block_normalize_bound directions q |
| 103 | (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath G))) |
| 104 | (normalize_orbit_contDiff P g hg _ G.path_orbit) A hApos R 1 d j 0 |
| 105 | (by simpa only [one_mul] using hb j) |
| 106 | have hJ (j : ℕ) : block directions q |
| 107 | (fun a => translate P a (J.value : CylinderL2 P U)) j 0 ≤ majorant R d j := by |
| 108 | have he : (fun a => translate P a (J.value : CylinderL2 P U)) = |
| 109 | fun a => A⁻¹ • translate P a (I.value : CylinderL2 P U) := by |
| 110 | funext a |
| 111 | change translate P a (A⁻¹ • (I.value : CylinderL2 P U)) = _ |
| 112 | rw [map_smul] |
| 113 | rw [he] |
| 114 | simpa only [one_mul] using block_normalize_bound directions q |
| 115 | (fun a => translate P a (I.value : CylinderL2 P U)) I.orbit A hApos R 1 d j 0 |
| 116 | (by simpa only [one_mul] using hi j) |
| 117 | have hrestore : S G I = A • S H J := by |
| 118 | rw [hm G H I J A⁻¹ rfl rfl,smul_smul,mul_inv_cancel₀ hz,one_smul] |
| 119 | exact (block_restore_bound directions q |
| 120 | (fun a => pathTranslate P a (normalize g hg (S H J))) |
| 121 | (fun a => pathTranslate P a (normalize g hg (S G I))) |
| 122 | (normalize_orbit_contDiff P g hg (S H J) (hs H J)) A hA |
| 123 | (fun a => by rw [hrestore,map_smul,map_smul]) R C e n 0 |
| 124 | (hunit H J hH hJ n)).trans_eq (by ring) |
| 125 | |
| 126 | end EulerTransversePacketProvider |
| 127 | end |
| 128 | |
| 129 | end |
| 130 | |
| 131 | /-! ## From `Euler/TransversePacketCorrectorBounds.lean` |
| 132 | |
| 133 | The text of `Euler/TransversePacketCorrectorBounds.lean`, folded into this file, which was its only importer. -/ |
| 134 | |
| 135 | section |
| 136 | |
| 137 | /-! Same-radius estimates for the actual corrector, divided by the prescribed time profile. -/ |
| 138 | |
| 139 | noncomputable section |
| 140 | |
| 141 | namespace EulerTransversePacketProvider.Forcing |
| 142 | |
| 143 | open Set EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients EulerGevrey |
| 144 | EulerPacketProfileRecursion EulerCylinderSobolev EulerParameterWordGevrey |
| 145 | EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerContinuousTimeWeight |
| 146 | open scoped ContDiff |
| 147 | |
| 148 | private theorem direction_norm_bound (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by |
| 149 | cases i using Fin.cases <;> simp [Prod.norm_def] |
| 150 | |
| 151 | variable {P : ℝ} [Fact (0 < P)] |
| 152 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 153 | {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) |
| 154 | (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) |
| 155 | (q : ℕ) (Rc C R A : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hA : 0 ≤ A) |
| 156 | (hR : sobolevCoefficientRadius (Fin 4) Rc ≤ R) (d : ℕ) |
| 157 | (hbA : ∀ n, block standardDirection q |
| 158 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.fullVelocityPath I))) n 0 ≤ |
| 159 | A*majorant R d n) |
| 160 | (hbAt : ∀ n, block standardDirection q |
| 161 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.fullDerivativePath I))) n 0 ≤ |
| 162 | A*majorant R d n) |
| 163 | (hbK : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ |
| 164 | C*majorant Rc 0 n) |
| 165 | (hbKt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ |
| 166 | C*majorant Rc 0 n) |
| 167 | (hbI : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ C*majorant Rc 0 n) |
| 168 | (hbIt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ |
| 169 | C*majorant Rc 0 n) |
| 170 | |
| 171 | include hRc hC hA hR hbA hbK in |
| 172 | theorem potentialPath_normalized_bound (n : ℕ) : |
| 173 | block standardDirection q |
| 174 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.potentialPath I))) n 0 ≤ |
| 175 | (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := |
| 176 | EulerCylinderPotential.normalized_potentialPath_block_bound P g (G.fullVelocityPath I) |
| 177 | D.potentialCoefficientPath hg D.potentialCoefficientPath_orbit |
| 178 | (EulerCylinderPotential.weighted_orbit P (reciprocal g hg) (G.fullVelocityPath I) (G.velocityPath_orbit I)) |
| 179 | standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK d hbA n |
| 180 | |
| 181 | include hRc hC hA hR hbA hbAt hbK hbKt in |
| 182 | theorem potentialTimePath_normalized_bound (n : ℕ) : |
| 183 | block standardDirection q |
| 184 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.potentialTimePath I))) n 0 ≤ |
| 185 | (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := |
| 186 | EulerCylinderPotential.normalized_potentialDerivative_block_bound P D.T |
| 187 | D.potentialCoefficientPath D.potentialDerivative D.potentialCoefficientPath_orbit D.potentialDerivative_orbit |
| 188 | (G.fullVelocityPath I) (G.fullDerivativePath I) (G.velocityPath_orbit I) (G.derivativePath_orbit I) |
| 189 | g hg standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK hbKt d hbA hbAt n |
| 190 | |
| 191 | include hRc hC hA hR hbA hbK hbI in |
| 192 | theorem correctorPath_normalized_bound (n : ℕ) : |
| 193 | block standardDirection q |
| 194 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.correctorPath I))) n 0 ≤ |
| 195 | (27*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by |
| 196 | have hp : 0 ≤ P := (Fact.out : 0 < P).le |
| 197 | have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC |
| 198 | have h := EulerCylinderSlowCurl.normalized_path_block_bound P g D.FInv.field |
| 199 | (G.potentialPath I) (G.potentialPath_orbit I) hg D.FInv.translation_contDiff |
| 200 | q Rc C R (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR hbI d |
| 201 | (G.potentialPath_normalized_bound I g hg q Rc C R A hRc hC hA hR d hbA hbK) n |
| 202 | exact h.trans_eq (by ring) |
| 203 | |
| 204 | include hRc hC hA hR hbA hbAt hbK hbKt hbI hbIt in |
| 205 | theorem correctorTimePath_normalized_bound (n : ℕ) : |
| 206 | block standardDirection q |
| 207 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.correctorTimePath I))) n 0 ≤ |
| 208 | (108*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by |
| 209 | have hp : 0 ≤ P := (Fact.out : 0 < P).le |
| 210 | have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC |
| 211 | have hRn : 0 ≤ R := (sobolevCoefficientRadius_nonneg (ι := Fin 4) Rc hRc).trans hR |
| 212 | have hQ (j : ℕ) : block standardDirection q |
| 213 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.potentialPath I))) j 0 ≤ |
| 214 | (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d j := by |
| 215 | apply (G.potentialPath_normalized_bound I g hg q Rc C R A hRc hC hA hR d hbA hbK j).trans |
| 216 | have hn := mul_nonneg |
| 217 | (show 0 ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A) by positivity) |
| 218 | (majorant_nonneg R hRn d j) |
| 219 | linarith |
| 220 | have h := EulerCylinderSlowCurl.normalized_derivative_block_bound P D.T g hg |
| 221 | D.FInv.field D.inverseDerivative (G.potentialPath I) (G.potentialTimePath I) |
| 222 | (G.potentialPath_orbit I) (G.potentialTimePath_orbit I) D.FInv.translation_contDiff D.inverseDerivative_orbit |
| 223 | q Rc C R (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR |
| 224 | hbI hbIt d hQ (G.potentialTimePath_normalized_bound I g hg q Rc C R A hRc hC hA hR d hbA hbAt hbK hbKt) n |
| 225 | exact h.trans_eq (by ring) |
| 226 | |
| 227 | end EulerTransversePacketProvider.Forcing |
| 228 | end |
| 229 | |
| 230 | end |
| 231 | |
| 232 | /-! ## From `Euler/TransversePacketForwardNorms.lean` |
| 233 | |
| 234 | The text of `Euler/TransversePacketForwardNorms.lean`, folded into this file, which was its only importer. -/ |
| 235 | |
| 236 | section |
| 237 | |
| 238 | /-! The genuine direct-forward solution has amplitude-linear estimates at |
| 239 | one source-dependent radius, for arbitrary admissible initial data and forcing. -/ |
| 240 | |
| 241 | noncomputable section |
| 242 | |
| 243 | namespace EulerTransversePacketForward.Budget |
| 244 | |
| 245 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation |
| 246 | EulerLpCylinderPaths EulerTransversePacketProvider EulerPacketProfileRecursion |
| 247 | EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight |
| 248 | open scoped ContDiff |
| 249 | |
| 250 | variable {P : ℝ} [Fact (0 < P)] |
| 251 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 252 | {D : Data U} {ι : Type*} [Fintype ι] {q : ℕ} (L : Budget D ι q) |
| 253 | {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) |
| 254 | (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) |
| 255 | (A : ℝ) (hA : 0 ≤ A) (d : ℕ) |
| 256 | (hforce : ∀ n, block directions q (fun a => pathTranslate P a |
| 257 | (normalize L.g L.positive (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) |
| 258 | (hinitial : ∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ |
| 259 | A*majorant L.R d n) |
| 260 | |
| 261 | include hdir hA hforce hinitial |
| 262 | |
| 263 | theorem velocity_bound (n : ℕ) : |
| 264 | block directions q (fun a => pathTranslate P a |
| 265 | (normalize L.g L.positive (G.fullVelocityPath I))) n 0 ≤ |
| 266 | (L.velocityCost*A)*majorant L.R (d+1) n := |
| 267 | pair_amplitude_bound (fun {r} H Y => (H : Forcing P D r).fullVelocityPath Y) |
| 268 | (fun H Y => H.velocityPath_orbit Y) |
| 269 | (fun H J Y Z a he hi => by |
| 270 | change includePath P D.support D.support_measurable (J.velocityPath Z) = |
| 271 | a • includePath P D.support D.support_measurable (H.velocityPath Y) |
| 272 | rw [H.velocityPath_eq_smul J Y Z a he hi,map_smul]) |
| 273 | L.g L.positive directions q L.R L.velocityCost d (d+1) |
| 274 | (fun H Y hf hi => L.velocity_unit_bound H Y directions hdir d hf hi) |
| 275 | G I A hA hforce hinitial n |
| 276 | |
| 277 | theorem derivative_bound (n : ℕ) : |
| 278 | block directions q (fun a => pathTranslate P a |
| 279 | (normalize L.g L.positive (G.fullDerivativePath I))) n 0 ≤ |
| 280 | (L.derivativeCost*A)*majorant L.R (d+1) n := |
| 281 | pair_amplitude_bound (fun {r} H Y => (H : Forcing P D r).fullDerivativePath Y) |
| 282 | (fun H Y => H.derivativePath_orbit Y) |
| 283 | (fun H J Y Z a he hi => by |
| 284 | change includePath P D.support D.support_measurable (J.derivativePath Z) = |
| 285 | a • includePath P D.support D.support_measurable (H.derivativePath Y) |
| 286 | rw [H.derivativePath_eq_smul J Y Z a he hi,map_smul]) |
| 287 | L.g L.positive directions q L.R L.derivativeCost d (d+1) |
| 288 | (fun H Y hf hi => L.derivative_unit_bound H Y directions hdir d hf hi) |
| 289 | G I A hA hforce hinitial n |
| 290 | |
| 291 | theorem velocity_common_bound (n : ℕ) : |
| 292 | block directions q (fun a => pathTranslate P a |
| 293 | (normalize L.g L.positive (G.fullVelocityPath I))) n 0 ≤ |
| 294 | (L.commonCost*A)*majorant L.R (d+1) n := |
| 295 | (L.velocity_bound G I directions hdir A hA d hforce hinitial n).trans |
| 296 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right L.velocityCost_le_common hA) |
| 297 | (majorant_nonneg L.R (zero_le_one.trans L.radius_one) (d+1) n)) |
| 298 | |
| 299 | theorem derivative_common_bound (n : ℕ) : |
| 300 | block directions q (fun a => pathTranslate P a |
| 301 | (normalize L.g L.positive (G.fullDerivativePath I))) n 0 ≤ |
| 302 | (L.commonCost*A)*majorant L.R (d+1) n := |
| 303 | (L.derivative_bound G I directions hdir A hA d hforce hinitial n).trans |
| 304 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right L.derivativeCost_le_common hA) |
| 305 | (majorant_nonneg L.R (zero_le_one.trans L.radius_one) (d+1) n)) |
| 306 | |
| 307 | end EulerTransversePacketForward.Budget |
| 308 | end |
| 309 | |
| 310 | end |
| 311 | |
| 312 | /-! ## From `Euler/TransversePacketPressureGradientBounds.lean` |
| 313 | |
| 314 | The text of `Euler/TransversePacketPressureGradientBounds.lean`, folded into this file, which was its only importer. -/ |
| 315 | |
| 316 | section |
| 317 | |
| 318 | /-! Bounds for the actual high-pressure gradient from the normalized forcing and solved velocity. -/ |
| 319 | |
| 320 | noncomputable section |
| 321 | |
| 322 | namespace EulerTransversePacketProvider.Forcing |
| 323 | |
| 324 | open Set EulerSmoothLimit EulerLiftedGradientSpace EulerPacketProfileRecursion |
| 325 | EulerPacketCylinderField EulerLpCylinderPaths EulerLpCylinderTranslation |
| 326 | EulerCylinderSobolev EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight |
| 327 | EulerSourceNormalResidualBounds EulerCylinderPotential EulerTimeLpGramGevrey |
| 328 | |
| 329 | variable {P : ℝ} [Fact (0 < P)] |
| 330 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 331 | {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) |
| 332 | |
| 333 | theorem pressurePath_normalized_eq_source (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) : |
| 334 | normalize g hg (G.pressurePath I) = |
| 335 | sourcePressure P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 336 | (normalize g hg (includePath P D.support D.support_measurable G.path)) |
| 337 | (normalize g hg (includePath P D.support D.support_measurable (G.velocityPath I))) := |
| 338 | (sourcePressure_weight P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 339 | (reciprocal g hg) (includePath P D.support D.support_measurable G.path) |
| 340 | (includePath P D.support D.support_measurable (G.velocityPath I))).symm |
| 341 | |
| 342 | theorem scalarGradientField_normalized_bound (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) |
| 343 | (q : ℕ) (R A : ℝ) (d : ℕ) |
| 344 | (hb : ∀ n, block standardDirection q |
| 345 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.pressurePath I))) n 0 ≤ |
| 346 | A*majorant R d n) (n : ℕ) : |
| 347 | block standardDirection q |
| 348 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.scalarGradientField I).path)) n 0 ≤ |
| 349 | (3*A)*majorant R (d+1) n := |
| 350 | scalarGradientPath_normalized_majorant (G.pressurePath I) (G.pressurePath_orbit I) g hg q R A d hb n |
| 351 | |
| 352 | end EulerTransversePacketProvider.Forcing |
| 353 | end |
| 354 | |
| 355 | end |
| 356 | |
| 357 | noncomputable section |
| 358 | |
| 359 | namespace EulerTransversePacketForward.Budget |
| 360 | |
| 361 | open Set EulerSmoothLimit EulerTransversePacketProvider EulerLiftedGradientSpace |
| 362 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerPacketProfileRecursion |
| 363 | EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight EulerCylinderSobolev |
| 364 | EulerSourceNormalResidualBounds |
| 365 | open scoped ContDiff |
| 366 | |
| 367 | private theorem standard_norm (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by |
| 368 | cases i using Fin.cases <;> simp [Prod.norm_def] |
| 369 | |
| 370 | variable {P : ℝ} [Fact (0 < P)] |
| 371 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 372 | {D : Data U} {q : ℕ} (L : Budget D (Fin 4) q) |
| 373 | (N : EulerTransversePacketJoin.NormalBudget D q L.R) |
| 374 | |
| 375 | def pressureAmplitude : ℝ := P*pressureCost (Fin 4) q N.Ri N.C N.C 1 L.commonCost |
| 376 | def correctorAmplitude : ℝ := 27*N.blockAmplitude^2*(P*L.commonCost) |
| 377 | def correctorTimeAmplitude : ℝ := 108*N.blockAmplitude^2*(P*L.commonCost) |
| 378 | |
| 379 | variable {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) |
| 380 | (A : ℝ) (hA : 0 ≤ A) (d : ℕ) |
| 381 | (hforce : ∀ n, block standardDirection q (fun a => pathTranslate P a |
| 382 | (normalize L.g L.positive (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) |
| 383 | (hinitial : ∀ n, block standardDirection q |
| 384 | (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ A*majorant L.R d n) |
| 385 | |
| 386 | include hA hforce hinitial |
| 387 | |
| 388 | theorem pressure_bound (n : ℕ) : |
| 389 | block standardDirection q (fun a => pathTranslate P a |
| 390 | (normalize L.g L.positive (G.pressurePath I))) n 0 ≤ |
| 391 | (L.pressureAmplitude (P := P) N*A)*majorant L.R (d+1) n := by |
| 392 | have hf (j : ℕ) : block standardDirection q (fun a => pathTranslate P a |
| 393 | (normalize L.g L.positive (HistoryData.forcingPath G))) j 0 ≤ A*majorant L.R (d+1) j := |
| 394 | (hforce j).trans (mul_le_mul_of_nonneg_left |
| 395 | (majorant_mono_shift L.R L.radius_one d (d+1) j (by omega)) hA) |
| 396 | rw [G.pressurePath_normalized_eq_source I L.g L.positive] |
| 397 | have h := sourcePressure_block_bound P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 398 | _ _ standardDirection standard_norm q |
| 399 | (EulerCylinderPotential.weighted_orbit P (reciprocal L.g L.positive) _ G.path_orbit) |
| 400 | (EulerCylinderPotential.weighted_orbit P (reciprocal L.g L.positive) _ (G.velocityPath_orbit I)) |
| 401 | N.Rc N.C N.C N.Ri L.R A (L.commonCost*A) N.Rc_nonneg N.C_nonneg N.C_nonneg hA |
| 402 | (mul_nonneg L.commonCost_nonneg hA) N.inverse_radius N.pressure_radius |
| 403 | N.normal_bound N.strain_bound (d+1) hf |
| 404 | (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) n |
| 405 | exact h.trans_eq (by unfold pressureAmplitude pressureCost; ring) |
| 406 | |
| 407 | theorem pressure_gradient_bound (n : ℕ) : |
| 408 | block standardDirection q (fun a => pathTranslate P a |
| 409 | (normalize L.g L.positive (G.scalarGradientField I).path)) n 0 ≤ |
| 410 | (3*L.pressureAmplitude (P := P) N*A)*majorant L.R (d+2) n := by |
| 411 | have h := G.scalarGradientField_normalized_bound I L.g L.positive q L.R |
| 412 | (L.pressureAmplitude (P := P) N*A) (d+1) (L.pressure_bound N G I A hA d hforce hinitial) n |
| 413 | simpa only [show d+1+1=d+2 by omega,mul_assoc] using h |
| 414 | |
| 415 | theorem corrector_bound (n : ℕ) : |
| 416 | block standardDirection q (fun a => pathTranslate P a |
| 417 | (normalize L.g L.positive (G.correctorPath I))) n 0 ≤ |
| 418 | (L.correctorAmplitude (P := P) N*A)*majorant L.R (d+2) n := by |
| 419 | have hc := N.coefficient_bounds |
| 420 | have h := G.correctorPath_normalized_bound I L.g L.positive |
| 421 | q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) |
| 422 | hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) |
| 423 | (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) |
| 424 | (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).1) n |
| 425 | rw [show d+1+1=d+2 by omega] at h |
| 426 | exact h.trans_eq (by unfold correctorAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) |
| 427 | |
| 428 | theorem corrector_time_bound (n : ℕ) : |
| 429 | block standardDirection q (fun a => pathTranslate P a |
| 430 | (normalize L.g L.positive (G.correctorTimePath I))) n 0 ≤ |
| 431 | (L.correctorTimeAmplitude (P := P) N*A)*majorant L.R (d+2) n := by |
| 432 | have hc := N.coefficient_bounds |
| 433 | have h := G.correctorTimePath_normalized_bound I L.g L.positive |
| 434 | q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) |
| 435 | hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) |
| 436 | (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) |
| 437 | (L.derivative_common_bound G I standardDirection standard_norm A hA d hforce hinitial) |
| 438 | (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).2.2.2) |
| 439 | (fun j a => (hc.2.2 j a).1) (fun j a => (hc.2.2 j a).2.1) n |
| 440 | rw [show d+1+1=d+2 by omega] at h |
| 441 | exact h.trans_eq (by unfold correctorTimeAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) |
| 442 | |
| 443 | end EulerTransversePacketForward.Budget |