definitionroutine
Grouped packed stream format
Defines grouped packed streams: records in rectangles with tagged chunks
input format for packed addition on grouped data
Definition·
def:grouped-packed-stream·§A Packed additions on grouped rectanglesStatement (paper)
Let , , , , and .
Fix an ordered template of two-bit tags: denotes
a spectator field, and denote
, respectively. Each chunk tag occurs exactly once. The template
is common to all groups of this input, but its length may vary
between inputs. Group has a positive row count and a
positive length at each spectator tag ; at a chunk tag
put . Define
and require .
The stream consists of records of bits. In group order, their
addresses form the consecutive lexicographic rectangles
The first coordinate is a row ordinal. Every row contains the full
Cartesian suffix displayed above: no suffix length depends on a
coordinate within that row. The suffix lengths may differ between
groups. Every finite sequence of per-row spectator length vectors in
the fixed template is representable, using groups of count one when
necessary.
Use the integer code from .
The supplied descriptor
is exactly
where is the tag at position , and juxtaposition and products
mean bitstring concatenation in increasing index order. The header,
tag count, and group count delimit the entire list. A grouped packed
stream is valid when this descriptor and its accompanying records have
exactly the parameters, shapes, and orders just specified.
In plain English
Defines a valid grouped packed stream: records of bits laid out as consecutive lexicographic rectangles for groups , over a common template of two-bit tags (spectator , and once each) with spectator lengths and chunk length , . It also fixes the exact -coded descriptor that lists , the tags, , and each group's and spectator lengths.
Why it's here
This fixes the data layout and its self-delimiting description so that packed-addition procedures on grouped rectangles have a precisely specified input. Later results, beginning with the packed selected-bit addition lemma, take a valid grouped packed stream as input and rely on these shapes, orders and descriptor contents, including that every row has a full Cartesian suffix and that the suffix lengths may vary between groups.
Classified routine:
A bookkeeping definition of a data layout and self-delimiting descriptor for Turing-machine implementation. It adapts standard multitape data-layout conventions, as in Harvey–van der Hoeven 2021, to grouped lexicographic rectangles, and is not a conceptual novelty.
Uses
Nothing else in the paper
Used by
Sources
PaperOpen
- Section
- §A Packed additions on grouped rectangles
- Page
- —
- Label
def:grouped-packed-stream- Line
sections/11-grouped-rectangles.tex:12
Leannot aligned
Phase 2 aligns this node to a Lean declaration.