OAI/Dynamics/ThreeTorus/TrackedPackets.lean
80 declarations, 0 contain sorry, 0 declared as axioms
Refresh and residue estimates, physical aggregates, tracked producers, pair/color aggregates, and colored states.
- lemma
OAI.ThreeTorus.sum_fibers_univline 20 - lemma
OAI.ThreeTorus.sum_selected_fibersline 27 - lemma
OAI.ThreeTorus.residue_total_errorline 37 - lemma
OAI.ThreeTorus.residue_selected_errorline 51 - lemma
OAI.ThreeTorus.selected_coefficient_errorline 65 - lemma
OAI.ThreeTorus.refresh_transmit_pointwiseline 96Source documentation
Pointwise colored version, before integrating. The exact fraction is the fraction of selected refreshed residue classes.
lemma refresh_transmit_pointwise {ι κ : Type*} [Fintype ι] [Fintype κ] [DecidableEq κ] [Nonempty κ] (r : ι → κ) (H : Finset κ) (p : ι → ℝ) (c : ι → ℂ) (a e : ℂ) (q : ℝ) {γ ρ A : ℝ} (hγ : 0 ≤ γ) (hρ : 0 ≤ ρ) (hp : ∀ i, 0 ≤ p i) (he : ‖e‖ ≤ 1) (ha : ‖a‖ ≤ A) (hmatch : ∀ i, p i ≠ 0 → ‖c i-a‖ ≤ ρ) : |(∑ i, p i)+2*γ*(e*(∑ i, if r i ∈ H then (p i:ℂ)*c i else 0)).re- q*(1+2*(γ*(H.card:ℝ)/Fintype.card κ)*(e*a).re)| ≤ (1+2*γ*A)*(∑ h, |(∑ i, if r i = h then p i else 0)-q/Fintype.card κ|)+ 2*γ*ρ*(∑ i, p i) := by …Mentions: OAI.ThreeTorus.H
- def
OAI.ThreeTorus.refreshResidueErrorline 142Source documentation
Summed residue discrepancy, for one color.
def refreshResidueError {ι κ : Type*} [Fintype ι] [Fintype κ] [DecidableEq κ] (r : ι → κ) (p : ι → UnitAddCircle → ℝ) (q : UnitAddCircle → ℝ) (z : UnitAddCircle) : ℝ := … - def
OAI.ThreeTorus.refreshSignalAggregateline 146 - lemma
OAI.ThreeTorus.continuous_refreshResidueErrorline 151 - lemma
OAI.ThreeTorus.continuous_refreshSignalAggregateline 163 - theorem
OAI.ThreeTorus.refresh_transmit_L1line 179Source documentation
Exact manuscript constant, for the actual selected residue family. Here
gis any final transmission density; its L1 mismatch with the explicit signal aggregate is retained asT, not silently dropped.theorem refresh_transmit_L1 {ι κ : Type*} [Fintype ι] [Fintype κ] [DecidableEq κ] [Nonempty κ] (r : ι → κ) (H : Finset κ) {p : ι → UnitAddCircle → ℝ} (c : ι → ℂ) {a e : UnitAddCircle → ℂ} {q g : UnitAddCircle → ℝ} {γ ρ A : ℝ} (hp : ∀ i, Continuous (p i)) (ha : Continuous a) (he : Continuous e) (hq : Continuous q) (hg : Continuous g) (hγ : 0 ≤ γ) (hρ : 0 ≤ ρ) (hp0 : ∀ i z, 0 ≤ p i z) (he1 : ∀ z, ‖e z‖ ≤ 1) (haA : ∀ z, ‖a z‖ ≤ A) (hmatch : ∀ i z, p i z ≠ 0 → ‖c i-a z‖ ≤ ρ) : (∫ z, |g z-q z*(1+2*(γ*(H.card:ℝ)/Fintype.card κ)*(e z*a z).re)| ∂phaseHaar) ≤ (∫ z, |g z-refreshSignalAggregate r H p c γ e z| ∂phaseHaar)+ (1+2*γ*A)*(∫ z, refreshResidueError r p q z ∂phaseHaar)+ …Mentions: OAI.ThreeTorus.H, OAI.ThreeTorus.phaseHaar, OAI.ThreeTorus.refreshSignalAggregate, OAI.ThreeTorus.refreshResidueError
- def
OAI.ThreeTorus.signalResidueline 243 - lemma
OAI.ThreeTorus.signalResidue_eq_iffline 246 - def
OAI.ThreeTorus.signalUnitResiduesline 260 - lemma
OAI.ThreeTorus.mem_signalUnitResiduesline 264 - lemma
OAI.ThreeTorus.signalResidue_mem_unitsline 269 - lemma
OAI.ThreeTorus.signalUnitResidues_card_posline 275 - lemma
OAI.ThreeTorus.signalUnitResidues_cardline 283Source documentation
The selected finite residue classes are exactly the source unit group.
lemma signalUnitResidues_card (P : ℕ) [NeZero P] : (signalUnitResidues P).card = Fintype.card (ZMod P)ˣ := by …Mentions: OAI.ThreeTorus.signalUnitResidues
- def
OAI.ThreeTorus.refreshedStrengthline 304Source documentation
The source's exact positive strength after residue refresh.
def refreshedStrength (P : ℕ) [NeZero P] (γ : ℝ) : ℝ := …
- lemma
OAI.ThreeTorus.refreshedStrength_eq_unit_fractionline 307 - lemma
OAI.ThreeTorus.refreshedStrength_posline 311 - lemma
OAI.ThreeTorus.refreshedStrength_leline 317 - lemma
OAI.ThreeTorus.signal_sum_aggregateline 325 - def
OAI.ThreeTorus.outputVectorline 361 - def
OAI.ThreeTorus.outputDensityline 365 - lemma
OAI.ThreeTorus.continuous_outputDensityline 369 - lemma
OAI.ThreeTorus.outputDensity_nonnegline 373 - lemma
OAI.ThreeTorus.continuous_outputVectorline 377 - lemma
OAI.ThreeTorus.outputVector_eq_retainedline 383 - lemma
OAI.ThreeTorus.outputVector_spectral_momentline 398 - lemma
OAI.ThreeTorus.integral_abs_sum_sub_leline 424Source documentation
L1 error of a finite sum, with continuity discharging integrability.
lemma integral_abs_sum_sub_le {ι : Type*} [Fintype ι] {p q : ι → UnitAddCircle → ℝ} (hp : ∀ i, Continuous (p i)) (hq : ∀ i, Continuous (q i)) : (∫ z, |(∑ i, p i z)-(∑ i, q i z)| ∂phaseHaar) ≤ ∑ i, ∫ z, |p i z-q i z| ∂phaseHaar := by …Mentions: OAI.ThreeTorus.phaseHaar
- theorem
OAI.ThreeTorus.exists_signal_tracked_familyline 454 - theorem
OAI.ThreeTorus.exists_neutral_tracked_familyline 565 - theorem
OAI.ThreeTorus.exists_neutral_geometry_stateline 664 - theorem
OAI.ThreeTorus.exists_signal_geometry_stateline 687 - lemma
OAI.ThreeTorus.normalized_band_under_driftline 736 - theorem
OAI.ThreeTorus.coefficient_match_drift_budgetline 743 - def
OAI.ThreeTorus.pairOutputVectorline 789 - def
OAI.ThreeTorus.pairOutputDensityline 794 - lemma
OAI.ThreeTorus.continuous_pairOutputVectorline 799 - lemma
OAI.ThreeTorus.continuous_pairOutputDensityline 804 - lemma
OAI.ThreeTorus.transmission_sum_budgetline 809 - lemma
OAI.ThreeTorus.transmission_pair_physicalline 826 - lemma
OAI.ThreeTorus.transmission_pair_densityline 847 - lemma
OAI.ThreeTorus.refresh_pair_error_budgetsline 862Source documentation
Budget choice independent of passage integers and all future packet lists.
lemma refresh_pair_error_budgets {γ ω A M ε : ℝ} (hγ : 0 ≤ γ) (hω : 0 ≤ ω) (hA : 0 ≤ A) (_hM : 0 ≤ M) (hε : 0 < ε) : ∃ κ r t : ℝ, 0 < κ ∧ 0 < r ∧ 0 < t ∧ 2*r+2*t < ε ∧ ∀ m E T : ℝ, 0 ≤ m → m ≤ M → 0 ≤ E → E < r → T < t → T+(1+2*γ*A)*E+2*γ*(ω+κ)*(m+E) < 2*γ*ω*m+ε := by … - lemma
OAI.ThreeTorus.finite_circle_coefficients_boundline 900 - lemma
OAI.ThreeTorus.refresh_residue_integral_eqline 908 - theorem
OAI.ThreeTorus.exists_refresh_transmit_stateline 932Source documentation
Actual refresh/transmit state, with the exact positive strength fixed before all data and error budgets. Each input packet can carry its original color's continuous coefficient; finite color grouping is by summation.
theorem exists_refresh_transmit_state {b D : ℝ} (hb : 0 < b) (hbD : b < D) {d : ℝ → ℂ} (hd : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) d) (hdc : HasCompactSupport d) (hdr : ∀ v, d (-v) = starRingEnd ℂ (d v)) (hd0 : d 0 = 0) (hds : support d ⊆ Icc (-D) D) : ∃ L : ℕ, ∃ γ₀ : ℝ, 2 ≤ L ∧ D/b < L ∧ 0 < γ₀ ∧ ∀ γ : ℝ, 0 < γ → γ ≤ γ₀ → (∀ v, 2*γ*‖d v‖ ≤ 1/2) ∧ ∀ (ι : Type u) [Fintype ι], ∀ (F : PassagePackets ι), Injective F.m → F.SpareIndependent → ∀ B : ℝ, 0 < B → ∀ margin : ℝ, 0 < margin → (∀ i, b+margin ≤ |(F.m i:ℝ)/B| ∧ |(F.m i:ℝ)/B| ≤ D-margin) → …Mentions: OAI.ThreeTorus.PassagePackets
- def
OAI.ThreeTorus.colorVectorline 1076 - def
OAI.ThreeTorus.colorDensityline 1079 - lemma
OAI.ThreeTorus.continuous_colorVectorline 1082 - lemma
OAI.ThreeTorus.continuous_colorDensityline 1088 - lemma
OAI.ThreeTorus.colorDensity_nonnegline 1094 - lemma
OAI.ThreeTorus.colorDensity_massline 1100 - lemma
OAI.ThreeTorus.colorVector_pairline 1111 - lemma
OAI.ThreeTorus.colorDensity_pairline 1124 - lemma
OAI.ThreeTorus.colored_physical_boundline 1137 - lemma
OAI.ThreeTorus.colored_density_boundline 1158 - theorem
OAI.ThreeTorus.color_pair_errorsline 1178Source documentation
Aggregate the SAME literal two-passage output state, without changing its colors or choosing spectral densities independently.
theorem color_pair_errors {S : ι → Finset ℤ} {T : PassageOutputIndex S → Finset ℤ} (F : PassagePackets ι) (K : PassagePackets (PassageOutputIndex T)) (c : ι → R) (a : R → UnitAddCircle → ℂ) (ha : ∀ r, Continuous (a r)) {H H' : UnitAddCircle → UnitAddCircle} (hH : Continuous H) (hH' : Continuous H') (N : ℕ) (ell : ℝ) {γ ω e ε : ℝ} (he : 0 < e) (hε : (Fintype.card ι:ℝ)*e < ε) (hε' : (Fintype.card ι:ℝ)^2*e < ε) (h : ∀ i, physicalError (packet (F.m i) (F.A i)) (pairOutputVector K i ∘ passageChart H' ∘ passageChart H) < e ∧ (∫ z, |pairOutputDensity K i z-F.density i z* (1+2*ell*(fourier (-1) ((N:ℤ) • z)*a (c i) z).re)| ∂phaseHaar) < 2*γ*ω*(∫ z, |F.density i z| ∂phaseHaar)+e) : …Mentions: OAI.ThreeTorus.PassageOutputIndex, OAI.ThreeTorus.PassagePackets, OAI.ThreeTorus.H, OAI.ThreeTorus.physicalError, OAI.ThreeTorus.packet, OAI.ThreeTorus.pairOutputVector, OAI.ThreeTorus.passageChart, OAI.ThreeTorus.pairOutputDensity, OAI.ThreeTorus.phaseHaar
- theorem
OAI.ThreeTorus.core_coefficient_drift_budgetline 1243Source documentation
Uniform continuity controls the entire next packet core, so this estimate can be used as the input hypothesis of a subsequent actual passage.
theorem core_coefficient_drift_budget {ι : Type*} [Fintype ι] (F : PassagePackets ι) {d : ℝ → ℂ} (hd : Continuous d) (hdc : HasCompactSupport d) (a : ι → UnitAddCircle → ℂ) (ha : ∀ i, Continuous (a i)) {B ω e : ℝ} (he : 0 < e) (hmatch : ∀ i x, x ∈ F.core i → ‖d ((F.m i:ℝ)/B)-a i ((F.m i:ℝ)*F.V x:UnitAddCircle)‖ ≤ ω) : ∃ η : ℝ, 0 < η ∧ ∀ (κ : Type*) (G : PassagePackets κ) (parent : κ → ι) (B' : ℝ), StateTracks F G parent B B' η → ∀ j y, ‖d ((G.m j:ℝ)/B')-a (parent j) ((G.m j:ℝ)*G.V y:UnitAddCircle)‖ ≤ ω+e := by …Mentions: OAI.ThreeTorus.PassagePackets, OAI.ThreeTorus.StateTracks
- lemma
OAI.ThreeTorus.StateTracks.band_marginline 1276 - structure
OAI.ThreeTorus.ColoredStateline 1301 - def
OAI.ThreeTorus.ColoredState.densityline 1315 - def
OAI.ThreeTorus.ColoredState.vectorline 1316 - lemma
OAI.ThreeTorus.ColoredState.density_continuousline 1317 - lemma
OAI.ThreeTorus.ColoredState.vector_continuousline 1319 - lemma
OAI.ThreeTorus.ColoredState.density_nonnegline 1321 - def
OAI.ThreeTorus.ColoredState.InBandline 1324 - def
OAI.ThreeTorus.ColoredState.Matchesline 1328 - structure
OAI.ThreeTorus.ColoredPairline 1335Source documentation
A pair retaining real passage geometry, not merely a density transition.
structure ColoredPair {R : Type} (C : ColoredState R) (N : ℕ) where …Mentions: OAI.ThreeTorus.ColoredState
- def
OAI.ThreeTorus.ColoredPair.outputline 1356 - def
OAI.ThreeTorus.ColoredPair.chartline 1366 - lemma
OAI.ThreeTorus.ColoredPair.chart_applyline 1368 - lemma
OAI.ThreeTorus.ColoredPair.chart_continuousline 1370 - lemma
OAI.ThreeTorus.ColoredPair.chart_preservesline 1373 - def
OAI.ThreeTorus.ColoredPair.Tracksline 1377 - def
OAI.ThreeTorus.colorFactorline 1381 - lemma
OAI.ThreeTorus.continuous_colorFactorline 1385 - lemma
OAI.ThreeTorus.finite_card_error_budgetline 1391 - theorem
OAI.ThreeTorus.exists_colored_signalline 1404Source documentation
Color errors are as small as desired apart from the explicit coefficient mismatch. Every sufficiently large transmission integer is still available.
theorem exists_colored_signal {b D : ℝ} (hb : 0 < b) (hbD : b < D) {d : ℝ → ℂ} (hd : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) d) (hdc : HasCompactSupport d) (hdr : ∀ v, d (-v) = starRingEnd ℂ (d v)) (hd0 : d 0 = 0) (hds : support d ⊆ Icc (-D) D) : ∃ L : ℕ, ∃ γ₀ : ℝ, 2 ≤ L ∧ D/b < L ∧ 0 < γ₀ ∧ ∀ γ : ℝ, 0 < γ → γ ≤ γ₀ → (∀ v, 2*γ*‖d v‖ ≤ 1/2) ∧ ∀ (R : Type) [DecidableEq R], ∀ (C : ColoredState R), ∀ margin : ℝ, 0 < margin → C.InBand b D margin → ∀ (a : R → UnitAddCircle → ℂ), (∀ r, Continuous (a r)) → ∀ ω : ℝ, 0 ≤ ω → C.Matches d a ω → ∀ ε η : ℝ, 0 < ε → 0 < η → …Mentions: OAI.ThreeTorus.ColoredState