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.TransversePacketBudget |
| 2 | import Euler.TransversePacketJoinedPaths |
| 3 | import Euler.TransversePacketAmplitude |
| 4 | import Euler.TransversePacketJoinedPressure |
| 5 | import Euler.TransversePacketJoinedCorrector |
| 6 | import Euler.CylinderSlowCurlWeight |
| 7 | import Euler.CylinderPotentialTimeWeight |
| 8 | import Euler.TransversePacketNormalBudget |
| 9 | |
| 10 | /-! |
| 11 | # The complete quantitative forced transverse provider |
| 12 | |
| 13 | Source-only budgets fixed before the forcing give actual A, A_t, π, dπ, |
| 14 | Q, Q_t, C and C_t bounds linear in its amplitude. All eight outputs use the |
| 15 | same external radius and fixed mixed Sobolev order. They spend at most four |
| 16 | derivative shifts, within the manuscript's ten-shift allowance. |
| 17 | -/ |
| 18 | |
| 19 | /-! ## From `Euler/TransversePacketJoinedUnitBounds.lean` |
| 20 | |
| 21 | The text of `Euler/TransversePacketJoinedUnitBounds.lean`, folded into this file, which was its only importer. -/ |
| 22 | |
| 23 | section |
| 24 | |
| 25 | /-! |
| 26 | # Unit-amplitude bounds for the complete actual transverse inverse |
| 27 | |
| 28 | One source-only budget controls the history trace, forward solve and their |
| 29 | joined physical velocity and genuine time derivative. The input and output |
| 30 | use the same fixed mixed-word Sobolev order and the same external radius. |
| 31 | -/ |
| 32 | |
| 33 | noncomputable section |
| 34 | |
| 35 | namespace EulerTransversePacketJoin.Budget |
| 36 | |
| 37 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerTransversePacketProvider |
| 38 | EulerLiftedGradientSpace EulerGevrey EulerParameterWordGevrey EulerFixedEvolutionSobolev |
| 39 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerContinuousTimeWeight EulerTimeIntervalRestriction |
| 40 | EulerElapsedTimePathGluing EulerPacketProfileRecursion |
| 41 | open scoped ContDiff BoundedContinuousFunction |
| 42 | |
| 43 | variable {P : ℝ} [Fact (0 < P)] |
| 44 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 45 | {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} |
| 46 | {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} |
| 47 | (L : Budget D τ hτ hτT B ι q) {raw : VectorField} (G : Forcing P D raw) |
| 48 | (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) |
| 49 | (d : ℕ) |
| 50 | (hforce : ∀ n, block directions q (fun a => pathTranslate P a |
| 51 | (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) n 0 ≤ majorant L.R d n) |
| 52 | |
| 53 | include hforce |
| 54 | |
| 55 | theorem history_forcing_bound (n : ℕ) : |
| 56 | block directions q (fun a => pathTranslate P a |
| 57 | (HistoryData.forcingPath (G.initial τ hτ hτT.le))) n 0 ≤ majorant L.R d n := by |
| 58 | have he : (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)).comp |
| 59 | (initialInclusion D.T τ hτT.le) = HistoryData.forcingPath (G.initial τ hτ hτT.le) := |
| 60 | normalize_initial D.T τ hτ.le hτT.le L.g L.initial_one L.positive (HistoryData.forcingPath G) |
| 61 | have hb := timeComp_block_le P directions q |
| 62 | (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)) |
| 63 | (normalize_orbit_contDiff P L.fullProfile L.fullProfile_pos _ G.path_orbit) |
| 64 | (initialInclusion D.T τ hτT.le) n 0 |
| 65 | rw [he] at hb |
| 66 | exact hb.trans (hforce n) |
| 67 | |
| 68 | theorem forward_forcing_bound (n : ℕ) : |
| 69 | block directions q (fun a => pathTranslate P a |
| 70 | (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) n 0 ≤ majorant L.R d n := by |
| 71 | have he : (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)).comp |
| 72 | (tailInclusion D.T τ hτ.le) = |
| 73 | normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)) := |
| 74 | normalize_tail D.T τ hτ.le hτT.le L.g L.initial_one L.positive (HistoryData.forcingPath G) |
| 75 | have hb := timeComp_block_le P directions q |
| 76 | (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)) |
| 77 | (normalize_orbit_contDiff P L.fullProfile L.fullProfile_pos _ G.path_orbit) |
| 78 | (tailInclusion D.T τ hτ.le) n 0 |
| 79 | rw [he] at hb |
| 80 | exact hb.trans (hforce n) |
| 81 | |
| 82 | include hdir |
| 83 | |
| 84 | /-- This is the actual datum passed to the forward solution, not a new hypothesis. -/ |
| 85 | theorem terminal_bound (n : ℕ) : |
| 86 | block directions q (fun a => translate P a |
| 87 | ((forwardInitial τ hτ hτT B G).value : CylinderL2 P U)) n 0 ≤ |
| 88 | traceCost τ*majorant L.R (d+2) n := by |
| 89 | exact B.source_terminal_bound (G.initial τ hτ hτT.le) directions hdir q |
| 90 | L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one |
| 91 | (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) |
| 92 | (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) |
| 93 | L.hessian_bound L.history_weak L.history_strong L.history_length d |
| 94 | (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) n |
| 95 | |
| 96 | theorem past_velocity_bound (n : ℕ) : |
| 97 | block directions q (fun a => pathTranslate P a (pastVelocity τ hτ hτT B G)) n 0 ≤ |
| 98 | (3*sobolevCoefficientAmplitude ι q L.Rc L.C₀*traceCost τ)*majorant L.R (d+2) n := by |
| 99 | exact B.source_velocity_bound (G.initial τ hτ hτT.le) directions hdir q |
| 100 | L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one |
| 101 | (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) |
| 102 | (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) |
| 103 | L.hessian_bound L.history_weak L.history_strong L.history_length d |
| 104 | (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) n |
| 105 | |
| 106 | theorem past_derivative_bound (n : ℕ) : |
| 107 | block directions q (fun a => pathTranslate P a (pastDerivative τ hτ hτT B G)) n 0 ≤ |
| 108 | (3*sobolevCoefficientAmplitude ι q L.Rc L.C₁*traceCost τ+ |
| 109 | 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀)*majorant L.R (d+3) n := by |
| 110 | exact B.source_derivative_bound (G.initial τ hτ hτT.le) directions hdir q |
| 111 | L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one |
| 112 | (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) |
| 113 | (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) |
| 114 | L.hessian_bound L.history_weak L.history_strong L.history_length d |
| 115 | (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) |
| 116 | L.history_uniform n |
| 117 | |
| 118 | theorem future_velocity_bound (n : ℕ) : |
| 119 | block directions q (fun a => pathTranslate P a |
| 120 | (normalize L.g L.positive (futureVelocity τ hτ hτT B G))) n 0 ≤ |
| 121 | (3*sobolevCoefficientAmplitude ι q L.Rc L.C₀)*majorant L.R (d+3) n := by |
| 122 | have hf (j : ℕ) : block directions q (fun a => pathTranslate P a |
| 123 | (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) j 0 ≤ |
| 124 | 1*majorant L.R (d+2) j := by |
| 125 | simpa only [one_mul] using (L.forward_forcing_bound G directions d hforce j).trans |
| 126 | (majorant_mono_shift L.R L.radius_bounds.1 d (d+2) j (by omega)) |
| 127 | dsimp only [futureVelocity] |
| 128 | rw [show d+3=d+2+1 by omega] |
| 129 | exact |
| 130 | (G.tail τ hτ.le hτT).source_velocity_normalized_bound (forwardInitial τ hτ hτT B G) |
| 131 | L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open |
| 132 | L.support_subset L.neighborhood_halfball L.initial_one |
| 133 | L.C (traceCost τ) 1 L.Rc L.C₀ L.C₁ L.Ri L.R |
| 134 | L.C_nonneg (traceCost_nonneg τ hτ.le) zero_le_one L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg |
| 135 | L.forward_inverse |
| 136 | (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) |
| 137 | (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) |
| 138 | L.forcing_radius L.forward_radius L.propagator (d+2) hf |
| 139 | (L.terminal_bound G directions hdir d hforce) L.radius_bounds.2 n |
| 140 | |
| 141 | theorem future_derivative_bound (n : ℕ) : |
| 142 | block directions q (fun a => pathTranslate P a |
| 143 | (normalize L.g L.positive (futureDerivative τ hτ hτT B G))) n 0 ≤ |
| 144 | EulerSourceCylinderTimeBounds.physicalCost ι q L.Ri L.C₀ L.C₁ 1 1*majorant L.R (d+3) n := by |
| 145 | have hf (j : ℕ) : block directions q (fun a => pathTranslate P a |
| 146 | (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) j 0 ≤ |
| 147 | 1*majorant L.R (d+2) j := by |
| 148 | simpa only [one_mul] using (L.forward_forcing_bound G directions d hforce j).trans |
| 149 | (majorant_mono_shift L.R L.radius_bounds.1 d (d+2) j (by omega)) |
| 150 | dsimp only [futureDerivative] |
| 151 | rw [show d+3=d+2+1 by omega] |
| 152 | exact |
| 153 | (G.tail τ hτ.le hτT).source_derivative_normalized_bound (forwardInitial τ hτ hτT B G) |
| 154 | L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open |
| 155 | L.support_subset L.neighborhood_halfball L.initial_one |
| 156 | L.C (traceCost τ) 1 L.Rc L.C₀ L.C₁ L.Ri L.R |
| 157 | L.C_nonneg (traceCost_nonneg τ hτ.le) zero_le_one L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg |
| 158 | L.forward_inverse |
| 159 | (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) |
| 160 | (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) |
| 161 | L.forcing_radius L.forward_radius L.propagator (d+2) hf |
| 162 | (L.terminal_bound G directions hdir d hforce) L.radius_bounds.1 n |
| 163 | |
| 164 | /-- The entire constructed A/g, with the input's original external radius. -/ |
| 165 | theorem velocity_unit_bound (n : ℕ) : |
| 166 | block directions q (fun a => pathTranslate P a |
| 167 | (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B G))) n 0 ≤ |
| 168 | L.velocityCost*majorant L.R (d+3) n := by |
| 169 | have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one |
| 170 | (pastVelocity τ hτ hτT B G) (futureVelocity τ hτ hτT B G) (velocity_match τ hτ hτT B G) |
| 171 | (pastVelocity_orbit τ hτ hτT B G) (futureVelocity_orbit τ hτ hτT B G) directions q n 0 |
| 172 | have ha : 0 ≤ 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀*traceCost τ := |
| 173 | mul_nonneg (mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg q L.Rc L.C₀ |
| 174 | L.Rc_nonneg L.C₀_nonneg)) (traceCost_nonneg τ hτ.le) |
| 175 | have hp := (L.past_velocity_bound G directions hdir d hforce n).trans |
| 176 | (mul_le_mul_of_nonneg_left |
| 177 | (majorant_mono_shift L.R L.radius_bounds.1 (d+2) (d+3) n (by omega)) ha) |
| 178 | exact hb.trans (by |
| 179 | simpa only [velocityCost,add_mul] using |
| 180 | add_le_add hp (L.future_velocity_bound G directions hdir d hforce n)) |
| 181 | |
| 182 | /-- The entire actual A_t/g. The profile itself is never differentiated. -/ |
| 183 | theorem derivative_unit_bound (n : ℕ) : |
| 184 | block directions q (fun a => pathTranslate P a |
| 185 | (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B G))) n 0 ≤ |
| 186 | L.derivativeCost*majorant L.R (d+3) n := by |
| 187 | have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one |
| 188 | (pastDerivative τ hτ hτT B G) (futureDerivative τ hτ hτT B G) (derivative_match τ hτ hτT B G) |
| 189 | (pastDerivative_orbit τ hτ hτT B G) (futureDerivative_orbit τ hτ hτT B G) directions q n 0 |
| 190 | exact hb.trans (by |
| 191 | simpa only [derivativeCost,add_mul] using |
| 192 | add_le_add (L.past_derivative_bound G directions hdir d hforce n) |
| 193 | (L.future_derivative_bound G directions hdir d hforce n)) |
| 194 | |
| 195 | end EulerTransversePacketJoin.Budget |
| 196 | end |
| 197 | |
| 198 | end |
| 199 | |
| 200 | /-! ## From `Euler/TransversePacketJoinedCorrectorBounds.lean` |
| 201 | |
| 202 | The text of `Euler/TransversePacketJoinedCorrectorBounds.lean`, folded into this file, which was its only importer. -/ |
| 203 | |
| 204 | section |
| 205 | |
| 206 | /-! Same-radius estimates for the actual corrector, divided by the prescribed time profile. -/ |
| 207 | |
| 208 | noncomputable section |
| 209 | |
| 210 | namespace EulerTransversePacketJoin |
| 211 | |
| 212 | open Set EulerTransversePacketProvider EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients EulerGevrey |
| 213 | EulerPacketProfileRecursion EulerCylinderSobolev EulerParameterWordGevrey |
| 214 | EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerContinuousTimeWeight |
| 215 | open scoped ContDiff |
| 216 | |
| 217 | private theorem direction_norm_bound (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by |
| 218 | cases i using Fin.cases <;> simp [Prod.norm_def] |
| 219 | |
| 220 | variable {P : ℝ} [Fact (0 < P)] |
| 221 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 222 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 223 | (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) |
| 224 | (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) |
| 225 | (q : ℕ) (Rc C R A : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hA : 0 ≤ A) |
| 226 | (hR : sobolevCoefficientRadius (Fin 4) Rc ≤ R) (d : ℕ) |
| 227 | (hbA : ∀ n, block standardDirection q |
| 228 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (velocityPath τ hτ hτT B G))) n 0 ≤ |
| 229 | A*majorant R d n) |
| 230 | (hbAt : ∀ n, block standardDirection q |
| 231 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (derivativePath τ hτ hτT B G))) n 0 ≤ |
| 232 | A*majorant R d n) |
| 233 | (hbK : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ |
| 234 | C*majorant Rc 0 n) |
| 235 | (hbKt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ |
| 236 | C*majorant Rc 0 n) |
| 237 | (hbI : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ C*majorant Rc 0 n) |
| 238 | (hbIt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ |
| 239 | C*majorant Rc 0 n) |
| 240 | |
| 241 | include hRc hC hA hR hbA hbK in |
| 242 | theorem potentialPath_normalized_bound (n : ℕ) : |
| 243 | block standardDirection q |
| 244 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialPath τ hτ hτT B G))) n 0 ≤ |
| 245 | (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := |
| 246 | EulerCylinderPotential.normalized_potentialPath_block_bound P g (velocityPath τ hτ hτT B G) |
| 247 | D.potentialCoefficientPath hg D.potentialCoefficientPath_orbit |
| 248 | (EulerCylinderPotential.weighted_orbit P (reciprocal g hg) (velocityPath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G)) |
| 249 | standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK d hbA n |
| 250 | |
| 251 | include hRc hC hA hR hbA hbAt hbK hbKt in |
| 252 | theorem potentialTimePath_normalized_bound (n : ℕ) : |
| 253 | block standardDirection q |
| 254 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialTimePath τ hτ hτT B G))) n 0 ≤ |
| 255 | (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := |
| 256 | EulerCylinderPotential.normalized_potentialDerivative_block_bound P D.T |
| 257 | D.potentialCoefficientPath D.potentialDerivative D.potentialCoefficientPath_orbit D.potentialDerivative_orbit |
| 258 | (velocityPath τ hτ hτT B G) (derivativePath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) (derivativePath_orbit τ hτ hτT B G) |
| 259 | g hg standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK hbKt d hbA hbAt n |
| 260 | |
| 261 | include hRc hC hA hR hbA hbK hbI in |
| 262 | theorem correctorPath_normalized_bound (n : ℕ) : |
| 263 | block standardDirection q |
| 264 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (correctorPath τ hτ hτT B G))) n 0 ≤ |
| 265 | (27*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by |
| 266 | have hp : 0 ≤ P := (Fact.out : 0 < P).le |
| 267 | have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC |
| 268 | have h := EulerCylinderSlowCurl.normalized_path_block_bound P g D.FInv.field |
| 269 | (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) hg D.FInv.translation_contDiff |
| 270 | q Rc C R (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR hbI d |
| 271 | (potentialPath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbK) n |
| 272 | exact h.trans_eq (by ring) |
| 273 | |
| 274 | include hRc hC hA hR hbA hbAt hbK hbKt hbI hbIt in |
| 275 | theorem correctorTimePath_normalized_bound (n : ℕ) : |
| 276 | block standardDirection q |
| 277 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (correctorTimePath τ hτ hτT B G))) n 0 ≤ |
| 278 | (108*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by |
| 279 | have hp : 0 ≤ P := (Fact.out : 0 < P).le |
| 280 | have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC |
| 281 | have hRn : 0 ≤ R := (sobolevCoefficientRadius_nonneg (ι := Fin 4) Rc hRc).trans hR |
| 282 | have hQ (j : ℕ) : block standardDirection q |
| 283 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialPath τ hτ hτT B G))) j 0 ≤ |
| 284 | (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d j := by |
| 285 | apply (potentialPath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbK j).trans |
| 286 | have hn := mul_nonneg |
| 287 | (show 0 ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A) by positivity) |
| 288 | (majorant_nonneg R hRn d j) |
| 289 | linarith |
| 290 | have h := EulerCylinderSlowCurl.normalized_derivative_block_bound P D.T g hg |
| 291 | D.FInv.field D.inverseDerivative (potentialPath τ hτ hτT B G) (potentialTimePath τ hτ hτT B G) |
| 292 | (potentialPath_orbit τ hτ hτT B G) (potentialTimePath_orbit τ hτ hτT B G) D.FInv.translation_contDiff D.inverseDerivative_orbit |
| 293 | q Rc C R (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR |
| 294 | hbI hbIt d hQ (potentialTimePath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbAt hbK hbKt) n |
| 295 | exact h.trans_eq (by ring) |
| 296 | |
| 297 | end EulerTransversePacketJoin |
| 298 | end |
| 299 | |
| 300 | end |
| 301 | |
| 302 | /-! ## From `Euler/TransversePacketJoinedBounds.lean` |
| 303 | |
| 304 | The text of `Euler/TransversePacketJoinedBounds.lean`, folded into this file, which was its only importer. -/ |
| 305 | |
| 306 | section |
| 307 | |
| 308 | /-! |
| 309 | The actual complete transverse inverse has one source-only radius budget. |
| 310 | Its bounds are linear in the forcing amplitude and independent of grade. |
| 311 | -/ |
| 312 | |
| 313 | noncomputable section |
| 314 | |
| 315 | namespace EulerTransversePacketJoin.Budget |
| 316 | |
| 317 | open Set ContinuousLinearMap EulerSmoothLimit EulerTransversePacketProvider |
| 318 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerPacketProfileRecursion |
| 319 | EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight |
| 320 | open scoped ContDiff |
| 321 | |
| 322 | variable {P : ℝ} [Fact (0 < P)] |
| 323 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 324 | {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} |
| 325 | {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} |
| 326 | (L : Budget D τ hτ hτT B ι q) {raw : VectorField} (G : Forcing P D raw) |
| 327 | (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) |
| 328 | (A : ℝ) (hA : 0 ≤ A) (d : ℕ) |
| 329 | (hforce : ∀ n, block directions q (fun a => pathTranslate P a |
| 330 | (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) |
| 331 | |
| 332 | include hdir hA hforce |
| 333 | |
| 334 | /-- The genuine joined velocity divided by its actual piecewise profile. -/ |
| 335 | theorem velocity_bound (n : ℕ) : |
| 336 | block directions q (fun a => pathTranslate P a |
| 337 | (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B G))) n 0 ≤ |
| 338 | (L.velocityCost*A)*majorant L.R (d+3) n := |
| 339 | amplitude_bound (fun {r} H => velocityPath τ hτ hτT B (H : Forcing P D r)) |
| 340 | (fun H => velocityPath_orbit τ hτ hτT B H) |
| 341 | (fun H J a he => velocityPath_eq_smul τ hτ hτT B H J a he) |
| 342 | L.fullProfile L.fullProfile_pos directions q L.R L.velocityCost d (d+3) |
| 343 | (fun H he => L.velocity_unit_bound H directions hdir d he) G A hA hforce n |
| 344 | |
| 345 | /-- The genuine time derivative divided by the same profile, with no g derivative. -/ |
| 346 | theorem derivative_bound (n : ℕ) : |
| 347 | block directions q (fun a => pathTranslate P a |
| 348 | (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B G))) n 0 ≤ |
| 349 | (L.derivativeCost*A)*majorant L.R (d+3) n := |
| 350 | amplitude_bound (fun {r} H => derivativePath τ hτ hτT B (H : Forcing P D r)) |
| 351 | (fun H => derivativePath_orbit τ hτ hτT B H) |
| 352 | (fun H J a he => derivativePath_eq_smul τ hτ hτT B H J a he) |
| 353 | L.fullProfile L.fullProfile_pos directions q L.R L.derivativeCost d (d+3) |
| 354 | (fun H he => L.derivative_unit_bound H directions hdir d he) G A hA hforce n |
| 355 | |
| 356 | end EulerTransversePacketJoin.Budget |
| 357 | end |
| 358 | |
| 359 | end |
| 360 | |
| 361 | noncomputable section |
| 362 | |
| 363 | namespace EulerTransversePacketJoin.Budget |
| 364 | |
| 365 | open Set ContinuousLinearMap EulerSmoothLimit EulerTransversePacketProvider |
| 366 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerPacketProfileRecursion |
| 367 | EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight EulerCylinderSobolev |
| 368 | EulerSourceNormalResidualBounds |
| 369 | open scoped ContDiff |
| 370 | |
| 371 | private theorem standard_norm (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by |
| 372 | cases i using Fin.cases <;> simp [Prod.norm_def] |
| 373 | |
| 374 | variable {P : ℝ} [Fact (0 < P)] |
| 375 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 376 | {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} |
| 377 | {B : HistoryData (D.initial τ hτ hτT.le)} {q : ℕ} |
| 378 | (L : Budget D τ hτ hτT B (Fin 4) q) (N : NormalBudget D q L.R) |
| 379 | |
| 380 | def pressureAmplitude : ℝ := P*pressureCost (Fin 4) q N.Ri N.C N.C 1 L.commonCost |
| 381 | def correctorAmplitude : ℝ := 27*N.blockAmplitude^2*(P*L.commonCost) |
| 382 | def correctorTimeAmplitude : ℝ := 108*N.blockAmplitude^2*(P*L.commonCost) |
| 383 | |
| 384 | variable {raw : VectorField} (G : Forcing P D raw) (A : ℝ) (hA : 0 ≤ A) (d : ℕ) |
| 385 | (hforce : ∀ n, block standardDirection q (fun a => pathTranslate P a |
| 386 | (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) |
| 387 | |
| 388 | include hA hforce |
| 389 | |
| 390 | theorem velocity_common_bound (n : ℕ) : |
| 391 | block standardDirection q (fun a => pathTranslate P a |
| 392 | (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B G))) n 0 ≤ |
| 393 | (L.commonCost*A)*majorant L.R (d+3) n := |
| 394 | (L.velocity_bound G standardDirection standard_norm A hA d hforce n).trans |
| 395 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right L.velocityCost_le_common hA) |
| 396 | (majorant_nonneg L.R (zero_le_one.trans L.radius_bounds.1) (d+3) n)) |
| 397 | |
| 398 | theorem derivative_common_bound (n : ℕ) : |
| 399 | block standardDirection q (fun a => pathTranslate P a |
| 400 | (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B G))) n 0 ≤ |
| 401 | (L.commonCost*A)*majorant L.R (d+3) n := |
| 402 | (L.derivative_bound G standardDirection standard_norm A hA d hforce n).trans |
| 403 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right L.derivativeCost_le_common hA) |
| 404 | (majorant_nonneg L.R (zero_le_one.trans L.radius_bounds.1) (d+3) n)) |
| 405 | |
| 406 | theorem pressure_bound (n : ℕ) : |
| 407 | block standardDirection q (fun a => pathTranslate P a |
| 408 | (normalize L.fullProfile L.fullProfile_pos (pressurePath τ hτ hτT B G))) n 0 ≤ |
| 409 | (L.pressureAmplitude (P := P) N*A)*majorant L.R (d+3) n := by |
| 410 | have hf (j : ℕ) : block standardDirection q (fun a => pathTranslate P a |
| 411 | (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) j 0 ≤ A*majorant L.R (d+3) j := |
| 412 | (hforce j).trans (mul_le_mul_of_nonneg_left |
| 413 | (majorant_mono_shift L.R L.radius_bounds.1 d (d+3) j (by omega)) hA) |
| 414 | have h := source_pressure_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos |
| 415 | standardDirection standard_norm q N.Rc N.C N.C N.Ri L.R A (L.commonCost*A) |
| 416 | N.Rc_nonneg N.C_nonneg N.C_nonneg hA (mul_nonneg L.commonCost_nonneg hA) |
| 417 | N.inverse_radius N.pressure_radius N.normal_bound N.strain_bound (d+3) hf |
| 418 | (L.velocity_common_bound G A hA d hforce) n |
| 419 | exact h.trans_eq (by unfold pressureAmplitude pressureCost; ring) |
| 420 | |
| 421 | theorem pressure_gradient_bound (n : ℕ) : |
| 422 | block standardDirection q (fun a => pathTranslate P a |
| 423 | (normalize L.fullProfile L.fullProfile_pos (scalarGradientField τ hτ hτT B G).path)) n 0 ≤ |
| 424 | (3*L.pressureAmplitude (P := P) N*A)*majorant L.R (d+4) n := by |
| 425 | have h := scalarGradientField_normalized_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos |
| 426 | q L.R (L.pressureAmplitude (P := P) N*A) (d+3) (L.pressure_bound N G A hA d hforce) n |
| 427 | simpa only [show d+3+1=d+4 by omega,mul_assoc] using h |
| 428 | |
| 429 | theorem corrector_bound (n : ℕ) : |
| 430 | block standardDirection q (fun a => pathTranslate P a |
| 431 | (normalize L.fullProfile L.fullProfile_pos (correctorPath τ hτ hτT B G))) n 0 ≤ |
| 432 | (L.correctorAmplitude (P := P) N*A)*majorant L.R (d+4) n := by |
| 433 | have hc := N.coefficient_bounds |
| 434 | have h := correctorPath_normalized_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos |
| 435 | q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) |
| 436 | hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+3) |
| 437 | (L.velocity_common_bound G A hA d hforce) |
| 438 | (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).1) n |
| 439 | rw [show d+3+1=d+4 by omega] at h |
| 440 | exact h.trans_eq (by unfold correctorAmplitude NormalBudget.blockAmplitude; ring) |
| 441 | |
| 442 | theorem corrector_time_bound (n : ℕ) : |
| 443 | block standardDirection q (fun a => pathTranslate P a |
| 444 | (normalize L.fullProfile L.fullProfile_pos (correctorTimePath τ hτ hτT B G))) n 0 ≤ |
| 445 | (L.correctorTimeAmplitude (P := P) N*A)*majorant L.R (d+4) n := by |
| 446 | have hc := N.coefficient_bounds |
| 447 | have h := correctorTimePath_normalized_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos |
| 448 | q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) |
| 449 | hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+3) |
| 450 | (L.velocity_common_bound G A hA d hforce) (L.derivative_common_bound G A hA d hforce) |
| 451 | (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).2.2.2) |
| 452 | (fun j a => (hc.2.2 j a).1) (fun j a => (hc.2.2 j a).2.1) n |
| 453 | rw [show d+3+1=d+4 by omega] at h |
| 454 | exact h.trans_eq (by unfold correctorTimeAmplitude NormalBudget.blockAmplitude; ring) |
| 455 | |
| 456 | end EulerTransversePacketJoin.Budget |