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.ActualBaseResidual |
| 2 | import NavierStokes.CorrectionInitialization |
| 3 | import NavierStokes.ActualPrimaryBounds |
| 4 | import NavierStokes.ActualPrimaryCovariance |
| 5 | import NavierStokes.ActualPrimaryCoherence |
| 6 | |
| 7 | /-! |
| 8 | # Mean estimates for the chosen initial primary family |
| 9 | |
| 10 | This module uses the literal primary choice, band labels, common gauge and |
| 11 | rank data from `CorrectionInitialization.ActualPrimary`. In particular the |
| 12 | stored base error is the actual base residual, whose angular continuity is |
| 13 | used only on the positive-time domain. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace NavierStokes.ActualInitialMean |
| 19 | |
| 20 | open Set Filter CorrectionState CorrectionInitialization WeightedClasses |
| 21 | open scoped ContDiff Topology BigOperators |
| 22 | |
| 23 | |
| 24 | abbrev Point := LocalSignedRequest.Point |
| 25 | abbrev Index (B N0 : ℕ) := ActualPrimary.Label B N0 × Fin 2 |
| 26 | |
| 27 | noncomputable def strip : StripData Point := |
| 28 | BaseContextAssembly.nativeStrip ActualPrimary.nominal ActualPrimary.standardRegion |
| 29 | |
| 30 | noncomputable def slowStrip : StripData TorusInverse.Plane := |
| 31 | PhysicalMeanDomain.localSlowStripData ActualPrimary.standardRegion.carrier |
| 32 | ActualPrimary.standardRegion.isOpen (ChartScales.epsilon ActualPrimary.h) |
| 33 | BaseContextAssembly.slowScale (ChartScales.epsilon_pos ActualPrimary.h) |
| 34 | (ChartScales.epsilon_le_one ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le) |
| 35 | BaseContextAssembly.one_le_slowScale |
| 36 | |
| 37 | noncomputable def primaryPiece {B N0 : ℕ} (l : Index B N0) : PrimaryPiece (Point × ℝ) := |
| 38 | ActualPrimary.piece ActualPrimary.standardRegion l.2 l.1 |
| 39 | |
| 40 | noncomputable def baseError (B : ℕ) : Oscillation Point := |
| 41 | ActualBaseResidual.baseError ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B |
| 42 | |
| 43 | noncomputable def seed (B N0 : ℕ) : State Point := |
| 44 | bandSeed (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) primaryPiece (baseError B) |
| 45 | |
| 46 | noncomputable def axial : TorusInverse.Plane × TorusInverse.Plane := ((0, 1), 0) |
| 47 | |
| 48 | noncomputable def primary (B N0 : ℕ) : State Point := |
| 49 | VariableGaugeMean.reconstructState ActualPrimary.commonGauge (ActualPrimary.commonContext B) (seed B N0) |
| 50 | |
| 51 | noncomputable def temporal (B N0 : ℕ) : State Point := |
| 52 | VariableGaugeMean.temporalStageState ActualPrimary.commonGauge ActualPrimary.h |
| 53 | (CommonWindow.index ActualPrimary.h) axial (ActualPrimary.commonContext B) (primary B N0) |
| 54 | |
| 55 | noncomputable def ranked (B N0 : ℕ) : State Point := |
| 56 | VariableGaugeMean.rankStageState ActualPrimary.commonGauge ActualPrimary.rankData axial |
| 57 | (ActualPrimary.commonContext B) (temporal B N0) |
| 58 | |
| 59 | noncomputable def initialized (B N0 : ℕ) : State Point := |
| 60 | GaugeInitialization.initializedBands ActualPrimary.commonGauge ActualPrimary.rankData |
| 61 | ActualPrimary.h (CommonWindow.index ActualPrimary.h) axial (ActualPrimary.commonContext B) |
| 62 | (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) primaryPiece (baseError B) |
| 63 | |
| 64 | noncomputable def initialAlias (B N0 : ℕ) (n : ℕ) (x : Point) : Fin 3 → ℝ := |
| 65 | VariableGaugeMean.temporalAliasState ActualPrimary.commonGauge ActualPrimary.h |
| 66 | (CommonWindow.index ActualPrimary.h) (ActualPrimary.commonContext B) (primary B N0) n (x, 0) + |
| 67 | VariableGaugeMean.pressureAliasState ActualPrimary.commonGauge (ActualPrimary.commonContext B) |
| 68 | (ranked B N0) n (x, 0) |
| 69 | |
| 70 | section AngularBookkeeping |
| 71 | |
| 72 | variable {B N0 : ℕ} |
| 73 | |
| 74 | noncomputable def phase (l : Index B N0) (n : ℕ) (x : Point) : ℝ := |
| 75 | (primaryPiece l).coefficients.phase n (x, 0) |
| 76 | |
| 77 | noncomputable def angularMode (l : Index B N0) (_n : ℕ) : ℤ := |
| 78 | PrimaryGeometryAssembly.angularMode ActualPrimary.certificate ActualPrimary.modulation |
| 79 | (ActualPrimary.choice B N0).prepared l.2 l.1 |
| 80 | |
| 81 | theorem angularMode_ne_zero (l : Index B N0) (n : ℕ) : angularMode l n ≠ 0 := |
| 82 | PrimaryGeometryAssembly.angularMode_ne_zero ActualPrimary.certificate ActualPrimary.modulation |
| 83 | (ActualPrimary.choice B N0).prepared l.2 l.1 |
| 84 | |
| 85 | theorem phase_split (l : Index B N0) (n : ℕ) (x : Point) (theta : ℝ) : |
| 86 | (primaryPiece l).coefficients.frequency n * (primaryPiece l).coefficients.phase n (x, theta) = |
| 87 | (primaryPiece l).coefficients.frequency n * phase l n x + (angularMode l n : ℝ) * theta := by |
| 88 | change (ActualPrimary.chartCoefficients l.2 l.1).frequency n * |
| 89 | (ActualPrimary.chartCoefficients l.2 l.1).phase n (x, theta) = |
| 90 | (ActualPrimary.chartCoefficients l.2 l.1).frequency n * |
| 91 | (ActualPrimary.chartCoefficients l.2 l.1).phase n (x, 0) + _ |
| 92 | rw [ActualPrimary.chartCoefficients_phase, ActualPrimary.chartCoefficients_phase] |
| 93 | simp only [ActualPrimary.absolutePhase, angularMode, mul_zero, zero_add] |
| 94 | ring |
| 95 | |
| 96 | theorem cutoff_smooth (l : Index B N0) (n : ℕ) : ContDiff ℝ ∞ ((primaryPiece l).cutoff n) := |
| 97 | (ActualPrimary.periodicGaussian_smooth l.2 l.1).comp |
| 98 | ((ActualPrimary.toAbsolute_smooth n).snd.comp contDiff_fst) |
| 99 | |
| 100 | theorem amplitude_angle (l : Index B N0) : |
| 101 | ErrorHarmonics.AngleIndependent (primaryPiece l).coefficients.amplitude := fun _ _ _ => rfl |
| 102 | |
| 103 | theorem cutoff_angle (l : Index B N0) : |
| 104 | ErrorHarmonics.AngleIndependent (primaryPiece l).cutoff := fun _ _ _ => rfl |
| 105 | |
| 106 | theorem exact_amplitude_angle (l : Index B N0) : |
| 107 | ErrorHarmonics.AngleIndependent (primaryPiece l).exactCoefficients.amplitude := by |
| 108 | intro n x theta |
| 109 | exact CopyAngularInvariance.invariant_eq_zeroSlice |
| 110 | ((ActualPrimary.chartCoefficients_angular l.2 l.1).corrected_amplitude |
| 111 | (BaseContextAssembly.nativeStrip ActualPrimary.nominal ActualPrimary.standardRegion) |
| 112 | (ActualPrimary.commonContext B) n) x theta |
| 113 | |
| 114 | theorem tangent_amplitude_angle (l : Index B N0) : |
| 115 | ErrorHarmonics.AngleIndependent |
| 116 | ((primaryPiece l).coefficients.withCutoff (primaryPiece l).cutoff).amplitude := fun _ _ _ => rfl |
| 117 | |
| 118 | theorem gaussian_mean_zero (l : Index B N0) : |
| 119 | CorrectionStep.angularMeanVector (primaryPiece l).excluded = 0 := |
| 120 | (primaryPiece l).excluded_mean_zero (phase l) (angularMode l) (angularMode_ne_zero l) |
| 121 | (cutoff_smooth l) (cutoff_angle l) (amplitude_angle l) (phase_split l) |
| 122 | |
| 123 | theorem gaussian_angularContinuous (l : Index B N0) : |
| 124 | CorrectionStep.AngularContinuous (primaryPiece l).excluded := |
| 125 | (primaryPiece l).excluded_angularContinuous (phase l) (angularMode l) |
| 126 | (cutoff_smooth l) (cutoff_angle l) (amplitude_angle l) (phase_split l) |
| 127 | |
| 128 | /-- Only continuity along the single angular integration fiber is needed. -/ |
| 129 | theorem meanGoodResidual_at {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 130 | (c : Context D) (u : State D) (n : ℕ) (x : D) (i : Fin 3) |
| 131 | (hb : Continuous (fun theta : ℝ => u.errors.base n (x, theta) i)) |
| 132 | (hg : Continuous (fun theta : ℝ => u.errors.gaussian n (x, theta) i)) |
| 133 | (ha : Continuous (fun theta : ℝ => u.errors.aliasError n (x, theta) i)) : |
| 134 | u.meanGoodResidual c n x i = u.reducedMeanResidual c n x i - |
| 135 | HarmonicResidual.realAngularMean (fun theta => u.errors.gaussian n (x, theta) i) - |
| 136 | HarmonicResidual.realAngularMean (fun theta => u.errors.aliasError n (x, theta) i) := by |
| 137 | change u.reducedMeanResidual c n x i + |
| 138 | HarmonicResidual.realAngularMean (fun theta => u.errors.base n (x, theta) i) - |
| 139 | HarmonicResidual.realAngularMean (fun theta => |
| 140 | u.errors.base n (x, theta) i + u.errors.gaussian n (x, theta) i + |
| 141 | u.errors.aliasError n (x, theta) i) = _ |
| 142 | rw [HarmonicResidual.realAngularMean_add (hb.fun_add hg) ha, |
| 143 | HarmonicResidual.realAngularMean_add hb hg] |
| 144 | ring |
| 145 | |
| 146 | theorem initialized_meanGood (B N0 n : ℕ) {x : Point} (hT : 0 < x.2.1.1) (i : Fin 3) : |
| 147 | (initialized B N0).meanGoodResidual (ActualPrimary.commonContext B) n x i = |
| 148 | (initialized B N0).reducedMeanResidual (ActualPrimary.commonContext B) n x i - initialAlias B N0 n x i := by |
| 149 | obtain ⟨hb, hg, ha⟩ := GaugeInitialization.initializedBands_error_components |
| 150 | ActualPrimary.commonGauge ActualPrimary.rankData ActualPrimary.h |
| 151 | (CommonWindow.index ActualPrimary.h) axial (ActualPrimary.commonContext B) |
| 152 | (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) primaryPiece (baseError B) |
| 153 | change (initialized B N0).errors.base = _ at hb |
| 154 | change (initialized B N0).errors.gaussian = _ at hg |
| 155 | change (initialized B N0).errors.aliasError = _ at ha |
| 156 | have hbc : Continuous (fun theta : ℝ => (initialized B N0).errors.base n (x, theta) i) := by |
| 157 | rw [hb] |
| 158 | exact ActualBaseResidual.baseError_angular_continuous ActualPrimary.certificate |
| 159 | ActualPrimary.modulation ActualPrimary.upper B n hT i |
| 160 | have hgc : Continuous (fun theta : ℝ => (initialized B N0).errors.gaussian n (x, theta) i) := by |
| 161 | rw [hg] |
| 162 | exact continuous_finsetSum _ (fun l _ => gaussian_angularContinuous l n x i) |
| 163 | have hac : Continuous (fun theta : ℝ => (initialized B N0).errors.aliasError n (x, theta) i) := by |
| 164 | rw [ha] |
| 165 | change Continuous (fun _ : ℝ => initialAlias B N0 n x i) |
| 166 | exact continuous_const |
| 167 | rw [meanGoodResidual_at _ _ n x i hbc hgc hac] |
| 168 | have hgz : HarmonicResidual.realAngularMean |
| 169 | (fun theta => (initialized B N0).errors.gaussian n (x, theta) i) = 0 := by |
| 170 | change CorrectionStep.angularMeanVector (initialized B N0).errors.gaussian n x i = 0 |
| 171 | rw [hg, angularMeanVector_fieldSum _ _ |
| 172 | (fun n l _ x i => gaussian_angularContinuous l n x i)] |
| 173 | simp only [gaussian_mean_zero, Pi.zero_apply, Finset.sum_const_zero] |
| 174 | rw [hgz, sub_zero] |
| 175 | congr 1 |
| 176 | rw [ha] |
| 177 | change HarmonicResidual.realAngularMean (fun _ : ℝ => initialAlias B N0 n x i) = _ |
| 178 | exact HarmonicResidual.realAngularMean_const _ |
| 179 | |
| 180 | end AngularBookkeeping |
| 181 | |
| 182 | section CovarianceInputs |
| 183 | |
| 184 | variable {B N0 : ℕ} |
| 185 | |
| 186 | noncomputable def envelope (l : Index B N0) (n : ℕ) (x : Point) : ℝ := |
| 187 | ActualPrimaryBounds.fullEnvelope (l.2, l.1) n (x, 0) |
| 188 | |
| 189 | theorem envelope_nonneg (l : Index B N0) (n : ℕ) (x : Point) : 0 ≤ envelope l n x := |
| 190 | ActualPrimaryBounds.fullEnvelope_nonneg (l.2, l.1) n (x, 0) |
| 191 | |
| 192 | theorem envelope_le_one (l : Index B N0) (n : ℕ) (x : Point) : envelope l n x ≤ 1 := |
| 193 | ActualPrimaryBounds.fullEnvelope_le_one (l.2, l.1) n (x, 0) |
| 194 | |
| 195 | theorem tangent_amplitude_uniform : |
| 196 | LabelSumBounds.UniformWaveClass strip envelope (1 / 2) |
| 197 | (fun l : Index B N0 => fun n x => |
| 198 | ((primaryPiece l).coefficients.withCutoff (primaryPiece l).cutoff).amplitude n (x, 0)) := by |
| 199 | have hh := ActualPrimaryBounds.chart_cut_amplitude_uniform (B := B) (N0 := N0) |
| 200 | change LabelSumBounds.UniformClass (HarmonicWaveInteraction.productStrip strip) |
| 201 | (fun l n x => Real.sqrt (strip.zeta x.1) * ActualPrimaryBounds.meanEnvelope l n x.1) |
| 202 | (1 / 2) _ at hh |
| 203 | have hr : LabelSumBounds.UniformWaveClass strip ActualPrimaryBounds.meanEnvelope (1 / 2) |
| 204 | (fun l : ActualPrimaryBounds.SignedLabel B N0 => fun n x => |
| 205 | ((ActualPrimary.chartCoefficients l.1 l.2).withCutoff |
| 206 | (ActualPrimary.chartCutoff l.1 l.2)).amplitude n (x, 0)) := |
| 207 | UniformBlockBounds.uniform_slice hh |
| 208 | exact hr.reindex (fun l : Index B N0 => (l.2, l.1)) |
| 209 | |
| 210 | theorem seed_angularSmooth (B N0 : ℕ) : |
| 211 | WaveStateRegularity.AngularSmooth |
| 212 | (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) (seed B N0).oscillation := by |
| 213 | intro n i |
| 214 | change ContDiffOn ℝ ∞ (fun p => |
| 215 | ∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, |
| 216 | (primaryPiece l).velocity n p i) |
| 217 | (HarmonicResidual.liftDomain (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier)) |
| 218 | apply ContDiffOn.sum |
| 219 | intro l _ |
| 220 | exact (contDiffOn_pi.mp (ActualPrimaryCoherence.piece_velocity_smooth |
| 221 | ActualPrimary.standardRegion l.2 l.1 n) i).mono |
| 222 | (fun p hp => ActualPrimary.standardRegion.time_pos _ hp.1) |
| 223 | |
| 224 | theorem seed_covariance_smooth (B N0 : ℕ) (i j : Fin 3) : |
| 225 | MeanIncrementBounds.SmoothOn (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 226 | ((seed B N0).covariance i j) := |
| 227 | WaveStateRegularity.bilinearCovariance_smooth |
| 228 | (PhysicalMeanDomain.slowDomain_open ActualPrimary.standardRegion.isOpen) |
| 229 | (seed_angularSmooth B N0) (seed_angularSmooth B N0) i j |
| 230 | |
| 231 | theorem tangent_angularSmooth (B N0 : ℕ) : |
| 232 | WaveStateRegularity.AngularSmooth |
| 233 | (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 234 | (ActualPrimaryCovariance.tangentSum B N0) := by |
| 235 | intro n i |
| 236 | apply ContDiffOn.sum |
| 237 | intro l _ |
| 238 | exact (contDiffOn_pi.mp (ActualPrimaryCoherence.piece_tangentVelocity_smooth |
| 239 | ActualPrimary.standardRegion l.2 l.1 n) i).mono |
| 240 | (fun p hp => ActualPrimary.standardRegion.time_pos _ hp.1) |
| 241 | |
| 242 | theorem tangent_covariance_smooth (B N0 : ℕ) (i j : Fin 3) : |
| 243 | MeanIncrementBounds.SmoothOn (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 244 | (ActualPrimaryCovariance.tangentCovariance B N0 i j) := |
| 245 | WaveStateRegularity.bilinearCovariance_smooth |
| 246 | (PhysicalMeanDomain.slowDomain_open ActualPrimary.standardRegion.isOpen) |
| 247 | (tangent_angularSmooth B N0) (tangent_angularSmooth B N0) i j |
| 248 | |
| 249 | theorem seed_waveSupport (B N0 : ℕ) : |
| 250 | WaveStateRegularity.WaveSupport ActualPrimary.standardRegion |
| 251 | ActualPrimary.commonGauge.radial.inner ActualPrimary.commonGauge.radial.outer |
| 252 | (seed B N0).oscillation := by |
| 253 | apply WaveStateRegularity.fieldSum_support |
| 254 | intro n l _ theta i x hx hn |
| 255 | apply ActualPrimaryCoherence.piece_velocity_support ActualPrimary.standardRegion l.2 l.1 n |
| 256 | (x := (x, theta)) (ActualPrimary.standardRegion.time_pos _ hx) |
| 257 | intro hz |
| 258 | exact hn (congrFun hz i) |
| 259 | |
| 260 | theorem seed_covariance_regular (B N0 : ℕ) (i j : Fin 3) : |
| 261 | GaugeDebtIncrement.Regular ActualPrimary.standardRegion |
| 262 | ActualPrimary.commonGauge.radial.inner ActualPrimary.commonGauge.radial.outer |
| 263 | ((seed B N0).covariance i j) := |
| 264 | WaveStateRegularity.bilinearCovariance_regular ActualPrimary.standardRegion |
| 265 | (seed_angularSmooth B N0) (seed_angularSmooth B N0) (seed_waveSupport B N0) i j |
| 266 | |
| 267 | theorem active_index_le {n : ℕ} {l : Index B N0} |
| 268 | (hl : l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n) : |
| 269 | CommonWindow.index ActualPrimary.h n ≤ |
| 270 | ChartScales.nativeIndex ActualPrimary.h (BaseChartJets.cellBand l.1) := by |
| 271 | apply ActualPrimaryCovariance.active_cover_le n |
| 272 | rw [ActualPrimaryCovariance.activeLabels_product] at hl |
| 273 | exact (Finset.mem_product.mp hl).1 |
| 274 | |
| 275 | theorem seed_velocity_periodic (B N0 n : ℕ) (R : ℝ) (s : TorusInverse.Plane) (theta : ℝ) : |
| 276 | FourierAlias.TorusPeriodic (fun Y => (seed B N0).oscillation n ((R, (s, Y)), theta)) := by |
| 277 | intro Y k |
| 278 | funext i |
| 279 | apply Finset.sum_congr rfl |
| 280 | intro l hl |
| 281 | have he := congrFun (ActualPrimaryCoherence.piece_velocity_periodic ActualPrimary.standardRegion l.2 l.1 n |
| 282 | (active_index_le hl) k ((R, (s, Y)), theta)) i |
| 283 | simp only [ActualPrimaryCoherence.chartDeck, TorusAverages.latticePoint, |
| 284 | Prod.add_def, add_zero] at he |
| 285 | exact he |
| 286 | |
| 287 | theorem covariance_periodic_of_periodic {U : Set TorusInverse.Plane} {u : Oscillation Point} |
| 288 | (hu : ∀ n theta i, PhysicalMeanDomain.PeriodicOn U (fun x => u n (x, theta) i)) |
| 289 | (i j : Fin 3) (n : ℕ) : PhysicalMeanDomain.PeriodicOn U (bilinearCovariance u u i j n) := by |
| 290 | intro R s hs Y k |
| 291 | change (∫ theta in (0 : ℝ)..2 * Real.pi, |
| 292 | u n ((R, (s, Y + ((k.1 : ℝ), (k.2 : ℝ)))), theta) i * |
| 293 | u n ((R, (s, Y + ((k.1 : ℝ), (k.2 : ℝ)))), theta) j) / (2 * Real.pi) = |
| 294 | (∫ theta in (0 : ℝ)..2 * Real.pi, u n ((R, (s, Y)), theta) i * |
| 295 | u n ((R, (s, Y)), theta) j) / (2 * Real.pi) |
| 296 | apply congrArg (fun a : ℝ => a / (2 * Real.pi)) |
| 297 | apply intervalIntegral.integral_congr |
| 298 | intro theta _ |
| 299 | exact congrArg₂ (· * ·) (hu n theta i R s hs Y k) (hu n theta j R s hs Y k) |
| 300 | |
| 301 | theorem seed_covariance_periodic (B N0 : ℕ) (i j : Fin 3) (n : ℕ) : |
| 302 | PhysicalMeanDomain.PeriodicOn ActualPrimary.standardRegion.carrier |
| 303 | ((seed B N0).covariance i j n) := |
| 304 | covariance_periodic_of_periodic |
| 305 | (fun n theta i R s _ Y k => congrFun (seed_velocity_periodic B N0 n R s theta Y k) i) i j n |
| 306 | |
| 307 | /-- The estimate comes from actual cut amplitudes, curl corrections and |
| 308 | closed slot supports. Its constants do not count the growing label set. -/ |
| 309 | theorem covariance_bounds_of_curl (B N0 : ℕ) |
| 310 | (hc : LabelSumBounds.UniformWaveClass strip envelope (1 - ChartScales.kappa) |
| 311 | (fun l : Index B N0 => fun n x => |
| 312 | ((primaryPiece l).coefficients.withCutoff (primaryPiece l).cutoff).curlCorrection |
| 313 | (primaryPiece l).strip (primaryPiece l).directions n (x, 0))) : |
| 314 | (∀ i j, MeanClass strip 1 ((seed B N0).covariance i j)) ∧ |
| 315 | (∀ i j, MeanClass strip (3 / 2 - ChartScales.kappa) |
| 316 | ((seed B N0).covariance i j - ActualPrimaryCovariance.tangentCovariance B N0 i j)) := by |
| 317 | classical |
| 318 | rcases isEmpty_or_nonempty (Index B N0) with he | he |
| 319 | · let := he |
| 320 | have hl (n : ℕ) : ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n = ∅ := |
| 321 | Finset.eq_empty_iff_forall_notMem.mpr (fun l => isEmptyElim l) |
| 322 | have hs : (seed B N0).oscillation = 0 := by |
| 323 | funext n x i |
| 324 | simp [seed, bandSeed, LabelSumBounds.fieldSum, hl] |
| 325 | have ht : ActualPrimaryCovariance.tangentSum B N0 = 0 := by |
| 326 | funext n x i |
| 327 | simp [ActualPrimaryCovariance.tangentSum, hl] |
| 328 | have hz (alpha : ℝ) : MeanClass strip alpha (0 : ScalarField Point) := |
| 329 | MemClass.zero (fun _ x hx => strip.zeta_nonneg x hx) |
| 330 | constructor |
| 331 | · intro i j |
| 332 | apply MeanIncrementBounds.class_congr (hz 1) |
| 333 | intro n x _ |
| 334 | simp [State.covariance, hs, bilinearCovariance, angularAverage] |
| 335 | · intro i j |
| 336 | apply MeanIncrementBounds.class_congr (hz (3 / 2 - ChartScales.kappa)) |
| 337 | intro n x _ |
| 338 | simp [State.covariance, hs, ActualPrimaryCovariance.tangentCovariance, ht, |
| 339 | bilinearCovariance, angularAverage] |
| 340 | · let := he |
| 341 | exact AssembledPrimary.covariance_bounds ActualPrimary.slots |
| 342 | (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) |
| 343 | (fun _ => ActualPrimaryCovariance.signedLabelOf) |
| 344 | (fun _ => ActualPrimaryCovariance.signedLabelOf_injective.injOn) |
| 345 | (fun _ l _ => l.1.val.property.1) |
| 346 | ActualPrimaryCovariance.physicalWindow ActualPrimaryCovariance.physicalWindow_continuousOn |
| 347 | ActualPrimaryCovariance.absoluteAuxiliary primaryPiece (baseError B) phase angularMode |
| 348 | tangent_amplitude_uniform hc (fun l n x _ => envelope_nonneg l n x) |
| 349 | (fun l n x _ => envelope_le_one l n x) angularMode_ne_zero tangent_amplitude_angle |
| 350 | exact_amplitude_angle phase_split ActualPrimaryCovariance.piece_support |
| 351 | |
| 352 | theorem meanBar_mem {alpha : ℝ} {f : ScalarField Point} |
| 353 | (hf : MeanIncrementBounds.SmoothOn |
| 354 | (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) f) |
| 355 | (hclass : MeanClass strip alpha f) : |
| 356 | MeanClass strip alpha (StateMomentBalances.meanBar f) := |
| 357 | LocalSignedRequest.meanClass_liftedTorusAverage ActualPrimary.standardRegion |
| 358 | (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 359 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) |
| 360 | (FinalSlowBase.edgeExponent ActualPrimary.nominal / 4) 1 |
| 361 | (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) |
| 362 | (div_pos (FinalSlowBase.edgeExponent_pos ActualPrimary.nominal) (by norm_num)) zero_lt_one |
| 363 | (ChartScales.epsilon ActualPrimary.h) BaseContextAssembly.slowScale |
| 364 | (ChartScales.epsilon_pos ActualPrimary.h) |
| 365 | (ChartScales.epsilon_le_one ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le) |
| 366 | BaseContextAssembly.one_le_slowScale hf hclass |
| 367 | |
| 368 | theorem matched_fluxes_of_covariance (B N0 : ℕ) |
| 369 | (hr : ∀ i j, MeanIncrementBounds.SmoothOn |
| 370 | (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) ((seed B N0).covariance i j)) |
| 371 | (ht : ∀ i j, MeanIncrementBounds.SmoothOn |
| 372 | (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 373 | (ActualPrimaryCovariance.tangentCovariance B N0 i j)) |
| 374 | (hc : ∀ i j, MeanClass strip (3 / 2 - ChartScales.kappa) |
| 375 | ((seed B N0).covariance i j - ActualPrimaryCovariance.tangentCovariance B N0 i j)) : |
| 376 | MeanClass strip (3 / 2 - ChartScales.kappa) |
| 377 | (StateMomentBalances.meanBar ((seed B N0).covariance 0 1) - |
| 378 | StateMomentBalances.meanBar (ActualPrimary.commonContext B).virtualTheta) ∧ |
| 379 | MeanClass strip (3 / 2 - ChartScales.kappa) |
| 380 | (StateMomentBalances.meanBar ((seed B N0).covariance 0 2) - |
| 381 | StateMomentBalances.meanBar (ActualPrimary.commonContext B).virtualAxial) := by |
| 382 | have hm := ActualPrimaryCovariance.tangent_virtual_bar_meanClass B N0 |
| 383 | have havg (i j : Fin 3) := meanBar_mem ((hr i j).sub (ht i j)) (hc i j) |
| 384 | constructor |
| 385 | · apply MeanIncrementBounds.class_congr ((havg 0 1).add |
| 386 | (hm.1.mono_exponent (by norm_num [ChartScales.kappa] : 3 / 2 - ChartScales.kappa ≤ (2 : ℝ)))) |
| 387 | intro n x hx |
| 388 | have he := SignedMeanGain.meanBar_sub_on (hr 0 1) (ht 0 1) n |
| 389 | ((BaseContextAssembly.nativeStrip_mem ActualPrimary.nominal ActualPrimary.standardRegion x).mp hx).1 |
| 390 | change _ = StateMomentBalances.meanBar |
| 391 | ((seed B N0).covariance 0 1 - ActualPrimaryCovariance.tangentCovariance B N0 0 1) n x + _ |
| 392 | rw [he] |
| 393 | simp only [Pi.sub_apply] |
| 394 | ring |
| 395 | · apply MeanIncrementBounds.class_congr ((havg 0 2).add |
| 396 | (hm.2.mono_exponent (by norm_num [ChartScales.kappa] : 3 / 2 - ChartScales.kappa ≤ (2 : ℝ)))) |
| 397 | intro n x hx |
| 398 | have he := SignedMeanGain.meanBar_sub_on (hr 0 2) (ht 0 2) n |
| 399 | ((BaseContextAssembly.nativeStrip_mem ActualPrimary.nominal ActualPrimary.standardRegion x).mp hx).1 |
| 400 | change _ = StateMomentBalances.meanBar |
| 401 | ((seed B N0).covariance 0 2 - ActualPrimaryCovariance.tangentCovariance B N0 0 2) n x + _ |
| 402 | rw [he] |
| 403 | simp only [Pi.sub_apply] |
| 404 | ring |
| 405 | |
| 406 | end CovarianceInputs |
| 407 | |
| 408 | /-! The fixed base and the actual common index supply all the non-primary |
| 409 | fields of the initialization estimates. -/ |
| 410 | |
| 411 | noncomputable def PrimaryData (B N0 : ℕ) : Prop := |
| 412 | MovingInitialization.PrimaryMeanData |
| 413 | (cL := FinalSlowBase.edgeExponent ActualPrimary.nominal / 4) (cR := 1) |
| 414 | ActualPrimary.standardRegion ActualPrimary.commonGauge |
| 415 | (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) |
| 416 | (div_pos (FinalSlowBase.edgeExponent_pos ActualPrimary.nominal) (by norm_num)) zero_lt_one |
| 417 | (ChartScales.epsilon ActualPrimary.h) BaseContextAssembly.slowScale |
| 418 | (ChartScales.epsilon_pos ActualPrimary.h) |
| 419 | (ChartScales.epsilon_le_one ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le) |
| 420 | BaseContextAssembly.one_le_slowScale (ActualPrimary.commonContext B) (seed B N0) |
| 421 | |
| 422 | theorem movingSupport_supportedGauge {coord a b : ℝ} |
| 423 | (U : LocalSignedRequest.SlowRegion coord) {f : Point → ℝ} |
| 424 | (hs : LocalSignedRequest.MovingSupport a b coord U.carrier f) : |
| 425 | VariableGaugeMean.SupportedGauge a b (VariableGaugeMean.qLength coord) U.carrier f := by |
| 426 | intro x hx hn |
| 427 | have he := hs x hx hn |
| 428 | have hl := VariableGaugeMean.qLength_pos U.coord_pos U.coord_lt_one (U.time_pos _ hx) |
| 429 | change a ≤ x.1 / VariableGaugeMean.qLength coord x.2.1 ∧ |
| 430 | x.1 / VariableGaugeMean.qLength coord x.2.1 ≤ b at he |
| 431 | exact ⟨by simpa only [mul_comm] using (le_div_iff₀ hl).mp he.1, |
| 432 | by simpa only [mul_comm] using (div_le_iff₀ hl).mp he.2⟩ |
| 433 | |
| 434 | theorem primaryData_of_covariance (B N0 : ℕ) |
| 435 | (hc : ∀ i j, MeanClass strip 1 ((seed B N0).covariance i j)) |
| 436 | (hr : ∀ i j, GaugeDebtIncrement.Regular ActualPrimary.standardRegion |
| 437 | ActualPrimary.commonGauge.radial.inner ActualPrimary.commonGauge.radial.outer |
| 438 | ((seed B N0).covariance i j)) |
| 439 | (hp : ∀ i j n, PhysicalMeanDomain.PeriodicOn ActualPrimary.standardRegion.carrier |
| 440 | ((seed B N0).covariance i j n)) : PrimaryData B N0 := by |
| 441 | have hs := CommonBaseContext.context_stress_properties ActualPrimary.certificate |
| 442 | ActualPrimary.modulation ActualPrimary.upper B ActualPrimary.standardRegion |
| 443 | (CommonWindow.index ActualPrimary.h) |
| 444 | have hsc := CommonBaseContext.context_stress_classes ActualPrimary.certificate |
| 445 | ActualPrimary.modulation ActualPrimary.upper B ActualPrimary.profile.fullTrueCone |
| 446 | ActualPrimary.standardRegion (CommonWindow.index ActualPrimary.h) |
| 447 | refine { |
| 448 | exponent_pos := ChartScales.radialExponent_pos _ ActualPrimary.outgoing.data.h_pos.le |
| 449 | gauge_length := ActualPrimary.commonGauge_length |
| 450 | operators := CommonBaseContext.context_operator_bounds ActualPrimary.certificate |
| 451 | ActualPrimary.modulation ActualPrimary.upper B ActualPrimary.standardRegion |
| 452 | (CommonWindow.index_le_native ActualPrimary.h) |
| 453 | base := CommonBaseContext.context_base_bounds ActualPrimary.certificate |
| 454 | ActualPrimary.modulation ActualPrimary.upper B ActualPrimary.standardRegion |
| 455 | (CommonWindow.index ActualPrimary.h) |
| 456 | localOperators := CommonBaseContext.context_operators_local ActualPrimary.certificate |
| 457 | ActualPrimary.modulation ActualPrimary.upper B ActualPrimary.standardRegion.carrier |
| 458 | (CommonWindow.index ActualPrimary.h) |
| 459 | base_smooth := CommonBaseContext.context_base_smooth ActualPrimary.certificate |
| 460 | ActualPrimary.modulation ActualPrimary.upper B ActualPrimary.standardRegion |
| 461 | (CommonWindow.index ActualPrimary.h) |
| 462 | profile := fun _ _ _ _ => rfl |
| 463 | mean_zero := rfl |
| 464 | covariance := hc |
| 465 | covariance_smooth := fun i j => (hr i j).smooth |
| 466 | covariance_periodic := hp |
| 467 | covariance_support := fun i j => (hr i j).supported |
| 468 | theta := hsc.1 |
| 469 | axial := hsc.2 |
| 470 | theta_smooth := fun n => (hs n).1.fst |
| 471 | axial_smooth := fun n => (hs n).1.snd |
| 472 | theta_periodic := fun n => (hs n).2.1 |
| 473 | axial_periodic := fun n => (hs n).2.2.1 |
| 474 | theta_support := fun n => movingSupport_supportedGauge ActualPrimary.standardRegion (hs n).2.2.2.1 |
| 475 | axial_support := fun n => movingSupport_supportedGauge ActualPrimary.standardRegion (hs n).2.2.2.2 } |
| 476 | |
| 477 | theorem initialized_mean_bounds_of_rank (B N0 : ℕ) {sigma : ℝ} |
| 478 | (htheta : MeanClass strip (1 + sigma) ((ranked B N0).thetaResidual (ActualPrimary.commonContext B))) |
| 479 | (haxial : MeanClass strip (1 + sigma) (fun n x => |
| 480 | (ranked B N0).axialResidual (ActualPrimary.commonContext B) n x - |
| 481 | VariableGaugeMean.temporalAliasState ActualPrimary.commonGauge ActualPrimary.h |
| 482 | (CommonWindow.index ActualPrimary.h) (ActualPrimary.commonContext B) (primary B N0) n (x, 0) 2)) : |
| 483 | MeanResidualBounds strip sigma (ActualPrimary.commonContext B) (initialized B N0) := by |
| 484 | constructor |
| 485 | · apply MeanIncrementBounds.class_congr htheta |
| 486 | intro n x hx |
| 487 | change (initialized B N0).meanGoodResidual (ActualPrimary.commonContext B) n x 1 = _ |
| 488 | rw [initialized_meanGood B N0 n (BaseContextAssembly.nativeStrip_time |
| 489 | ActualPrimary.nominal ActualPrimary.standardRegion hx) 1] |
| 490 | simp [State.reducedMeanResidual, initialAlias, VariableGaugeMean.temporalAliasState, |
| 491 | VariableGaugeMean.pressureAliasState, initialized, GaugeInitialization.initializedBands, |
| 492 | GaugeInitialization.retainPressureAlias] |
| 493 | rfl |
| 494 | · apply MeanIncrementBounds.class_congr haxial |
| 495 | intro n x hx |
| 496 | change (initialized B N0).meanGoodResidual (ActualPrimary.commonContext B) n x 2 = _ |
| 497 | rw [initialized_meanGood B N0 n (BaseContextAssembly.nativeStrip_time |
| 498 | ActualPrimary.nominal ActualPrimary.standardRegion hx) 2] |
| 499 | simp [State.reducedMeanResidual, initialAlias, VariableGaugeMean.pressureAliasState, |
| 500 | initialized, GaugeInitialization.initializedBands, GaugeInitialization.retainPressureAlias] |
| 501 | rfl |
| 502 | |
| 503 | theorem initial_bounds_of_primaryData (B N0 : ℕ) (d : PrimaryData B N0) |
| 504 | (htheta : MeanClass strip (3 / 2 - ChartScales.kappa) |
| 505 | (StateMomentBalances.meanBar ((seed B N0).covariance 0 1) - |
| 506 | StateMomentBalances.meanBar (ActualPrimary.commonContext B).virtualTheta)) |
| 507 | (haxial : MeanClass strip (3 / 2 - ChartScales.kappa) |
| 508 | (StateMomentBalances.meanBar ((seed B N0).covariance 0 2) - |
| 509 | StateMomentBalances.meanBar (ActualPrimary.commonContext B).virtualAxial)) : |
| 510 | CumulativeBounds strip (initialized B N0) ∧ |
| 511 | MeanResidualBounds strip (1 / 5) (ActualPrimary.commonContext B) (initialized B N0) ∧ |
| 512 | DefectBounds slowStrip (1 / 5) (ActualPrimary.commonContext B) (initialized B N0) ∧ |
| 513 | GaugeMassPreservation.ZeroMassesOn ActualPrimary.standardRegion.carrier (initialized B N0) := by |
| 514 | unfold PrimaryData at d |
| 515 | have ht := d.temporal_bounds ActualPrimary.outgoing.data.h_pos.le |
| 516 | (fun n => le_max_right 1 (ChartScales.S n)) (CommonWindow.index ActualPrimary.h) |
| 517 | (CommonWindow.gap ActualPrimary.h) |
| 518 | (CommonWindow.native_le_index_add ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le) |
| 519 | axial rfl (fun _ => rfl) htheta haxial |
| 520 | have hd := d.temporal_debt_bounds ht |
| 521 | have hg := ActualPrimary.rank_geometry ActualPrimary.standardRegion B (temporal B N0) hd.smooth |
| 522 | have hslow := CommonBaseContext.context_isSlow ActualPrimary.certificate ActualPrimary.modulation |
| 523 | ActualPrimary.upper B ActualPrimary.standardRegion.carrier (CommonWindow.index ActualPrimary.h) |
| 524 | have hr := d.rank_bounds ht ActualPrimary.rankData hg |
| 525 | (ActualPrimary.rankData_parameters ActualPrimary.standardRegion.carrier) |
| 526 | ActualPrimary.rankAmplitude_pos.ne' ActualPrimary.active_left_before_rank |
| 527 | ActualPrimary.rank_before_active_right rfl hslow.2.1 hslow.2.2 |
| 528 | have hm := initialized_mean_bounds_of_rank B N0 |
| 529 | (hr.theta.mono_exponent (by norm_num : (1 : ℝ) + 1 / 5 ≤ 149 / 100)) |
| 530 | (hr.axial_residual.mono_exponent (by norm_num : (1 : ℝ) + 1 / 5 ≤ 149 / 100)) |
| 531 | exact ⟨⟨hr.cumulative.velocity, hr.cumulative.pressure⟩, hm, hr.defects, |
| 532 | d.rank_zeroMasses ht ActualPrimary.rankData hg⟩ |
| 533 | |
| 534 | /-! ## Unconditional bounds for the chosen family -/ |
| 535 | |
| 536 | theorem curl_amplitude_uniform {B N0 : ℕ} : |
| 537 | LabelSumBounds.UniformWaveClass strip envelope (1 - ChartScales.kappa) |
| 538 | (fun l : Index B N0 => fun n x => |
| 539 | ((primaryPiece l).coefficients.withCutoff (primaryPiece l).cutoff).curlCorrection |
| 540 | (primaryPiece l).strip (primaryPiece l).directions n (x, 0)) := by |
| 541 | have hh := ActualPrimaryBounds.chart_curl_uniform (B := B) (N0 := N0) |
| 542 | change LabelSumBounds.UniformClass (HarmonicWaveInteraction.productStrip strip) |
| 543 | (fun l n x => Real.sqrt (strip.zeta x.1) * ActualPrimaryBounds.meanEnvelope l n x.1) |
| 544 | (1 - ChartScales.kappa) _ at hh |
| 545 | have hr : LabelSumBounds.UniformWaveClass strip ActualPrimaryBounds.meanEnvelope |
| 546 | (1 - ChartScales.kappa) |
| 547 | (fun l : ActualPrimaryBounds.SignedLabel B N0 => fun n x => |
| 548 | ((ActualPrimary.chartCoefficients l.1 l.2).withCutoff (ActualPrimary.chartCutoff l.1 l.2)).curlCorrection |
| 549 | (HarmonicWaveInteraction.productStrip strip) |
| 550 | (PrimaryResidualClass.directions (ActualPrimary.commonContext B)) n (x, 0)) := |
| 551 | UniformBlockBounds.uniform_slice hh |
| 552 | exact hr.reindex (fun l : Index B N0 => (l.2, l.1)) |
| 553 | |
| 554 | theorem covariance_bounds (B N0 : ℕ) : |
| 555 | (∀ i j, MeanClass strip 1 ((seed B N0).covariance i j)) ∧ |
| 556 | (∀ i j, MeanClass strip (3 / 2 - ChartScales.kappa) |
| 557 | ((seed B N0).covariance i j - ActualPrimaryCovariance.tangentCovariance B N0 i j)) := |
| 558 | covariance_bounds_of_curl B N0 curl_amplitude_uniform |
| 559 | |
| 560 | /-- Every field is supplied by the actual primary family and fixed base. -/ |
| 561 | theorem primary_mean_data (B N0 : ℕ) : PrimaryData B N0 := |
| 562 | primaryData_of_covariance B N0 (covariance_bounds B N0).1 |
| 563 | (seed_covariance_regular B N0) (seed_covariance_periodic B N0) |
| 564 | |
| 565 | theorem primary_bounds (B N0 : ℕ) : |
| 566 | MeanClass strip (1 - ChartScales.kappa) ((primary B N0).gr (ActualPrimary.commonContext B)) ∧ |
| 567 | MeanClass strip (1 - ChartScales.kappa) (primary B N0).pressure ∧ |
| 568 | MeanClass strip (1 - ChartScales.kappa) ((primary B N0).thetaResidual (ActualPrimary.commonContext B)) ∧ |
| 569 | MeanClass strip (1 - ChartScales.kappa) ((primary B N0).axialResidual (ActualPrimary.commonContext B)) ∧ |
| 570 | CumulativeBounds strip (primary B N0) := by |
| 571 | have d := primary_mean_data B N0 |
| 572 | unfold PrimaryData at d |
| 573 | exact MovingInitialization.zeroMean_reconstructed_bounds |
| 574 | (cL := FinalSlowBase.edgeExponent ActualPrimary.nominal / 4) (cR := 1) ActualPrimary.standardRegion |
| 575 | ActualPrimary.commonGauge (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) |
| 576 | d.exponent_pos (div_pos (FinalSlowBase.edgeExponent_pos ActualPrimary.nominal) (by norm_num)) zero_lt_one |
| 577 | (ChartScales.epsilon ActualPrimary.h) BaseContextAssembly.slowScale |
| 578 | (ChartScales.epsilon_pos ActualPrimary.h) |
| 579 | (ChartScales.epsilon_le_one ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le) |
| 580 | BaseContextAssembly.one_le_slowScale d.gauge_length (ActualPrimary.commonContext B) (seed B N0) |
| 581 | d.operators d.localOperators d.mean_zero d.covariance d.covariance_smooth d.covariance_support d.theta d.axial |
| 582 | |
| 583 | theorem matched_fluxes (B N0 : ℕ) : |
| 584 | MeanClass strip (3 / 2 - ChartScales.kappa) |
| 585 | (StateMomentBalances.meanBar ((seed B N0).covariance 0 1) - |
| 586 | StateMomentBalances.meanBar (ActualPrimary.commonContext B).virtualTheta) ∧ |
| 587 | MeanClass strip (3 / 2 - ChartScales.kappa) |
| 588 | (StateMomentBalances.meanBar ((seed B N0).covariance 0 2) - |
| 589 | StateMomentBalances.meanBar (ActualPrimary.commonContext B).virtualAxial) := |
| 590 | matched_fluxes_of_covariance B N0 (seed_covariance_smooth B N0) |
| 591 | (tangent_covariance_smooth B N0) (covariance_bounds B N0).2 |
| 592 | |
| 593 | theorem temporal_bounds (B N0 : ℕ) : |
| 594 | MovingInitialization.TemporalStateBounds |
| 595 | (cL := FinalSlowBase.edgeExponent ActualPrimary.nominal / 4) (cR := 1) |
| 596 | ActualPrimary.standardRegion ActualPrimary.commonGauge |
| 597 | (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) |
| 598 | (div_pos (FinalSlowBase.edgeExponent_pos ActualPrimary.nominal) (by norm_num)) zero_lt_one |
| 599 | (ChartScales.epsilon ActualPrimary.h) BaseContextAssembly.slowScale |
| 600 | (ChartScales.epsilon_pos ActualPrimary.h) |
| 601 | (ChartScales.epsilon_le_one ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le) |
| 602 | BaseContextAssembly.one_le_slowScale ActualPrimary.h (CommonWindow.index ActualPrimary.h) |
| 603 | axial (ActualPrimary.commonContext B) (seed B N0) := by |
| 604 | have d := primary_mean_data B N0 |
| 605 | unfold PrimaryData at d |
| 606 | exact d.temporal_bounds ActualPrimary.outgoing.data.h_pos.le |
| 607 | (fun n => le_max_right 1 (ChartScales.S n)) (CommonWindow.index ActualPrimary.h) |
| 608 | (CommonWindow.gap ActualPrimary.h) |
| 609 | (CommonWindow.native_le_index_add ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le) |
| 610 | axial rfl (fun _ => rfl) (matched_fluxes B N0).1 (matched_fluxes B N0).2 |
| 611 | |
| 612 | theorem rank_bounds (B N0 : ℕ) : |
| 613 | MovingInitialization.InitialRankBounds |
| 614 | (cL := FinalSlowBase.edgeExponent ActualPrimary.nominal / 4) (cR := 1) |
| 615 | ActualPrimary.standardRegion ActualPrimary.commonGauge |
| 616 | (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) |
| 617 | (div_pos (FinalSlowBase.edgeExponent_pos ActualPrimary.nominal) (by norm_num)) zero_lt_one |
| 618 | (ChartScales.epsilon ActualPrimary.h) BaseContextAssembly.slowScale |
| 619 | (ChartScales.epsilon_pos ActualPrimary.h) |
| 620 | (ChartScales.epsilon_le_one ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le) |
| 621 | BaseContextAssembly.one_le_slowScale ActualPrimary.rankData ActualPrimary.h |
| 622 | (CommonWindow.index ActualPrimary.h) axial (ActualPrimary.commonContext B) (seed B N0) := by |
| 623 | have d := primary_mean_data B N0 |
| 624 | unfold PrimaryData at d |
| 625 | have ht := temporal_bounds B N0 |
| 626 | have hg := ActualPrimary.rank_geometry ActualPrimary.standardRegion B (temporal B N0) |
| 627 | (d.temporal_debt_bounds ht).smooth |
| 628 | have hslow := CommonBaseContext.context_isSlow ActualPrimary.certificate ActualPrimary.modulation |
| 629 | ActualPrimary.upper B ActualPrimary.standardRegion.carrier (CommonWindow.index ActualPrimary.h) |
| 630 | exact d.rank_bounds ht ActualPrimary.rankData hg |
| 631 | (ActualPrimary.rankData_parameters ActualPrimary.standardRegion.carrier) |
| 632 | ActualPrimary.rankAmplitude_pos.ne' ActualPrimary.active_left_before_rank |
| 633 | ActualPrimary.rank_before_active_right rfl hslow.2.1 hslow.2.2 |
| 634 | |
| 635 | /-- All bands of the literal initialization, with the two aliases retained. -/ |
| 636 | theorem initial_bounds (B N0 : ℕ) : |
| 637 | CumulativeBounds strip (initialized B N0) ∧ |
| 638 | MeanResidualBounds strip (1 / 5) (ActualPrimary.commonContext B) (initialized B N0) ∧ |
| 639 | DefectBounds slowStrip (1 / 5) (ActualPrimary.commonContext B) (initialized B N0) ∧ |
| 640 | GaugeMassPreservation.ZeroMassesOn ActualPrimary.standardRegion.carrier (initialized B N0) := |
| 641 | initial_bounds_of_primaryData B N0 (primary_mean_data B N0) |
| 642 | (matched_fluxes B N0).1 (matched_fluxes B N0).2 |
| 643 | |
| 644 | theorem initial_cumulative_bounds (B N0 : ℕ) : CumulativeBounds strip (initialized B N0) := |
| 645 | (initial_bounds B N0).1 |
| 646 | |
| 647 | theorem initial_mean_bounds (B N0 : ℕ) : |
| 648 | MeanResidualBounds strip (1 / 5) (ActualPrimary.commonContext B) (initialized B N0) := |
| 649 | (initial_bounds B N0).2.1 |
| 650 | |
| 651 | theorem initial_debt_bounds (B N0 : ℕ) : |
| 652 | DefectBounds slowStrip (1 / 5) (ActualPrimary.commonContext B) (initialized B N0) := |
| 653 | (initial_bounds B N0).2.2.1 |
| 654 | |
| 655 | theorem initial_zeroMasses (B N0 : ℕ) : |
| 656 | GaugeMassPreservation.ZeroMassesOn ActualPrimary.standardRegion.carrier (initialized B N0) := |
| 657 | (initial_bounds B N0).2.2.2 |
| 658 | |
| 659 | theorem initial_mean_smooth (B N0 : ℕ) : |
| 660 | MeanIncrementBounds.SmoothTriple (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 661 | (initialized B N0).mean := |
| 662 | (rank_bounds B N0).mean_smooth |
| 663 | |
| 664 | theorem initial_mean_support (B N0 : ℕ) : |
| 665 | CorrectionStep.GaugeSupportedTriple ActualPrimary.commonGauge.radial.inner ActualPrimary.commonGauge.radial.outer |
| 666 | (VariableGaugeMean.qLength (2 * ActualPrimary.h)) ActualPrimary.standardRegion.carrier |
| 667 | (initialized B N0).mean := |
| 668 | (rank_bounds B N0).mean_support |
| 669 | |
| 670 | theorem initialized_formula (B N0 : ℕ) : |
| 671 | initialized B N0 = GaugeInitialization.initializedBands ActualPrimary.commonGauge ActualPrimary.rankData |
| 672 | ActualPrimary.h (CommonWindow.index ActualPrimary.h) ((0, 1), 0) (ActualPrimary.commonContext B) |
| 673 | (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) |
| 674 | (fun l => ActualPrimary.piece ActualPrimary.standardRegion l.2 l.1) |
| 675 | (ActualBaseResidual.baseError ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B) := rfl |
| 676 | |
| 677 | end NavierStokes.ActualInitialMean |