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

Merge pull request #92 from s1-euler-all-1
Browse fileschore(Euler/All): delete 54 declarations nothing uses
main s1-euler-all-2 s1-euler-base-2 s1-euler-bounded-2 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-cylinder-2 s1-euler-euler-1 s1-euler-euler-2 s1-euler-field-2 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-mean-2 s1-euler-packet-2 s1-euler-parent-1 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-separating-2 s1-euler-smooth-2 s1-euler-sobolev-2 s1-euler-transverse-1 s1-euler-transverse-2 s1-euler-vorticity-1 s1-euler-weighted-2 s1-ns-actual-files-8 s1-ns-appendix-1 s1-ns-assembled-1 s1-ns-base-1 s1-ns-closed-1 s1-ns-comparator-1 s1-ns-harmonic-1 s1-ns-integrated-1 s1-ns-label-1 s1-ns-localized-1 s1-ns-offplane-1 s1-ns-particular-1 s1-ns-primary-1 s1-ns-r3-1 s1-ns-radial-1 s1-ns-rank-1 s1-ns-reference-1 s1-ns-release-1 s1-ns-renormalized-1 s1-ns-repair-1 s1-ns-reserved-1 s1-ns-reset-1 s1-ns-residual-1 s1-ns-scaled-1 s1-ns-scaling-1 s1-ns-schedule-1 s1-ns-scheduled-1 s1-ns-seed-1 s1-ns-shape-1 s1-ns-shaped-1 s1-ns-sharp-1 s1-ns-signed-1 s1-ns-similarity-1 s1-ns-slot-1 s1-ns-slow-1 s1-ns-smooth-1 s1-ns-solenoidal-1 s1-ns-spacetime-1 s1-ns-spatial-1 s1-ns-squared-1 s1-ns-state-1 s1-ns-stress-1 s1-ns-subcover-1 s1-ns-tail-1 s1-ns-tangent-1 s1-ns-temporal-1 s1-ns-terminal-1 s1-ns-time-1 s1-ns-torus-1 s1-ns-transition-1 s1-ns-transport-1 s1-ns-true-1 s1-ns-uniform-1 s1-ns-valid-1 s1-ns-variable-1 s1-ns-viscous-1 s1-ns-volterra-1 s1-ns-wave-1 s1-ns-weighted-1 s1-ns-whole-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −14 Euler/AllOrderCorrectionFamily.lean View file
| @@ -30,13 +30,6 @@ theorem solution_divergence {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budg | ||
| 30 | 30 | value period (solution period hT A B q hq t) ∈ divergenceFreeSpace period A.κ A.direction := |
| 31 | 31 | (Classical.choose_spec (finite_exists period hT A B q hq)).2.1 t |
| 32 | 32 | |
| 33 | -/-- Every retained cutoff of the constructed correction has the proved common energy bound. -/ | |
| 34 | -theorem solution_energy {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 35 | - (q : ℕ) (hq : 6 ≤ q) (P : ℕ) (hPN : P ≤ q-4) (hP : P+6 ≤ q+1) (t : Icc (0 : ℝ) T) : | |
| 36 | - energyNorm period P hP (B.radius t) (B.metric.operatorPath period t) | |
| 37 | - (solution period hT A B q hq t) ≤ B.delta/2 := | |
| 38 | - (Classical.choose_spec (finite_exists period hT A B q hq)).2.2.1 P hPN hP t | |
| 39 | - | |
| 40 | 33 | /-- The constructed correction satisfies the actual nonlinear projected-pressure equation at every interior time. -/ |
| 41 | 34 | theorem solution_hasDerivAt {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 42 | 35 | (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| @@ -71,11 +64,4 @@ theorem solution_compatible {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budg | ||
| 71 | 64 | · exact solution_divergence period hT A B (q+1) (hq.trans (Nat.le_succ q)) |
| 72 | 65 | · exact solution_divergence period hT A B q hq |
| 73 | 66 | |
| 74 | -/-- Adjacent finite-order solutions have exactly the same underlying L² field. -/ | |
| 75 | -theorem solution_value_succ {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 76 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 77 | - value period (solution period hT A B (q+1) (hq.trans (Nat.le_succ q)) t) = | |
| 78 | - value period (solution period hT A B q hq t) := | |
| 79 | - congrArg (fun f => value period (f t)) (solution_compatible period hT A B q hq) | |
| 80 | - | |
| 81 | 67 | end EulerAllOrderCorrectionFamily |
+0 −109 Euler/AllOrderDriftCorrection.lean View file
| @@ -33,12 +33,6 @@ open scoped ContDiff | ||
| 33 | 33 | variable (period : ℝ) [Fact (0 < period)] |
| 34 | 34 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 35 | 35 | |
| 36 | -/-- The drift-aware finite solutions coincide under the actual Sobolev restriction. -/ | |
| 37 | -theorem Budget.solution_compatible (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : | |
| 38 | - (truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 39 | - (B.solution period (q+1) (hq.trans (Nat.le_succ q))) = B.solution period q hq := | |
| 40 | - (B.family period).compatible period (B.comparisonData period) q hq | |
| 41 | - | |
| 42 | 36 | /-- The common continuous L² correction constructed by the small-drift solver. -/ |
| 43 | 37 | def Budget.commonPath (B : Budget period hT A) : C(Icc (0 : ℝ) T, LiftL2 period) := |
| 44 | 38 | (B.family period).commonPath period |
| @@ -59,28 +53,10 @@ theorem Budget.commonPath_divergence (B : Budget period hT A) (t : Icc (0 : ℝ) | ||
| 59 | 53 | B.commonPath period t ∈ divergenceFreeSpace period A.κ A.direction := |
| 60 | 54 | (B.family period).commonPath_divergence period t |
| 61 | 55 | |
| 62 | -/-- The common L² path satisfies the actual projected correction equation. -/ | |
| 63 | -theorem Budget.commonPath_hasDerivAt (B : Budget period hT A) | |
| 64 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 65 | - HasDerivAt (extendPath T hT.le (B.commonPath period)) | |
| 66 | - (value period (((A.atOrder period 6).coefficients period le_rfl).apply | |
| 67 | - ⟨t, ht.1.le, ht.2.le⟩ | |
| 68 | - (B.solution period 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩))) t := | |
| 69 | - (B.family period).commonPath_hasDerivAt period t ht | |
| 70 | - | |
| 71 | -/-- An actual strong spatial jet of every order for the constructed common field. -/ | |
| 72 | -def Budget.commonJet (B : Budget period hT A) (n : ℕ) (t : Icc (0 : ℝ) T) : | |
| 73 | - SpatialJet period standardDirection n (B.commonPath period t) := | |
| 74 | - (B.family period).commonJet period (B.comparisonData period) n t | |
| 75 | - | |
| 76 | 56 | /-- The common correction, with genuine continuous Sobolev realizations at all orders. -/ |
| 77 | 57 | def Budget.fieldTower (B : Budget period hT A) : FieldTower period T := |
| 78 | 58 | (B.family period).fieldTower period (B.comparisonData period) |
| 79 | 59 | |
| 80 | -/-- The tower's underlying field is exactly the constructed common correction. -/ | |
| 81 | -theorem Budget.fieldTower_field (B : Budget period hT A) : | |
| 82 | - (B.fieldTower period).field = B.commonPath period := rfl | |
| 83 | - | |
| 84 | 60 | /-- Every Sobolev realization of the common correction has zero initial data. -/ |
| 85 | 61 | theorem Budget.fieldTower_initial (B : Budget period hT A) (q : ℕ) : |
| 86 | 62 | (B.fieldTower period).realization q ⟨0, le_rfl, hT.le⟩ = 0 := by |
| @@ -182,100 +158,15 @@ theorem Budget.pointField_smooth (B : Budget period hT A) | ||
| 182 | 158 | ContDiff ℝ ∞ (localFieldLift period (B.pointField period t) x) := |
| 183 | 159 | (B.family period).pointField_smooth period (B.comparisonData period) t x |
| 184 | 160 | |
| 185 | -/-- Its lifted divergence vanishes pointwise. -/ | |
| 186 | -theorem Budget.pointField_divergence (B : Budget period hT A) | |
| 187 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 188 | - (∑ i : Fin 3, (fieldDerivative period (coordinateDirection A.κ A.direction i) | |
| 189 | - (B.pointField period t) x) i) = 0 := | |
| 190 | - (B.family period).pointField_divergence period (B.comparisonData period) t x | |
| 191 | - | |
| 192 | 161 | /-- Odd input data give an odd common correction by the proved PDE uniqueness. -/ |
| 193 | 162 | theorem Budget.commonPath_odd (B : Budget period hT A) (P : ParityData period A) |
| 194 | 163 | (t : Icc (0 : ℝ) T) : |
| 195 | 164 | -reflection period (B.commonPath period t) = B.commonPath period t := |
| 196 | 165 | (B.family period).commonPath_odd period (B.comparisonData period) P t |
| 197 | 166 | |
| 198 | -/-- The actual common Sobolev realizations retain the prescribed odd parity. -/ | |
| 199 | -theorem Budget.fieldTower_odd (B : Budget period hT A) (P : ParityData period A) | |
| 200 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 201 | - oddReflection period q ((B.fieldTower period).realization q t) = | |
| 202 | - (B.fieldTower period).realization q t := | |
| 203 | - (B.family period).fieldTower_odd period (B.comparisonData period) P q t | |
| 204 | - | |
| 205 | -/-- The canonical spatially smooth correction is pointwise odd for odd input data. -/ | |
| 206 | -theorem Budget.pointField_odd (B : Budget period hT A) (P : ParityData period A) | |
| 207 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 208 | - B.pointField period t (-x) = -B.pointField period t x := | |
| 209 | - (B.family period).pointField_odd period (B.comparisonData period) P t x | |
| 210 | - | |
| 211 | 167 | /-- The actual pointwise time derivative, obtained from the constructed Sobolev source. -/ |
| 212 | 168 | def Budget.pointTimeDerivative (B : Budget period hT A) |
| 213 | 169 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 214 | 170 | (B.family period).pointTimeDerivative period t x |
| 215 | 171 | |
| 216 | -/-- The correction's actual first time derivative is jointly continuous. -/ | |
| 217 | -theorem Budget.pointTimeDerivative_joint_continuous (B : Budget period hT A) : | |
| 218 | - Continuous (B.pointTimeDerivative period).uncurry := | |
| 219 | - (B.family period).pointTimeDerivative_joint_continuous period | |
| 220 | - | |
| 221 | -/-- The actual time derivative equals the raw source and the signed pressure term. -/ | |
| 222 | -theorem Budget.pointTimeDerivative_eq_pressure (B : Budget period hT A) | |
| 223 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 224 | - B.pointTimeDerivative period t x = -(B.family period).pointRawSource period t x - | |
| 225 | - (A.metric.coefficient t).coefficient x ((B.family period).pointPressure period t x) := | |
| 226 | - (B.family period).pointTimeDerivative_eq_pressure period t x | |
| 227 | - | |
| 228 | -/-- The canonical common field has its genuine first time derivative at interior times. -/ | |
| 229 | -theorem Budget.pointField_hasDerivAt (B : Budget period hT A) | |
| 230 | - (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 231 | - HasDerivAt (fun r => B.pointField period (projIcc 0 T hT.le r) x) | |
| 232 | - (B.pointTimeDerivative period ⟨t, ht.1.le, ht.2.le⟩ x) t := | |
| 233 | - (B.family period).pointField_hasDerivAt period x t ht | |
| 234 | - | |
| 235 | -/-- The pointwise correction equation contains the actual raw source and signed pressure. -/ | |
| 236 | -theorem Budget.pointField_hasDerivAt_pressure (B : Budget period hT A) | |
| 237 | - (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 238 | - HasDerivAt (fun r => B.pointField period (projIcc 0 T hT.le r) x) | |
| 239 | - (-(B.family period).pointRawSource period ⟨t, ht.1.le, ht.2.le⟩ x - | |
| 240 | - (A.metric.coefficient ⟨t, ht.1.le, ht.2.le⟩).coefficient x | |
| 241 | - ((B.family period).pointPressure period ⟨t, ht.1.le, ht.2.le⟩ x)) t := | |
| 242 | - (B.family period).pointField_hasDerivAt_pressure period x t ht | |
| 243 | - | |
| 244 | -/-- Genuine coherent input bounds, with radius loss determined only by the actual | |
| 245 | -transport drift, construct one smooth spatial correction with all-cutoff energy | |
| 246 | -bounds and its actual finite-Sobolev evolution. Finite existence, compatibility, | |
| 247 | -energy estimates and the correction equation are conclusions here. -/ | |
| 248 | -theorem exists_smooth_lifted_correction (B : Budget period hT A) : | |
| 249 | - ∃ (E : FieldTower period T) | |
| 250 | - (g v : Icc (0 : ℝ) T → LiftDomain period → Vector3), | |
| 251 | - E.field ⟨0, le_rfl, hT.le⟩ = 0 ∧ | |
| 252 | - (∀ t, E.field t ∈ divergenceFreeSpace period A.κ A.direction) ∧ | |
| 253 | - Continuous g.uncurry ∧ | |
| 254 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (g t) x)) ∧ | |
| 255 | - (∀ t, (E.field t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g t) ∧ | |
| 256 | - (∀ t x, (∑ i : Fin 3, (fieldDerivative period | |
| 257 | - (coordinateDirection A.κ A.direction i) (g t) x) i) = 0) ∧ | |
| 258 | - Continuous v.uncurry ∧ | |
| 259 | - (∀ x t (ht : t ∈ Ioo 0 T), | |
| 260 | - HasDerivAt (fun r => g (projIcc 0 T hT.le r) x) | |
| 261 | - (v ⟨t, ht.1.le, ht.2.le⟩ x) t) ∧ | |
| 262 | - (∀ (P : ℕ) t, | |
| 263 | - energyNorm period P (by omega : P+6 ≤ (P+6)+1) | |
| 264 | - (B.radius t) (B.metric.operatorPath period t) (E.realization ((P+6)+1) t) ≤ | |
| 265 | - 2*(B.spatial (P+6) (by omega)).full.residual* | |
| 266 | - Real.exp (3*B.growthCoefficient*t.val) ∧ | |
| 267 | - energyNorm period P (by omega : P+6 ≤ (P+6)+1) | |
| 268 | - (B.radius t) (B.metric.operatorPath period t) (E.realization ((P+6)+1) t) ≤ | |
| 269 | - B.delta/2) ∧ | |
| 270 | - ∀ (q : ℕ) (hq : 6 ≤ q) t (ht : t ∈ Ioo 0 T), | |
| 271 | - HasDerivAt (extendPath T hT.le (E.realization q)) | |
| 272 | - (((A.atOrder period q).coefficients period hq).apply | |
| 273 | - ⟨t, ht.1.le, ht.2.le⟩ (E.realization (q+1) ⟨t, ht.1.le, ht.2.le⟩)) t := by | |
| 274 | - exact ⟨B.fieldTower period, B.pointField period, B.pointTimeDerivative period, | |
| 275 | - B.commonPath_initial period, | |
| 276 | - B.commonPath_divergence period, B.pointField_joint_continuous period, | |
| 277 | - B.pointField_smooth period, B.pointField_ae period, B.pointField_divergence period, | |
| 278 | - B.pointTimeDerivative_joint_continuous period, B.pointField_hasDerivAt period, | |
| 279 | - B.fieldTower_energy period, B.fieldTower_hasDerivAt period⟩ | |
| 280 | - | |
| 281 | 172 | end EulerAllOrderDriftCorrection |
+0 −29 Euler/AllOrderDriftEquation.lean View file
| @@ -136,33 +136,4 @@ theorem Budget.correctedFieldTower_hasDerivAt (B : Budget period hT A) | ||
| 136 | 136 | rw [hp] at hsum |
| 137 | 137 | exact hsum |
| 138 | 138 | |
| 139 | -/-- A single coherent exact lifted solution and total pressure are constructed | |
| 140 | -from the drift budget and the literal approximate residual identity. -/ | |
| 141 | -theorem exists_exact_lifted_solution (B : Budget period hT A) | |
| 142 | - (R : ApproximationResidual period hT A) : | |
| 143 | - ∃ (Z Q : FieldTower period T), | |
| 144 | - (∀ q, Z.realization q ⟨0, le_rfl, hT.le⟩ = | |
| 145 | - A.approximation.realization q ⟨0, le_rfl, hT.le⟩) ∧ | |
| 146 | - (∀ t, Z.field t ∈ divergenceFreeSpace period A.κ A.direction) ∧ | |
| 147 | - (∀ t, Q.field t ∈ gradientSpace period A.κ A.direction) ∧ | |
| 148 | - (∀ (P : ℕ) t, | |
| 149 | - energyNorm period P (by omega : P+6 ≤ (P+6)+1) | |
| 150 | - (B.radius t) (B.metric.operatorPath period t) | |
| 151 | - (Z.realization ((P+6)+1) t - A.approximation.realization ((P+6)+1) t) ≤ | |
| 152 | - 2*(B.spatial (P+6) (by omega)).full.residual* | |
| 153 | - Real.exp (3*B.growthCoefficient*t.val) ∧ | |
| 154 | - energyNorm period P (by omega : P+6 ≤ (P+6)+1) | |
| 155 | - (B.radius t) (B.metric.operatorPath period t) | |
| 156 | - (Z.realization ((P+6)+1) t - A.approximation.realization ((P+6)+1) t) ≤ B.delta/2) ∧ | |
| 157 | - ∀ (q : ℕ) (hq : 6 ≤ q) t (ht : t ∈ Ioo 0 T), | |
| 158 | - HasDerivAt (extendPath T hT.le (Z.realization q)) | |
| 159 | - (-nonlinearity period (A.atOrder period q) hq ⟨t, ht.1.le, ht.2.le⟩ | |
| 160 | - (Z.realization (q+1) ⟨t, ht.1.le, ht.2.le⟩) - | |
| 161 | - coefficientSobolevOperator period (A.metric.jet q ⟨t, ht.1.le, ht.2.le⟩) | |
| 162 | - (Q.realization q ⟨t, ht.1.le, ht.2.le⟩)) t := by | |
| 163 | - exact ⟨B.correctedFieldTower period, B.correctedPressureTower period R, | |
| 164 | - B.correctedFieldTower_initial period, B.correctedFieldTower_divergence period, | |
| 165 | - B.correctedPressureTower_gradient period R, B.correctedFieldTower_error_energy period, | |
| 166 | - B.correctedFieldTower_hasDerivAt period R⟩ | |
| 167 | - | |
| 168 | 139 | end EulerAllOrderDriftCorrection |
+0 −42 Euler/AllOrderDriftGraph.lean View file
| @@ -17,18 +17,6 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 17 | 17 | (B : Budget P hT A) |
| 18 | 18 | (θ : Vector3 → AddCircle P) (hθ : Continuous θ) |
| 19 | 19 | |
| 20 | -def Budget.graphCorrectionWordPath (n : ℕ) (w : Fin n → Fin 4) : | |
| 21 | - C(Icc (0 : ℝ) T,Lp Vector3 2 (volume : Measure Vector3)) := | |
| 22 | - (B.fieldTower P).canonicalGraphWordPath θ hθ n w | |
| 23 | - | |
| 24 | -def Budget.graphTimeDerivativeWordPath (n : ℕ) (w : Fin n → Fin 4) : | |
| 25 | - C(Icc (0 : ℝ) T,Lp Vector3 2 (volume : Measure Vector3)) := | |
| 26 | - (B.timeDerivativeTower P).canonicalGraphWordPath θ hθ n w | |
| 27 | - | |
| 28 | -def Budget.graphPressureWordPath (n : ℕ) (w : Fin n → Fin 4) : | |
| 29 | - C(Icc (0 : ℝ) T,Lp Vector3 2 (volume : Measure Vector3)) := | |
| 30 | - (B.pressureTower P).canonicalGraphWordPath θ hθ n w | |
| 31 | - | |
| 32 | 20 | theorem Budget.correctionTower_pointField (t : Icc (0 : ℝ) T) : |
| 33 | 21 | (B.fieldTower P).pointField t = B.pointField P t := |
| 34 | 22 | (B.fieldTower P).pointField_unique t (B.pointField P t) |
| @@ -39,34 +27,4 @@ theorem Budget.pressureTower_pointField (t : Icc (0 : ℝ) T) : | ||
| 39 | 27 | (B.pressureTower P).pointField_unique t (B.pointPressure P t) |
| 40 | 28 | (Continuous.uncurry_left t (B.pointPressure_joint_continuous P)) (B.pointPressure_ae P t) |
| 41 | 29 | |
| 42 | -theorem Budget.graphCorrectionWordPath_ae (n : ℕ) (w : Fin n → Fin 4) | |
| 43 | - (t : Icc (0 : ℝ) T) : | |
| 44 | - (B.graphCorrectionWordPath P θ hθ n w t : Vector3 → Vector3) =ᵐ[volume] | |
| 45 | - fun x => iteratedFieldDerivative P w (B.pointField P t) (x,θ x) := by | |
| 46 | - simpa only [Budget.graphCorrectionWordPath,B.correctionTower_pointField P t] using | |
| 47 | - (B.fieldTower P).canonicalGraphWordPath_ae θ hθ n w t | |
| 48 | - | |
| 49 | -theorem Budget.graphPressureWordPath_ae (n : ℕ) (w : Fin n → Fin 4) | |
| 50 | - (t : Icc (0 : ℝ) T) : | |
| 51 | - (B.graphPressureWordPath P θ hθ n w t : Vector3 → Vector3) =ᵐ[volume] | |
| 52 | - fun x => iteratedFieldDerivative P w (B.pointPressure P t) (x,θ x) := by | |
| 53 | - simpa only [Budget.graphPressureWordPath,B.pressureTower_pointField P t] using | |
| 54 | - (B.pressureTower P).canonicalGraphWordPath_ae θ hθ n w t | |
| 55 | - | |
| 56 | -theorem Budget.graphCorrectionWordPath_hasDerivAt (n : ℕ) (w : Fin n → Fin 4) | |
| 57 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 58 | - HasDerivAt (extendPath T hT.le (B.graphCorrectionWordPath P θ hθ n w)) | |
| 59 | - (B.graphTimeDerivativeWordPath P θ hθ n w ⟨t,ht.1.le,ht.2.le⟩) t := | |
| 60 | - (B.fieldTower P).canonicalGraphWordPath_hasDerivAt θ hθ (B.timeDerivativeTower P) | |
| 61 | - hT.le n w (n+6) (by omega) t ht | |
| 62 | - (B.fieldTower_hasDerivAt_timeDerivativeTower P (n+6) (by omega) t ht) | |
| 63 | - | |
| 64 | -theorem Budget.graphCorrectionWordPath_initial (n : ℕ) (w : Fin n → Fin 4) : | |
| 65 | - B.graphCorrectionWordPath P θ hθ n w ⟨0,le_rfl,hT.le⟩ = 0 := by | |
| 66 | - have h := (B.fieldTower P).canonicalGraphWordPath_norm_sq_le θ hθ n w ⟨0,le_rfl,hT.le⟩ | |
| 67 | - rw [B.fieldTower_initial P (n+1),norm_zero,zero_pow (by norm_num : (2 : ℕ) ≠ 0),mul_zero] at h | |
| 68 | - apply norm_eq_zero.mp | |
| 69 | - change ‖(B.fieldTower P).canonicalGraphWordPath θ hθ n w ⟨0,le_rfl,hT.le⟩‖ = 0 | |
| 70 | - nlinarith [norm_nonneg ((B.fieldTower P).canonicalGraphWordPath θ hθ n w ⟨0,le_rfl,hT.le⟩)] | |
| 71 | - | |
| 72 | 30 | end EulerAllOrderDriftCorrection |
+0 −26 Euler/AllOrderDriftPointwiseBounds.lean View file
| @@ -26,30 +26,4 @@ theorem Budget.timeDerivativeTower_pointField (t : Icc (0 : ℝ) T) : | ||
| 26 | 26 | ← B.solution_eq_realization P 6 le_rfl] |
| 27 | 27 | rfl |
| 28 | 28 | |
| 29 | -theorem Budget.pointField_wordSum_bound (n : ℕ) (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 30 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w (B.pointField P t) x‖) ≤ | |
| 31 | - (sobolevEmbeddingConstant P 3*B.correctionSize P)*(B.reducedRadius P)⁻¹^n*(n.factorial : ℝ)^2 := by | |
| 32 | - have h := (B.fieldTower P).pointField_wordSum_gevrey (n+6) 6 n n (by omega) (by omega) le_rfl | |
| 33 | - (B.reducedRadius P) (B.correctionSize P) (B.reducedRadius_pos P) t | |
| 34 | - (B.fieldTower_reducedNorm P (n+6) n (by omega) t) x | |
| 35 | - simpa only [B.correctionTower_pointField P t] using h | |
| 36 | - | |
| 37 | -theorem Budget.pointPressure_wordSum_bound (n : ℕ) (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 38 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w (B.pointPressure P t) x‖) ≤ | |
| 39 | - (sobolevEmbeddingConstant P 3*(B.pressureCost P (n+6) (by omega)*B.delta))* | |
| 40 | - (B.reducedRadius P)⁻¹^n*(n.factorial : ℝ)^2 := by | |
| 41 | - have h := (B.pressureTower P).pointField_wordSum_gevrey (n+6) 6 n n (by omega) (by omega) le_rfl | |
| 42 | - (B.reducedRadius P) (B.pressureCost P (n+6) (by omega)*B.delta) (B.reducedRadius_pos P) t | |
| 43 | - (B.pressureTower_reducedNorm_delta P (n+6) (by omega) n (by omega) (n+6) (by omega) t) x | |
| 44 | - simpa only [B.pressureTower_pointField P t] using h | |
| 45 | - | |
| 46 | -theorem Budget.pointTimeDerivative_wordSum_bound (n : ℕ) (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 47 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w (B.pointTimeDerivative P t) x‖) ≤ | |
| 48 | - (sobolevEmbeddingConstant P 3*(B.timeDerivativeCost P (n+6) (by omega)*B.delta))* | |
| 49 | - (B.reducedRadius P)⁻¹^n*(n.factorial : ℝ)^2 := by | |
| 50 | - have h := (B.timeDerivativeTower P).pointField_wordSum_gevrey (n+6) 6 n n (by omega) (by omega) le_rfl | |
| 51 | - (B.reducedRadius P) (B.timeDerivativeCost P (n+6) (by omega)*B.delta) (B.reducedRadius_pos P) t | |
| 52 | - (B.timeDerivativeTower_reducedNorm_delta P (n+6) (by omega) n (by omega) (n+6) (by omega) t) x | |
| 53 | - simpa only [B.timeDerivativeTower_pointField P t] using h | |
| 54 | - | |
| 55 | 29 | end EulerAllOrderDriftCorrection |
+0 −99 Euler/AllOrderDriftPressure.lean View file
| @@ -21,28 +21,10 @@ def Budget.commonPressure (B : Budget period hT A) : | ||
| 21 | 21 | C(Icc (0 : ℝ) T, LiftL2 period) := |
| 22 | 22 | (B.family period).commonPressure period |
| 23 | 23 | |
| 24 | -/-- Every constructed finite signed pressure realizes this same common L² pressure. -/ | |
| 25 | -theorem Budget.signedPressurePath_value_common (B : Budget period hT A) | |
| 26 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 27 | - value period ((B.family period).signedPressurePath period q hq t) = | |
| 28 | - B.commonPressure period t := | |
| 29 | - (B.family period).signedPressurePath_value_common period (B.comparisonData period) q hq t | |
| 30 | - | |
| 31 | -/-- The constructed pressure lies in the genuine closed lifted gradient space. -/ | |
| 32 | -theorem Budget.commonPressure_gradient (B : Budget period hT A) (t : Icc (0 : ℝ) T) : | |
| 33 | - B.commonPressure period t ∈ gradientSpace period A.κ A.direction := | |
| 34 | - (B.family period).commonPressure_gradient period t | |
| 35 | - | |
| 36 | 24 | /-- Actual continuous Sobolev realizations at every order of the same constructed pressure. -/ |
| 37 | 25 | def Budget.pressureTower (B : Budget period hT A) : FieldTower period T := |
| 38 | 26 | (B.family period).pressureTower period (B.comparisonData period) |
| 39 | 27 | |
| 40 | -/-- The all-order tower represents exactly the pressure selected from the finite construction. -/ | |
| 41 | -theorem Budget.pressureTower_value (B : Budget period hT A) | |
| 42 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 43 | - value period ((B.pressureTower period).realization q t) = B.commonPressure period t := | |
| 44 | - (B.pressureTower period).value_eq q t | |
| 45 | - | |
| 46 | 28 | /-- Evaluating the genuine finite-order pressure solver on the constructed correction |
| 47 | 29 | gives exactly the corresponding realization of the common pressure tower. -/ |
| 48 | 30 | theorem Budget.pressure_eq_realization (B : Budget period hT A) |
| @@ -79,28 +61,11 @@ def Budget.graphPressure (B : Budget period hT A) (k : ℝ) | ||
| 79 | 61 | (t : Icc (0 : ℝ) T) (x : Vector3) : Vector3 := |
| 80 | 62 | A.κ • B.pointPressure period t (cylinderGraph period k A.direction x) |
| 81 | 63 | |
| 82 | -/-- The actual graph vector field is jointly continuous in time and space. -/ | |
| 83 | -theorem Budget.graphPressure_joint_continuous (B : Budget period hT A) (k : ℝ) : | |
| 84 | - Continuous (B.graphPressure period k).uncurry := | |
| 85 | - (B.family period).graphPressure_joint_continuous period k | |
| 86 | - | |
| 87 | -/-- Reciprocal-frequency graph restriction of the actual pressure has a genuine smooth potential. -/ | |
| 88 | -theorem Budget.graphPressure_has_potential (B : Budget period hT A) | |
| 89 | - (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : | |
| 90 | - ∃ q : Vector3 → ℝ, ContDiff ℝ ∞ q ∧ | |
| 91 | - ∀ x, gradient q x = B.graphPressure period k t x := | |
| 92 | - (B.family period).graphPressure_has_potential period (B.comparisonData period) k hk t | |
| 93 | - | |
| 94 | 64 | /-- The scalar graph pressure constructed by radial integration, with its additive gauge fixed at zero. -/ |
| 95 | 65 | def Budget.normalizedGraphPotential (B : Budget period hT A) (k : ℝ) |
| 96 | 66 | (t : Icc (0 : ℝ) T) (x : Vector3) : ℝ := |
| 97 | 67 | (B.family period).normalizedGraphPotential period k t x |
| 98 | 68 | |
| 99 | -/-- The constructed scalar pressure vanishes at the origin at every time. -/ | |
| 100 | -theorem Budget.normalizedGraphPotential_zero (B : Budget period hT A) | |
| 101 | - (k : ℝ) (t : Icc (0 : ℝ) T) : B.normalizedGraphPotential period k t 0 = 0 := | |
| 102 | - (B.family period).normalizedGraphPotential_zero period k t | |
| 103 | - | |
| 104 | 69 | /-- Fixing the gauge by the same radial formula at every time preserves joint continuity. -/ |
| 105 | 70 | theorem Budget.normalizedGraphPotential_joint_continuous (B : Budget period hT A) (k : ℝ) : |
| 106 | 71 | Continuous (B.normalizedGraphPotential period k).uncurry := |
| @@ -119,74 +84,10 @@ theorem Budget.normalizedGraphPotential_gradient (B : Budget period hT A) | ||
| 119 | 84 | A.κ • B.pointPressure period t (cylinderGraph period k A.direction x) := |
| 120 | 85 | (B.family period).normalizedGraphPotential_gradient period (B.comparisonData period) k hk t x |
| 121 | 86 | |
| 122 | -/-- No second normalized smooth potential can represent the same actual graph pressure. -/ | |
| 123 | -theorem Budget.normalizedGraphPotential_unique (B : Budget period hT A) | |
| 124 | - (k : ℝ) (t : Icc (0 : ℝ) T) (q : Vector3 → ℝ) | |
| 125 | - (hq : ContDiff ℝ ∞ q) | |
| 126 | - (hgrad : ∀ x, gradient q x = B.graphPressure period k t x) (hq0 : q 0 = 0) : | |
| 127 | - B.normalizedGraphPotential period k t = q := | |
| 128 | - (B.family period).normalizedGraphPotential_unique period k t q hq hgrad hq0 | |
| 129 | - | |
| 130 | -/-- Prescribed odd data produce an odd actual common pressure gradient. -/ | |
| 131 | -theorem Budget.commonPressure_odd (B : Budget period hT A) (P : ParityData period A) | |
| 132 | - (t : Icc (0 : ℝ) T) : | |
| 133 | - -reflection period (B.commonPressure period t) = B.commonPressure period t := | |
| 134 | - (B.family period).commonPressure_odd period (B.comparisonData period) P t | |
| 135 | - | |
| 136 | 87 | /-- Oddness holds pointwise for the canonical pressure representative. -/ |
| 137 | 88 | theorem Budget.pointPressure_odd (B : Budget period hT A) (P : ParityData period A) |
| 138 | 89 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 139 | 90 | B.pointPressure period t (-x) = -B.pointPressure period t x := |
| 140 | 91 | (B.family period).pointPressure_odd period (B.comparisonData period) P t x |
| 141 | 92 | |
| 142 | -/-- The signed pressure gradient remains odd after physical phase-graph restriction. -/ | |
| 143 | -theorem Budget.graphPressure_odd (B : Budget period hT A) (P : ParityData period A) | |
| 144 | - (k : ℝ) (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 145 | - B.graphPressure period k t (-x) = -B.graphPressure period k t x := | |
| 146 | - (B.family period).graphPressure_odd period (B.comparisonData period) P k t x | |
| 147 | - | |
| 148 | -/-- The same canonical normalization makes the scalar graph pressure exactly even. -/ | |
| 149 | -theorem Budget.normalizedGraphPotential_even (B : Budget period hT A) (P : ParityData period A) | |
| 150 | - (k : ℝ) (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 151 | - B.normalizedGraphPotential period k t (-x) = B.normalizedGraphPotential period k t x := | |
| 152 | - (B.family period).normalizedGraphPotential_even period (B.comparisonData period) P k t x | |
| 153 | - | |
| 154 | -/-- The all-order drift-aware input budget constructs a common actual pressure, | |
| 155 | -a jointly continuous smooth spatial representative, and a canonically normalized | |
| 156 | -smooth scalar graph potential. No correction solution or pressure is assumed. -/ | |
| 157 | -theorem exists_normalized_pressure (B : Budget period hT A) (k : ℝ) (hk : k * A.κ = 1) : | |
| 158 | - ∃ (p : Icc (0 : ℝ) T → LiftDomain period → Vector3) | |
| 159 | - (Q : Icc (0 : ℝ) T → Vector3 → ℝ), | |
| 160 | - (∀ t, (B.commonPressure period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t) ∧ | |
| 161 | - Continuous p.uncurry ∧ | |
| 162 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ | |
| 163 | - Continuous Q.uncurry ∧ (∀ t, Q t 0 = 0) ∧ | |
| 164 | - (∀ t, ContDiff ℝ ∞ (Q t)) ∧ | |
| 165 | - ∀ t x, gradient (Q t) x = A.κ • p t (cylinderGraph period k A.direction x) := | |
| 166 | - ⟨B.pointPressure period, B.normalizedGraphPotential period k, | |
| 167 | - B.pointPressure_ae period, B.pointPressure_joint_continuous period, | |
| 168 | - B.pointPressure_smooth period, B.normalizedGraphPotential_joint_continuous period k, | |
| 169 | - B.normalizedGraphPotential_zero period k, B.normalizedGraphPotential_smooth period k hk, | |
| 170 | - B.normalizedGraphPotential_gradient period k hk⟩ | |
| 171 | - | |
| 172 | -/-- With parity of the prescribed data, the same constructed pressure representative | |
| 173 | -is odd and its canonically normalized scalar graph potential is even. -/ | |
| 174 | -theorem exists_odd_normalized_pressure (B : Budget period hT A) (P : ParityData period A) | |
| 175 | - (k : ℝ) (hk : k * A.κ = 1) : | |
| 176 | - ∃ (p : Icc (0 : ℝ) T → LiftDomain period → Vector3) | |
| 177 | - (Q : Icc (0 : ℝ) T → Vector3 → ℝ), | |
| 178 | - (∀ t, (B.commonPressure period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t) ∧ | |
| 179 | - Continuous p.uncurry ∧ | |
| 180 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ | |
| 181 | - (∀ t x, p t (-x) = -p t x) ∧ | |
| 182 | - Continuous Q.uncurry ∧ (∀ t, Q t 0 = 0) ∧ | |
| 183 | - (∀ t, ContDiff ℝ ∞ (Q t)) ∧ (∀ t x, Q t (-x) = Q t x) ∧ | |
| 184 | - ∀ t x, gradient (Q t) x = A.κ • p t (cylinderGraph period k A.direction x) := | |
| 185 | - ⟨B.pointPressure period, B.normalizedGraphPotential period k, | |
| 186 | - B.pointPressure_ae period, B.pointPressure_joint_continuous period, | |
| 187 | - B.pointPressure_smooth period, B.pointPressure_odd period P, | |
| 188 | - B.normalizedGraphPotential_joint_continuous period k, B.normalizedGraphPotential_zero period k, | |
| 189 | - B.normalizedGraphPotential_smooth period k hk, B.normalizedGraphPotential_even period P k, | |
| 190 | - B.normalizedGraphPotential_gradient period k hk⟩ | |
| 191 | - | |
| 192 | 93 | end EulerAllOrderDriftCorrection |
+0 −31 Euler/AllOrderDriftPressureBounds.lean View file
| @@ -80,13 +80,6 @@ theorem Budget.sourceSize_le_delta (B : Budget period hT A) (q : ℕ) (hq : 6 | ||
| 80 | 80 | congr 1 <;> ring |
| 81 | 81 | · rfl |
| 82 | 82 | |
| 83 | -theorem Budget.sourceCost_nonneg (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : | |
| 84 | - 0 ≤ B.sourceCost period q hq := by | |
| 85 | - exact sourceBound_nonneg period (B.spatial q hq).full.B0_nonneg (B.spatial q hq).full.B1_nonneg | |
| 86 | - (B.spatial q hq).full.A0_nonneg (B.spatial q hq).full.A2_nonneg (by norm_num) | |
| 87 | - (B.baseCorrectionSize_nonneg period) | |
| 88 | - (mul_nonneg (div_nonneg (by norm_num) B.radius_pos.le) (B.baseCorrectionSize_nonneg period)) | |
| 89 | - | |
| 90 | 83 | private theorem tower_weightedNorm_eq (F : FieldTower period T) (s u N : ℕ) |
| 91 | 84 | (hs : N+6 ≤ s) (hu : N+6 ≤ u) (r : ℝ) (t : Icc (0 : ℝ) T) : |
| 92 | 85 | weightedNorm period 6 N r (F.realization s t) = |
| @@ -94,30 +87,6 @@ private theorem tower_weightedNorm_eq (F : FieldTower period T) (s u N : ℕ) | ||
| 94 | 87 | apply weightedNorm_unique period 6 N r _ _ _ hs hu |
| 95 | 88 | rw [F.value_eq, F.value_eq] |
| 96 | 89 | |
| 97 | -/-- The common raw source is bounded at the fixed smaller radius, using | |
| 98 | -only the actual correction and derivative bounds already proved. -/ | |
| 99 | -theorem Budget.rawSourceTower_reducedNorm (B : Budget period hT A) | |
| 100 | - (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hNq : N+4 ≤ q) | |
| 101 | - (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : | |
| 102 | - weightedNorm period 6 N (B.reducedRadius period) ((B.rawSourceTower period).realization s t) ≤ | |
| 103 | - B.sourceSize period q hq := by | |
| 104 | - have hrR : B.reducedRadius period ≤ B.radius t := by | |
| 105 | - have h := B.reducedRadius_le_half period t | |
| 106 | - have hp := (B.spatial q hq).full.radius_pos t | |
| 107 | - linarith | |
| 108 | - have h := rawSource_smallerRadius_bound period (B.spatial q hq).full N (by omega) (by omega) | |
| 109 | - t (B.reducedRadius period) (B.reducedRadius_pos period) hrR | |
| 110 | - (B.correctionSize period) ((8/B.initialRadius)*B.correctionSize period) | |
| 111 | - ((B.fieldTower period).realization (q+3) t) | |
| 112 | - (B.fieldTower_reducedNorm period (q+3) N (by omega) t) | |
| 113 | - (B.fieldTower_reducedDerivativeNorm period (q+2) N (by omega) t) | |
| 114 | - change weightedNorm period 6 N (B.reducedRadius period) | |
| 115 | - ((A.atOrder period (q+2)).rawSource period (by omega) t | |
| 116 | - ((B.fieldTower period).realization (q+3) t)) ≤ B.sourceSize period q hq at h | |
| 117 | - rw [B.rawSource_eq_realization period (q+2) (by omega)] at h | |
| 118 | - rw [tower_weightedNorm_eq period (B.rawSourceTower period) s (q+2) N hs (by omega)] | |
| 119 | - exact h | |
| 120 | - | |
| 121 | 90 | /-- The pressure is the actual common signed pressure obtained from the |
| 122 | 91 | coercive elliptic inverse, with an explicit smaller-radius bound. -/ |
| 123 | 92 | theorem Budget.pressureTower_reducedNorm (B : Budget period hT A) |
+0 −19 Euler/AllOrderDriftRadiusBounds.lean View file
| @@ -51,25 +51,6 @@ theorem Budget.correctionSize_nonneg (B : Budget period hT A) : 0 ≤ B.correcti | ||
| 51 | 51 | dsimp [Budget.correctionSize] |
| 52 | 52 | positivity |
| 53 | 53 | |
| 54 | -/-- The actual common correction retains the quantitative residual energy | |
| 55 | -of any finite realization containing the requested words. -/ | |
| 56 | -theorem Budget.fieldTower_weightedNorm_residual (B : Budget period hT A) | |
| 57 | - (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hN : N ≤ q-4) (hNq : N+6 ≤ q+1) | |
| 58 | - (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : | |
| 59 | - weightedNorm period 6 N (B.radius t) ((B.fieldTower period).realization s t) ≤ | |
| 60 | - metricAmplification B.metric.c * | |
| 61 | - (2*(B.spatial q hq).full.residual*Real.exp (3*B.growthCoefficient*t.val)) := by | |
| 62 | - have hv : value period ((B.fieldTower period).realization s t) = | |
| 63 | - value period (B.solution period q hq t) := by | |
| 64 | - rw [(B.fieldTower period).value_eq] | |
| 65 | - exact (B.solution_value_common period q hq t).symm | |
| 66 | - rw [weightedNorm_unique period 6 N (B.radius t) _ _ hv hs hNq] | |
| 67 | - have h := weightedNorm_le_energy period N hNq (B.radius t) | |
| 68 | - ((B.spatial q hq).full.radius_pos t) (B.metric.operatorPath period t) | |
| 69 | - (B.solution period q hq t) B.metric.c B.metric.c_pos (B.metric.operator_coercive period t) | |
| 70 | - exact h.trans (mul_le_mul_of_nonneg_left (B.solution_energy period q hq N hN hNq t).1 | |
| 71 | - (zero_le_one.trans (metricAmplification_one_le B.metric.c_pos))) | |
| 72 | - | |
| 73 | 54 | /-- At every finite cutoff, the norm bounds the one constructed common field. -/ |
| 74 | 55 | theorem Budget.fieldTower_weightedNorm_delta (B : Budget period hT A) |
| 75 | 56 | (s N : ℕ) (hN : N+6 ≤ s) (t : Icc (0 : ℝ) T) : |
+0 −81 Euler/AllOrderDriftResidualBounds.lean View file
| @@ -34,43 +34,6 @@ theorem Budget.residualEnvelope_le_target (B : Budget period hT A) | ||
| 34 | 34 | (show 0 ≤ 2*(B.spatial q hq).full.residual by have := (B.spatial q hq).full.residual_pos; positivity)).trans |
| 35 | 35 | (B.small q hq) |
| 36 | 36 | |
| 37 | -/-- Both the correction and its genuine first spatial derivatives retain | |
| 38 | -the quantitative residual bound at the fixed smaller radius. -/ | |
| 39 | -theorem Budget.fieldTower_reducedNorms_residual (B : Budget period hT A) | |
| 40 | - (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hNq : N+6 ≤ q) | |
| 41 | - (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : | |
| 42 | - weightedNorm period 6 N (B.reducedRadius period) ((B.fieldTower period).realization s t) ≤ | |
| 43 | - metricAmplification B.metric.c*B.residualEnvelope period q hq t ∧ | |
| 44 | - (∑ i : Fin 4, weightedNorm period 6 N (B.reducedRadius period) | |
| 45 | - (derivativeOperator period s i ((B.fieldTower period).realization (s+1) t))) ≤ | |
| 46 | - (8/B.initialRadius)*(metricAmplification B.metric.c*B.residualEnvelope period q hq t) := by | |
| 47 | - have hR := (B.spatial q hq).full.radius_pos t | |
| 48 | - have hrR : B.reducedRadius period ≤ B.radius t := by | |
| 49 | - have h := B.reducedRadius_le_half period t | |
| 50 | - linarith | |
| 51 | - have hfrac : 4/B.radius t ≤ 8/B.initialRadius := by | |
| 52 | - apply (div_le_div_iff₀ hR B.radius_pos).mpr | |
| 53 | - linarith [(B.radius_bounds period t).1] | |
| 54 | - have hE : 0 ≤ metricAmplification B.metric.c*B.residualEnvelope period q hq t := | |
| 55 | - mul_nonneg (zero_le_one.trans (metricAmplification_one_le B.metric.c_pos)) | |
| 56 | - (B.residualEnvelope_nonneg period q hq t) | |
| 57 | - constructor | |
| 58 | - · exact (weightedNorm_mono_radius period 6 N (B.reducedRadius_pos period).le hrR _).trans | |
| 59 | - (B.fieldTower_weightedNorm_residual period q hq N (by omega) (by omega) s hs t) | |
| 60 | - · calc | |
| 61 | - _ ≤ ∑ i : Fin 4, weightedNorm period 6 N (B.radius t/2) | |
| 62 | - (derivativeOperator period s i ((B.fieldTower period).realization (s+1) t)) := | |
| 63 | - sum_le_sum fun i _ => weightedNorm_mono_radius period 6 N | |
| 64 | - (B.reducedRadius_pos period).le (B.reducedRadius_le_half period t) _ | |
| 65 | - _ ≤ (4/B.radius t)*weightedNorm period 6 (N+1) (B.radius t) | |
| 66 | - ((B.fieldTower period).realization (s+1) t) := | |
| 67 | - weightedNorm_derivative_half period 6 N hs (B.radius t) hR _ | |
| 68 | - _ ≤ (4/B.radius t)*(metricAmplification B.metric.c*B.residualEnvelope period q hq t) := | |
| 69 | - mul_le_mul_of_nonneg_left | |
| 70 | - (B.fieldTower_weightedNorm_residual period q hq (N+1) (by omega) (by omega) (s+1) (by omega) t) | |
| 71 | - (by positivity) | |
| 72 | - _ ≤ _ := mul_le_mul_of_nonneg_right hfrac hE | |
| 73 | - | |
| 74 | 37 | /-- The fixed polynomial cost when the solver's residual envelope is retained. -/ |
| 75 | 38 | def Budget.residualSourceCost (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : ℝ := |
| 76 | 39 | let S := (B.spatial q hq).full |
| @@ -104,48 +67,4 @@ private theorem sourceBound_residual (B : Budget period hT A) | ||
| 104 | 67 | · congr 1 <;> ring |
| 105 | 68 | · rfl |
| 106 | 69 | |
| 107 | -/-- The constructed pressure and actual time derivative satisfy the | |
| 108 | -sharper residual-envelope estimates, without assuming either bound. -/ | |
| 109 | -theorem Budget.pressure_time_reducedNorms_residual (B : Budget period hT A) | |
| 110 | - (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hNq : N+6 ≤ q) | |
| 111 | - (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : | |
| 112 | - weightedNorm period 6 N (B.reducedRadius period) ((B.pressureTower period).realization s t) ≤ | |
| 113 | - (2*(B.spatial q hq).full.M*B.residualSourceCost period q hq)*B.residualEnvelope period q hq t ∧ | |
| 114 | - weightedNorm period 6 N (B.reducedRadius period) ((B.timeDerivativeTower period).realization s t) ≤ | |
| 115 | - ((1+2*(B.spatial q hq).full.M*(448*(B.spatial q hq).full.B+1))* | |
| 116 | - B.residualSourceCost period q hq)*B.residualEnvelope period q hq t := by | |
| 117 | - have hrR : B.reducedRadius period ≤ B.radius t := by | |
| 118 | - have h := B.reducedRadius_le_half period t | |
| 119 | - have hp := (B.spatial q hq).full.radius_pos t | |
| 120 | - linarith | |
| 121 | - have he := (B.fieldTower_reducedNorms_residual period q hq N hNq (q+3) (by omega) t).1 | |
| 122 | - have hde := (B.fieldTower_reducedNorms_residual period q hq N hNq (q+2) (by omega) t).2 | |
| 123 | - have hcost := sourceBound_residual period B q hq t | |
| 124 | - have hM := zero_le_one.trans (B.spatial q hq).full.M_one_le | |
| 125 | - have hB := (B.spatial q hq).full.B_nonneg | |
| 126 | - have hp := pressure_smallerRadius_bound period (B.spatial q hq).full N (by omega) (by omega) | |
| 127 | - t (B.reducedRadius period) (B.reducedRadius_pos period) hrR _ _ _ he hde | |
| 128 | - have ht := timeSource_smallerRadius_bound period (B.spatial q hq).full N (by omega) (by omega) | |
| 129 | - t (B.reducedRadius period) (B.reducedRadius_pos period) hrR _ _ _ he hde | |
| 130 | - have hp' := hp.trans (mul_le_mul_of_nonneg_left hcost (by positivity : 0 ≤ 2*(B.spatial q hq).full.M)) | |
| 131 | - have ht' := ht.trans (mul_le_mul_of_nonneg_left hcost | |
| 132 | - (by positivity : 0 ≤ 1+2*(B.spatial q hq).full.M*(448*(B.spatial q hq).full.B+1))) | |
| 133 | - change weightedNorm period 6 N (B.reducedRadius period) | |
| 134 | - ((A.atOrder period (q+2)).pressure period (by omega) t | |
| 135 | - ((B.fieldTower period).realization (q+3) t)) ≤ _ at hp' | |
| 136 | - rw [← B.solution_eq_realization period (q+2) (by omega), B.pressure_eq_realization] at hp' | |
| 137 | - change weightedNorm period 6 N (B.reducedRadius period) | |
| 138 | - (((A.atOrder period (q+2)).coefficients period (by omega)).apply t | |
| 139 | - ((B.fieldTower period).realization (q+3) t)) ≤ _ at ht' | |
| 140 | - rw [B.source_eq_timeDerivativeTower period (q+2) (by omega)] at ht' | |
| 141 | - constructor | |
| 142 | - · rw [weightedNorm_unique period 6 N (B.reducedRadius period) _ | |
| 143 | - ((B.pressureTower period).realization (q+2) t) | |
| 144 | - (by rw [(B.pressureTower period).value_eq, (B.pressureTower period).value_eq]) hs (by omega)] | |
| 145 | - exact hp'.trans_eq (by ring) | |
| 146 | - · rw [weightedNorm_unique period 6 N (B.reducedRadius period) _ | |
| 147 | - ((B.timeDerivativeTower period).realization (q+2) t) | |
| 148 | - (by rw [(B.timeDerivativeTower period).value_eq, (B.timeDerivativeTower period).value_eq]) hs (by omega)] | |
| 149 | - exact ht'.trans_eq (by ring) | |
| 150 | - | |
| 151 | 70 | end EulerAllOrderDriftCorrection |
+0 −76 Euler/AllOrderLiftedCorrection.lean View file
| @@ -16,80 +16,4 @@ open scoped Topology ContDiff | ||
| 16 | 16 | |
| 17 | 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | 18 | |
| 19 | -/-- The independently constructed finite-order corrections all represent the same actual L² field. -/ | |
| 20 | -theorem solution_value_base {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 21 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 22 | - value period (solution period hT A B q hq t) = value period (solution period hT A B 6 le_rfl t) := by | |
| 23 | - exact Nat.le_induction (P := fun n hn => value period (solution period hT A B n hn t) = | |
| 24 | - value period (solution period hT A B 6 le_rfl t)) rfl | |
| 25 | - (fun n hn ih => (solution_value_succ period hT A B n hn t).trans ih) q hq | |
| 26 | - | |
| 27 | -/-- The common continuous L² path constructed from the genuine finite-order nonlinear solves. -/ | |
| 28 | -def commonPath {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) : | |
| 29 | - C(Icc (0 : ℝ) T,LiftL2 period) := | |
| 30 | - (valueOperator period 7).compLeftContinuous ℝ (Icc (0 : ℝ) T) (solution period hT A B 6 le_rfl) | |
| 31 | - | |
| 32 | -/-- Every finite-order constructed path realizes the common actual L² path. -/ | |
| 33 | -theorem solution_value_common {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 34 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 35 | - value period (solution period hT A B q hq t)=commonPath period hT A B t := | |
| 36 | - solution_value_base period hT A B q hq t | |
| 37 | - | |
| 38 | -/-- The common constructed correction has zero initial trace. -/ | |
| 39 | -theorem commonPath_initial {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) : | |
| 40 | - commonPath period hT A B ⟨0,le_rfl,hT.le⟩=0 := by | |
| 41 | - change value period (solution period hT A B 6 le_rfl ⟨0,le_rfl,hT.le⟩)=0 | |
| 42 | - rw [solution_initial] | |
| 43 | - rfl | |
| 44 | - | |
| 45 | -/-- The common path belongs to the genuine closed lifted divergence-free subspace. -/ | |
| 46 | -theorem commonPath_divergence {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 47 | - (t : Icc (0 : ℝ) T) : commonPath period hT A B t ∈ divergenceFreeSpace period A.κ A.direction := | |
| 48 | - solution_divergence period hT A B 6 le_rfl t | |
| 49 | - | |
| 50 | -/-- An actual strong derivative jet of any prescribed order for the common nonlinear solution. -/ | |
| 51 | -def commonJet {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 52 | - (n : ℕ) (t : Icc (0 : ℝ) T) : SpatialJet period standardDirection n (commonPath period hT A B t) := by | |
| 53 | - rw [← solution_value_common period hT A B (n+6) (by omega) t] | |
| 54 | - exact EulerH6Pressure.SpatialJet.restrict | |
| 55 | - (toJet period (solution period hT A B (n+6) (by omega) t)) n (by omega) | |
| 56 | - | |
| 57 | -/-- Every external cutoff of the common solution retains the actual uniform Gevrey metric bound. -/ | |
| 58 | -theorem commonPath_energy {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 59 | - (P : ℕ) (t : Icc (0 : ℝ) T) : | |
| 60 | - energyNorm period P (by omega : P+6 ≤ (P+6)+1) (B.radius t) (B.metric.operatorPath period t) | |
| 61 | - (solution period hT A B (P+6) (by omega) t) ≤ B.delta/2 := | |
| 62 | - solution_energy period hT A B (P+6) (by omega) P (by omega) (by omega) t | |
| 63 | - | |
| 64 | -/-- The common L² path satisfies the actual nonlinear inviscid correction equation. -/ | |
| 65 | -theorem commonPath_hasDerivAt {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 66 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 67 | - HasDerivAt (EulerVolterraConvolution.extendPath T hT.le (commonPath period hT A B)) | |
| 68 | - (value period (((A.atOrder period 6).coefficients period le_rfl).apply | |
| 69 | - ⟨t,ht.1.le,ht.2.le⟩ (solution period hT A B 6 le_rfl ⟨t,ht.1.le,ht.2.le⟩))) t := | |
| 70 | - solution_hasDerivAt period hT A B 6 le_rfl t ht | |
| 71 | - | |
| 72 | -/-- Actual coherent all-order data and their concrete budgets construct a common inviscid correction with genuine jets at every order and spatially smooth, pointwise divergence-free representatives. | |
| 73 | -No correction solution, energy estimate, convergence, or all-order compatibility is assumed. -/ | |
| 74 | -theorem exists_smooth_lifted_correction {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) : | |
| 75 | - ∃ (U : C(Icc (0 : ℝ) T,LiftL2 period)) (g : Icc (0 : ℝ) T → LiftDomain period → Vector3), | |
| 76 | - U ⟨0,le_rfl,hT.le⟩=0 ∧ | |
| 77 | - (∀ n t, Nonempty (SpatialJet period standardDirection n (U t))) ∧ | |
| 78 | - (∀ q hq t, value period (solution period hT A B q hq t)=U t) ∧ | |
| 79 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (g t) x)) ∧ | |
| 80 | - (∀ t, (U t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g t) ∧ | |
| 81 | - (∀ t x, (∑ i : Fin 3, (fieldDerivative period (coordinateDirection A.κ A.direction i) (g t) x) i)=0) ∧ | |
| 82 | - ∀ t (ht : t ∈ Ioo 0 T), HasDerivAt (extendPath T hT.le U) | |
| 83 | - (value period (((A.atOrder period 6).coefficients period le_rfl).apply | |
| 84 | - ⟨t,ht.1.le,ht.2.le⟩ (solution period hT A B 6 le_rfl ⟨t,ht.1.le,ht.2.le⟩))) t := by | |
| 85 | - have hs (t : Icc (0 : ℝ) T) := exists_smooth_representative period (commonPath period hT A B t) | |
| 86 | - (fun n => commonJet period hT A B n t) | |
| 87 | - choose g hg ha using hs | |
| 88 | - refine ⟨commonPath period hT A B,g,commonPath_initial period hT A B, | |
| 89 | - (fun n t => ⟨commonJet period hT A B n t⟩),solution_value_common period hT A B,hg,ha,?_, | |
| 90 | - commonPath_hasDerivAt period hT A B⟩ | |
| 91 | - intro t | |
| 92 | - exact divergenceFree_classical_divergence_zero period A.κ A.direction (commonPath period hT A B t) | |
| 93 | - (commonPath_divergence period hT A B t) (g t) (ha t) (hg t) | |
| 94 | - | |
| 95 | 19 | end EulerAllOrderLiftedCorrection |
+0 −36 Euler/AllOrderSmoothPressure.lean View file
| @@ -23,40 +23,4 @@ def pressureJet {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT | ||
| 23 | 23 | exact EulerH6Pressure.SpatialJet.restrict |
| 24 | 24 | (toJet period (signedPressurePath period hT A B (n+6) (by omega) t)) n (by omega) |
| 25 | 25 | |
| 26 | -/-- The common nonlinear correction satisfies its actual signed-pressure equation in L². -/ | |
| 27 | -theorem commonPath_pressure_equation {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 28 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 29 | - HasDerivAt (extendPath T hT.le (commonPath period hT A B)) | |
| 30 | - (-value period (rawSourcePath period hT A B 6 le_rfl ⟨t,ht.1.le,ht.2.le⟩)- | |
| 31 | - (A.metric.coefficient ⟨t,ht.1.le,ht.2.le⟩).operator | |
| 32 | - (commonPressure period hT A B ⟨t,ht.1.le,ht.2.le⟩)) t := by | |
| 33 | - have h := commonPath_hasDerivAt period hT A B t ht | |
| 34 | - rw [(A.atOrder period 6).source_value period le_rfl] at h | |
| 35 | - exact h | |
| 36 | - | |
| 37 | -/-- The constructed signed pressure has a genuine smooth spatial representative at every time. -/ | |
| 38 | -theorem exists_smooth_signed_pressure {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) : | |
| 39 | - ∃ p : Icc (0 : ℝ) T → LiftDomain period → Vector3, | |
| 40 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ | |
| 41 | - ∀ t, (commonPressure period hT A B t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t := by | |
| 42 | - have h (t : Icc (0 : ℝ) T) := exists_smooth_representative period (commonPressure period hT A B t) | |
| 43 | - (fun n => pressureJet period hT A B n t) | |
| 44 | - choose p hp ha using h | |
| 45 | - exact ⟨p,hp,ha⟩ | |
| 46 | - | |
| 47 | -/-- The actual signed correction pressure yields a smooth scalar potential on every reciprocal-frequency graph. | |
| 48 | -The common pressure, all its strong jets, its smooth representative and its closed-gradient property are constructed internally. -/ | |
| 49 | -theorem exists_smooth_pressure_graph {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 50 | - (k : ℝ) (hk : k*A.κ=1) : | |
| 51 | - ∃ (p : Icc (0 : ℝ) T → LiftDomain period → Vector3) (Q : Icc (0 : ℝ) T → Vector3 → ℝ), | |
| 52 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ | |
| 53 | - (∀ t, (commonPressure period hT A B t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t) ∧ | |
| 54 | - (∀ t, ContDiff ℝ ∞ (Q t)) ∧ | |
| 55 | - ∀ t x, gradient (Q t) x=A.κ • p t (cylinderGraph period k A.direction x) := by | |
| 56 | - obtain ⟨p,hp,ha⟩ := exists_smooth_signed_pressure period hT A B | |
| 57 | - have hQ (t : Icc (0 : ℝ) T) := gradientSpace_has_graph_potential period A.κ k hk A.direction | |
| 58 | - (commonPressure period hT A B t) (commonPressure_gradient period hT A B t) (p t) (ha t) (hp t) | |
| 59 | - choose Q hQs hQ using hQ | |
| 60 | - exact ⟨p,Q,hp,ha,hQs,hQ⟩ | |
| 61 | - | |
| 62 | 26 | end EulerAllOrderSmoothPressure |
+11 −0 routes/s1-euler-all-1/README.md added View file
| @@ -0,0 +1,11 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-all-1 | |
| 6 | + | |
| 7 | +Deletes the 54 declarations of the family `Euler/All*` that nothing uses, 562 lines in 11 files. The diff is deletions only: no statement and no proof that stays is changed. | |
| 8 | + | |
| 9 | +## Next | |
| 10 | + | |
| 11 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` and `build`. The rest of the family and the other units of #10 are separate. | |