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.CorrectionStep |
| 2 | import NavierStokes.FiniteHeadClass |
| 3 | |
| 4 | /-! |
| 5 | # Mean composition with the actual signed cross covariance |
| 6 | |
| 7 | The cross covariance need not equal the requested stress on the finitely |
| 8 | many bands before the primary partition is complete. This file retains |
| 9 | its literal difference and its radial divergence. The composition below |
| 10 | has no `SignedMeanGain.NativeData` input. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.CrossBasedMeanComposition |
| 16 | |
| 17 | open Set Function Filter MeasureTheory |
| 18 | open scoped ContDiff Topology BigOperators |
| 19 | open WeightedClasses MeanIncrementBounds CorrectionState SignedMeanGain |
| 20 | |
| 21 | abbrev Point := SignedMeanGain.Point |
| 22 | abbrev ScalarField := SignedMeanGain.ScalarField |
| 23 | |
| 24 | /-- The actual averaged cross covariance minus the requested physical |
| 25 | stress, before applying the radial divergence. -/ |
| 26 | noncomputable def crossDefect (G : Geometry) (e : ℕ) |
| 27 | (f X : ScalarField Point) : ScalarField Point := |
| 28 | StateMomentBalances.meanBar X - physicalSigma G e f |
| 29 | |
| 30 | theorem meanBar_eq_sigma_add_defect (G : Geometry) (e : ℕ) |
| 31 | (f X : ScalarField Point) : |
| 32 | StateMomentBalances.meanBar X = physicalSigma G e f + crossDefect G e f X := by |
| 33 | unfold crossDefect |
| 34 | abel |
| 35 | |
| 36 | theorem crossDefect_mem_of_cross (G : Geometry) (e : ℕ) |
| 37 | (f X : ScalarField Point) (α : ℝ) |
| 38 | (hcross : Agree G.strip.domain (StateMomentBalances.meanBar X) (physicalSigma G e f)) : |
| 39 | MeanClass G.strip α (crossDefect G e f X) := by |
| 40 | apply class_congr (MemClass.zero (fun n x hx => G.strip.zeta_nonneg x hx)) |
| 41 | intro n x hx |
| 42 | simp only [crossDefect, Pi.sub_apply, hcross n hx, sub_self] |
| 43 | |
| 44 | /-- A baseline weighted estimate and actual tail agreement suffice for |
| 45 | every exponent. The finitely many earlier bands are retained, not set to zero. -/ |
| 46 | theorem crossDefect_all_exponents_of_tail (G : Geometry) (e : ℕ) |
| 47 | (f X : ScalarField Point) {α : ℝ} |
| 48 | (hbase : MeanClass G.strip α (crossDefect G e f X)) (N : ℕ) |
| 49 | (htail : ∀ n, N ≤ n → ∀ x ∈ G.strip.domain, |
| 50 | StateMomentBalances.meanBar X n x = physicalSigma G e f n x) : |
| 51 | ∀ β : ℝ, MeanClass G.strip β (crossDefect G e f X) := by |
| 52 | apply FiniteHeadClass.meanClass_all_exponents hbase N |
| 53 | intro n hn x hx |
| 54 | exact sub_eq_zero.mpr (htail n hn x hx) |
| 55 | |
| 56 | /-- The physical cancellation keeps the radial divergence of the actual |
| 57 | cross defect. No cancellation on the finite head is assumed. -/ |
| 58 | theorem cross_cancels_with_defect (G : Geometry) (e : ℕ) (he : e = 2 ∨ e = 1) |
| 59 | {f X : ScalarField Point} (hf : SmoothOn G.domain f) |
| 60 | (hs : ∀ n, LocalSignedRequest.MovingSupport G.patch.a G.patch.b G.coord G.region.carrier (f n)) |
| 61 | (hX : MovingField G X) |
| 62 | (hD : SmoothOn G.strip.domain (crossDefect G e f X)) |
| 63 | (n : ℕ) {x : Point} (hx : x ∈ G.strip.domain) : |
| 64 | StateMomentBalances.meanBar f n x + |
| 65 | StateMomentBalances.meanBar (G.operators.radialDiv (e : ℝ) X) n x = |
| 66 | removedBump G e f n x + G.operators.radialDiv (e : ℝ) (crossDefect G e f X) n x := by |
| 67 | rw [meanBar_radialDiv_on G.region.isOpen G.operators rfl |
| 68 | (fun _ _ _ => rfl) hX.smooth hX.periodic (e : ℝ) n (G.strip_subset hx)] |
| 69 | rw [meanBar_eq_sigma_add_defect G e f X] |
| 70 | rw [G.operators.radialDiv_add G.strip.isOpen_domain (e : ℝ) |
| 71 | (fun n => (physicalSigma_smooth G e hf hs n).mono G.strip_subset) hD n hx] |
| 72 | have hc := physicalSigma_cancels G e he hf hs n hx |
| 73 | simp only [Pi.add_apply] |
| 74 | linarith |
| 75 | |
| 76 | /-- Averaging the literal updated residual produces the removed moment |
| 77 | bump, the usual covariance/pressure remainder, and the cross defect. -/ |
| 78 | theorem averaged_residual_decomposition_with_defect |
| 79 | (G : Geometry) (c : Context Point) (u : State Point) |
| 80 | (w : Oscillation Point) (q : OscillatoryScalar Point) |
| 81 | (gaussian : Oscillation Point) |
| 82 | (H : LocalData G c u w q gaussian) (S E : Tensor Point) |
| 83 | (hS : ∀ i j, MovingField G (S i j)) |
| 84 | (hE : ∀ i j, MovingField G (E i j)) |
| 85 | (hX : covarianceIncrement u.oscillation w = S + E) |
| 86 | (hDθ : SmoothOn G.strip.domain (crossDefect G 2 (u.thetaResidual c) (S 0 1))) |
| 87 | (hDz : SmoothOn G.strip.domain (crossDefect G 1 (u.axialResidual c) (S 0 2))) : |
| 88 | Agree G.strip.domain |
| 89 | (StateMomentBalances.meanBar ((waveStage G.gauge c u w q gaussian).thetaResidual c)) |
| 90 | (removedBump G 2 (u.thetaResidual c) |
| 91 | + StateMomentBalances.meanBar (thetaRemainderField G S E) |
| 92 | + G.operators.radialDiv 2 (crossDefect G 2 (u.thetaResidual c) (S 0 1))) ∧ |
| 93 | Agree G.strip.domain |
| 94 | (StateMomentBalances.meanBar ((waveStage G.gauge c u w q gaussian).axialResidual c)) |
| 95 | (removedBump G 1 (u.axialResidual c) |
| 96 | + StateMomentBalances.meanBar |
| 97 | (axialRemainderField G S E (pressureChange G.gauge c u w q gaussian)) |
| 98 | + G.operators.radialDiv 1 (crossDefect G 1 (u.axialResidual c) (S 0 2))) := by |
| 99 | have hSs := fun i j n => ((hS i j).smooth n).mono G.strip_subset |
| 100 | have hEs := fun i j n => ((hE i j).smooth n).mono G.strip_subset |
| 101 | have hRestθ : SmoothOn G.domain (thetaRemainderField G S E) := |
| 102 | (MovingField.covariance_flux_smooth hE).1.add |
| 103 | (SmoothOn.dz (hS 2 1).smooth G.domain_open G.operators) |
| 104 | have hRestz : SmoothOn G.domain |
| 105 | (axialRemainderField G S E (pressureChange G.gauge c u w q gaussian)) := |
| 106 | ((MovingField.covariance_flux_smooth hE).2.1.add |
| 107 | (SmoothOn.dz (hS 2 2).smooth G.domain_open G.operators)).add |
| 108 | (H.pressureChange_smooth.dz G.domain_open G.operators) |
| 109 | obtain ⟨a,b,_,ha,_,_,_,hl,hr,_⟩ := |
| 110 | VariableGaugeMean.qLength_reference_bounds G.region G.patch.a_pos G.patch.a_lt_b |
| 111 | have hlocal (i j) : |
| 112 | LocalRankDefect.LocalShell a b G.region.carrier (S i j) := |
| 113 | ⟨(hS i j).smooth, ((hS i j).containing hl hr).supported⟩ |
| 114 | constructor |
| 115 | · intro n x hx |
| 116 | have hbar := G.average_congr (H.theta_split hSs hEs hX) n hx |
| 117 | have hrad := |
| 118 | ((hlocal 0 1).radialDiv ha G.region.isOpen G.local_operators 2).smooth |
| 119 | have hbump := cross_cancels_with_defect G 2 (Or.inl rfl) H.theta H.theta_support |
| 120 | (hS 0 1) hDθ n hx |
| 121 | rw [meanBar_add_on (H.theta.add hrad) hRestθ n (G.strip_subset hx), |
| 122 | meanBar_add_on H.theta hrad n (G.strip_subset hx)] at hbar |
| 123 | norm_num only [Nat.cast_ofNat] at hbump |
| 124 | simp only [Pi.add_apply] at hbar hbump ⊢ |
| 125 | linarith |
| 126 | · intro n x hx |
| 127 | have hbar := G.average_congr (H.axial_split hSs hEs hX) n hx |
| 128 | have hrad := |
| 129 | ((hlocal 0 2).radialDiv ha G.region.isOpen G.local_operators 1).smooth |
| 130 | have hbump := cross_cancels_with_defect G 1 (Or.inr rfl) H.axial H.axial_support |
| 131 | (hS 0 2) hDz n hx |
| 132 | rw [meanBar_add_on (H.axial.add hrad) hRestz n (G.strip_subset hx), |
| 133 | meanBar_add_on H.axial hrad n (G.strip_subset hx)] at hbar |
| 134 | norm_num only [Nat.cast_ofNat] at hbump |
| 135 | simp only [Pi.add_apply] at hbar hbump ⊢ |
| 136 | linarith |
| 137 | |
| 138 | /-- The same four mean gains as the exact-cross theorem, allowing the |
| 139 | literal cross defects at the derivative-adjusted gain exponent. -/ |
| 140 | theorem signed_mean_gain_of_cross_defects |
| 141 | (G : Geometry) (c : Context Point) (u : State Point) |
| 142 | {ι : Type} {P : ι → ℕ → Point → ℝ} {σ κ : ℝ} |
| 143 | (hσ : 1 / 5 ≤ σ) (hκ : 0 ≤ κ) (hκsmall : κ ≤ 1 / 100000) |
| 144 | (f : LabelSumBounds.SignedFamily G.strip P (1 / 2) (17 / 25) |
| 145 | (1 / 2 + σ - κ) (1 + σ - 2 * κ)) (a : Assembly f) |
| 146 | (q : OscillatoryScalar Point) (gaussian : Oscillation Point) |
| 147 | (hold : u.oscillation = oldField f a) |
| 148 | (H : LocalData G c u (tangentField f a + curlField f a) q gaussian) |
| 149 | (ho : OperatorBounds G.strip G.operators κ) |
| 150 | (hX : ∀ i j, MovingField G (incrementTensor f a i j)) |
| 151 | (hS : ∀ i j, MovingField G (crossTensor f a i j)) |
| 152 | (hθ : MeanClass G.strip (1 + σ - κ) (u.thetaResidual c)) |
| 153 | (hz : MeanClass G.strip (1 + σ - κ) (u.axialResidual c)) |
| 154 | (hd : DefectBounds G.slowStrip (σ - κ) c u) |
| 155 | (hDθ : MeanClass G.strip (1 + σ + 17 / 100 + κ) |
| 156 | (crossDefect G 2 (u.thetaResidual c) (crossTensor f a 0 1))) |
| 157 | (hDz : MeanClass G.strip (1 + σ + 17 / 100 + κ) |
| 158 | (crossDefect G 1 (u.axialResidual c) (crossTensor f a 0 2))) : |
| 159 | let v := waveStage G.gauge c u (tangentField f a + curlField f a) q gaussian |
| 160 | MeanClass G.strip (1 + σ - 2 * κ) (v.thetaResidual c) ∧ |
| 161 | MeanClass G.strip (1 + σ - 2 * κ) (v.axialResidual c) ∧ |
| 162 | MeanClass G.strip (1 + σ + 17 / 100) (StateMomentBalances.meanBar (v.thetaResidual c)) ∧ |
| 163 | MeanClass G.strip (1 + σ + 17 / 100) (StateMomentBalances.meanBar (v.axialResidual c)) := by |
| 164 | dsimp only |
| 165 | obtain ⟨hXi, hEi⟩ := signed_tensor_bounds hσ hκsmall f a |
| 166 | have hEeq : remainderTensor f a = incrementTensor f a - crossTensor f a := by |
| 167 | rw [incrementTensor_split] |
| 168 | abel |
| 169 | have hSeq : crossTensor f a = incrementTensor f a - remainderTensor f a := by |
| 170 | rw [incrementTensor_split] |
| 171 | abel |
| 172 | have hEc : ∀ i j, MovingField G (remainderTensor f a i j) := by |
| 173 | intro i j |
| 174 | rw [hEeq] |
| 175 | exact (hX i j).sub (hS i j) |
| 176 | have hSi : TensorClass G.strip (1 + σ - κ) (crossTensor f a) := by |
| 177 | intro i j |
| 178 | rw [hSeq] |
| 179 | exact Class.sub (hXi i j) ((hEi i j).mono_exponent (by linarith)) |
| 180 | have hactual : covarianceIncrement u.oscillation (tangentField f a + curlField f a) = |
| 181 | crossTensor f a + remainderTensor f a := by |
| 182 | rw [hold] |
| 183 | exact incrementTensor_split f a |
| 184 | have hactualClass : TensorClass G.strip (1 + σ - κ) |
| 185 | (covarianceIncrement u.oscillation (tangentField f a + curlField f a)) := by |
| 186 | simp only [hold] |
| 187 | exact hXi |
| 188 | have hp : MeanClass G.strip (1 + σ - 2 * κ) |
| 189 | (pressureChange G.gauge c u (tangentField f a + curlField f a) q gaussian) := by |
| 190 | convert! H.pressureChange_mem ho hactualClass using 1 |
| 191 | ring |
| 192 | have htchange : MeanClass G.strip (1 + σ - 2 * κ) |
| 193 | ((waveStage G.gauge c u (tangentField f a + curlField f a) q gaussian).thetaResidual c - |
| 194 | u.thetaResidual c) := by |
| 195 | have hh := thetaCovarianceChange_mem ho hactualClass |
| 196 | have heq := waveStage_theta_change G.strip.isOpen_domain G.gauge c u |
| 197 | (tangentField f a + curlField f a) q gaussian H.base H.mean H.covariance |
| 198 | (fun i j => (hactualClass i j).smooth) |
| 199 | rw [H.operators_eq] at heq |
| 200 | convert! class_congr hh heq using 1 |
| 201 | ring |
| 202 | have hzchange : MeanClass G.strip (1 + σ - 2 * κ) |
| 203 | ((waveStage G.gauge c u (tangentField f a + curlField f a) q gaussian).axialResidual c - |
| 204 | u.axialResidual c) := by |
| 205 | have hh : MeanClass G.strip (1 + σ - 2 * κ) |
| 206 | (axialCovarianceChange G.operators |
| 207 | (covarianceIncrement u.oscillation (tangentField f a + curlField f a))) := by |
| 208 | convert! axialCovarianceChange_mem ho hactualClass using 1 |
| 209 | ring |
| 210 | have heq := waveStage_axial_change G.strip.isOpen_domain G.gauge c u |
| 211 | (tangentField f a + curlField f a) q gaussian H.base H.mean H.covariance |
| 212 | (fun i j => (hactualClass i j).smooth) |
| 213 | (fun n => (H.pressure_smooth n).mono G.strip_subset) hp.smooth |
| 214 | rw [H.operators_eq] at heq |
| 215 | exact class_congr (hh.add ((ho.dz hp).mono_exponent (by linarith))) heq |
| 216 | have hRestθ : MeanClass G.strip (1 + σ + 17 / 100) |
| 217 | (thetaRemainderField G (crossTensor f a) (remainderTensor f a)) := by |
| 218 | apply MemClass.add |
| 219 | · convert! thetaCovarianceChange_mem ho hEi using 1 |
| 220 | ring |
| 221 | · exact (ho.dz (hSi 2 1)).mono_exponent (by linarith) |
| 222 | have hRestz : MeanClass G.strip (1 + σ + 17 / 100) |
| 223 | (axialRemainderField G (crossTensor f a) (remainderTensor f a) |
| 224 | (pressureChange G.gauge c u (tangentField f a + curlField f a) q gaussian)) := by |
| 225 | apply MemClass.add |
| 226 | · apply MemClass.add |
| 227 | · convert! axialCovarianceChange_mem ho hEi using 1 |
| 228 | ring |
| 229 | · exact (ho.dz (hSi 2 2)).mono_exponent (by linarith) |
| 230 | · exact (ho.dz hp).mono_exponent (by linarith) |
| 231 | have hRestθs : SmoothOn G.domain (thetaRemainderField G (crossTensor f a) (remainderTensor f a)) := |
| 232 | (MovingField.covariance_flux_smooth hEc).1.add |
| 233 | (SmoothOn.dz (hS 2 1).smooth G.domain_open G.operators) |
| 234 | have hRestzs : SmoothOn G.domain (axialRemainderField G (crossTensor f a) (remainderTensor f a) |
| 235 | (pressureChange G.gauge c u (tangentField f a + curlField f a) q gaussian)) := |
| 236 | ((MovingField.covariance_flux_smooth hEc).2.1.add |
| 237 | (SmoothOn.dz (hS 2 2).smooth G.domain_open G.operators)).add |
| 238 | (H.pressureChange_smooth.dz G.domain_open G.operators) |
| 239 | have hdebt : ∀ i : Fin 3, UnweightedClass G.slowStrip (1 + σ - κ) (fun n z => debt c u n z i) := by |
| 240 | intro i |
| 241 | convert! hd i using 1 |
| 242 | ring |
| 243 | obtain ⟨hbθ, hbz⟩ := G.removed_bumps_mem c u H.operators_eq H.angular_flux H.axial_flux |
| 244 | H.source H.reconstructed H.angular_mass H.axial_mass hdebt |
| 245 | have hbar := averaged_residual_decomposition_with_defect G c u (tangentField f a + curlField f a) |
| 246 | q gaussian H (crossTensor f a) (remainderTensor f a) hS hEc hactual hDθ.smooth hDz.smooth |
| 247 | have hdθ : MeanClass G.strip (1 + σ + 17 / 100) |
| 248 | (G.operators.radialDiv 2 (crossDefect G 2 (u.thetaResidual c) (crossTensor f a 0 1))) := by |
| 249 | convert! ho.radialDiv hDθ 2 using 1 |
| 250 | ring |
| 251 | have hdz : MeanClass G.strip (1 + σ + 17 / 100) |
| 252 | (G.operators.radialDiv 1 (crossDefect G 1 (u.axialResidual c) (crossTensor f a 0 2))) := by |
| 253 | convert! ho.radialDiv hDz 1 using 1 |
| 254 | ring |
| 255 | refine ⟨?_, ?_, ?_, ?_⟩ |
| 256 | · apply class_congr ((hθ.mono_exponent (by linarith)).add htchange) |
| 257 | intro n x _ |
| 258 | simp only [Pi.sub_apply] |
| 259 | ring |
| 260 | · apply class_congr ((hz.mono_exponent (by linarith)).add hzchange) |
| 261 | intro n x _ |
| 262 | simp only [Pi.sub_apply] |
| 263 | ring |
| 264 | · exact class_congr (((hbθ.mono_exponent (by linarith)).add (G.average_mem hRestθs hRestθ)).add hdθ) hbar.1 |
| 265 | · exact class_congr (((hbz.mono_exponent (by linarith)).add (G.average_mem hRestzs hRestz)).add hdz) hbar.2 |
| 266 | |
| 267 | open CorrectionStep VariableGaugeMean LocalSignedRequest |
| 268 | |
| 269 | /-- Pressure, cumulative, and measured-debt bounds for the actual signed |
| 270 | stage. Only the actual cross defect enters, without a native-selection record. -/ |
| 271 | theorem bandSignedStage_mean_debt_of_cross_defects {ι : Type} |
| 272 | (G : SignedMeanGain.Geometry) |
| 273 | (c : Context Point) (u : State Point) |
| 274 | {P : ι → ℕ → Point → ℝ} {σ κ : ℝ} |
| 275 | (hσ : 1/5 ≤ σ) (hκ : 0 ≤ κ) (hκsmall : κ ≤ 1/100000) |
| 276 | (f : LabelSumBounds.SignedFamily G.strip P (1/2) (17/25) |
| 277 | (1/2+σ-κ) (1+σ-2*κ)) (a : SignedMeanGain.Assembly f) |
| 278 | (q : OscillatoryScalar Point) (gaussian : Oscillation Point) |
| 279 | (hold : u.oscillation = SignedMeanGain.oldField f a) |
| 280 | (H : SignedMeanGain.LocalData G c u |
| 281 | (SignedMeanGain.tangentField f a + SignedMeanGain.curlField f a) q gaussian) |
| 282 | (ho : OperatorBounds G.strip G.operators κ) |
| 283 | (hu : CorrectionState.CumulativeBounds G.strip u) |
| 284 | (hbase : SmoothTriple (LocalRankDefect.positiveDomain G.region.carrier) c.base) |
| 285 | (hm : GaugeDebtIncrement.RegularTriple G.region G.patch.a G.patch.b u.mean) |
| 286 | (hW : ∀ i j, GaugeDebtIncrement.Regular G.region G.patch.a G.patch.b (u.covariance i j)) |
| 287 | (hX : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.incrementTensor f a i j)) |
| 288 | (hS : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.crossTensor f a i j)) |
| 289 | (hθ : MeanClass G.strip (1+σ-κ) (u.thetaResidual c)) |
| 290 | (hz : MeanClass G.strip (1+σ-κ) (u.axialResidual c)) |
| 291 | (hd : DefectBounds G.slowStrip (σ-κ) c u) |
| 292 | (hDθ : MeanClass G.strip (1 + σ + 17 / 100 + κ) |
| 293 | (crossDefect G 2 (u.thetaResidual c) (crossTensor f a 0 1))) |
| 294 | (hDz : MeanClass G.strip (1 + σ + 17 / 100 + κ) |
| 295 | (crossDefect G 1 (u.axialResidual c) (crossTensor f a 0 2))) : |
| 296 | let v := SignedMeanGain.waveStage G.gauge c u |
| 297 | (SignedMeanGain.tangentField f a + SignedMeanGain.curlField f a) q gaussian |
| 298 | MeanClass G.strip (1+σ-2*κ) (v.pressure - u.pressure) ∧ |
| 299 | CorrectionState.CumulativeBounds G.strip v ∧ |
| 300 | MeanClass G.strip (1+σ-2*κ) (v.thetaResidual c) ∧ |
| 301 | MeanClass G.strip (1+σ-2*κ) (v.axialResidual c) ∧ |
| 302 | MeanClass G.strip (1+σ+17/100) (meanBar (v.thetaResidual c)) ∧ |
| 303 | MeanClass G.strip (1+σ+17/100) (meanBar (v.axialResidual c)) ∧ |
| 304 | DefectBounds G.slowStrip (σ-2*κ) c v := by |
| 305 | let w := SignedMeanGain.tangentField f a + SignedMeanGain.curlField f a |
| 306 | let v := SignedMeanGain.waveStage G.gauge c u w q gaussian |
| 307 | have hXT : SignedMeanGain.TensorClass G.strip (1+σ-κ) |
| 308 | (SignedMeanGain.covarianceIncrement u.oscillation w) := by |
| 309 | simpa only [hold, w, SignedMeanGain.incrementTensor] using |
| 310 | (SignedMeanGain.signed_tensor_bounds hσ hκsmall f a).1 |
| 311 | have hXR : ∀ i j, GaugeDebtIncrement.Regular G.region G.patch.a G.patch.b |
| 312 | (SignedMeanGain.covarianceIncrement u.oscillation w i j) := by |
| 313 | intro i j |
| 314 | have hf := hX i j |
| 315 | change GaugeMomentBalances.MovingField G.region G.patch.a G.patch.b |
| 316 | (SignedMeanGain.incrementTensor f a i j) at hf |
| 317 | rw [hold] |
| 318 | exact ⟨hf.smooth, hf.supported⟩ |
| 319 | have hpressure : MeanClass G.strip (1+σ-2*κ) (SignedMeanGain.pressureChange G.gauge c u w q gaussian) := by |
| 320 | simpa only [show 1+σ-κ-κ = 1+σ-2*κ by ring] using H.pressureChange_mem ho hXT |
| 321 | have hc : OperatorBounds G.strip c.operators κ := by simpa only [H.operators_eq] using ho |
| 322 | have hop : LocalRankDefect.LocalOperators G.region.carrier c.operators := by |
| 323 | rw [H.operators_eq] |
| 324 | exact G.local_operators |
| 325 | have hdebt := GaugeDebtIncrement.waveStage_defectBounds G.region G.patch.a_pos G.patch.a_lt_b |
| 326 | G.left_pos G.right_pos G.epsilon G.slow G.epsilon_pos G.epsilon_le_one G.slow_ge_one |
| 327 | G.gauge c u w q gaussian hop hbase hm hW hXR hc hXT |
| 328 | (show σ-2*κ ≤ σ-κ by linarith) (show 1+(σ-2*κ) ≤ (1+σ-κ)-κ by linarith) hd |
| 329 | have hgain := signed_mean_gain_of_cross_defects G c u hσ hκ hκsmall f a |
| 330 | q gaussian hold H ho hX hS hθ hz hd hDθ hDz |
| 331 | have hcum : CorrectionState.CumulativeBounds G.strip v := |
| 332 | gaugeWaveStage_cumulative G.gauge c u w q ⟨0,gaussian,0⟩ hu hpressure (by linarith) |
| 333 | exact ⟨hpressure, hcum, hgain.1, hgain.2.1, hgain.2.2.1, hgain.2.2.2, hdebt⟩ |
| 334 | |
| 335 | /-- Exact cross identities recover the original signed-stage conclusion |
| 336 | without the normalized-domain native-selection assumption. -/ |
| 337 | theorem bandSignedStage_mean_debt_of_cross {ι : Type} |
| 338 | (G : SignedMeanGain.Geometry) |
| 339 | (c : Context Point) (u : State Point) |
| 340 | {P : ι → ℕ → Point → ℝ} {σ κ : ℝ} |
| 341 | (hσ : 1/5 ≤ σ) (hκ : 0 ≤ κ) (hκsmall : κ ≤ 1/100000) |
| 342 | (f : LabelSumBounds.SignedFamily G.strip P (1/2) (17/25) |
| 343 | (1/2+σ-κ) (1+σ-2*κ)) (a : SignedMeanGain.Assembly f) |
| 344 | (q : OscillatoryScalar Point) (gaussian : Oscillation Point) |
| 345 | (hold : u.oscillation = SignedMeanGain.oldField f a) |
| 346 | (H : SignedMeanGain.LocalData G c u |
| 347 | (SignedMeanGain.tangentField f a + SignedMeanGain.curlField f a) q gaussian) |
| 348 | (ho : OperatorBounds G.strip G.operators κ) |
| 349 | (hu : CorrectionState.CumulativeBounds G.strip u) |
| 350 | (hbase : SmoothTriple (LocalRankDefect.positiveDomain G.region.carrier) c.base) |
| 351 | (hm : GaugeDebtIncrement.RegularTriple G.region G.patch.a G.patch.b u.mean) |
| 352 | (hW : ∀ i j, GaugeDebtIncrement.Regular G.region G.patch.a G.patch.b (u.covariance i j)) |
| 353 | (hX : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.incrementTensor f a i j)) |
| 354 | (hS : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.crossTensor f a i j)) |
| 355 | (hθ : MeanClass G.strip (1+σ-κ) (u.thetaResidual c)) |
| 356 | (hz : MeanClass G.strip (1+σ-κ) (u.axialResidual c)) |
| 357 | (hd : DefectBounds G.slowStrip (σ-κ) c u) |
| 358 | (hcrossθ : Agree G.strip.domain (StateMomentBalances.meanBar (crossTensor f a 0 1)) |
| 359 | (physicalSigma G 2 (u.thetaResidual c))) |
| 360 | (hcrossz : Agree G.strip.domain (StateMomentBalances.meanBar (crossTensor f a 0 2)) |
| 361 | (physicalSigma G 1 (u.axialResidual c))) : |
| 362 | let v := SignedMeanGain.waveStage G.gauge c u |
| 363 | (SignedMeanGain.tangentField f a + SignedMeanGain.curlField f a) q gaussian |
| 364 | MeanClass G.strip (1+σ-2*κ) (v.pressure - u.pressure) ∧ |
| 365 | CorrectionState.CumulativeBounds G.strip v ∧ |
| 366 | MeanClass G.strip (1+σ-2*κ) (v.thetaResidual c) ∧ |
| 367 | MeanClass G.strip (1+σ-2*κ) (v.axialResidual c) ∧ |
| 368 | MeanClass G.strip (1+σ+17/100) (meanBar (v.thetaResidual c)) ∧ |
| 369 | MeanClass G.strip (1+σ+17/100) (meanBar (v.axialResidual c)) ∧ |
| 370 | DefectBounds G.slowStrip (σ-2*κ) c v := by |
| 371 | exact bandSignedStage_mean_debt_of_cross_defects G c u hσ hκ hκsmall f a |
| 372 | q gaussian hold H ho hu hbase hm hW hX hS hθ hz hd |
| 373 | (crossDefect_mem_of_cross G 2 (u.thetaResidual c) (crossTensor f a 0 1) _ hcrossθ) |
| 374 | (crossDefect_mem_of_cross G 1 (u.axialResidual c) (crossTensor f a 0 2) _ hcrossz) |
| 375 | |
| 376 | section MeanCycle |
| 377 | variable {ι : Type} (G : SignedMeanGain.Geometry) |
| 378 | (c : Context Point) (u : State Point) |
| 379 | (w₁ : Oscillation Point) (q₁ : OscillatoryScalar Point) (e₁ : Oscillation Point) |
| 380 | {P : ι → ℕ → Point → ℝ} {σ κ : ℝ} |
| 381 | (f : LabelSumBounds.SignedFamily G.strip P (1/2) (17/25) (1/2+σ-κ) (1+σ-2*κ)) |
| 382 | (a : SignedMeanGain.Assembly f) |
| 383 | (q₂ : OscillatoryScalar Point) (e₂ : Oscillation Point) |
| 384 | |
| 385 | local notation "u₁" => SignedMeanGain.waveStage G.gauge c u w₁ q₁ e₁ |
| 386 | local notation "w₂" => SignedMeanGain.tangentField f a + SignedMeanGain.curlField f a |
| 387 | local notation "u₂" => SignedMeanGain.waveStage G.gauge c u₁ w₂ q₂ e₂ |
| 388 | |
| 389 | /-- The two actual wave updates, temporal inverse, and rank solve form one |
| 390 | mean/debt gain. All intermediate residual and flux regularity is derived |
| 391 | from the original primitive fields and the actual covariance increments. -/ |
| 392 | theorem fourStage_mean_gain_of_cross_defects |
| 393 | (hσ : 1/5 ≤ σ) (hκ : 0 ≤ κ) (hκsmall : κ ≤ 1/100000) |
| 394 | (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) |
| 395 | (hop : c.operators = G.operators) |
| 396 | (ho : OperatorBounds G.strip G.operators κ) (hb : BaseBounds G.strip c.base) |
| 397 | (hu : CorrectionState.CumulativeBounds G.strip u) |
| 398 | (hfixed : (reconstructState G.gauge c u).pressure = u.pressure) |
| 399 | (hmθ : ∀ n z, z ∈ G.region.carrier → radialMoment 2 u.mean.angular n z = 0) |
| 400 | (hmz : ∀ n z, z ∈ G.region.carrier → radialMoment 1 u.mean.axial n z = 0) |
| 401 | (hθ : MeanClass G.strip (1+σ) (u.thetaResidual c)) |
| 402 | (hz : MeanClass G.strip (1+σ) (u.axialResidual c)) |
| 403 | (hd : DefectBounds G.slowStrip σ c u) |
| 404 | (hX₁ : ∀ i j, GaugeMomentBalances.MovingField G.region G.patch.a G.patch.b |
| 405 | (SignedMeanGain.covarianceIncrement u.oscillation w₁ i j)) |
| 406 | (hX₁class : SignedMeanGain.TensorClass G.strip (1+σ) |
| 407 | (SignedMeanGain.covarianceIncrement u.oscillation w₁)) |
| 408 | (hX₂ : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.incrementTensor f a i j)) |
| 409 | (hS : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.crossTensor f a i j)) |
| 410 | (hold : (u₁).oscillation = SignedMeanGain.oldField f a) |
| 411 | (hDθ : MeanClass G.strip (1 + σ + 17 / 100 + κ) |
| 412 | (crossDefect G 2 ((u₁).thetaResidual c) (crossTensor f a 0 1))) |
| 413 | (hDz : MeanClass G.strip (1 + σ + 17 / 100 + κ) |
| 414 | (crossDefect G 1 ((u₁).axialResidual c) (crossTensor f a 0 2))) |
| 415 | (r : RankData PressureStream.Plane) (h : ℝ) (index : ℕ → ℕ) |
| 416 | (axial : PressureStream.Plane × PressureStream.Plane) |
| 417 | (hh : 0 ≤ h) (hscale : ∀ n, ChartScales.S n ≤ G.slow n) |
| 418 | (gap : ℕ) (hgap : ∀ n, ChartScales.nativeIndex h n ≤ index n + gap) |
| 419 | (hv : c.operators.vT = (0, (0, TorusInverse.vector .temporal))) |
| 420 | (hfast : ∀ n, c.operators.fastCoefficient n = ChartScales.Tg ^ index n * ChartScales.Q n ^ (1+h)) |
| 421 | (hV : LocalRankDefect.IsSlowOn G.region.carrier c.base.angular) |
| 422 | (hG : LocalRankDefect.IsSlowOn G.region.carrier c.base.axial) |
| 423 | (hg : LocalRankDefect.RankGeometry G.gauge r G.region.carrier c |
| 424 | (temporalStageState G.gauge h index axial c u₂)) |
| 425 | {A₀ B₀ : ℝ} (hparam : RankStateBounds.NormalizedParameters G.coord A₀ B₀ r G.region.carrier) |
| 426 | (hB : B₀ ≠ 0) (hleft : G.patch.a < r.inner) (hright : r.outer < G.patch.b) : |
| 427 | let t := temporalStageState G.gauge h index axial c u₂ |
| 428 | let v := rankStageState G.gauge r axial c t |
| 429 | MeanClass G.strip (1+σ-2*κ) ((u₂).thetaResidual c) ∧ |
| 430 | MeanClass G.strip (1+σ-2*κ) ((u₂).axialResidual c) ∧ |
| 431 | CorrectionState.CumulativeBounds G.strip u₂ ∧ |
| 432 | IncrementBounds G.strip (1+σ-2*κ) (temporalIncrementState G.gauge h index axial c u₂) ∧ |
| 433 | IncrementBounds G.strip (1+σ-2*κ) (rankIncrementState G.gauge r axial c t) ∧ |
| 434 | MeanClass G.strip (1+σ-2*κ) (v.pressure-u.pressure) ∧ |
| 435 | CorrectionState.CumulativeBounds G.strip v ∧ |
| 436 | DefectBounds G.slowStrip (σ+1/10) c v ∧ |
| 437 | MeanClass G.strip (1+(σ+1/10)) (v.thetaResidual c) ∧ |
| 438 | MeanClass G.strip (1+(σ+1/10)) |
| 439 | (v.axialResidual c - fun n x => temporalAliasState G.gauge h index c u₂ n (x,0) 2) := by |
| 440 | have hs : movingStripData G.region G.gauge.radial.inner G.gauge.radial.outer |
| 441 | G.leftWeight G.rightWeight G.inner_pos G.left_pos G.right_pos |
| 442 | G.epsilon G.slow G.epsilon_pos G.epsilon_le_one G.slow_ge_one = G.strip := by |
| 443 | simp only [SignedMeanGain.Geometry.strip, G.inner_eq, G.outer_eq] |
| 444 | have H₀ : MeanStateRegularity.PrimitiveData G.region G.gauge.radial.inner G.gauge.radial.outer c u := by |
| 445 | simpa only [G.inner_eq, G.outer_eq] using H |
| 446 | have HX₁ : ∀ i j, GaugeDebtIncrement.Regular G.region G.gauge.radial.inner G.gauge.radial.outer |
| 447 | (SignedMeanGain.covarianceIncrement u.oscillation w₁ i j) := by |
| 448 | simpa only [G.inner_eq, G.outer_eq] using |
| 449 | (fun i j => MeanStateRegularity.MovingField.regular (hX₁ i j)) |
| 450 | have hc : OperatorBounds G.strip c.operators κ := by simpa only [hop] using ho |
| 451 | have hfirst := gaugeWaveStage_mean_from_covariance G.region G.gauge G.inner_pos G.exponent_pos |
| 452 | G.left_pos G.right_pos G.epsilon G.slow G.epsilon_pos G.epsilon_le_one G.slow_ge_one G.length_eq |
| 453 | c u w₁ q₁ e₁ H.operators.regular H.base.smooth H₀.mean.regular |
| 454 | (fun i j => MeanStateRegularity.MovingField.regular (H₀.covariance i j)) HX₁ |
| 455 | (hs.symm ▸ hc) (hs.symm ▸ hX₁class) hfixed (hs.symm ▸ hb) (hs.symm ▸ hu) |
| 456 | (show 9/10 ≤ (1+σ)-κ by linarith) le_rfl |
| 457 | (hs.symm ▸ hθ.mono_exponent (by linarith)) (hs.symm ▸ hz.mono_exponent (by linarith)) |
| 458 | (fun i => (hd i).mono_exponent (by linarith)) |
| 459 | rw [hs] at hfirst |
| 460 | obtain ⟨hp₁, hu₁, hθ₁, hz₁, hd₁⟩ := hfirst |
| 461 | have H₁ := H.waveStage G.gauge w₁ q₁ e₁ hX₁ |
| 462 | have HX₂ : ∀ i j, GaugeMomentBalances.MovingField G.region G.patch.a G.patch.b |
| 463 | (SignedMeanGain.covarianceIncrement (u₁).oscillation w₂ i j) := by |
| 464 | simp only [hold] |
| 465 | exact hX₂ |
| 466 | have Hsigned := MeanStateRegularity.localData G c u₁ w₂ q₂ e₂ H₁ hop HX₂ |
| 467 | (GaugeMomentBalances.reconstructState_idempotent _ _ _) |
| 468 | (by simpa only [SignedMeanGain.waveStage_mean] using hmθ) |
| 469 | (by simpa only [SignedMeanGain.waveStage_mean] using hmz) |
| 470 | have hdebt₁ : DefectBounds G.slowStrip (σ-κ) c u₁ := by |
| 471 | simpa only [DefectBounds, SignedMeanGain.Geometry.slowStrip, |
| 472 | show 1+(σ-κ) = 1+σ-κ by ring] using hd₁ |
| 473 | obtain ⟨hp₂, hu₂, hθ₂, hz₂, hbarθ, hbarz, hd₂⟩ := |
| 474 | bandSignedStage_mean_debt_of_cross_defects G c u₁ hσ hκ hκsmall f a |
| 475 | q₂ e₂ hold Hsigned ho hu₁ H.base.smooth H₁.mean.regular |
| 476 | (fun i j => MeanStateRegularity.MovingField.regular (H₁.covariance i j)) hX₂ hS |
| 477 | hθ₁ hz₁ hdebt₁ hDθ hDz |
| 478 | have H₂ := H₁.waveStage G.gauge w₂ q₂ e₂ HX₂ |
| 479 | have H₂g : MeanStateRegularity.PrimitiveData G.region G.gauge.radial.inner G.gauge.radial.outer c u₂ := by |
| 480 | simpa only [G.inner_eq, G.outer_eq] using H₂ |
| 481 | have hθreg := H₂g.theta G.inner_pos G.gauge.radial.inner_lt_outer |
| 482 | have hzreg := H₂g.axial_reconstructed G.inner_pos G.exponent_pos G.length_eq rfl |
| 483 | have hmean := meanStages_constructed G.gauge r h index axial c u₂ G.region G.inner_pos G.exponent_pos |
| 484 | G.left_pos G.right_pos G.epsilon G.slow G.epsilon_pos G.epsilon_le_one G.slow_ge_one G.length_eq |
| 485 | rfl hσ hκsmall hh hscale gap hgap hv hfast (hs.symm ▸ hc) (hs.symm ▸ hb) (hs.symm ▸ hu₂) |
| 486 | H.operators.regular H.base.smooth hV hG H₂g.mean.regular.smooth |
| 487 | ⟨H₂g.mean.radial.supported, H₂g.mean.angular.supported, H₂g.mean.axial.supported⟩ |
| 488 | (fun i j => (H₂g.covariance i j).smooth) (fun i j => (H₂g.covariance i j).supported) |
| 489 | hθreg.smooth hzreg.smooth hθreg.periodic hzreg.periodic hθreg.supported hzreg.supported |
| 490 | (hs.symm ▸ hθ₂) (hs.symm ▸ hz₂) (hs.symm ▸ hbarθ) (hs.symm ▸ hbarz) |
| 491 | (by simpa only [DefectBounds, SignedMeanGain.Geometry.slowStrip, |
| 492 | show 1+(σ-2*κ) = 1+σ-2*κ by ring] using hd₂) |
| 493 | hg hparam hB (by simpa only [G.inner_eq] using hleft) (by simpa only [G.outer_eq] using hright) |
| 494 | rw [hs] at hmean |
| 495 | obtain ⟨hi, hr, hpmean, hcum, hdebt, htheta, haxial⟩ := hmean |
| 496 | refine ⟨hθ₂, hz₂, hu₂, hi, hr, ?_, hcum, hdebt, htheta, haxial⟩ |
| 497 | apply class_congr (((hp₁.mono_exponent (by linarith)).add hp₂).add hpmean) |
| 498 | intro n x hx |
| 499 | change (rankStageState G.gauge r axial c (temporalStageState G.gauge h index axial c u₂)).pressure n x - |
| 500 | u.pressure n x = ((u₁).pressure n x - u.pressure n x + |
| 501 | ((u₂).pressure n x - (u₁).pressure n x)) + |
| 502 | ((rankStageState G.gauge r axial c (temporalStageState G.gauge h index axial c u₂)).pressure n x - |
| 503 | (u₂).pressure n x) |
| 504 | ring |
| 505 | |
| 506 | end MeanCycle |
| 507 | |
| 508 | namespace CycleParameters |
| 509 | |
| 510 | open CorrectionStep.CycleParameters |
| 511 | |
| 512 | section ActualMean |
| 513 | variable {ι : Type} (G : SignedMeanGain.Geometry) |
| 514 | (h : ℝ) (index : ℕ → ℕ) (axial : PressureStream.Plane × PressureStream.Plane) |
| 515 | (particular : ι → ParticularParameters CycleSlow) |
| 516 | (signed : ι → PeriodizedSignedParameters CyclePoint TorusInverse.Frequency) |
| 517 | (r : RankData PressureStream.Plane) |
| 518 | (v : CycleCoefficients ι) (c : Context CyclePoint) (u : State CyclePoint) |
| 519 | (primary : ι → HarmonicBlock CyclePoint) (P : ι → ℕ → CyclePoint → ℝ) |
| 520 | {σ κ : ℝ} (hσ : 1/5 ≤ σ) (N : ℕ) |
| 521 | (hprimary : ∀ l, (primary l).BandLimited N) (hband : CoefficientBands v) |
| 522 | (hcp : ∀ l, SameCarrier (v.blocks l) (primary l)) |
| 523 | |
| 524 | |
| 525 | variable (hcs : ∀ l, SameCarrier (v.blocks l) ((ofGeometry G h index axial particular signed r).signedBlock v c u l)) |
| 526 | (hold : ∀ i j, LabelSumBounds.UniformWaveClass G.strip P (1/2) |
| 527 | (fun l n x => (v.blocks l).velocity n i j x)) |
| 528 | (hdiff : ∀ i j, LabelSumBounds.UniformWaveClass G.strip P (17/25) |
| 529 | (fun l n x => (v.blocks l).velocity n i j x - (primary l).velocity n i j x)) |
| 530 | (hpart : ∀ i j, LabelSumBounds.UniformWaveClass G.strip P (1/2+σ) |
| 531 | (fun l n x => ((ofGeometry G h index axial particular signed r).particularBlock v c u l).velocity n i j x)) |
| 532 | (htangent : ∀ i j, LabelSumBounds.UniformWaveClass G.strip P (1/2+σ-κ) |
| 533 | (fun l n x => ((ofGeometry G h index axial particular signed r).signedTangent v c u l).velocity n i j x)) |
| 534 | (hcurl : ∀ i j, LabelSumBounds.UniformWaveClass G.strip P (1+σ-2*κ) |
| 535 | (fun l n x => ((ofGeometry G h index axial particular signed r).signedCurl v c u l).velocity n i j x)) |
| 536 | (hP0 : ∀ l n x, x ∈ G.strip.domain → 0 ≤ P l n x) |
| 537 | (hP1 : ∀ l n x, x ∈ G.strip.domain → P l n x ≤ 1) |
| 538 | (hkp : ∀ l n, (v.blocks l).angularFrequency n ≠ 0) |
| 539 | |
| 540 | local notation "F" => signedFamily (ofGeometry G h index axial particular signed r) v c u primary P hσ N hprimary hband hcp hcs |
| 541 | hold hdiff hpart htangent hcurl hP0 hP1 hkp |
| 542 | |
| 543 | /-- The complete measured-mean gain for `next`. The signed family is |
| 544 | computed from this cycle's actual particular, tangent, and curl blocks; |
| 545 | its first covariance estimate is derived from the same finite labels. -/ |
| 546 | theorem mean_gain_from_waves_of_cross_defects |
| 547 | (a : SignedMeanGain.Assembly F) (halabels : a.labels = v.labels) |
| 548 | {axis : AxisymmetricAlias} (hrep : CycleRepresentation v u axis) |
| 549 | (hzero : ∀ l, HarmonicWaveInteraction.ZeroMode (v.blocks l)) |
| 550 | (hpartzero : ∀ l, HarmonicWaveInteraction.ZeroMode ((ofGeometry G h index axial particular signed r).particularBlock v c u l)) |
| 551 | (hsold : LabelSumBounds.SupportedOscillations a.slots a.label a.window a.auxiliary G.strip.domain |
| 552 | (fun l => (v.blocks l).oscillation)) |
| 553 | (hspart : LabelSumBounds.SupportedOscillations a.slots a.label a.window a.auxiliary G.strip.domain |
| 554 | (fun l => ((ofGeometry G h index axial particular signed r).particularBlock v c u l).oscillation)) |
| 555 | (hκ : 0 ≤ κ) (hκsmall : κ ≤ 1/100000) |
| 556 | (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) |
| 557 | (hop : c.operators = G.operators) |
| 558 | (ho : OperatorBounds G.strip G.operators κ) (hb : BaseBounds G.strip c.base) |
| 559 | (hu : CorrectionState.CumulativeBounds G.strip u) |
| 560 | (hfixed : (reconstructState G.gauge c u).pressure = u.pressure) |
| 561 | (hmθ : ∀ n z, z ∈ G.region.carrier → radialMoment 2 u.mean.angular n z = 0) |
| 562 | (hmz : ∀ n z, z ∈ G.region.carrier → radialMoment 1 u.mean.axial n z = 0) |
| 563 | (hθ : MeanClass G.strip (1+σ) (u.thetaResidual c)) |
| 564 | (hz : MeanClass G.strip (1+σ) (u.axialResidual c)) |
| 565 | (hd : DefectBounds G.slowStrip σ c u) |
| 566 | (hX₁ : ∀ i j, GaugeMomentBalances.MovingField G.region G.patch.a G.patch.b |
| 567 | (SignedMeanGain.covarianceIncrement u.oscillation ((ofGeometry G h index axial particular signed r).particularVelocity v c u) i j)) |
| 568 | (hX₂ : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.incrementTensor F a i j)) |
| 569 | (hS : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.crossTensor F a i j)) |
| 570 | (hDθ : MeanClass G.strip (1 + σ + 17 / 100 + κ) |
| 571 | (crossDefect G 2 (((ofGeometry G h index axial particular signed r).afterParticular v c u).thetaResidual c) |
| 572 | (crossTensor F a 0 1))) |
| 573 | (hDz : MeanClass G.strip (1 + σ + 17 / 100 + κ) |
| 574 | (crossDefect G 1 (((ofGeometry G h index axial particular signed r).afterParticular v c u).axialResidual c) |
| 575 | (crossTensor F a 0 2))) |
| 576 | (hh : 0 ≤ h) (hscale : ∀ n, ChartScales.S n ≤ G.slow n) |
| 577 | (gap : ℕ) (hgap : ∀ n, ChartScales.nativeIndex h n ≤ index n + gap) |
| 578 | (hv : c.operators.vT = (0, (0, TorusInverse.vector .temporal))) |
| 579 | (hfast : ∀ n, c.operators.fastCoefficient n = ChartScales.Tg ^ index n * ChartScales.Q n ^ (1+h)) |
| 580 | (hV : LocalRankDefect.IsSlowOn G.region.carrier c.base.angular) |
| 581 | (hG : LocalRankDefect.IsSlowOn G.region.carrier c.base.axial) |
| 582 | (hg : LocalRankDefect.RankGeometry G.gauge r G.region.carrier c ((ofGeometry G h index axial particular signed r).afterTemporal v c u)) |
| 583 | {A₀ B₀ : ℝ} (hparam : RankStateBounds.NormalizedParameters G.coord A₀ B₀ r G.region.carrier) |
| 584 | (hB : B₀ ≠ 0) (hleft : G.patch.a < r.inner) (hright : r.outer < G.patch.b) : |
| 585 | MeanClass G.strip (1+σ-2*κ) |
| 586 | (((ofGeometry G h index axial particular signed r).afterSigned v c u).thetaResidual c) ∧ |
| 587 | MeanClass G.strip (1+σ-2*κ) |
| 588 | (((ofGeometry G h index axial particular signed r).afterSigned v c u).axialResidual c) ∧ |
| 589 | CorrectionState.CumulativeBounds G.strip ((ofGeometry G h index axial particular signed r).afterSigned v c u) ∧ |
| 590 | IncrementBounds G.strip (1+σ-2*κ) ((ofGeometry G h index axial particular signed r).temporalIncrement v c u) ∧ |
| 591 | IncrementBounds G.strip (1+σ-2*κ) ((ofGeometry G h index axial particular signed r).rankIncrement v c u) ∧ |
| 592 | MeanClass G.strip (1+σ-2*κ) (((ofGeometry G h index axial particular signed r).next v c u).pressure-u.pressure) ∧ |
| 593 | CorrectionState.CumulativeBounds G.strip ((ofGeometry G h index axial particular signed r).next v c u) ∧ |
| 594 | DefectBounds G.slowStrip (σ+1/10) c ((ofGeometry G h index axial particular signed r).next v c u) ∧ |
| 595 | MeanClass G.strip (1+(σ+1/10)) (((ofGeometry G h index axial particular signed r).next v c u).thetaResidual c) ∧ |
| 596 | MeanClass G.strip (1+(σ+1/10)) |
| 597 | (((ofGeometry G h index axial particular signed r).next v c u).axialResidual c - fun n x => temporalAliasState G.gauge h index c |
| 598 | ((ofGeometry G h index axial particular signed r).afterSigned v c u) n (x,0) 2) := by |
| 599 | have hrep₀ : u.oscillation = LabelSumBounds.fieldSum a.labels (fun l => (v.blocks l).oscillation) := by |
| 600 | rw [halabels] |
| 601 | funext n x i |
| 602 | exact hrep.velocity n x i |
| 603 | have hcov := assembledCovarianceIncrement_mem (show (1:ℝ)/2 ≤ 1/2+σ by linarith) |
| 604 | a.labels a.label a.injective a.level a.window a.window_continuous a.auxiliary |
| 605 | v.blocks ((ofGeometry G h index axial particular signed r).particularBlock v c u) v.residualBand hband.velocityPressure |
| 606 | ((ofGeometry G h index axial particular signed r).particularBlock_band v c u) (fun _ => ⟨rfl,rfl,rfl⟩) |
| 607 | (fun i j _ => hold i j) (fun i j _ => hpart i j) hzero hpartzero hP0 hP1 hkp hsold hspart u hrep₀ |
| 608 | have hcov' : SignedMeanGain.TensorClass G.strip (1+σ) |
| 609 | (SignedMeanGain.covarianceIncrement u.oscillation ((ofGeometry G h index axial particular signed r).particularVelocity v c u)) := by |
| 610 | simp only [halabels, particularVelocity, show (1:ℝ)/2+(1/2+σ) = 1+σ by ring] at hcov ⊢ |
| 611 | exact hcov |
| 612 | have hrep₁ : ((ofGeometry G h index axial particular signed r).afterParticular v c u).oscillation = SignedMeanGain.oldField F a := by |
| 613 | simpa only [SignedMeanGain.oldField, halabels, signedFamily] using (ofGeometry G h index axial particular signed r).beforeSignedBlock_represents v c u hrep |
| 614 | have hw₂ : SignedMeanGain.tangentField F a + SignedMeanGain.curlField F a = (ofGeometry G h index axial particular signed r).signedVelocity v c u := by |
| 615 | simpa only [SignedMeanGain.tangentField, SignedMeanGain.curlField, signedFamily, halabels] using |
| 616 | ((ofGeometry G h index axial particular signed r).signedVelocity_split v c u).symm |
| 617 | have hgain := fourStage_mean_gain_of_cross_defects G c u ((ofGeometry G h index axial particular signed r).particularVelocity v c u) ((ofGeometry G h index axial particular signed r).particularPressure v c u) |
| 618 | ((ofGeometry G h index axial particular signed r).particularGaussian v c u) F a ((ofGeometry G h index axial particular signed r).signedPressure v c u) ((ofGeometry G h index axial particular signed r).signedGaussian v c u) |
| 619 | hσ hκ hκsmall H hop ho hb hu hfixed hmθ hmz hθ hz hd hX₁ hcov' hX₂ hS hrep₁ hDθ hDz |
| 620 | r h index axial hh hscale gap hgap hv hfast hV hG |
| 621 | (by erw [hw₂]; exact hg) hparam hB hleft hright |
| 622 | erw [hw₂] at hgain |
| 623 | obtain ⟨hsθ, hsz, hscum, hi, hr, hpmean, hcum, hdebt, htheta, haxial⟩ := hgain |
| 624 | exact ⟨hsθ, hsz, ⟨hscum.velocity, hscum.pressure⟩, |
| 625 | hi, hr, hpmean, ⟨hcum.velocity, hcum.pressure⟩, hdebt, htheta, haxial⟩ |
| 626 | |
| 627 | /-- The complete cycle needs only one baseline class for each cross defect |
| 628 | and actual agreement after a fixed band. Finite-head promotion retains |
| 629 | its contribution and preserves the original mean/debt gain. -/ |
| 630 | theorem mean_gain_from_waves_of_finite_head |
| 631 | (a : SignedMeanGain.Assembly F) (halabels : a.labels = v.labels) |
| 632 | {axis : AxisymmetricAlias} (hrep : CycleRepresentation v u axis) |
| 633 | (hzero : ∀ l, HarmonicWaveInteraction.ZeroMode (v.blocks l)) |
| 634 | (hpartzero : ∀ l, HarmonicWaveInteraction.ZeroMode ((ofGeometry G h index axial particular signed r).particularBlock v c u l)) |
| 635 | (hsold : LabelSumBounds.SupportedOscillations a.slots a.label a.window a.auxiliary G.strip.domain |
| 636 | (fun l => (v.blocks l).oscillation)) |
| 637 | (hspart : LabelSumBounds.SupportedOscillations a.slots a.label a.window a.auxiliary G.strip.domain |
| 638 | (fun l => ((ofGeometry G h index axial particular signed r).particularBlock v c u l).oscillation)) |
| 639 | (hκ : 0 ≤ κ) (hκsmall : κ ≤ 1/100000) |
| 640 | (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) |
| 641 | (hop : c.operators = G.operators) |
| 642 | (ho : OperatorBounds G.strip G.operators κ) (hb : BaseBounds G.strip c.base) |
| 643 | (hu : CorrectionState.CumulativeBounds G.strip u) |
| 644 | (hfixed : (reconstructState G.gauge c u).pressure = u.pressure) |
| 645 | (hmθ : ∀ n z, z ∈ G.region.carrier → radialMoment 2 u.mean.angular n z = 0) |
| 646 | (hmz : ∀ n z, z ∈ G.region.carrier → radialMoment 1 u.mean.axial n z = 0) |
| 647 | (hθ : MeanClass G.strip (1+σ) (u.thetaResidual c)) |
| 648 | (hz : MeanClass G.strip (1+σ) (u.axialResidual c)) |
| 649 | (hd : DefectBounds G.slowStrip σ c u) |
| 650 | (hX₁ : ∀ i j, GaugeMomentBalances.MovingField G.region G.patch.a G.patch.b |
| 651 | (SignedMeanGain.covarianceIncrement u.oscillation ((ofGeometry G h index axial particular signed r).particularVelocity v c u) i j)) |
| 652 | (hX₂ : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.incrementTensor F a i j)) |
| 653 | (hS : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.crossTensor F a i j)) |
| 654 | {αθ αz : ℝ} |
| 655 | (hDθ : MeanClass G.strip αθ |
| 656 | (crossDefect G 2 (((ofGeometry G h index axial particular signed r).afterParticular v c u).thetaResidual c) |
| 657 | (crossTensor F a 0 1))) |
| 658 | (hDz : MeanClass G.strip αz |
| 659 | (crossDefect G 1 (((ofGeometry G h index axial particular signed r).afterParticular v c u).axialResidual c) |
| 660 | (crossTensor F a 0 2))) |
| 661 | (Ncross : ℕ) |
| 662 | (htailθ : ∀ n, Ncross ≤ n → ∀ x ∈ G.strip.domain, |
| 663 | StateMomentBalances.meanBar (crossTensor F a 0 1) n x = |
| 664 | physicalSigma G 2 (((ofGeometry G h index axial particular signed r).afterParticular v c u).thetaResidual c) n x) |
| 665 | (htailz : ∀ n, Ncross ≤ n → ∀ x ∈ G.strip.domain, |
| 666 | StateMomentBalances.meanBar (crossTensor F a 0 2) n x = |
| 667 | physicalSigma G 1 (((ofGeometry G h index axial particular signed r).afterParticular v c u).axialResidual c) n x) |
| 668 | (hh : 0 ≤ h) (hscale : ∀ n, ChartScales.S n ≤ G.slow n) |
| 669 | (gap : ℕ) (hgap : ∀ n, ChartScales.nativeIndex h n ≤ index n + gap) |
| 670 | (hv : c.operators.vT = (0, (0, TorusInverse.vector .temporal))) |
| 671 | (hfast : ∀ n, c.operators.fastCoefficient n = ChartScales.Tg ^ index n * ChartScales.Q n ^ (1+h)) |
| 672 | (hV : LocalRankDefect.IsSlowOn G.region.carrier c.base.angular) |
| 673 | (hG : LocalRankDefect.IsSlowOn G.region.carrier c.base.axial) |
| 674 | (hg : LocalRankDefect.RankGeometry G.gauge r G.region.carrier c ((ofGeometry G h index axial particular signed r).afterTemporal v c u)) |
| 675 | {A₀ B₀ : ℝ} (hparam : RankStateBounds.NormalizedParameters G.coord A₀ B₀ r G.region.carrier) |
| 676 | (hB : B₀ ≠ 0) (hleft : G.patch.a < r.inner) (hright : r.outer < G.patch.b) : |
| 677 | MeanClass G.strip (1+σ-2*κ) |
| 678 | (((ofGeometry G h index axial particular signed r).afterSigned v c u).thetaResidual c) ∧ |
| 679 | MeanClass G.strip (1+σ-2*κ) |
| 680 | (((ofGeometry G h index axial particular signed r).afterSigned v c u).axialResidual c) ∧ |
| 681 | CorrectionState.CumulativeBounds G.strip ((ofGeometry G h index axial particular signed r).afterSigned v c u) ∧ |
| 682 | IncrementBounds G.strip (1+σ-2*κ) ((ofGeometry G h index axial particular signed r).temporalIncrement v c u) ∧ |
| 683 | IncrementBounds G.strip (1+σ-2*κ) ((ofGeometry G h index axial particular signed r).rankIncrement v c u) ∧ |
| 684 | MeanClass G.strip (1+σ-2*κ) (((ofGeometry G h index axial particular signed r).next v c u).pressure-u.pressure) ∧ |
| 685 | CorrectionState.CumulativeBounds G.strip ((ofGeometry G h index axial particular signed r).next v c u) ∧ |
| 686 | DefectBounds G.slowStrip (σ+1/10) c ((ofGeometry G h index axial particular signed r).next v c u) ∧ |
| 687 | MeanClass G.strip (1+(σ+1/10)) (((ofGeometry G h index axial particular signed r).next v c u).thetaResidual c) ∧ |
| 688 | MeanClass G.strip (1+(σ+1/10)) |
| 689 | (((ofGeometry G h index axial particular signed r).next v c u).axialResidual c - fun n x => temporalAliasState G.gauge h index c |
| 690 | ((ofGeometry G h index axial particular signed r).afterSigned v c u) n (x,0) 2) := by |
| 691 | exact mean_gain_from_waves_of_cross_defects G h index axial particular signed r |
| 692 | v c u primary P hσ N hprimary hband hcp hcs hold hdiff hpart htangent hcurl |
| 693 | hP0 hP1 hkp a halabels hrep hzero hpartzero hsold hspart hκ hκsmall |
| 694 | H hop ho hb hu hfixed hmθ hmz hθ hz hd hX₁ hX₂ hS |
| 695 | (crossDefect_all_exponents_of_tail G 2 _ _ hDθ Ncross htailθ _) |
| 696 | (crossDefect_all_exponents_of_tail G 1 _ _ hDz Ncross htailz _) |
| 697 | hh hscale gap hgap hv hfast hV hG hg hparam hB hleft hright |
| 698 | |
| 699 | end ActualMean |
| 700 | |
| 701 | end CycleParameters |
| 702 | |
| 703 | end NavierStokes.CrossBasedMeanComposition |