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 NavierStokes.MovingMomentBounds |
| 2 | import NavierStokes.SignedMeanGain |
| 3 | |
| 4 | /-! |
| 5 | # Measured debt changes for actual gauge updates |
| 6 | |
| 7 | The debt is the three actual radial moments stored by `CorrectionState`. |
| 8 | The change estimates use the actual velocity and covariance increments; |
| 9 | no improved bound on the whole updated covariance or debt is assumed. |
| 10 | -/ |
| 11 | |
| 12 | namespace NavierStokes.GaugeDebtIncrement |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open Set Function Filter MeasureTheory |
| 17 | open scoped ContDiff Topology Interval BigOperators |
| 18 | open WeightedClasses MeanIncrementBounds CorrectionState LocalSignedRequest |
| 19 | |
| 20 | abbrev Plane := PressureStream.Plane |
| 21 | abbrev Point := PressureStream.Lift Plane |
| 22 | abbrev Scalar := MeanIncrementBounds.Field Point |
| 23 | abbrev Tensor := Fin 3 → Fin 3 → Scalar |
| 24 | |
| 25 | /-- Primitive local smoothness and actual support, without a class estimate. -/ |
| 26 | structure Regular {coord : ℝ} (U : SlowRegion coord) (a b : ℝ) (f : Scalar) : Prop where |
| 27 | smooth : SmoothOn (PhysicalMeanDomain.slowDomain U.carrier) f |
| 28 | supported : ∀ n, VariableGaugeMean.SupportedGauge a b (VariableGaugeMean.qLength coord) U.carrier (f n) |
| 29 | |
| 30 | namespace Regular |
| 31 | |
| 32 | variable {coord a b : ℝ} {U : SlowRegion coord} {f g : Scalar} |
| 33 | |
| 34 | theorem containing (hf : Regular U a b f) {lo hi : ℝ} |
| 35 | (hl : ∀ x ∈ U.carrier, lo ≤ VariableGaugeMean.qLength coord x * a) |
| 36 | (hr : ∀ x ∈ U.carrier, VariableGaugeMean.qLength coord x * b ≤ hi) : |
| 37 | LocalRankDefect.LocalShell lo hi U.carrier f := |
| 38 | ⟨hf.smooth, fun n x hx hn => ⟨(hl _ hx).trans (hf.supported n x hx hn).1, |
| 39 | (hf.supported n x hx hn).2.trans (hr _ hx)⟩⟩ |
| 40 | |
| 41 | theorem zero : Regular U a b (0 : Scalar) := |
| 42 | ⟨fun _ => contDiffOn_const, fun _ _ _ hn => (hn rfl).elim⟩ |
| 43 | |
| 44 | theorem add (hf : Regular U a b f) (hg : Regular U a b g) : Regular U a b (f + g) := by |
| 45 | refine ⟨hf.smooth.add hg.smooth, ?_⟩ |
| 46 | intro n x hx hn |
| 47 | by_cases hz : f n x = 0 |
| 48 | · exact hg.supported n x hx (fun hz' => hn (by simp [hz, hz'])) |
| 49 | · exact hf.supported n x hx hz |
| 50 | |
| 51 | theorem neg (hf : Regular U a b f) : Regular U a b (-f) := |
| 52 | ⟨hf.smooth.neg, fun n x hx hn => hf.supported n x hx (neg_ne_zero.mp hn)⟩ |
| 53 | |
| 54 | theorem sub (hf : Regular U a b f) (hg : Regular U a b g) : Regular U a b (f - g) := by |
| 55 | simpa only [sub_eq_add_neg] using hf.add hg.neg |
| 56 | |
| 57 | theorem mul (hf : Regular U a b f) (hg : Regular U a b g) : Regular U a b (f * g) := |
| 58 | ⟨hf.smooth.mul hg.smooth, fun n x hx hn => hf.supported n x hx (left_ne_zero_of_mul hn)⟩ |
| 59 | |
| 60 | theorem smul (hf : Regular U a b f) (c : ℝ) : Regular U a b (c • f) := |
| 61 | ⟨hf.smooth.smul c, fun n x hx hn => hf.supported n x hx (right_ne_zero_of_mul hn)⟩ |
| 62 | |
| 63 | theorem band_mul (hf : Regular U a b f) (c : ℕ → ℝ) : |
| 64 | Regular U a b (fun n x => c n * f n x) := |
| 65 | ⟨fun n => contDiffOn_const.mul (hf.smooth n), |
| 66 | fun n x hx hn => hf.supported n x hx (right_ne_zero_of_mul hn)⟩ |
| 67 | |
| 68 | theorem directional (hf : Regular U a b f) (v : Point) : |
| 69 | Regular U a b (fun n x => fderiv ℝ (f n) x v) := by |
| 70 | refine ⟨hf.smooth.directional (PhysicalMeanDomain.slowDomain_open U.isOpen) v, ?_⟩ |
| 71 | exact fun n => VariableGaugeMean.fderiv_apply_supportedGauge U.isOpen |
| 72 | ((VariableGaugeMean.qLength_contDiffOn U.coord_pos U.coord_lt_one).mono |
| 73 | (fun x hx => U.time_pos x hx)).continuousOn (hf.supported n) (fun _ => v) |
| 74 | |
| 75 | theorem coefficient_mul (hf : Regular U a b f) (ha : 0 < a) (hab : a < b) |
| 76 | (hg : SmoothOn (LocalRankDefect.positiveDomain U.carrier) g) : Regular U a b (g * f) := by |
| 77 | obtain ⟨lo, hi, _, hlo, _, _, _, hl, hr, _⟩ := VariableGaugeMean.qLength_reference_bounds U ha hab |
| 78 | exact ⟨((hf.containing hl hr).coefficient_mul hlo U.isOpen hg).smooth, |
| 79 | fun n x hx hn => hf.supported n x hx (right_ne_zero_of_mul hn)⟩ |
| 80 | |
| 81 | theorem mul_coefficient (hf : Regular U a b f) (ha : 0 < a) (hab : a < b) |
| 82 | (hg : SmoothOn (LocalRankDefect.positiveDomain U.carrier) g) : Regular U a b (f * g) := by |
| 83 | simpa only [mul_comm] using hf.coefficient_mul ha hab hg |
| 84 | |
| 85 | theorem dr (hf : Regular U a b f) (ha : 0 < a) (hab : a < b) {o : Operators Point} |
| 86 | (ho : LocalRankDefect.LocalOperators U.carrier o) : Regular U a b (o.dr f) := by |
| 87 | exact (hf.directional o.eR).add |
| 88 | (((hf.directional o.vR).coefficient_mul ha hab (fun _ => ho.radialProfile)).band_mul o.radialFrequency) |
| 89 | |
| 90 | theorem dz (hf : Regular U a b f) (o : Operators Point) : Regular U a b (o.dz f) := |
| 91 | (hf.directional o.eZ).band_mul o.epsilon |
| 92 | |
| 93 | theorem time (hf : Regular U a b f) (o : Operators Point) : Regular U a b (o.time f) := |
| 94 | ((hf.directional o.eT).band_mul o.epsilon).neg.add |
| 95 | ((hf.directional o.vT).band_mul o.fastCoefficient) |
| 96 | |
| 97 | theorem inv_mul (hf : Regular U a b f) (ha : 0 < a) (hab : a < b) {o : Operators Point} |
| 98 | (ho : LocalRankDefect.LocalOperators U.carrier o) : Regular U a b (o.invRadius * f) := |
| 99 | hf.coefficient_mul ha hab ho.invRadius_smooth |
| 100 | |
| 101 | theorem radialDiv (hf : Regular U a b f) (ha : 0 < a) (hab : a < b) {o : Operators Point} |
| 102 | (ho : LocalRankDefect.LocalOperators U.carrier o) (c : ℝ) : Regular U a b (o.radialDiv c f) := |
| 103 | (hf.dr ha hab ho).add ((hf.inv_mul ha hab ho).smul c) |
| 104 | |
| 105 | theorem viscosity (hf : Regular U a b f) (ha : 0 < a) (hab : a < b) {o : Operators Point} |
| 106 | (ho : LocalRankDefect.LocalOperators U.carrier o) (c : ℝ) : Regular U a b (o.viscosity c f) := |
| 107 | (((((hf.dr ha hab ho).dr ha hab ho).add ((hf.dr ha hab ho).inv_mul ha hab ho)).add |
| 108 | ((hf.dz o).dz o)).sub (((hf.inv_mul ha hab ho).inv_mul ha hab ho).smul c)).band_mul o.epsilon |
| 109 | |
| 110 | end Regular |
| 111 | |
| 112 | structure RegularTriple {coord : ℝ} (U : SlowRegion coord) (a b : ℝ) (m : Triple Point) : Prop where |
| 113 | radial : Regular U a b m.radial |
| 114 | angular : Regular U a b m.angular |
| 115 | axial : Regular U a b m.axial |
| 116 | |
| 117 | namespace RegularTriple |
| 118 | |
| 119 | variable {coord a b : ℝ} {U : SlowRegion coord} {m h base : Triple Point} |
| 120 | |
| 121 | theorem smooth (hm : RegularTriple U a b m) : SmoothTriple (PhysicalMeanDomain.slowDomain U.carrier) m := |
| 122 | ⟨hm.radial.smooth, hm.angular.smooth, hm.axial.smooth⟩ |
| 123 | |
| 124 | theorem updated (hm : RegularTriple U a b m) (hh : RegularTriple U a b h) : |
| 125 | RegularTriple U a b (MeanIncrementBounds.updated m h) := |
| 126 | ⟨hm.radial.add hh.radial, hm.angular.add hh.angular, hm.axial.add hh.axial⟩ |
| 127 | |
| 128 | theorem thetaAxial (hm : RegularTriple U a b m) (ha : 0 < a) (hab : a < b) |
| 129 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) base) : |
| 130 | Regular U a b (MeanIncrementBounds.thetaAxial base m) := |
| 131 | ((hm.angular.coefficient_mul ha hab hb.axial).add |
| 132 | (hm.axial.coefficient_mul ha hab hb.angular)).add (hm.axial.mul hm.angular) |
| 133 | |
| 134 | theorem axialAxial (hm : RegularTriple U a b m) (ha : 0 < a) (hab : a < b) |
| 135 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) base) : |
| 136 | Regular U a b (MeanIncrementBounds.axialAxial base m) := |
| 137 | ((hm.axial.coefficient_mul ha hab hb.axial).smul 2).add (hm.axial.mul hm.axial) |
| 138 | |
| 139 | theorem axialRadial (hm : RegularTriple U a b m) (ha : 0 < a) (hab : a < b) |
| 140 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) base) : |
| 141 | Regular U a b (MeanIncrementBounds.axialRadial base m) := |
| 142 | ((hm.axial.coefficient_mul ha hab hb.radial).add |
| 143 | (hm.radial.mul_coefficient ha hab hb.axial)).add (hm.radial.mul hm.axial) |
| 144 | |
| 145 | theorem radialRadial (hm : RegularTriple U a b m) (ha : 0 < a) (hab : a < b) |
| 146 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) base) : |
| 147 | Regular U a b (MeanIncrementBounds.radialRadial base m) := |
| 148 | ((hm.radial.coefficient_mul ha hab hb.radial).smul 2).add (hm.radial.mul hm.radial) |
| 149 | |
| 150 | theorem radialAngular (hm : RegularTriple U a b m) (ha : 0 < a) (hab : a < b) |
| 151 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) base) : |
| 152 | Regular U a b (MeanIncrementBounds.radialAngular base m) := |
| 153 | ((hm.angular.coefficient_mul ha hab hb.angular).smul 2).add (hm.angular.mul hm.angular) |
| 154 | |
| 155 | theorem gr (hm : RegularTriple U a b m) (ha : 0 < a) (hab : a < b) |
| 156 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) base) {o : Operators Point} |
| 157 | (ho : LocalRankDefect.LocalOperators U.carrier o) (W : Tensor) |
| 158 | (hW : ∀ i j, Regular U a b (W i j)) : Regular U a b (MeanIncrementBounds.gr o base m W) := |
| 159 | (((((hm.radial.time o).add |
| 160 | (((hm.radialRadial ha hab hb).add (hW 0 0)).radialDiv ha hab ho 1)).add |
| 161 | (((hm.axialRadial ha hab hb).add (hW 2 0)).dz o)).sub |
| 162 | (((hm.radialAngular ha hab hb).add (hW 1 1)).inv_mul ha hab ho)).sub |
| 163 | (hm.radial.viscosity ha hab ho 1)).neg |
| 164 | |
| 165 | end RegularTriple |
| 166 | |
| 167 | /-! ## Exact moments and their class bounds -/ |
| 168 | |
| 169 | section Moments |
| 170 | |
| 171 | variable {coord a b cL cR : ℝ} (U : SlowRegion coord) (ha : 0 < a) (hab : a < b) |
| 172 | |
| 173 | include ha hab |
| 174 | |
| 175 | theorem radialMoment_sub_on {f g : Scalar} (hf : Regular U a b f) (hg : Regular U a b g) |
| 176 | (k n : ℕ) {x : Plane} (hx : x ∈ U.carrier) : |
| 177 | radialMoment k (f - g) n x = radialMoment k f n x - radialMoment k g n x := by |
| 178 | obtain ⟨lo, hi, _, _, _, _, _, hl, hr, _⟩ := VariableGaugeMean.qLength_reference_bounds U ha hab |
| 179 | exact LocalRankDefect.barMoment_sub_on U.isOpen (hf.containing hl hr) (hg.containing hl hr) k n hx |
| 180 | |
| 181 | theorem radialMoment_add_on {f g : Scalar} (hf : Regular U a b f) (hg : Regular U a b g) |
| 182 | (k n : ℕ) {x : Plane} (hx : x ∈ U.carrier) : |
| 183 | radialMoment k (f + g) n x = radialMoment k f n x + radialMoment k g n x := by |
| 184 | obtain ⟨lo, hi, _, _, _, _, _, hl, hr, _⟩ := VariableGaugeMean.qLength_reference_bounds U ha hab |
| 185 | exact LocalRankDefect.barMoment_add_on U.isOpen (hf.containing hl hr) (hg.containing hl hr) k n hx |
| 186 | |
| 187 | end Moments |
| 188 | |
| 189 | noncomputable def momentChange (G T Z : Scalar) : ℕ → Plane → Fin 3 → ℝ := |
| 190 | fun n x => ![radialMoment 0 G n x, radialMoment 2 T n x, |
| 191 | radialMoment 1 Z n x - (1 / 2 : ℝ) * radialMoment 2 G n x] |
| 192 | |
| 193 | section DebtIdentity |
| 194 | |
| 195 | variable {coord a b : ℝ} (U : SlowRegion coord) (ha : 0 < a) (hab : a < b) |
| 196 | (c : Context Point) (u v : State Point) |
| 197 | (hgu : Regular U a b (u.gr c)) (hgv : Regular U a b (v.gr c)) |
| 198 | (htu : Regular U a b (thetaAxial c.base u.mean + u.covariance 2 1)) |
| 199 | (htv : Regular U a b (thetaAxial c.base v.mean + v.covariance 2 1)) |
| 200 | (hzu : Regular U a b (axialAxial c.base u.mean + u.covariance 2 2)) |
| 201 | (hzv : Regular U a b (axialAxial c.base v.mean + v.covariance 2 2)) |
| 202 | |
| 203 | include ha hab hgu hgv htu htv hzu hzv in |
| 204 | /-- The actual State debt difference consists of the three actual moment |
| 205 | changes, with the pressure-source contribution in the axial row retained. -/ |
| 206 | theorem debt_sub_eq (n : ℕ) {x : Plane} (hx : x ∈ U.carrier) : |
| 207 | debt c v n x - debt c u n x = |
| 208 | momentChange (v.gr c - u.gr c) |
| 209 | ((thetaAxial c.base v.mean + v.covariance 2 1) - (thetaAxial c.base u.mean + u.covariance 2 1)) |
| 210 | ((axialAxial c.base v.mean + v.covariance 2 2) - (axialAxial c.base u.mean + u.covariance 2 2)) n x := by |
| 211 | funext i |
| 212 | fin_cases i |
| 213 | · exact (radialMoment_sub_on U ha hab hgv hgu 0 n hx).symm |
| 214 | · exact (radialMoment_sub_on U ha hab htv htu 2 n hx).symm |
| 215 | · change (radialMoment 1 _ n x - (1 / 2 : ℝ) * radialMoment 2 _ n x) - |
| 216 | (radialMoment 1 _ n x - (1 / 2 : ℝ) * radialMoment 2 _ n x) = |
| 217 | radialMoment 1 ((axialAxial c.base v.mean + v.covariance 2 2) - |
| 218 | (axialAxial c.base u.mean + u.covariance 2 2)) n x - |
| 219 | (1 / 2 : ℝ) * radialMoment 2 (v.gr c - u.gr c) n x |
| 220 | rw [radialMoment_sub_on U ha hab hzv hzu 1 n hx, |
| 221 | radialMoment_sub_on U ha hab hgv hgu 2 n hx] |
| 222 | ring |
| 223 | |
| 224 | end DebtIdentity |
| 225 | |
| 226 | section MomentClasses |
| 227 | |
| 228 | variable {coord a b cL cR : ℝ} (U : SlowRegion coord) |
| 229 | (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 230 | (ε L : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) |
| 231 | |
| 232 | include hab |
| 233 | |
| 234 | theorem momentChange_mem {H : ℝ} {G T Z : Scalar} |
| 235 | (hG : Regular U a b G) (hT : Regular U a b T) (hZ : Regular U a b Z) |
| 236 | (hcG : MeanClass (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) H G) |
| 237 | (hcT : MeanClass (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) H T) |
| 238 | (hcZ : MeanClass (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) H Z) (i : Fin 3) : |
| 239 | UnweightedClass (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen ε L hε hεone hL) H |
| 240 | (fun n x => momentChange G T Z n x i) := by |
| 241 | have h0 := MovingMomentBounds.radialMoment_mem U ha hab hcL hcR ε L hε hεone hL hG.smooth hG.supported hcG 0 |
| 242 | have h1 := MovingMomentBounds.radialMoment_mem U ha hab hcL hcR ε L hε hεone hL hT.smooth hT.supported hcT 2 |
| 243 | have h2 := MovingMomentBounds.radialMoment_mem U ha hab hcL hcR ε L hε hεone hL hZ.smooth hZ.supported hcZ 1 |
| 244 | have h3 := MovingMomentBounds.radialMoment_mem U ha hab hcL hcR ε L hε hεone hL hG.smooth hG.supported hcG 2 |
| 245 | fin_cases i |
| 246 | · exact h0 |
| 247 | · exact h1 |
| 248 | · exact Class.sub h2 (Class.smul h3 (1 / 2)) |
| 249 | |
| 250 | theorem debt_change_mem {H : ℝ} (c : Context Point) (u v : State Point) |
| 251 | (hgu : Regular U a b (u.gr c)) (hgv : Regular U a b (v.gr c)) |
| 252 | (htu : Regular U a b (thetaAxial c.base u.mean + u.covariance 2 1)) |
| 253 | (htv : Regular U a b (thetaAxial c.base v.mean + v.covariance 2 1)) |
| 254 | (hzu : Regular U a b (axialAxial c.base u.mean + u.covariance 2 2)) |
| 255 | (hzv : Regular U a b (axialAxial c.base v.mean + v.covariance 2 2)) |
| 256 | (hcG : MeanClass (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) H (v.gr c - u.gr c)) |
| 257 | (hcT : MeanClass (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) H |
| 258 | ((thetaAxial c.base v.mean + v.covariance 2 1) - (thetaAxial c.base u.mean + u.covariance 2 1))) |
| 259 | (hcZ : MeanClass (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) H |
| 260 | ((axialAxial c.base v.mean + v.covariance 2 2) - (axialAxial c.base u.mean + u.covariance 2 2))) (i : Fin 3) : |
| 261 | UnweightedClass (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen ε L hε hεone hL) H |
| 262 | (fun n x => debt c v n x i - debt c u n x i) := by |
| 263 | apply class_congr (momentChange_mem U ha hab hcL hcR ε L hε hεone hL |
| 264 | (hgv.sub hgu) (htv.sub htu) (hzv.sub hzu) hcG hcT hcZ i) |
| 265 | intro n x hx |
| 266 | exact congrFun (debt_sub_eq U ha hab c u v hgu hgv htu htv hzu hzv n hx) i |
| 267 | |
| 268 | end MomentClasses |
| 269 | |
| 270 | section DomainTools |
| 271 | |
| 272 | theorem smoothTriple_mono {V W : Set Point} {m : Triple Point} |
| 273 | (hm : SmoothTriple W m) (hVW : V ⊆ W) : SmoothTriple V m := |
| 274 | ⟨fun n => (hm.radial n).mono hVW, fun n => (hm.angular n).mono hVW, |
| 275 | fun n => (hm.axial n).mono hVW⟩ |
| 276 | |
| 277 | theorem Regular.zero_of_nonpositive {coord a b : ℝ} {U : SlowRegion coord} {f : Scalar} |
| 278 | (hf : Regular U a b f) (ha : 0 < a) (n : ℕ) {z : Point} |
| 279 | (hz : z.2.1 ∈ U.carrier) (hR : z.1 ≤ 0) : f n z = 0 := by |
| 280 | by_contra hn |
| 281 | have hs := hf.supported n z hz hn |
| 282 | have hp := mul_pos (VariableGaugeMean.qLength_pos U.coord_pos U.coord_lt_one (U.time_pos _ hz)) ha |
| 283 | exact (not_lt_of_ge hR) (hp.trans_le hs.1) |
| 284 | |
| 285 | theorem agree_slow_of_positive {coord a b : ℝ} {U : SlowRegion coord} {f g : Scalar} |
| 286 | (ha : 0 < a) (hf : Regular U a b f) (hg : Regular U a b g) |
| 287 | (he : Agree (LocalRankDefect.positiveDomain U.carrier) f g) : |
| 288 | Agree (PhysicalMeanDomain.slowDomain U.carrier) f g := by |
| 289 | intro n z hz |
| 290 | by_cases hR : 0 < z.1 |
| 291 | · exact he n ⟨hR, hz⟩ |
| 292 | · rw [hf.zero_of_nonpositive ha n hz (le_of_not_gt hR), |
| 293 | hg.zero_of_nonpositive ha n hz (le_of_not_gt hR)] |
| 294 | |
| 295 | theorem moving_subset_positive {coord a b cL cR : ℝ} (U : SlowRegion coord) |
| 296 | (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 297 | (ε L : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) : |
| 298 | (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL).domain ⊆ |
| 299 | LocalRankDefect.positiveDomain U.carrier := by |
| 300 | intro z hz |
| 301 | have hh := (movingStrip_domain U a b cL cR ha hcL hcR ε L hε hεone hL z).mp hz |
| 302 | refine ⟨?_, hh.1⟩ |
| 303 | have hpos := VariableGaugeMean.qLength_pos U.coord_pos U.coord_lt_one (U.time_pos _ hh.1) |
| 304 | have hr : 0 < z.1 / VariableGaugeMean.qLength coord z.2.1 := ha.trans hh.2.1 |
| 305 | have he := (lt_div_iff₀ hpos).mp hr |
| 306 | simp only [zero_mul] at he |
| 307 | exact he |
| 308 | |
| 309 | theorem radialMoment_congr_on {U : Set Plane} {f g : Scalar} |
| 310 | (he : Agree (PhysicalMeanDomain.slowDomain U) f g) (k n : ℕ) {x : Plane} (hx : x ∈ U) : |
| 311 | radialMoment k f n x = radialMoment k g n x := by |
| 312 | exact PhysicalMeanDomain.liftedPressureMass_fiberLocal |
| 313 | (fun z => z.1 ^ k * f n z) (fun z => z.1 ^ k * g n z) x |
| 314 | (fun R Y => congrArg (fun q : ℝ => R ^ k * q) (show f n (R, (x, Y)) = g n (R, (x, Y)) from he n hx)) 0 0 |
| 315 | |
| 316 | end DomainTools |
| 317 | |
| 318 | section WaveAlgebra |
| 319 | |
| 320 | variable (g : VariableGaugeMean.GaugeData Plane) (c : Context Point) (u : State Point) |
| 321 | (w : Oscillation Point) (q : OscillatoryScalar Point) (gaussian : Oscillation Point) |
| 322 | |
| 323 | theorem wave_thetaFlux_change : |
| 324 | (thetaAxial c.base (SignedMeanGain.waveStage g c u w q gaussian).mean + |
| 325 | (SignedMeanGain.waveStage g c u w q gaussian).covariance 2 1) - |
| 326 | (thetaAxial c.base u.mean + u.covariance 2 1) = |
| 327 | SignedMeanGain.covarianceIncrement u.oscillation w 2 1 := by |
| 328 | rw [SignedMeanGain.waveStage_mean, SignedMeanGain.waveStage_covariance] |
| 329 | change (thetaAxial c.base u.mean + (u.covariance 2 1 + _)) - _ = _ |
| 330 | abel |
| 331 | |
| 332 | theorem wave_axialFlux_change : |
| 333 | (axialAxial c.base (SignedMeanGain.waveStage g c u w q gaussian).mean + |
| 334 | (SignedMeanGain.waveStage g c u w q gaussian).covariance 2 2) - |
| 335 | (axialAxial c.base u.mean + u.covariance 2 2) = |
| 336 | SignedMeanGain.covarianceIncrement u.oscillation w 2 2 := by |
| 337 | rw [SignedMeanGain.waveStage_mean, SignedMeanGain.waveStage_covariance] |
| 338 | change (axialAxial c.base u.mean + (u.covariance 2 2 + _)) - _ = _ |
| 339 | abel |
| 340 | |
| 341 | end WaveAlgebra |
| 342 | |
| 343 | section WaveRegularity |
| 344 | |
| 345 | variable {coord a b : ℝ} (U : SlowRegion coord) (ha : 0 < a) (hab : a < b) |
| 346 | (g : VariableGaugeMean.GaugeData Plane) (c : Context Point) (u : State Point) |
| 347 | (w : Oscillation Point) (q : OscillatoryScalar Point) (gaussian : Oscillation Point) |
| 348 | (hop : LocalRankDefect.LocalOperators U.carrier c.operators) |
| 349 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) c.base) |
| 350 | (hm : RegularTriple U a b u.mean) |
| 351 | (hW : ∀ i j, Regular U a b (u.covariance i j)) |
| 352 | (hX : ∀ i j, Regular U a b (SignedMeanGain.covarianceIncrement u.oscillation w i j)) |
| 353 | |
| 354 | include hm in |
| 355 | theorem waveStage_mean_regular : RegularTriple U a b (SignedMeanGain.waveStage g c u w q gaussian).mean := by |
| 356 | rw [SignedMeanGain.waveStage_mean] |
| 357 | exact hm |
| 358 | |
| 359 | include hW hX in |
| 360 | theorem waveStage_covariance_regular (i j : Fin 3) : |
| 361 | Regular U a b ((SignedMeanGain.waveStage g c u w q gaussian).covariance i j) := by |
| 362 | rw [SignedMeanGain.waveStage_covariance] |
| 363 | exact (hW i j).add (hX i j) |
| 364 | |
| 365 | include ha hab hop hb hm hW hX |
| 366 | |
| 367 | theorem waveStage_gr_agree : |
| 368 | Agree (PhysicalMeanDomain.slowDomain U.carrier) |
| 369 | ((SignedMeanGain.waveStage g c u w q gaussian).gr c - u.gr c) |
| 370 | (SignedMeanGain.radialCovarianceChange c.operators (SignedMeanGain.covarianceIncrement u.oscillation w)) := by |
| 371 | have hmu := waveStage_mean_regular U g c u w q gaussian hm |
| 372 | have hWv := waveStage_covariance_regular U g c u w q gaussian hW hX |
| 373 | have hgu := hm.gr ha hab hb hop u.covariance hW |
| 374 | have hgv := hmu.gr ha hab hb hop (SignedMeanGain.waveStage g c u w q gaussian).covariance hWv |
| 375 | have hR : Regular U a b (SignedMeanGain.radialCovarianceChange c.operators |
| 376 | (SignedMeanGain.covarianceIncrement u.oscillation w)) := |
| 377 | (((hX 0 0).radialDiv ha hab hop 1).neg.sub ((hX 2 0).dz c.operators)).add |
| 378 | ((hX 1 1).inv_mul ha hab hop) |
| 379 | apply agree_slow_of_positive ha (hgv.sub hgu) hR |
| 380 | exact SignedMeanGain.waveStage_gr_change (LocalRankDefect.positiveDomain_open U.isOpen) g c u w q gaussian |
| 381 | hb (smoothTriple_mono hm.smooth (fun _ hx => hx.2)) |
| 382 | (fun i j n => ((hW i j).smooth n).mono (fun _ hx => hx.2)) |
| 383 | (fun i j n => ((hX i j).smooth n).mono (fun _ hx => hx.2)) |
| 384 | |
| 385 | /-- The wave adds exactly the covariance moments; pressure recomputation |
| 386 | adds no term to the definition of measured debt. -/ |
| 387 | theorem waveStage_debt_change_formula (n : ℕ) {x : Plane} (hx : x ∈ U.carrier) : |
| 388 | debt c (SignedMeanGain.waveStage g c u w q gaussian) n x - debt c u n x = |
| 389 | momentChange |
| 390 | (SignedMeanGain.radialCovarianceChange c.operators (SignedMeanGain.covarianceIncrement u.oscillation w)) |
| 391 | (SignedMeanGain.covarianceIncrement u.oscillation w 2 1) |
| 392 | (SignedMeanGain.covarianceIncrement u.oscillation w 2 2) n x := by |
| 393 | have hmu := waveStage_mean_regular U g c u w q gaussian hm |
| 394 | have hWv := waveStage_covariance_regular U g c u w q gaussian hW hX |
| 395 | have he := debt_sub_eq U ha hab c u (SignedMeanGain.waveStage g c u w q gaussian) |
| 396 | (hm.gr ha hab hb hop u.covariance hW) |
| 397 | (hmu.gr ha hab hb hop (SignedMeanGain.waveStage g c u w q gaussian).covariance hWv) |
| 398 | ((hm.thetaAxial ha hab hb).add (hW 2 1)) ((hmu.thetaAxial ha hab hb).add (hWv 2 1)) |
| 399 | ((hm.axialAxial ha hab hb).add (hW 2 2)) ((hmu.axialAxial ha hab hb).add (hWv 2 2)) n hx |
| 400 | rw [wave_thetaFlux_change, wave_axialFlux_change] at he |
| 401 | have hg := waveStage_gr_agree U ha hab g c u w q gaussian hop hb hm hW hX |
| 402 | have h0 := radialMoment_congr_on hg 0 n hx |
| 403 | have h2 := radialMoment_congr_on hg 2 n hx |
| 404 | simpa only [momentChange, h0, h2] using he |
| 405 | |
| 406 | end WaveRegularity |
| 407 | |
| 408 | section WaveBounds |
| 409 | |
| 410 | variable {coord a b cL cR : ℝ} (U : SlowRegion coord) |
| 411 | (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 412 | (ε L : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) |
| 413 | (g : VariableGaugeMean.GaugeData Plane) (c : Context Point) (u : State Point) |
| 414 | (w : Oscillation Point) (q : OscillatoryScalar Point) (gaussian : Oscillation Point) |
| 415 | (hop : LocalRankDefect.LocalOperators U.carrier c.operators) |
| 416 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) c.base) |
| 417 | (hm : RegularTriple U a b u.mean) |
| 418 | (hW : ∀ i j, Regular U a b (u.covariance i j)) |
| 419 | (hX : ∀ i j, Regular U a b (SignedMeanGain.covarianceIncrement u.oscillation w i j)) |
| 420 | |
| 421 | include hab hop hb hm hW hX |
| 422 | |
| 423 | theorem waveStage_debt_change_mem {κ α : ℝ} |
| 424 | (ho : OperatorBounds (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) c.operators κ) |
| 425 | (hcX : SignedMeanGain.TensorClass (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) α |
| 426 | (SignedMeanGain.covarianceIncrement u.oscillation w)) (i : Fin 3) : |
| 427 | UnweightedClass (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen ε L hε hεone hL) (α - κ) |
| 428 | (fun n x => debt c (SignedMeanGain.waveStage g c u w q gaussian) n x i - debt c u n x i) := by |
| 429 | have hR : Regular U a b (SignedMeanGain.radialCovarianceChange c.operators |
| 430 | (SignedMeanGain.covarianceIncrement u.oscillation w)) := |
| 431 | (((hX 0 0).radialDiv ha hab hop 1).neg.sub ((hX 2 0).dz c.operators)).add |
| 432 | ((hX 1 1).inv_mul ha hab hop) |
| 433 | have hclass := momentChange_mem U ha hab hcL hcR ε L hε hεone hL hR (hX 2 1) (hX 2 2) |
| 434 | (SignedMeanGain.radialCovarianceChange_mem ho hcX) |
| 435 | ((hcX 2 1).mono_exponent (by linarith [ho.kappa_nonneg])) |
| 436 | ((hcX 2 2).mono_exponent (by linarith [ho.kappa_nonneg])) i |
| 437 | apply class_congr hclass |
| 438 | intro n x hx |
| 439 | exact congrFun (waveStage_debt_change_formula U ha hab g c u w q gaussian hop hb hm hW hX n hx) i |
| 440 | |
| 441 | end WaveBounds |
| 442 | |
| 443 | section TemporalAlgebra |
| 444 | |
| 445 | variable (g : VariableGaugeMean.GaugeData Plane) (h : ℝ) (index : ℕ → ℕ) |
| 446 | (axial : Plane × Plane) (c : Context Point) (u : State Point) |
| 447 | |
| 448 | theorem temporalStage_mean : |
| 449 | (VariableGaugeMean.temporalStageState g h index axial c u).mean = |
| 450 | updated u.mean (VariableGaugeMean.temporalIncrementState g h index axial c u) := rfl |
| 451 | |
| 452 | theorem temporalStage_covariance : |
| 453 | (VariableGaugeMean.temporalStageState g h index axial c u).covariance = u.covariance := by |
| 454 | change bilinearCovariance (u.oscillation + 0) (u.oscillation + 0) = |
| 455 | bilinearCovariance u.oscillation u.oscillation |
| 456 | simp only [add_zero] |
| 457 | |
| 458 | theorem temporal_thetaFlux_change : |
| 459 | (thetaAxial c.base (VariableGaugeMean.temporalStageState g h index axial c u).mean + |
| 460 | (VariableGaugeMean.temporalStageState g h index axial c u).covariance 2 1) - |
| 461 | (thetaAxial c.base u.mean + u.covariance 2 1) = |
| 462 | deltaThetaAxial c.base u.mean (VariableGaugeMean.temporalIncrementState g h index axial c u) := by |
| 463 | rw [temporalStage_mean, temporalStage_covariance, thetaAxial_updated] |
| 464 | abel |
| 465 | |
| 466 | theorem temporal_axialFlux_change : |
| 467 | (axialAxial c.base (VariableGaugeMean.temporalStageState g h index axial c u).mean + |
| 468 | (VariableGaugeMean.temporalStageState g h index axial c u).covariance 2 2) - |
| 469 | (axialAxial c.base u.mean + u.covariance 2 2) = |
| 470 | deltaAxialAxial c.base u.mean (VariableGaugeMean.temporalIncrementState g h index axial c u) := by |
| 471 | rw [temporalStage_mean, temporalStage_covariance, axialAxial_updated] |
| 472 | abel |
| 473 | |
| 474 | end TemporalAlgebra |
| 475 | |
| 476 | section TemporalRegularity |
| 477 | |
| 478 | variable {coord a b : ℝ} (U : SlowRegion coord) (ha : 0 < a) (hab : a < b) |
| 479 | (g : VariableGaugeMean.GaugeData Plane) (h : ℝ) (index : ℕ → ℕ) |
| 480 | (axial : Plane × Plane) (c : Context Point) (u : State Point) |
| 481 | (hop : LocalRankDefect.LocalOperators U.carrier c.operators) |
| 482 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) c.base) |
| 483 | (hm : RegularTriple U a b u.mean) |
| 484 | (hi : RegularTriple U a b (VariableGaugeMean.temporalIncrementState g h index axial c u)) |
| 485 | (hW : ∀ i j, Regular U a b (u.covariance i j)) |
| 486 | |
| 487 | include hm hi in |
| 488 | theorem temporalStage_mean_regular : |
| 489 | RegularTriple U a b (VariableGaugeMean.temporalStageState g h index axial c u).mean := by |
| 490 | rw [temporalStage_mean] |
| 491 | exact hm.updated hi |
| 492 | |
| 493 | include hW in |
| 494 | theorem temporalStage_covariance_regular (i j : Fin 3) : |
| 495 | Regular U a b ((VariableGaugeMean.temporalStageState g h index axial c u).covariance i j) := by |
| 496 | rw [temporalStage_covariance] |
| 497 | exact hW i j |
| 498 | |
| 499 | include ha hab hop hb hm hi hW in |
| 500 | /-- Only the actual mean increment contributes to the temporal flux change; |
| 501 | the covariance remains the same actual angular integral. -/ |
| 502 | theorem temporalStage_debt_change_formula (n : ℕ) {x : Plane} (hx : x ∈ U.carrier) : |
| 503 | debt c (VariableGaugeMean.temporalStageState g h index axial c u) n x - debt c u n x = |
| 504 | momentChange |
| 505 | ((VariableGaugeMean.temporalStageState g h index axial c u).gr c - u.gr c) |
| 506 | (deltaThetaAxial c.base u.mean (VariableGaugeMean.temporalIncrementState g h index axial c u)) |
| 507 | (deltaAxialAxial c.base u.mean (VariableGaugeMean.temporalIncrementState g h index axial c u)) n x := by |
| 508 | have hmu := temporalStage_mean_regular U g h index axial c u hm hi |
| 509 | have hWv := temporalStage_covariance_regular U g h index axial c u hW |
| 510 | have he := debt_sub_eq U ha hab c u (VariableGaugeMean.temporalStageState g h index axial c u) |
| 511 | (hm.gr ha hab hb hop u.covariance hW) |
| 512 | (hmu.gr ha hab hb hop (VariableGaugeMean.temporalStageState g h index axial c u).covariance hWv) |
| 513 | ((hm.thetaAxial ha hab hb).add (hW 2 1)) ((hmu.thetaAxial ha hab hb).add (hWv 2 1)) |
| 514 | ((hm.axialAxial ha hab hb).add (hW 2 2)) ((hmu.axialAxial ha hab hb).add (hWv 2 2)) n hx |
| 515 | rwa [temporal_thetaFlux_change, temporal_axialFlux_change] at he |
| 516 | |
| 517 | end TemporalRegularity |
| 518 | |
| 519 | section TemporalBounds |
| 520 | |
| 521 | variable {coord a b cL cR : ℝ} (U : SlowRegion coord) |
| 522 | (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 523 | (ε L : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) |
| 524 | (g : VariableGaugeMean.GaugeData Plane) (h : ℝ) (index : ℕ → ℕ) |
| 525 | (axial : Plane × Plane) (c : Context Point) (u : State Point) |
| 526 | (hop : LocalRankDefect.LocalOperators U.carrier c.operators) |
| 527 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) c.base) |
| 528 | (hm : RegularTriple U a b u.mean) |
| 529 | (hi : RegularTriple U a b (VariableGaugeMean.temporalIncrementState g h index axial c u)) |
| 530 | (hW : ∀ i j, Regular U a b (u.covariance i j)) |
| 531 | |
| 532 | include hab hop hb hm hi hW |
| 533 | |
| 534 | theorem temporalStage_debt_change_mem {κ H : ℝ} |
| 535 | (ho : OperatorBounds (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) c.operators κ) |
| 536 | (hbC : BaseBounds (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) c.base) |
| 537 | (hmC : MeanIncrementBounds.CumulativeBounds (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) u.mean) |
| 538 | (hiC : IncrementBounds (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) H |
| 539 | (VariableGaugeMean.temporalIncrementState g h index axial c u)) |
| 540 | (hH : 9 / 10 ≤ H) (hκ : 2 * κ ≤ 9 / 10) (i : Fin 3) : |
| 541 | UnweightedClass (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen ε L hε hεone hL) H |
| 542 | (fun n x => debt c (VariableGaugeMean.temporalStageState g h index axial c u) n x i - debt c u n x i) := by |
| 543 | let st := movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL |
| 544 | have hsub : st.domain ⊆ PhysicalMeanDomain.slowDomain U.carrier := fun z hz => |
| 545 | ((movingStrip_domain U a b cL cR ha hcL hcR ε L hε hεone hL z).mp hz).1 |
| 546 | have hmu := temporalStage_mean_regular U g h index axial c u hm hi |
| 547 | have hWv := temporalStage_covariance_regular U g h index axial c u hW |
| 548 | have hcg : MeanClass st H ((VariableGaugeMean.temporalStageState g h index axial c u).gr c - u.gr c) := by |
| 549 | simpa only [State.gr, temporalStage_mean, temporalStage_covariance] using |
| 550 | gr_change_mem ho hbC hmC hiC hH u.covariance |
| 551 | (fun i j n => ((hW i j).smooth n).mono hsub) hκ |
| 552 | have hct : MeanClass st H |
| 553 | ((thetaAxial c.base (VariableGaugeMean.temporalStageState g h index axial c u).mean + |
| 554 | (VariableGaugeMean.temporalStageState g h index axial c u).covariance 2 1) - |
| 555 | (thetaAxial c.base u.mean + u.covariance 2 1)) := by |
| 556 | rw [temporal_thetaFlux_change] |
| 557 | exact deltaThetaAxial_mem ho hbC hmC hiC hH |
| 558 | have hcz : MeanClass st H |
| 559 | ((axialAxial c.base (VariableGaugeMean.temporalStageState g h index axial c u).mean + |
| 560 | (VariableGaugeMean.temporalStageState g h index axial c u).covariance 2 2) - |
| 561 | (axialAxial c.base u.mean + u.covariance 2 2)) := by |
| 562 | rw [temporal_axialFlux_change] |
| 563 | exact deltaAxialAxial_mem ho hbC hmC hiC hH |
| 564 | exact debt_change_mem U ha hab hcL hcR ε L hε hεone hL c u |
| 565 | (VariableGaugeMean.temporalStageState g h index axial c u) |
| 566 | (hm.gr ha hab hb hop u.covariance hW) |
| 567 | (hmu.gr ha hab hb hop (VariableGaugeMean.temporalStageState g h index axial c u).covariance hWv) |
| 568 | ((hm.thetaAxial ha hab hb).add (hW 2 1)) ((hmu.thetaAxial ha hab hb).add (hWv 2 1)) |
| 569 | ((hm.axialAxial ha hab hb).add (hW 2 2)) ((hmu.axialAxial ha hab hb).add (hWv 2 2)) hcg hct hcz i |
| 570 | |
| 571 | end TemporalBounds |
| 572 | |
| 573 | section DebtPropagation |
| 574 | |
| 575 | /-- Old measured debt plus the proved actual change controls the next debt. |
| 576 | The two input exponents may be weakened to a common requested exponent. -/ |
| 577 | theorem debt_mem_after_change (s : StripData Plane) (c : Context Point) (u v : State Point) |
| 578 | {α β H : ℝ} (hα : H ≤ α) (hβ : H ≤ β) |
| 579 | (hold : ∀ i : Fin 3, UnweightedClass s α (fun n x => debt c u n x i)) |
| 580 | (hchange : ∀ i : Fin 3, UnweightedClass s β (fun n x => debt c v n x i - debt c u n x i)) : |
| 581 | ∀ i : Fin 3, UnweightedClass s H (fun n x => debt c v n x i) := by |
| 582 | intro i |
| 583 | apply class_congr (((hold i).mono_exponent hα).add ((hchange i).mono_exponent hβ)) |
| 584 | intro n x hx |
| 585 | change debt c v n x i = debt c u n x i + (debt c v n x i - debt c u n x i) |
| 586 | ring |
| 587 | |
| 588 | theorem defectBounds_after_change (s : StripData Plane) (c : Context Point) (u v : State Point) |
| 589 | {σ τ β : ℝ} (hσ : τ ≤ σ) (hβ : 1 + τ ≤ β) |
| 590 | (hold : DefectBounds s σ c u) |
| 591 | (hchange : ∀ i : Fin 3, UnweightedClass s β (fun n x => debt c v n x i - debt c u n x i)) : |
| 592 | DefectBounds s τ c v := |
| 593 | debt_mem_after_change s c u v (by linarith) hβ hold hchange |
| 594 | |
| 595 | end DebtPropagation |
| 596 | |
| 597 | section WaveNextDebt |
| 598 | |
| 599 | variable {coord a b cL cR : ℝ} (U : SlowRegion coord) |
| 600 | (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 601 | (ε L : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) |
| 602 | (g : VariableGaugeMean.GaugeData Plane) (c : Context Point) (u : State Point) |
| 603 | (w : Oscillation Point) (q : OscillatoryScalar Point) (gaussian : Oscillation Point) |
| 604 | (hop : LocalRankDefect.LocalOperators U.carrier c.operators) |
| 605 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) c.base) |
| 606 | (hm : RegularTriple U a b u.mean) |
| 607 | (hW : ∀ i j, Regular U a b (u.covariance i j)) |
| 608 | (hX : ∀ i j, Regular U a b (SignedMeanGain.covarianceIncrement u.oscillation w i j)) |
| 609 | {κ α : ℝ} |
| 610 | (ho : OperatorBounds (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) c.operators κ) |
| 611 | (hcX : SignedMeanGain.TensorClass (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) α |
| 612 | (SignedMeanGain.covarianceIncrement u.oscillation w)) |
| 613 | |
| 614 | include hab hop hb hm hW hX ho hcX |
| 615 | |
| 616 | theorem waveStage_debt_mem {β : ℝ} (hβ : α - κ ≤ β) |
| 617 | (hold : ∀ i : Fin 3, UnweightedClass (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen |
| 618 | ε L hε hεone hL) β (fun n x => debt c u n x i)) : |
| 619 | ∀ i : Fin 3, UnweightedClass (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen |
| 620 | ε L hε hεone hL) (α - κ) |
| 621 | (fun n x => debt c (SignedMeanGain.waveStage g c u w q gaussian) n x i) := |
| 622 | debt_mem_after_change _ c u _ hβ le_rfl hold |
| 623 | (waveStage_debt_change_mem U ha hab hcL hcR ε L hε hεone hL g c u w q gaussian hop hb hm hW hX ho hcX) |
| 624 | |
| 625 | theorem waveStage_defectBounds {σ τ : ℝ} (hσ : τ ≤ σ) (hτ : 1 + τ ≤ α - κ) |
| 626 | (hold : DefectBounds (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen |
| 627 | ε L hε hεone hL) σ c u) : |
| 628 | DefectBounds (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen |
| 629 | ε L hε hεone hL) τ c (SignedMeanGain.waveStage g c u w q gaussian) := |
| 630 | defectBounds_after_change _ c u _ hσ hτ hold |
| 631 | (waveStage_debt_change_mem U ha hab hcL hcR ε L hε hεone hL g c u w q gaussian hop hb hm hW hX ho hcX) |
| 632 | |
| 633 | end WaveNextDebt |
| 634 | |
| 635 | section TemporalNextDebt |
| 636 | |
| 637 | variable {coord a b cL cR : ℝ} (U : SlowRegion coord) |
| 638 | (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 639 | (ε L : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) |
| 640 | (g : VariableGaugeMean.GaugeData Plane) (h : ℝ) (index : ℕ → ℕ) |
| 641 | (axial : Plane × Plane) (c : Context Point) (u : State Point) |
| 642 | (hop : LocalRankDefect.LocalOperators U.carrier c.operators) |
| 643 | (hb : SmoothTriple (LocalRankDefect.positiveDomain U.carrier) c.base) |
| 644 | (hm : RegularTriple U a b u.mean) |
| 645 | (hi : RegularTriple U a b (VariableGaugeMean.temporalIncrementState g h index axial c u)) |
| 646 | (hW : ∀ i j, Regular U a b (u.covariance i j)) |
| 647 | {κ H : ℝ} |
| 648 | (ho : OperatorBounds (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) c.operators κ) |
| 649 | (hbC : BaseBounds (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) c.base) |
| 650 | (hmC : MeanIncrementBounds.CumulativeBounds (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) u.mean) |
| 651 | (hiC : IncrementBounds (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) H |
| 652 | (VariableGaugeMean.temporalIncrementState g h index axial c u)) |
| 653 | (hH : 9 / 10 ≤ H) (hκ : 2 * κ ≤ 9 / 10) |
| 654 | |
| 655 | include hab hop hb hm hi hW ho hbC hmC hiC hH hκ |
| 656 | |
| 657 | theorem temporalStage_debt_mem {β : ℝ} (hβ : H ≤ β) |
| 658 | (hold : ∀ i : Fin 3, UnweightedClass (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen |
| 659 | ε L hε hεone hL) β (fun n x => debt c u n x i)) : |
| 660 | ∀ i : Fin 3, UnweightedClass (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen |
| 661 | ε L hε hεone hL) H |
| 662 | (fun n x => debt c (VariableGaugeMean.temporalStageState g h index axial c u) n x i) := |
| 663 | debt_mem_after_change _ c u _ hβ le_rfl hold |
| 664 | (temporalStage_debt_change_mem U ha hab hcL hcR ε L hε hεone hL g h index axial c u |
| 665 | hop hb hm hi hW ho hbC hmC hiC hH hκ) |
| 666 | |
| 667 | theorem temporalStage_defectBounds {σ τ : ℝ} (hσ : τ ≤ σ) (hτ : 1 + τ ≤ H) |
| 668 | (hold : DefectBounds (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen |
| 669 | ε L hε hεone hL) σ c u) : |
| 670 | DefectBounds (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen |
| 671 | ε L hε hεone hL) τ c (VariableGaugeMean.temporalStageState g h index axial c u) := |
| 672 | defectBounds_after_change _ c u _ hσ hτ hold |
| 673 | (temporalStage_debt_change_mem U ha hab hcL hcR ε L hε hεone hL g h index axial c u |
| 674 | hop hb hm hi hW ho hbC hmC hiC hH hκ) |
| 675 | |
| 676 | end TemporalNextDebt |
| 677 | |
| 678 | end |
| 679 | |
| 680 | end NavierStokes.GaugeDebtIncrement |