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.DriftCorrectionForcing |
| 2 | import Euler.GevreyNonlinearEstimate |
| 3 | import Euler.NonlinearEnergyConstants |
| 4 | import Euler.CorrectionEnergyScalar |
| 5 | import Euler.DriftCorrectionBudget |
| 6 | import Euler.CorrectionEnergyRestriction |
| 7 | import Euler.MildMajorantEnergy |
| 8 | import Euler.CorrectionEnergyBootstrap |
| 9 | |
| 10 | /-! The actual nonlinear viscous correction closes its shrinking-radius Gevrey bootstrap from the constructed mild equation. -/ |
| 11 | |
| 12 | /-! ## From `Euler/DriftEnergyConstants.lean` |
| 13 | |
| 14 | The text of `Euler/DriftEnergyConstants.lean`, folded into this file, which was its only importer. -/ |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! Separate the full background norm from the drift norm in the radius-loss term. -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | namespace EulerDriftEnergyConstants |
| 23 | |
| 24 | open EulerGevreyCorrectionBound EulerGevreyMetricEstimate EulerGevreyGrowthCoefficient |
| 25 | EulerNonlinearEnergyConstants |
| 26 | |
| 27 | variable (period : ℝ) [Fact (0 < period)] |
| 28 | |
| 29 | /-- The full velocity enters the zero-order coefficient; only the drift enters the loss term. -/ |
| 30 | def forcingPolynomial (B M Z0 B0 B1 A0 A2 residual c Rc ρ X Y : ℝ) : ℝ := |
| 31 | sourceConstant B M * residual + linearCoefficient period B M Z0 B1 A0 A2 c * X + |
| 32 | quadraticCoefficient period B M A2 c * X ^ 2 + |
| 33 | lossCoefficient period M c * (ρ⁻¹ + Rc) * (B0 + X) * Y |
| 34 | |
| 35 | /-- The existing polynomial growth constant absorbs the sharp drift forcing without |
| 36 | replacing its small drift envelope by the full background envelope. -/ |
| 37 | theorem actual_scalar_bound (g0 g1 k B M Z0 B0 B1 A0 A2 c Rc ρ residual X Y b : ℝ) |
| 38 | (hg0 : 0 ≤ g0) (hg1 : 0 ≤ g1) (hk : 0 ≤ k) (hB : 0 ≤ B) (hM : 0 ≤ M) |
| 39 | (hZ0 : 0 ≤ Z0) (hB0 : 0 ≤ B0) (hB1 : 0 ≤ B1) (hA0 : 0 ≤ A0) |
| 40 | (hA2 : 0 ≤ A2) (hc : 0 < c) (hRc : 0 ≤ Rc) (hρ : 0 < ρ) |
| 41 | (hr : 0 ≤ residual) (hX : 0 ≤ X) (hY : 0 ≤ Y) : |
| 42 | let C := energyConstant period g0 g1 k B M Z0 B1 A0 A2 c |
| 43 | (g0 + g1 * X) * X + b * Y + |
| 44 | k * forcingPolynomial period B M Z0 B0 B1 A0 A2 residual c Rc ρ X Y ≤ |
| 45 | C * (X + X ^ 2 + residual) + (b + C * (ρ⁻¹ + Rc) * (B0 + X)) * Y := by |
| 46 | obtain ⟨hl, hq, hd⟩ := coefficients_nonneg period B M Z0 B1 A0 A2 c |
| 47 | hB hM hZ0 hB1 hA0 hA2 hc |
| 48 | have hs := sourceConstant_nonneg hB hM |
| 49 | have h := absorb_scalar_coefficients g0 g1 (k * sourceConstant B M) |
| 50 | (k * linearCoefficient period B M Z0 B1 A0 A2 c) |
| 51 | (k * quadraticCoefficient period B M A2 c) (k * lossCoefficient period M c) |
| 52 | residual X Y B0 (ρ⁻¹ + Rc) (energyConstant period g0 g1 k B M Z0 B1 A0 A2 c) |
| 53 | hg0 hg1 (mul_nonneg hk hs) (mul_nonneg hk hl) (mul_nonneg hk hq) |
| 54 | (mul_nonneg hk hd) hr hX hY hB0 (add_nonneg (inv_nonneg.mpr hρ.le) hRc) |
| 55 | (le_refl _) b |
| 56 | calc |
| 57 | _ = (g0 + g1 * X) * X + b * Y + |
| 58 | ((k * sourceConstant B M) * residual + |
| 59 | (k * linearCoefficient period B M Z0 B1 A0 A2 c) * X + |
| 60 | (k * quadraticCoefficient period B M A2 c) * X ^ 2 + |
| 61 | (k * lossCoefficient period M c) * (ρ⁻¹ + Rc) * (B0 + X) * Y) := by |
| 62 | unfold forcingPolynomial |
| 63 | ring |
| 64 | _ ≤ _ := h |
| 65 | |
| 66 | end EulerDriftEnergyConstants |
| 67 | end |
| 68 | |
| 69 | end |
| 70 | |
| 71 | /-! ## From `Euler/DriftNonlinearEstimate.lean` |
| 72 | |
| 73 | The text of `Euler/DriftNonlinearEstimate.lean`, folded into this file, which was its only importer. -/ |
| 74 | |
| 75 | section |
| 76 | |
| 77 | /-! Actual nonlinear forcing with separate full-background and drift envelopes. -/ |
| 78 | |
| 79 | noncomputable section |
| 80 | |
| 81 | namespace EulerDriftNonlinearEstimate |
| 82 | |
| 83 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 84 | EulerSpatialSobolevInverse EulerH6Pressure EulerSobolevGevreyOperators EulerGevreyCorrectionForcing |
| 85 | EulerH6Nonlinear EulerSobolevTransportCommutator EulerGevreyPressureTransport EulerSobolevCoefficientPressure |
| 86 | EulerGevreyMetricComparison EulerWeightedCylinderEnergy EulerGevreyRestriction EulerGevreyOrderZero |
| 87 | EulerGevreyCorrectionBound EulerGevreyNonlinearEstimate EulerSobolevDriftNorm EulerFunctionalVelocity |
| 88 | |
| 89 | /-- The factor four is spent only on the correction drift, recovering the original uniform loss constant. -/ |
| 90 | theorem drift_loss_absorption (P M Rc ρ B E Y D : ℝ) |
| 91 | (hP : 0 ≤ P) (hM : 0 ≤ M) (hRc : 0 ≤ Rc) (hρ : 0 < ρ) |
| 92 | (hB : 0 ≤ B) (hE : 0 ≤ E) (hY : 0 ≤ Y) (hD : D ≤ 4*(B+E)) : |
| 93 | (P*ρ⁻¹+8*Rc*M*P)*D*Y ≤ ((4+32*M)*P)*(ρ⁻¹+Rc)*(B+E)*Y := by |
| 94 | have ha : 0 ≤ P*ρ⁻¹+8*Rc*M*P := by positivity |
| 95 | have hc : 4*(P*ρ⁻¹+8*Rc*M*P) ≤ ((4+32*M)*P)*(ρ⁻¹+Rc) := by |
| 96 | have h1 := mul_nonneg hP hRc |
| 97 | have h2 := mul_nonneg (mul_nonneg hM hP) (inv_nonneg.mpr hρ.le) |
| 98 | linarith only [h1,h2] |
| 99 | calc |
| 100 | _ ≤ (P*ρ⁻¹+8*Rc*M*P)*(4*(B+E))*Y := |
| 101 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hD ha) hY |
| 102 | _ = (4*(P*ρ⁻¹+8*Rc*M*P))*(B+E)*Y := by ring |
| 103 | _ ≤ _ := mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hc (add_nonneg hB hE)) hY |
| 104 | |
| 105 | /-- Scalar assembly keeps the independent full-velocity and drift envelopes in their respective terms. -/ |
| 106 | theorem polynomial_assembly (S T D Z B P B1 A0 A2 R E Y V F H : ℝ) |
| 107 | (hS : 0 ≤ S) (hT : 0 ≤ T) (hE : 0 ≤ E) |
| 108 | (hV : V ≤ Z+E) (hF : F ≤ R+(P*B1+A0+2*A2*P*Z)*E+A2*P*E^2) |
| 109 | (hH : H ≤ S*F+T*V*E+D*(B+E)*Y) : |
| 110 | H ≤ S*R+(S*(P*B1+A0+2*A2*P*Z)+T*Z)*E+(S*A2*P+T)*E^2+D*(B+E)*Y := by |
| 111 | have h := add_le_add (add_le_add (mul_le_mul_of_nonneg_left hF hS) |
| 112 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hV hT) hE)) (le_refl (D*(B+E)*Y)) |
| 113 | exact hH.trans (h.trans_eq (by ring)) |
| 114 | |
| 115 | variable (period : ℝ) [Fact (0 < period)] |
| 116 | |
| 117 | /-- The literal seven-term Euler forcing has a scalar bound preserving the actual small background drift. -/ |
| 118 | theorem correctionForcing_polynomial {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 119 | (KG : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 120 | (KG0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 121 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 122 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 123 | (N : ℕ) (hN : N+6 ≤ s) (ρ Rc M B : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) (hB : 0 ≤ B) |
| 124 | (hbase5 : (EulerH6Pressure.CoefficientJet.restrict KG 5 (by omega)).pressureConstant c ≤ M) |
| 125 | (hbase6 : (EulerH6Pressure.CoefficientJet.restrict KG 6 (by omega)).pressureConstant c ≤ M) |
| 126 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 127 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period KG 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 128 | (hG : ∀ r ≤ 6, EulerJetProductBounds.boundLevel period KG r ≤ B) |
| 129 | (hG0 : ∀ r ≤ 6, EulerJetProductBounds.boundLevel period KG0 r ≤ B) |
| 130 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 131 | (C0 : SmoothCoefficient period) (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s C0) |
| 132 | (C : Fin 3 → SmoothCoefficient period) |
| 133 | (K : ∀ i, EulerSpatialSobolevInverse.CoefficientJet period standardDirection s (C i)) |
| 134 | (z e : SobolevSpace period (s+1)) (r : SobolevSpace period s) |
| 135 | (Z0 B0 B1 A0 A2 R : ℝ) (hA2 : 0 ≤ A2) |
| 136 | (hz : weightedNorm period 6 N ρ z ≤ Z0) |
| 137 | (hb : weightedDriftNorm period 6 N ρ (velocityMap L) z ≤ B0) |
| 138 | (hdz : (∑ i : Fin 4, weightedNorm period 6 N ρ (derivativeOperator period s i z)) ≤ B1) |
| 139 | (hC0 : weightedCoefficient period K0 6 N ρ ≤ A0) |
| 140 | (hC : (∑ i : Fin 3, weightedCoefficient period (K i) 6 N ρ) ≤ A2) |
| 141 | (hr : weightedNorm period 6 N ρ r ≤ R) : |
| 142 | let f := orderZeroSource period hs L hL (coefficientSobolevOperator period K0) |
| 143 | (fun i => coefficientSobolevOperator period (K i)) z r (truncateOperator period s e) |
| 144 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) |
| 145 | (correctionForcing period hs KG KG0 N hN L hL (z+e) e f |
| 146 | (pressureSobolevOperator period KG κ m c hc hpos f) (transportPressure period hs KG κ m c hc hpos L hL (z+e) e)) ≤ |
| 147 | sourceConstant B M*R+ |
| 148 | (sourceConstant B M*(productConstant period 3*B1+A0+2*A2*productConstant period 3*Z0)+transportConstant period B M*Z0)* |
| 149 | weightedNorm period 6 N ρ e+ |
| 150 | (sourceConstant B M*A2*productConstant period 3+transportConstant period B M)*(weightedNorm period 6 N ρ e)^2+ |
| 151 | lossConstant period M*(ρ⁻¹+Rc)*(B0+weightedNorm period 6 N ρ e)*weightedLoss period 6 N ρ e := by |
| 152 | let f := orderZeroSource period hs L hL (coefficientSobolevOperator period K0) |
| 153 | (fun i => coefficientSobolevOperator period (K i)) z r (truncateOperator period s e) |
| 154 | have hf := orderZeroSource_uniform period hs N hN ρ hρ L hL C0 K0 C K z e r Z0 B1 A0 A2 R hA2 hz hdz hC0 hC hr |
| 155 | have hv := (weightedNorm_add_le period 6 N (by omega : N+6 ≤ s+1) ρ hρ z e).trans |
| 156 | (add_le_add hz (le_refl (weightedNorm period 6 N ρ e))) |
| 157 | have hB0 : 0 ≤ B0 := (weightedDriftNorm_nonneg period 6 N ρ hρ (velocityMap L) z).trans hb |
| 158 | have heD := weightedDriftNorm_velocityMap_le period 6 N ρ hρ L hL e |
| 159 | have hD : weightedDriftNorm period 6 N ρ (velocityMap L) (z+e) ≤ |
| 160 | 4*(B0+weightedNorm period 6 N ρ e) := by |
| 161 | have h := (weightedDriftNorm_add_le period 6 N (by omega : N+6 ≤ s+1) ρ hρ (velocityMap L) z e).trans |
| 162 | (add_le_add hb heD) |
| 163 | linarith only [h,hB0] |
| 164 | have hraw := EulerDriftCorrectionForcing.correctionForcing_uniform_bound period hs KG KG0 κ m c hc hpos |
| 165 | N hN ρ Rc M B hρ hRc hM hbase5 hbase6 hsmall hcoeff hG hG0 L hL (z+e) e f |
| 166 | have hloss : (productConstant period 3*ρ⁻¹+8*Rc*M*productConstant period 3)* |
| 167 | weightedDriftNorm period 6 N ρ (velocityMap L) (z+e)*weightedLoss period 6 N ρ e ≤ |
| 168 | lossConstant period M*(ρ⁻¹+Rc)*(B0+weightedNorm period 6 N ρ e)*weightedLoss period 6 N ρ e := by |
| 169 | simpa only [lossConstant] using drift_loss_absorption (productConstant period 3) M Rc ρ B0 |
| 170 | (weightedNorm period 6 N ρ e) (weightedLoss period 6 N ρ e) |
| 171 | (weightedDriftNorm period 6 N ρ (velocityMap L) (z+e)) |
| 172 | (productConstant_nonneg period 3) (by linarith) hRc hρ hB0 |
| 173 | (weightedNorm_nonneg period 6 N ρ hρ e) (weightedLoss_nonneg period 6 N ρ hρ e) hD |
| 174 | have h := hraw.trans (add_le_add (le_refl _) hloss) |
| 175 | exact polynomial_assembly (sourceConstant B M) (transportConstant period B M) |
| 176 | (lossConstant period M*(ρ⁻¹+Rc)) Z0 B0 (productConstant period 3) B1 A0 A2 R |
| 177 | (weightedNorm period 6 N ρ e) (weightedLoss period 6 N ρ e) (weightedNorm period 6 N ρ (z+e)) |
| 178 | (weightedNorm period 6 N ρ f) _ |
| 179 | (sourceConstant_nonneg hB (by linarith)) (transportConstant_nonneg period hB (by linarith)) |
| 180 | (weightedNorm_nonneg period 6 N ρ hρ e) hv hf h |
| 181 | |
| 182 | end EulerDriftNonlinearEstimate |
| 183 | end |
| 184 | |
| 185 | end |
| 186 | |
| 187 | /-! ## From `Euler/DriftMetricForcing.lean` |
| 188 | |
| 189 | The text of `Euler/DriftMetricForcing.lean`, folded into this file, which was its only importer. -/ |
| 190 | |
| 191 | section |
| 192 | |
| 193 | /-! The actual correction forcing in metric energy with distinct full-background and small-drift budgets. -/ |
| 194 | |
| 195 | noncomputable section |
| 196 | |
| 197 | namespace EulerDriftMetricForcing |
| 198 | |
| 199 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 200 | EulerSpatialSobolevInverse EulerH6Pressure EulerSobolevGevreyOperators EulerGevreyCorrectionForcing |
| 201 | EulerH6Nonlinear EulerSobolevTransportCommutator EulerGevreyPressureTransport EulerSobolevCoefficientPressure |
| 202 | EulerGevreyMetricComparison EulerWeightedCylinderEnergy EulerGevreyRestriction EulerGevreyOrderZero |
| 203 | EulerGevreyCorrectionBound EulerGevreyMetricEstimate EulerSobolevDriftNorm EulerFunctionalVelocity |
| 204 | |
| 205 | variable (period : ℝ) [Fact (0 < period)] |
| 206 | |
| 207 | /-- The genuine seven-term correction forcing obeys the metric polynomial retaining the small drift envelope. -/ |
| 208 | theorem correctionForcing_metric {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 209 | (KG : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 210 | (KG0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 211 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 212 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 213 | (N : ℕ) (hN : N+6 ≤ s) (ρ Rc M B : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) (hB : 0 ≤ B) |
| 214 | (hbase5 : (EulerH6Pressure.CoefficientJet.restrict KG 5 (by omega)).pressureConstant c ≤ M) |
| 215 | (hbase6 : (EulerH6Pressure.CoefficientJet.restrict KG 6 (by omega)).pressureConstant c ≤ M) |
| 216 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 217 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period KG 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 218 | (hG : ∀ r ≤ 6, EulerJetProductBounds.boundLevel period KG r ≤ B) |
| 219 | (hG0 : ∀ r ≤ 6, EulerJetProductBounds.boundLevel period KG0 r ≤ B) |
| 220 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 221 | (C0 : SmoothCoefficient period) (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s C0) |
| 222 | (C : Fin 3 → SmoothCoefficient period) |
| 223 | (K : ∀ i, EulerSpatialSobolevInverse.CoefficientJet period standardDirection s (C i)) |
| 224 | (z e : SobolevSpace period (s+1)) (r : SobolevSpace period s) |
| 225 | (Z0 B0 B1 A0 A2 R : ℝ) (hA2 : 0 ≤ A2) |
| 226 | (hz : weightedNorm period 6 N ρ z ≤ Z0) |
| 227 | (hb : weightedDriftNorm period 6 N ρ (velocityMap L) z ≤ B0) |
| 228 | (hdz : (∑ i : Fin 4, weightedNorm period 6 N ρ (derivativeOperator period s i z)) ≤ B1) |
| 229 | (hC0 : weightedCoefficient period K0 6 N ρ ≤ A0) |
| 230 | (hC : (∑ i : Fin 3, weightedCoefficient period (K i) 6 N ρ) ≤ A2) |
| 231 | (hr : weightedNorm period 6 N ρ r ≤ R) |
| 232 | (KM : LiftL2 period →L[ℝ] LiftL2 period) (cM : ℝ) (hcM : 0 < cM) |
| 233 | (hKM : ∀ v, cM^2*‖v‖^2 ≤ ⟪KM v,v⟫_ℝ) : |
| 234 | let f := orderZeroSource period hs L hL (coefficientSobolevOperator period K0) |
| 235 | (fun i => coefficientSobolevOperator period (K i)) z r (truncateOperator period s e) |
| 236 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) |
| 237 | (correctionForcing period hs KG KG0 N hN L hL (z+e) e f |
| 238 | (pressureSobolevOperator period KG κ m c hc hpos f) (transportPressure period hs KG κ m c hc hpos L hL (z+e) e)) ≤ |
| 239 | EulerDriftEnergyConstants.forcingPolynomial period B M Z0 B0 B1 A0 A2 R cM Rc ρ |
| 240 | (energyNorm period N (by omega : N+6 ≤ s+1) ρ KM e) |
| 241 | (energyLoss period N (by omega : N+6 ≤ s+1) ρ KM e) := by |
| 242 | let f := orderZeroSource period hs L hL (coefficientSobolevOperator period K0) |
| 243 | (fun i => coefficientSobolevOperator period (K i)) z r (truncateOperator period s e) |
| 244 | have h := EulerDriftNonlinearEstimate.correctionForcing_polynomial period hs KG KG0 κ m c hc hpos N hN ρ Rc M B hρ hRc hM hB |
| 245 | hbase5 hbase6 hsmall hcoeff hG hG0 L hL C0 K0 C K z e r Z0 B0 B1 A0 A2 R hA2 hz hb hdz hC0 hC hr |
| 246 | have hM0 : 0 ≤ M := by linarith |
| 247 | have hP := productConstant_nonneg period 3 |
| 248 | have hz0 : 0 ≤ Z0 := (weightedNorm_nonneg period 6 N ρ hρ z).trans hz |
| 249 | have hb0 : 0 ≤ B0 := (weightedDriftNorm_nonneg period 6 N ρ hρ (velocityMap L) z).trans hb |
| 250 | have hb1 : 0 ≤ B1 := (Finset.sum_nonneg (fun i _ => |
| 251 | weightedNorm_nonneg period 6 N ρ hρ (derivativeOperator period s i z))).trans hdz |
| 252 | have ha0 : 0 ≤ A0 := (weightedCoefficient_nonneg period K0 6 N ρ hρ).trans hC0 |
| 253 | have hsf := sourceConstant_nonneg hB hM0 |
| 254 | have htf := transportConstant_nonneg period hB hM0 |
| 255 | have hlf := lossConstant_nonneg period hM0 |
| 256 | have hlin : 0 ≤ sourceConstant B M*(productConstant period 3*B1+A0+2*A2*productConstant period 3*Z0)+ |
| 257 | transportConstant period B M*Z0 := by positivity |
| 258 | have hquad : 0 ≤ sourceConstant B M*A2*productConstant period 3+transportConstant period B M := by positivity |
| 259 | have hconv := metric_polynomial_conversion (sourceConstant B M) |
| 260 | (sourceConstant B M*(productConstant period 3*B1+A0+2*A2*productConstant period 3*Z0)+transportConstant period B M*Z0) |
| 261 | (sourceConstant B M*A2*productConstant period 3+transportConstant period B M) |
| 262 | (lossConstant period M*(ρ⁻¹+Rc)) R B0 (metricAmplification cM) |
| 263 | (weightedNorm period 6 N ρ e) (weightedLoss period 6 N ρ e) |
| 264 | (energyNorm period N (by omega : N+6 ≤ s+1) ρ KM e) (energyLoss period N (by omega : N+6 ≤ s+1) ρ KM e) _ |
| 265 | hlin hquad (mul_nonneg hlf (add_nonneg (inv_nonneg.mpr hρ.le) hRc)) hb0 (metricAmplification_one_le hcM) |
| 266 | (weightedNorm_nonneg period 6 N ρ hρ e) (weightedLoss_nonneg period 6 N ρ hρ e) |
| 267 | (energyNorm_nonneg period N (by omega : N+6 ≤ s+1) ρ hρ KM e) |
| 268 | (weightedNorm_le_energy period N (by omega : N+6 ≤ s+1) ρ hρ KM e cM hcM hKM) |
| 269 | (weightedLoss_le_energy period N (by omega : N+6 ≤ s+1) ρ hρ KM e cM hcM hKM) h |
| 270 | |
| 271 | simpa only [EulerDriftEnergyConstants.forcingPolynomial, |
| 272 | EulerNonlinearEnergyConstants.linearCoefficient, EulerNonlinearEnergyConstants.quadraticCoefficient, |
| 273 | EulerNonlinearEnergyConstants.lossCoefficient, mul_assoc, mul_left_comm] using hconv |
| 274 | |
| 275 | end EulerDriftMetricForcing |
| 276 | end |
| 277 | |
| 278 | end |
| 279 | |
| 280 | /-! ## From `Euler/DriftEnergyMajorants.lean` |
| 281 | |
| 282 | The text of `Euler/DriftEnergyMajorants.lean`, folded into this file, which was its only importer. -/ |
| 283 | |
| 284 | section |
| 285 | |
| 286 | /-! Continuous energy majorants that retain the actual small transport drift. -/ |
| 287 | |
| 288 | noncomputable section |
| 289 | |
| 290 | namespace EulerDriftEnergyMajorants |
| 291 | |
| 292 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 293 | EulerCorrectionOperators EulerCorrectionEnergyData EulerCorrectionEnergyMajorants |
| 294 | EulerEnergyMetricPaths EulerGevreyMetricEstimate EulerTimeLpSubintervalBound |
| 295 | EulerVolterraConvolution EulerDriftCorrectionBudget |
| 296 | open scoped Topology |
| 297 | |
| 298 | variable (period : ℝ) [Fact (0 < period)] |
| 299 | |
| 300 | /-- The sharp polynomial is evaluated on the actual continuous metric energy paths. -/ |
| 301 | def forcingMajorant {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 302 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} |
| 303 | {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 304 | (S : Budget period hq D N R) (hN : N+6 ≤ q+1) |
| 305 | {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 306 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) : C(Icc (0 : ℝ) T, ℝ) := by |
| 307 | let X := energyPath period N hN T R (K.operatorPath period) e |
| 308 | let Y := lossPath period N hN T R (K.operatorPath period) e |
| 309 | refine ⟨fun t => EulerDriftEnergyConstants.forcingPolynomial period |
| 310 | S.full.B S.full.M S.full.B0 S.drift S.full.B1 S.full.A0 S.full.A2 |
| 311 | S.full.residual K.c S.full.Rc (R t) (X t) (Y t), ?_⟩ |
| 312 | have hi : Continuous (fun t => (R t)⁻¹) := |
| 313 | R.continuous.inv₀ (fun t => (S.full.radius_pos t).ne') |
| 314 | unfold EulerDriftEnergyConstants.forcingPolynomial |
| 315 | fun_prop |
| 316 | |
| 317 | /-- The genuine scalar majorant retains full velocity only in terms with no derivative loss. -/ |
| 318 | def correctionRhs {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 319 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} |
| 320 | {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 321 | (S : Budget period hq D N R) (hN : N+6 ≤ q+1) |
| 322 | {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 323 | (Rdot : C(Icc (0 : ℝ) T, ℝ)) |
| 324 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) : C(Icc (0 : ℝ) T, ℝ) := |
| 325 | scalarEnergyRhs T (growthPath period S.full hN K e) |
| 326 | (radiusLossPath R Rdot S.full.radius_pos) (ContinuousMap.const _ (K.multiplier period)) |
| 327 | (energyPath period N hN T R (K.operatorPath period) e) |
| 328 | (lossPath period N hN T R (K.operatorPath period) e) |
| 329 | (forcingMajorant period S hN K e) |
| 330 | |
| 331 | /-- The source's radius-loss factor uses the drift envelope, with the unchanged full-data growth constant. -/ |
| 332 | theorem correctionRhs_bound {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 333 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} |
| 334 | {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 335 | (S : Budget period hq D N R) (hN : N+6 ≤ q+1) |
| 336 | {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 337 | (Rdot : C(Icc (0 : ℝ) T, ℝ)) |
| 338 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (t : Icc (0 : ℝ) T) : |
| 339 | let X := energyPath period N hN T R (K.operatorPath period) e t |
| 340 | let Y := lossPath period N hN T R (K.operatorPath period) e t |
| 341 | let C := combinedConstant period S.full K |
| 342 | correctionRhs period S hN K Rdot e t ≤ C * (X + X ^ 2 + S.full.residual) + |
| 343 | (Rdot t / R t + C * ((R t)⁻¹ + S.full.Rc) * (S.drift + X)) * Y := by |
| 344 | obtain ⟨hg0, hg1, hk⟩ := K.constants_nonneg period S.full.B0 S.full.B0_nonneg |
| 345 | exact EulerDriftEnergyConstants.actual_scalar_bound period |
| 346 | (K.growth0 period S.full.B0) (K.growth1 period) (K.multiplier period) |
| 347 | S.full.B S.full.M S.full.B0 S.drift S.full.B1 S.full.A0 S.full.A2 K.c |
| 348 | S.full.Rc (R t) S.full.residual |
| 349 | (energyPath period N hN T R (K.operatorPath period) e t) |
| 350 | (lossPath period N hN T R (K.operatorPath period) e t) (Rdot t / R t) |
| 351 | hg0 hg1 hk S.full.B_nonneg (zero_le_one.trans S.full.M_one_le) |
| 352 | S.full.B0_nonneg S.drift_nonneg S.full.B1_nonneg S.full.A0_nonneg |
| 353 | S.full.A2_nonneg K.c_pos S.full.Rc_nonneg (S.full.radius_pos t) |
| 354 | S.full.residual_pos.le (energy_nonneg period S.full hN K e t) |
| 355 | (loss_nonneg period S.full hN K e t) |
| 356 | |
| 357 | end EulerDriftEnergyMajorants |
| 358 | end |
| 359 | |
| 360 | end |
| 361 | |
| 362 | /-! ## From `Euler/DriftCorrectionEnergyBound.lean` |
| 363 | |
| 364 | The text of `Euler/DriftCorrectionEnergyBound.lean`, folded into this file, which was its only importer. -/ |
| 365 | |
| 366 | section |
| 367 | |
| 368 | /-! The actual time-dependent correction forcing obeys the sharp drift majorant. -/ |
| 369 | |
| 370 | noncomputable section |
| 371 | |
| 372 | namespace EulerDriftCorrectionEnergyBound |
| 373 | |
| 374 | open MeasureTheory Set InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 375 | EulerCylinderSobolev EulerSpatialSobolevInverse EulerCorrectionOperators |
| 376 | EulerCorrectionEnergyTime EulerEnergyMetricPaths EulerGevreyMetricEstimate |
| 377 | EulerH6Pressure EulerSobolevGevreyOperators EulerSobolevTransportCommutator |
| 378 | EulerSobolevTransport EulerH6Nonlinear EulerGevreyMetricComparison EulerTimeLp |
| 379 | EulerVolterraConvolution EulerSobolevWordValueIdentity EulerRegularizedTopBlocks |
| 380 | EulerGevreyOrderZero EulerTimeCorrectionSource EulerWeightedCylinderEnergy |
| 381 | EulerCorrectionEnergyData EulerDriftCorrectionBudget EulerDriftEnergyMajorants |
| 382 | EulerFunctionalVelocity EulerSobolevDriftNorm |
| 383 | open scoped Topology |
| 384 | |
| 385 | variable (period : ℝ) [Fact (0 < period)] |
| 386 | |
| 387 | /-- The actual correction array is controlled by the continuous drift majorant, |
| 388 | independently of its auxiliary higher-Sobolev representative. -/ |
| 389 | theorem correctionArray_bound {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 390 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} |
| 391 | {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 392 | (S : Budget period hq D N R) (hN : N+6 ≤ q+1) |
| 393 | {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 394 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 395 | (V : SobolevSpace period ((q+1)+1)) (τ : Icc (0 : ℝ) T) |
| 396 | (hV : truncateOperator period (q+1) V = e τ) : |
| 397 | weightedForcingSum (R τ) (fun I : ExternalWord N => I.1.val) |
| 398 | (correctionArray period hq D (baseMetricJet period hq D) N hN e V τ) ≤ |
| 399 | forcingMajorant period S hN K e τ := by |
| 400 | have h := EulerDriftMetricForcing.correctionForcing_metric period hq |
| 401 | (D.metric.jet τ) (baseMetricJet period hq D τ) |
| 402 | D.κ D.direction D.coercivity D.coercivity_pos (D.metric_pos τ) |
| 403 | N hN (R τ) S.full.Rc S.full.M S.full.B (S.full.radius_pos τ) |
| 404 | S.full.Rc_nonneg S.full.M_one_le S.full.B_nonneg |
| 405 | (S.full.inverse_five τ) (S.full.inverse_six τ) (S.full.radius_small τ) |
| 406 | (S.full.metric_derivatives τ) (S.full.metric_base τ) (S.full.base_bound period τ) |
| 407 | (velocityComponents D.κ D.direction) |
| 408 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) |
| 409 | (D.linear.coefficient τ) (D.linear.jet τ) |
| 410 | (fun i => (D.quadratic i).coefficient τ) (fun i => (D.quadratic i).jet τ) |
| 411 | (D.approximation τ) V (D.residual τ) |
| 412 | S.full.B0 S.drift S.full.B1 S.full.A0 S.full.A2 S.full.residual S.full.A2_nonneg |
| 413 | (S.full.background τ) (S.drift_bound τ) (S.full.background_derivative τ) |
| 414 | (S.full.linear τ) (S.full.quadratic τ) (S.full.residual_bound τ) |
| 415 | (K.operatorPath period τ) K.c K.c_pos (K.operator_coercive period τ) |
| 416 | have hv : value period V = value period (e τ) := congrArg (value period) hV |
| 417 | rw [energyNorm_of_value_eq period N (by omega) hN (R τ) (K.operatorPath period τ) V (e τ) hv, |
| 418 | energyLoss_of_value_eq period N (by omega) hN (R τ) (K.operatorPath period τ) V (e τ) hv] at h |
| 419 | simpa only [correctionArray, lowerOrderPath, orderZeroPath, ContinuousMap.coe_mk, |
| 420 | CoefficientPath.operatorPath, EulerGevreyPressureTransport.transportPressure, hV, |
| 421 | forcingMajorant, energyPath_apply, lossPath_apply] using h |
| 422 | |
| 423 | /-- The full Bochner forcing inherits the drift bound from the actual spatial fields. -/ |
| 424 | theorem weightedCorrectionForcing_bound {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 425 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} |
| 426 | {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 427 | (S : Budget period hq D N R) (hN : N+6 ≤ q+1) |
| 428 | {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 429 | (hG : Continuous (fun t => (D.metric.coefficient t).operator)) |
| 430 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 431 | (U : TimeLp T (SobolevSpace period (2+q))) |
| 432 | (hU : Filter.Tendsto (fun n => pathLp T hT (maximalApproximation period q T n e)) |
| 433 | Filter.atTop (𝓝 U)) : |
| 434 | (weightedCorrectionForcing period hq T hT D hG N hN R e U : ℝ → ℝ) ≤ᵐ[timeMeasure T] |
| 435 | extendPath T hT (forcingMajorant period S hN K e) := by |
| 436 | filter_upwards [weightedCorrectionForcing_ae period hq T hT D hG |
| 437 | (baseMetricJet period hq D) N hN R e U hU, |
| 438 | reindexMaximalTime_restriction period T hT e U hU] with t hforce hv |
| 439 | exact hforce.le.trans (correctionArray_bound period S hN K e |
| 440 | (reindexMaximalTime period q T U t) (projIcc 0 T hT t) hv) |
| 441 | |
| 442 | end EulerDriftCorrectionEnergyBound |
| 443 | end |
| 444 | |
| 445 | end |
| 446 | |
| 447 | /-! ## From `Euler/DriftCorrectionMildEnergy.lean` |
| 448 | |
| 449 | The text of `Euler/DriftCorrectionMildEnergy.lean`, folded into this file, which was its only importer. -/ |
| 450 | |
| 451 | section |
| 452 | |
| 453 | /-! Actual nonlinear correction mild solutions obey the drift-sensitive integral energy estimate. -/ |
| 454 | |
| 455 | noncomputable section |
| 456 | |
| 457 | namespace EulerDriftCorrectionMildEnergy |
| 458 | |
| 459 | open MeasureTheory Set InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 460 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerSobolevCoefficientPressure EulerCorrectionLowerData |
| 461 | EulerCorrectionEnergyRestriction EulerCorrectionEnergyTime EulerCorrectionEnergyData EulerCorrectionEnergyMajorants |
| 462 | EulerEnergyMetricPaths EulerGevreyMetricEstimate EulerMildMajorantEnergy EulerEnergyWordCoordinates |
| 463 | EulerTimeLpSubintervalBound EulerTimeLp EulerVolterraConvolution EulerSobolevHeat EulerSobolevMaximalRegularity |
| 464 | EulerDriftCorrectionBudget EulerDriftEnergyMajorants |
| 465 | open scoped Topology |
| 466 | |
| 467 | variable (period : ℝ) [Fact (0 < period)] |
| 468 | |
| 469 | /-- The actual nonlinear lower mild equation yields the full energy-order scalar integral bound on every subinterval. |
| 470 | Maximal regularity, the higher nonlinear source, the pressure, and their constraints are all constructed or proved inside the argument. -/ |
| 471 | theorem correction_mild_integral {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 472 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) |
| 473 | (KG : ∀ t, CoefficientJet period standardDirection q (D.metric.coefficient t)) |
| 474 | (KL : ∀ t, CoefficientJet period standardDirection q (D.linear.coefficient t)) |
| 475 | (KQ : ∀ i t, CoefficientJet period standardDirection q ((D.quadratic i).coefficient t)) |
| 476 | (hGq : Continuous (fun t => coefficientSobolevOperator period (KG t))) |
| 477 | (hLq : Continuous (fun t => coefficientSobolevOperator period (KL t))) |
| 478 | (hQq : ∀ i, Continuous (fun t => coefficientSobolevOperator period (KQ i t))) |
| 479 | (hG : Continuous (fun t => (D.metric.coefficient t).operator)) |
| 480 | (N : ℕ) (hN : N+6 ≤ q+1) (R Rdot : C(Icc (0 : ℝ) T, ℝ)) |
| 481 | (S : Budget period (by omega : 6 ≤ q+1) D N R) (K : MetricBudget period T hT D) |
| 482 | (hRd : ∀ t ∈ Ioo 0 T, HasDerivAt (extendPath T hT R) (extendPath T hT Rdot t) t) |
| 483 | (ν : ℝ) (hν : 0 < ν) (hν1 : ν ≤ 1) (e₀ : SobolevSpace period (q+1)) |
| 484 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 485 | (hsol : ∀ t : Icc (0 : ℝ) T, |
| 486 | e t = heatOperator period (q+1) (2*ν*t.val).toNNReal e₀ + |
| 487 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r |
| 488 | (extendPath T hT (forcingPath period hq (lowerData period D KG KL KQ hGq hLq hQq) e) (t.val-r))) |
| 489 | (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 490 | (he : ∀ t, value period (e t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 491 | (s t : ℝ) (h0s : 0 ≤ s) (hst : s ≤ t) (htT : t ≤ T) : |
| 492 | energyPath period N hN T R (K.operatorPath period) e ⟨t,h0s.trans hst,htT⟩ - |
| 493 | energyPath period N hN T R (K.operatorPath period) e ⟨s,h0s,hst.trans htT⟩ ≤ |
| 494 | ∫ r in s..t, extendPath T hT (correctionRhs period S hN K Rdot e) r := by |
| 495 | let Dlow := lowerData period D KG KL KQ hGq hLq hQq |
| 496 | let f := forcingPath period hq Dlow e |
| 497 | let p := pressurePath period hq Dlow e |
| 498 | obtain ⟨U,hU⟩ := exists_maximal_mild_limit period ν hν T hT e₀ f e hsol |
| 499 | let F := sourceTime period (by omega : 6 ≤ q+1) T hT D e U |
| 500 | let P := signedPressureTime period (by omega : 6 ≤ q+1) T hT D e U |
| 501 | let X := energyPath period N hN T R (K.operatorPath period) e |
| 502 | let Y := lossPath period N hN T R (K.operatorPath period) e |
| 503 | let k : C(Icc (0 : ℝ) T, ℝ) := ContinuousMap.const _ (K.multiplier period) |
| 504 | have hF := sourceTime_restriction period hq T hT D KG KL KQ hGq hLq hQq e U hU |
| 505 | have hP := signedPressureTime_restriction period hq T hT D KG KL KQ hGq hLq hQq e U hU |
| 506 | have henergy := mild_majorized_energy_subinterval period (by omega : 3 ≤ q+1) T hT s t h0s hst htT |
| 507 | energyLength energyWord (energyLength_le hN) (fun I : EulerGevreyMetricComparison.ExternalWord N => I.1.val) |
| 508 | ν hν D.κ D.direction K.c K.c_pos R Rdot S.full.radius_pos hRd K.metric D.metric.coefficient |
| 509 | K.continuous hG K.derivative K.hasDeriv K.symmetric K.coercive K.inverse |
| 510 | (fun τ => metricVelocityBound period K.c S.full.B0 (X τ)) (velocityPath period D e) e e₀ f p hsol he |
| 511 | (pressurePath_gradient period hq Dlow e) |
| 512 | (velocity_divergenceFree period D e hz he) (velocity_bound period S.full hN K e) |
| 513 | U F P hU hF hP (growthPath period S.full hN K e) (radiusLossPath R Rdot S.full.radius_pos) k |
| 514 | (growthPath_bound period S.full hN K e ν hν1) (fun _ => rfl) |
| 515 | (fun τ => div_le_div_of_nonneg_right (K.bound_le τ) K.c_pos.le) |
| 516 | have hforce := EulerDriftCorrectionEnergyBound.weightedCorrectionForcing_bound period S hN K hG e U hU |
| 517 | have hk : ∀ τ, 0 ≤ k τ := fun _ => (K.constants_nonneg period S.full.B0 S.full.B0_nonneg).2.2 |
| 518 | exact scalar_rhs_subinterval T hT s t h0s hst htT |
| 519 | (growthPath period S.full hN K e) (radiusLossPath R Rdot S.full.radius_pos) k X Y |
| 520 | (forcingMajorant period S hN K e) hk |
| 521 | (weightedCorrectionForcing period (by omega : 6 ≤ q+1) T hT D hG N hN R e U) hforce henergy |
| 522 | |
| 523 | end EulerDriftCorrectionMildEnergy |
| 524 | end |
| 525 | |
| 526 | end |
| 527 | |
| 528 | noncomputable section |
| 529 | |
| 530 | namespace EulerDriftCorrectionBootstrap |
| 531 | |
| 532 | open MeasureTheory Set InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 533 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerSobolevCoefficientPressure EulerCorrectionLowerData |
| 534 | EulerCorrectionEnergyData EulerCorrectionEnergyMajorants EulerCorrectionMildEnergy EulerCorrectionEnergyScalar |
| 535 | EulerEnergyMetricPaths EulerGevreyMetricEstimate EulerTimeLp EulerVolterraConvolution EulerSobolevHeat |
| 536 | EulerIntegralEnergyBootstrap |
| 537 | open EulerDriftCorrectionBudget EulerDriftEnergyMajorants EulerCorrectionEnergyBootstrap |
| 538 | open scoped Topology |
| 539 | |
| 540 | variable (period : ℝ) [Fact (0 < period)] |
| 541 | |
| 542 | /-- Every actual zero-initial nonlinear correction mild solution satisfies the closed Gevrey estimate. |
| 543 | The proof derives its full-order all-subinterval energy inequality, source bound, pressure cancellation, and maximal regularity rather than assuming them. -/ |
| 544 | theorem correction_mild_bootstrap {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 545 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) |
| 546 | (KG : ∀ t, CoefficientJet period standardDirection q (D.metric.coefficient t)) |
| 547 | (KL : ∀ t, CoefficientJet period standardDirection q (D.linear.coefficient t)) |
| 548 | (KQ : ∀ i t, CoefficientJet period standardDirection q ((D.quadratic i).coefficient t)) |
| 549 | (hGq : Continuous (fun t => coefficientSobolevOperator period (KG t))) |
| 550 | (hLq : Continuous (fun t => coefficientSobolevOperator period (KL t))) |
| 551 | (hQq : ∀ i, Continuous (fun t => coefficientSobolevOperator period (KQ i t))) |
| 552 | (hG : Continuous (fun t => (D.metric.coefficient t).operator)) |
| 553 | (N : ℕ) (hN : N+6 ≤ q+1) (R Rdot : C(Icc (0 : ℝ) T, ℝ)) |
| 554 | (S : Budget period (by omega : 6 ≤ q+1) D N R) (K : MetricBudget period T hT D) |
| 555 | (C Δ ρ0 : ℝ) (hC : combinedConstant period S.full K ≤ C) (hΔ : 0 < Δ) (hΔ1 : Δ ≤ 1) (hρ0 : 0 < ρ0) |
| 556 | (hdecay : 2*C*(S.drift+Δ)*T ≤ ρ0/2) (hscale : ρ0*S.full.Rc ≤ 1) |
| 557 | (hsmall : 2*S.full.residual*Real.exp (3*C*T) ≤ Δ/2) |
| 558 | (hR : ∀ t, R t = ρ0-2*C*(S.drift+Δ)*t.val) |
| 559 | (hRdot : ∀ t, Rdot t = -2*C*(S.drift+Δ)) |
| 560 | (ν : ℝ) (hν : 0 < ν) (hν1 : ν ≤ 1) |
| 561 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 562 | (hsol : ∀ t : Icc (0 : ℝ) T, |
| 563 | e t = heatOperator period (q+1) (2*ν*t.val).toNNReal 0 + |
| 564 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r |
| 565 | (extendPath T hT (forcingPath period hq (lowerData period D KG KL KQ hGq hLq hQq) e) (t.val-r))) |
| 566 | (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 567 | (he : ∀ t, value period (e t) ∈ divergenceFreeSpace period D.κ D.direction) : |
| 568 | ∀ t : Icc (0 : ℝ) T, |
| 569 | energyNorm period N hN (R t) (K.operatorPath period t) (e t) ≤ 2*S.full.residual*Real.exp (3*C*t.val) ∧ |
| 570 | energyNorm period N hN (R t) (K.operatorPath period t) (e t) ≤ Δ/2 := by |
| 571 | let X := energyPath period N hN T R (K.operatorPath period) e |
| 572 | let Y := lossPath period N hN T R (K.operatorPath period) e |
| 573 | let A := EulerDriftEnergyMajorants.correctionRhs period S hN K Rdot e |
| 574 | have hCp : 0 < C := (combinedConstant_pos period S.full K).trans_le hC |
| 575 | have hRd : ∀ t ∈ Ioo 0 T, HasDerivAt (extendPath T hT R) (extendPath T hT Rdot t) t := by |
| 576 | intro t ht |
| 577 | exact affine_radius_derivative T hT R Rdot ρ0 (2*C*(S.drift+Δ)) hR |
| 578 | (fun τ => (hRdot τ).trans (by ring)) t ht |
| 579 | have hinit : extendPath T hT X 0 ≤ 2*S.full.residual := by |
| 580 | have he0 := zero_mild_trace period ν hν T hT |
| 581 | (forcingPath period hq (lowerData period D KG KL KQ hGq hLq hQq) e) e hsol |
| 582 | change X (projIcc 0 T hT 0) ≤ _ |
| 583 | rw [projIcc_of_mem hT ⟨le_rfl,hT⟩] |
| 584 | change energyPath period N hN T R (K.operatorPath period) e ⟨0,le_rfl,hT⟩ ≤ _ |
| 585 | rw [energyPath_apply,he0,energyNorm_zero] |
| 586 | exact mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) S.full.residual_pos.le |
| 587 | have hint : ∀ s ∈ Icc (0 : ℝ) T, ∀ t ∈ Icc (0 : ℝ) T, s ≤ t → |
| 588 | extendPath T hT X t-extendPath T hT X s ≤ ∫ r in s..t, extendPath T hT A r := by |
| 589 | intro s hs t ht hst |
| 590 | have h := EulerDriftCorrectionMildEnergy.correction_mild_integral period hq T hT D KG KL KQ hGq hLq hQq hG N hN R Rdot S K hRd |
| 591 | ν hν hν1 0 e hsol hz he s t hs.1 hst ht.2 |
| 592 | change X (projIcc 0 T hT t)-X (projIcc 0 T hT s) ≤ _ |
| 593 | rw [projIcc_of_mem hT ht,projIcc_of_mem hT hs] |
| 594 | exact h |
| 595 | have hineq : ∀ t ∈ Ico (0 : ℝ) T, |
| 596 | extendPath T hT A t ≤ C*(extendPath T hT X t+(extendPath T hT X t)^2+S.full.residual)+ |
| 597 | ((-2*C*(S.drift+Δ))/(ρ0-2*C*(S.drift+Δ)*t)+ |
| 598 | C*((ρ0-2*C*(S.drift+Δ)*t)⁻¹+S.full.Rc)*(S.drift+extendPath T hT X t))*extendPath T hT Y t := by |
| 599 | intro t ht |
| 600 | let τ : Icc (0 : ℝ) T := ⟨t,ht.1,ht.2.le⟩ |
| 601 | have h := EulerDriftEnergyMajorants.correctionRhs_bound period S hN K Rdot e τ |
| 602 | have h' := raise_energy_constant (combinedConstant period S.full K) C (X τ) (Y τ) S.full.residual |
| 603 | (Rdot τ/R τ) ((R τ)⁻¹+S.full.Rc) S.drift hC (energy_nonneg period S.full hN K e τ) |
| 604 | (loss_nonneg period S.full hN K e τ) S.full.residual_pos.le |
| 605 | (add_nonneg (inv_nonneg.mpr (S.full.radius_pos τ).le) S.full.Rc_nonneg) S.drift_nonneg |
| 606 | have hh := h.trans h' |
| 607 | change A (projIcc 0 T hT t) ≤ C*(X (projIcc 0 T hT t)+(X (projIcc 0 T hT t))^2+S.full.residual)+ |
| 608 | ((-2*C*(S.drift+Δ))/(ρ0-2*C*(S.drift+Δ)*t)+C*((ρ0-2*C*(S.drift+Δ)*t)⁻¹+S.full.Rc)* |
| 609 | (S.drift+X (projIcc 0 T hT t)))*Y (projIcc 0 T hT t) |
| 610 | rw [projIcc_of_mem hT ⟨ht.1,ht.2.le⟩] |
| 611 | simpa only [hR τ,hRdot τ] using hh |
| 612 | have hclosed := close_integral_energy_estimate (extendPath T hT X) (extendPath T hT A) (extendPath T hT Y) |
| 613 | C S.drift Δ S.full.residual ρ0 T S.full.Rc hCp S.drift_nonneg hΔ hΔ1 S.full.residual_pos hρ0 hT S.full.Rc_nonneg hdecay hscale hsmall |
| 614 | (extendPath_continuous T hT X).continuousOn (extendPath_continuous T hT A).continuousOn hinit hint |
| 615 | (fun t _ => loss_nonneg period S.full hN K e (projIcc 0 T hT t)) hineq |
| 616 | intro t |
| 617 | have h := hclosed t.val t.property |
| 618 | change X (projIcc 0 T hT t.val) ≤ _ ∧ X (projIcc 0 T hT t.val) ≤ _ at h |
| 619 | rw [projIcc_of_mem hT t.property] at h |
| 620 | simpa only [X,energyPath_apply] using h |
| 621 | |
| 622 | end EulerDriftCorrectionBootstrap |