Units of a bit string #
The cutting argument of [Ant26] (Section H.2, where a string w is written on
packets as w10⋯0, and Appendix J, which applies it; module Nc.Cut.Units) writes the
strings that parties exchange on units of ub bits: a 1 and then zeros are appended to the
string, and the result is cut into blocks of ub bits. This is the padding
Cslib.BitString.pad10star followed by Cslib.BitString.toBlocks
(Cut.unitsOf_eq_getElem?_toBlocks), so the string can be recovered from its units
(Cut.unitsOf_injective).
The paper has units of positive width, and so have the bridge to the padding and the recovery of
the string, which assume 0 < ub. The definitions are total: for ub = 0 every string has one
unit, which is empty, so nothing can be recovered from the units; later modules use this
convention and exclude ub = 0 where they need recovery.
A word over an alphabet whose letters are coded by c bits each is first turned into a bit
string (Cut.bitsOf), from which it can be recovered as well.
Main definitions #
Cut.UnitContent: the content of a unit, absent orubbits.Cut.unitCount,Cut.unitsOf: the number of units of a bit string, and its units.Cut.bitsOf: the bits of a word under a code of fixed width.
Main results #
Cut.unitsOf_injective: a bit string is determined by its units.Cut.bitsOf_injective: a word is determined by its bits.
References #
- Anthropic, VP ≠ VNP over every field, paper and Lean formalization,
Section H.2 (packets) and Appendix J; module
Nc.Cut.Units
The content of a unit: absent, or ub bits.
The units of a bit string: unit k is the k-th block of ub bits of the string followed
by a 1 and zeros, and it is absent from unitCount ub L on. For ub = 0 there is one unit, the
empty one, whatever the string is; the units determine the string only for 0 < ub
(unitsOf_injective).
A bit string is determined by its units.
A word is determined by its bits, for an injective code of positive width.