Announcing a value from a finite type #
A player can announce any value of their own input in a finite nonempty type Z with
⌈log₂ |Z|⌉ bits: they send a fixed binary encoding of the value and both players decode it.
This is the short-output protocol used, for example, when a single input fixes a rectangle and
the other player names a valid answer, as in the heavy-atom case of
[CKMS26], proof of Lemma 5.2 (printed p. 10; PDF p. 11).
Main results #
Cslib.Communication.Protocol.exists_run_eq_left: Alice announces a function of her input.Cslib.Communication.Protocol.exists_run_eq_right: Bob announces a function of his input.