Documentation

ReflectiveSubsystems.SlackTwoPartyLower

The lower bound on a two-party learner with a slack, from a counting core #

A two-party learner with a slack (ReflectiveSubsystems/SlackTwoParty.lean) predicts step t from the symbols through step t + Δ and the outcomes before t, while its outside party learns the outcome of step s only at step s + L: the effective lag is L - Δ. Here a counting statement about guessing a column's bits from one message is the hypothesis, and the lower bound on the miss count follows from it.

Main results #

The method #

The steps below W * n, with n = L - Δ, fall into W windows of n steps, and a candidate's prediction at a step of window w is its coordinate w, looked up in a bit vector chosen for that step. Over all pairs of a candidate and a choice of the bit vectors, fix the coordinates of the candidate and the bit vectors of the steps outside a window. The symbols at the steps before the window are then fixed, since they read the outcomes of earlier windows only, and the symbols from the window's start through its last step plus the slack are L symbols that are a function of the window's bit vectors alone, since a symbol reads the outcomes only up to the lag before it. The window's predictions are therefore those of one guesser of the window guessing bound, whose message is that function of the window's bits. Averaging over the pairs gives a pair on which the inside is right on few steps, whose stream is realizable by construction. All counting is finite.

The window guessing bound. Over P parts and n steps of P uniform bits each, a guesser of the bit of an unknown part at each step, from one message φ z about all the bits and the part's bits at the earlier steps, is right on at most n (1/2 + √(ln |V| / (2P))) steps on average over the part and the bits.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The window guessing bound with the message's information spent once across the window. The statement of WindowGuessBound with the bound n (1/2 + √(ln |V| / (2P))) on the right steps on average replaced by n / 2 + √(n ln |V| / (2P)): the factor of [Discovery] §3.4 Proposition 3.27.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem ReflectiveSubsystems.SlackTwoPartyLearner.exists_missCount_ge_of_windowGuessBound (hcore : WindowGuessBound) {M : Type} [Fintype M] {P W L Δ : ℕ} (hP : 0 < P) (hΔ : Δ < L) (A : SlackTwoPartyLearner (Fin W → Fin P) M L Δ) :
      ∃ (v : ℕ → (Fin W → Fin P) → Bool) (y : ℕ → Bool), LaggedTwoPartyLearner.Realizable v y ∧ ↑(W * (L - Δ)) * (1 / 2 - √(↑L * Real.log ↑(Fintype.card M) / (2 * ↑P))) ≤ ↑(A.missCount v y (W * (L - Δ)))

      The lower bound on a two-party learner with a slack, from the window guessing bound. Over the P ^ W candidates Fin W → Fin P, every two-party learner with a slack Δ below the lag L and message alphabet M misses, on some realizable stream of W * (L - Δ) steps, at least W * (L - Δ) * (1 / 2 - √(L ln |M| / (2P))) times. The hypothesis is the window guessing bound WindowGuessBound, the one place a message about the bits of a window is weighed against a guess of one part's bits.

      theorem ReflectiveSubsystems.SlackTwoPartyLearner.exists_missCount_ge_of_windowGuessBoundSharp (hcore : WindowGuessBoundSharp) {M : Type} [Fintype M] {P W L Δ : ℕ} (hP : 0 < P) (hΔ : Δ < L) (A : SlackTwoPartyLearner (Fin W → Fin P) M L Δ) :
      ∃ (v : ℕ → (Fin W → Fin P) → Bool) (y : ℕ → Bool), LaggedTwoPartyLearner.Realizable v y ∧ ↑(W * (L - Δ)) / 2 - ↑W * √(↑(L - Δ) * (↑L * Real.log ↑(Fintype.card M)) / (2 * ↑P)) ≤ ↑(A.missCount v y (W * (L - Δ)))

      The lower bound on a two-party learner with a slack, from the sharp window guessing bound. Over the P ^ W candidates Fin W → Fin P, every two-party learner with a slack Δ below the lag L and message alphabet M misses, on some realizable stream of W * (L - Δ) steps, at least W * (L - Δ) / 2 - W * √((L - Δ) * L ln |M| / (2P)) times, the factor of [Discovery] §3.4 Proposition 3.27. The hypothesis is the sharp window guessing bound WindowGuessBoundSharp.

      The bound is not vacuous at a fixed instance. Over the 4 candidates Fin 1 → Fin 4, with one message bit, a lag of one step and no slack, every learner misses at the one step of some realizable stream: the bound reads 1 / 2 - √(ln 2 / 8) > 0 there.

      The window guessing bound holds. A message about P uniform columns of n bits, drawn from a set V, tells a guesser of one column's bits, which also reads the column's earlier bits, little beyond the mean: the guessed bits are right on at most n (1/2 + √(ln |V| / (2P))) steps on average over the column and the bits. The columns are independent given the message only up to the divergence ln |V| the message can carry, and Holenstein's Corollary 4.3 (Cslib.Probability.PMF.sum_dist_filter_sideJoint_le) bounds the total distance of the columns from independent uniform ones by √(P ln |V| / 2); against independent uniform columns the guesser is right on half of the steps, and a count in [0, n] moves by at most n times the distance.

      The sharp window guessing bound holds. A message about P uniform columns of n bits, drawn from a set V, tells a guesser of one column's bits, which also reads the column's earlier bits, little beyond the mean: the guessed bits are right on at most n / 2 + √(n ln |V| / (2P)) steps on average over the column and the bits, the factor of [Discovery] §3.4 Proposition 3.27. The n P bits are ordered with the part outermost and the step innermost; the message carries at most ln |V| nats about them, the chain rule for relative entropy spends those across the bits in that order, and a guesser of the bit at part h and step t reads fewer bits than that order conditions on, so BitGuessing.sum_hits_le bounds the total of the right guesses by n P / 2 plus √(n P ln |V| / 2), which divided by P is the stated bound.

      theorem ReflectiveSubsystems.SlackTwoPartyLearner.exists_missCount_ge {M : Type} [Fintype M] {P W L Δ : ℕ} (hP : 0 < P) (hΔ : Δ < L) (A : SlackTwoPartyLearner (Fin W → Fin P) M L Δ) :
      ∃ (v : ℕ → (Fin W → Fin P) → Bool) (y : ℕ → Bool), LaggedTwoPartyLearner.Realizable v y ∧ ↑(W * (L - Δ)) * (1 / 2 - √(↑L * Real.log ↑(Fintype.card M) / (2 * ↑P))) ≤ ↑(A.missCount v y (W * (L - Δ)))

      The lower bound on a two-party learner with a slack. Over the P ^ W candidates Fin W → Fin P, every two-party learner with a slack Δ below the lag L and message alphabet M misses, on some realizable stream of W * (L - Δ) steps, at least W * (L - Δ) * (1 / 2 - √(L ln |M| / (2P))) times. This is the lower bound of [Discovery] §3.4 Proposition 3.27 with a weaker factor: the paper's factor, which spends the information once across a window, is not what is proved here; exists_missCount_ge_sharp proves it with that factor.

      The bound is not vacuous at a fixed instance. At P = 4, W = L = 1, Δ = 0 and one message bit, the hypotheses of the bound hold and its factor is positive: it reads 1 / 2 - √(ln 2 / 8) > 0.

      theorem ReflectiveSubsystems.SlackTwoPartyLearner.exists_missCount_ge_sharp {M : Type} [Fintype M] {P W L Δ : ℕ} (hP : 0 < P) (hΔ : Δ < L) (A : SlackTwoPartyLearner (Fin W → Fin P) M L Δ) :
      ∃ (v : ℕ → (Fin W → Fin P) → Bool) (y : ℕ → Bool), LaggedTwoPartyLearner.Realizable v y ∧ ↑(W * (L - Δ)) / 2 - ↑W * √(↑(L - Δ) * (↑L * Real.log ↑(Fintype.card M)) / (2 * ↑P)) ≤ ↑(A.missCount v y (W * (L - Δ)))

      The lower bound on a two-party learner with a slack, with the factor of [Discovery] §3.4 Proposition 3.27. Over the P ^ W candidates Fin W → Fin P, every two-party learner with a slack Δ below the lag L and message alphabet M misses, on some realizable stream of W * (L - Δ) steps, at least W * (L - Δ) / 2 - W * √((L - Δ) * L ln |M| / (2P)) times: the information of the message is spent once across a window, where exists_missCount_ge spends it at each step.

      theorem ReflectiveSubsystems.SlackTwoPartyLearner.exists_missCount_ge_sharp_nonvacuous :
      0 < 4 ∧ 0 < 2 ∧ ↑(1 * (2 - 0)) * (1 / 2 - √(2 * Real.log ↑(Fintype.card Bool) / (2 * 4))) < ↑(1 * (2 - 0)) / 2 - 1 * √(↑(2 - 0) * (2 * Real.log ↑(Fintype.card Bool)) / (2 * 4)) ∧ 0 < ↑(1 * (2 - 0)) / 2 - 1 * √(↑(2 - 0) * (2 * Real.log ↑(Fintype.card Bool)) / (2 * 4))

      The sharp bound is not vacuous at a fixed instance. At P = 4, W = 1, L = 2, Δ = 0 and one message bit, the hypotheses of the bound hold and its factor is positive and strictly above that of exists_missCount_ge: the weaker factor reads 1 - √(ln 2) there and the sharp one 1 - √(ln 2 / 2).