Documentation

CslibFrontier.Computability.Communication.BSM.Computability

Computability in the Bounded Simultaneous Messages (BSM) Model #

This module formalizes computability with preprocessing in the Bounded Simultaneous Messages (BSM) model [BDF+23] (arXiv:2310.00334v4, Section 5). In this two-party simultaneous- messages model, computationally unbounded senders Alice and Bob receive inputs x, y ∈ {0, 1}* without knowing each other's input length and simultaneously send messages of lengths m |x| and m |y| to a computationally bounded referee Carol. Here Carol is modeled as a partial computable function (Partrec carol, corresponding to a Turing machine in Section 5 of [BDF+23]) that is required to halt on every valid encoded pair (alice x, bob y) (not on arbitrary invalid message pairs) and decide whether (x, y) ∈ L.

We prove closure under complement (BSMComputable.compl) and formalize Proposition 5.1 of [BDF+23]: every recursively enumerable language (bsmComputable_of_re), and hence every co-recursively enumerable language (bsmComputable_of_coRE), is BSM-computable with message size 2 * n + 1.

Main definitions #

Main results #

References #

A language L ⊆ {0, 1}* × {0, 1}* is BSM-computable with message size m : ℕ → ℕ if there exist arbitrary (not required to be computable) encoders alice, bob : List Bool → List Bool mapping x to an m |x|-bit string and y to an m |y|-bit string, and a partial computable referee carol that halts on every valid message pair (alice x, bob y) (not necessarily on invalid message pairs) and outputs a Boolean b with b = true ↔ (x, y) ∈ L ([BDF+23], §5).

BSM-computability is closed under complement ([BDF+23], §5).

Enumeration of strings of length ≤ n and message encoding #

theorem Cslib.Communication.BSM.bsmComputable_of_re {L : Set (List Bool × List Bool)} (hL : REPred fun (p : List Bool × List Bool) => p ∈ L) :
BSMComputable (fun (n : ℕ) => 2 * n + 1) L

Bounded simultaneous-messages computability of RE languages ([BDF+23], Proposition 5.1, arXiv:2310.00334v4, §5): Every recursively enumerable language L ⊆ {0, 1}* × {0, 1}* is BSM-computable with message size 2 * n + 1.

theorem Cslib.Communication.BSM.bsmComputable_of_coRE {L : Set (List Bool × List Bool)} (hL : REPred fun (p : List Bool × List Bool) => p ∈ Lᶜ) :
BSMComputable (fun (n : ℕ) => 2 * n + 1) L

Co-recursively enumerable dual: every co-r.e. language is BSM-computable with message size 2 * n + 1 ([BDF+23], §5, corollary of Proposition 5.1).