Documentation

ReflectiveSubsystems.LocalHostBill

The bill of a host with local inputs, by the distance of its cut #

A host with local inputs whose candidates all stand beyond cell d is simulated, when its latency is at least d + 1, by a two-party learner with lag latency + d + 2 and slack latency - d - 1, with the same miss counts. The lower bound on a two-party learner with a slack then bills the host: over P candidate parts of width W, some realizable stream makes it miss, within W * (2 * d + 3) steps, at least a share of them that shrinks with the host's lag times the logarithm of its state alphabet.

Main results #

theorem ReflectiveSubsystems.LocalHost.exists_missCount_ge {Q : Type} [Fintype Q] {P W : ℕ} (A : LocalHost (Fin W → Fin P) Q) (d : ℕ) (hP : 0 < P) (hpos : ∀ (c : Fin W → Fin P), ↑d < A.pos c) (hD : d + 1 ≤ A.latency) :
∃ (v : ℕ → (Fin W → Fin P) → Bool) (y : ℕ → Bool), LaggedTwoPartyLearner.Realizable v y ∧ ↑(W * (2 * d + 3)) * (1 / 2 - √(↑(A.latency + d + 2) * Real.log ↑(Fintype.card Q) / (2 * ↑P))) ≤ ↑(A.missCount v y (W * (2 * d + 3)))

The bill of a host by its cut's distance. A host over a finite state alphabet Q with all P ^ W candidates beyond cell d and latency at least d + 1 misses, on some realizable stream of W * (2 * d + 3) steps, at least W * (2 * d + 3) * (1 / 2 - √((latency + d + 2) * ln |Q| / (2 * P))) times.

theorem ReflectiveSubsystems.LocalHost.exists_missCount_ge_nonvacuous :
∃ (A : LocalHost (Fin 1 → Fin 8) Bool), 0 < 8 ∧ (∀ (c : Fin 1 → Fin 8), ↑0 < A.pos c) ∧ 0 + 1 ≤ A.latency ∧ ↑(1 * (2 * 0 + 3)) * (1 / 2 - √(↑(A.latency + 0 + 2) * Real.log ↑(Fintype.card Bool) / (2 * ↑8))) > 0

The hypotheses hold jointly. A host over Bool with its one candidate bit-vector part at cell 1, latency 1, P = 8 and W = 1 meets the hypotheses of exists_missCount_ge at d = 0, and its factor 1 / 2 - √(3 ln 2 / 16) is positive.

theorem ReflectiveSubsystems.LocalHost.exists_missCount_ge_sharp {Q : Type} [Fintype Q] {P W : ℕ} (A : LocalHost (Fin W → Fin P) Q) (d : ℕ) (hP : 0 < P) (hpos : ∀ (c : Fin W → Fin P), ↑d < A.pos c) (hD : d + 1 ≤ A.latency) :
∃ (v : ℕ → (Fin W → Fin P) → Bool) (y : ℕ → Bool), LaggedTwoPartyLearner.Realizable v y ∧ ↑(W * (2 * d + 3)) / 2 - ↑W * √(↑(2 * d + 3) * (↑(A.latency + d + 2) * Real.log ↑(Fintype.card Q)) / (2 * ↑P)) ≤ ↑(A.missCount v y (W * (2 * d + 3)))

The bill of a host by its cut's distance, at the sharp factor ([Inevitability] §6 Proposition 6.24). Under the hypotheses of exists_missCount_ge, some realizable stream makes the host miss, within W * (2 * d + 3) steps, at least W * (2 * d + 3) / 2 - W * √((2 * d + 3) * ((latency + d + 2) * ln |Q|) / (2 * P)) times; the effective lag 2 * d + 3 stands under the root.

theorem ReflectiveSubsystems.LocalHost.exists_missCount_ge_sharp_nonvacuous :
∃ (A : LocalHost (Fin 1 → Fin 8) Bool), 0 < 8 ∧ (∀ (c : Fin 1 → Fin 8), ↑0 < A.pos c) ∧ 0 + 1 ≤ A.latency ∧ ↑(1 * (2 * 0 + 3)) / 2 - ↑1 * √(↑(2 * 0 + 3) * (↑(A.latency + 0 + 2) * Real.log ↑(Fintype.card Bool)) / (2 * ↑8)) > 0 ∧ ↑(1 * (2 * 0 + 3)) / 2 - ↑1 * √(↑(2 * 0 + 3) * (↑(A.latency + 0 + 2) * Real.log ↑(Fintype.card Bool)) / (2 * ↑8)) > ↑(1 * (2 * 0 + 3)) * (1 / 2 - √(↑(A.latency + 0 + 2) * Real.log ↑(Fintype.card Bool) / (2 * ↑8)))

The sharp bill's hypotheses hold jointly, and it beats the weaker one. At the host of exists_missCount_ge_nonvacuous (Q = Bool, d = 0, latency 1, P = 8, W = 1) the sharp left side 3 / 2 - √(9 ln 2 / 16) of exists_missCount_ge_sharp is positive and strictly above the left side 3 * (1 / 2 - √(3 ln 2 / 16)) of exists_missCount_ge.