Arbitrary labelled rectangle partitions and monochromatic tilings #
A RectanglePartition X Y Z is a finite family of labelled Cartesian rectangles covering
X × Y exactly once. It need not arise from a protocol tree. Its run function is constant
on each rectangle; conversely, p.run = f says that it is a monochromatic tiling of f.
Empty pieces are allowed and count toward size, but cannot improve the minimum.
The minimum tilingNumber f is the infimum of all such sizes in ℕ∞, with value ⊤ if
there is no finite tiling. For finite input types, singleton rectangles supply a tiling,
including the zero-piece tiling of an empty input domain, and the minimum is attained.
This is the partition notion of [AroraBarak07, Definition 12.6].
Main definitions #
Cslib.Communication.RectanglePartition: labelled rectangle partitions.Cslib.Communication.RectanglePartition.part: the unique piece containing an input pair.Cslib.Communication.RectanglePartition.run: the label of that piece.Cslib.Communication.tilingNumber: the minimum number of monochromatic rectangles.
Main results #
Cslib.Communication.RectanglePartition.sum_eq_sum_rectangles: sums split over the pieces.Cslib.Communication.exists_minimal_tiling: finite inputs admit a minimum-size tiling.Cslib.Communication.le_tilingNumber_iff: lower bounds reduce to arbitrary tilings.
A finite labelled partition into Cartesian rectangles, independently of protocol trees.
- size : ℕ
Number of pieces, including any empty rectangles.
Alice's side of each rectangle.
Bob's side of each rectangle.
Output label of each rectangle.
Each input pair belongs to exactly one rectangle.
The unique rectangle containing a pair of inputs.
The function computed by the labels of a rectangle partition.
The value is the label of the unique containing rectangle.
Sums over the input domain split exactly over all rectangle pieces.
A constant function has a one-rectangle tiling, also when the input domain is empty.
Singleton rectangles give a tiling of any function on finite inputs.
Any monochromatic tiling bounds the minimum tiling number.
Lower bounds on the tiling number are exactly bounds on every monochromatic tiling.
A finite bound on the tiling number is witnessed by a tiling of at most that size.