Documentation

CslibFrontier.Computability.Communication.MultiPartition

Multi-partition rectangle covers #

Let ι be a finite set of n variables. A set of variables X is balanced (MultiPartition.IsBalanced) when both X and its complement have at least n / 3 elements. A balanced rectangle (MultiPartition.IsBalancedRectangle) is a combinatorial rectangle Cslib.Circuits.Frontier.rectangle X A B for some balanced X: the inputs whose part on X lies in A and whose part on the complement lies in B.

The multi-partition rectangle cover number of a set of inputs S (MultiPartition.coverNumber) is the least number of balanced rectangles, each for its own balanced partition, whose union is S. For a Boolean function f and a bit b, MultiPartition.coverNumberFun b f is Cov^m_b(f) of [ArenasBroadrickLiewVanDenBroeck2026, Section 3.2]; for a single fixed partition it is the nondeterministic cover number Cslib.Communication.Nondeterministic.coverNumberFun.

A set closed under combining the X-part of one member with the rest of another is the rectangle of its two projections (MultiPartition.eq_rectangle_of_piecewise_mem), which is how rectangles are recognised in practice.

Main definitions #

Main results #

References #

theorem Cslib.Communication.MultiPartition.eq_rectangle_of_piecewise_mem {ι : Type u_1} {U : Type u_2} [DecidableEq ι] {R : Set (ι → U)} (X : Finset ι) (h : ∀ x ∈ R, ∀ y ∈ R, X.piecewise x y ∈ R) :

A set of inputs closed under taking the part on X from one member and the rest from another is the rectangle of its projections.

A set of variables is balanced when it and its complement each have at least a third of the variables.

Instances For
    def Cslib.Communication.MultiPartition.IsBalancedRectangle {ι : Type u_1} {U : Type u_2} [Fintype ι] [DecidableEq ι] (R : Set (ι → U)) :

    A balanced rectangle: a combinatorial rectangle for the partition of the variables into a balanced set X and its complement.

    def Cslib.Communication.MultiPartition.IsCover {ι : Type u_1} {U : Type u_2} [Fintype ι] [DecidableEq ι] (S : Set (ι → U)) {k : ℕ} (R : Fin k → Set (ι → U)) :

    A family of k sets is a multi-partition cover of S when each is a balanced rectangle, possibly for different partitions, and their union is S.

    noncomputable def Cslib.Communication.MultiPartition.coverNumber {ι : Type u_1} {U : Type u_2} [Fintype ι] [DecidableEq ι] (S : Set (ι → U)) :

    The multi-partition rectangle cover number of S: the least number of balanced rectangles whose union is S (0 if there is no such cover, which happens only with fewer than two variables).

    @[reducible, inline]
    noncomputable abbrev Cslib.Communication.MultiPartition.coverNumberFun {ι : Type u_1} [Fintype ι] [DecidableEq ι] (b : Bool) (f : (ι → Bool) → Bool) :

    The multi-partition rectangle b-cover number Cov^m_b(f) of a Boolean function: the multi-partition cover number of f⁻¹(b).

    theorem Cslib.Communication.MultiPartition.isBalancedRectangle_of_piecewise_mem {ι : Type u_1} {U : Type u_2} [Fintype ι] [DecidableEq ι] {R : Set (ι → U)} {X : Finset ι} (hX : IsBalanced X) (h : ∀ x ∈ R, ∀ y ∈ R, X.piecewise x y ∈ R) :

    A set closed under mixing along a balanced X is a balanced rectangle.

    The empty set is a balanced rectangle once some balanced set exists.

    theorem Cslib.Communication.MultiPartition.exists_isBalanced {ι : Type u_1} [Fintype ι] [DecidableEq ι] (hn : 2 ≤ Fintype.card ι) {s t : Finset ι} (hst : s ⊆ t) (hs : 3 * s.card ≤ Fintype.card ι + 2) (ht : Fintype.card ι ≤ 3 * t.card) :
    ∃ (X : Finset ι), s ⊆ X ∧ X ⊆ t ∧ IsBalanced X

    Balanced sets exist between s and t once there are at least two variables, s has at most about a third of them and t at least a third.

    theorem Cslib.Communication.MultiPartition.exists_isCover_card {ι : Type u_1} {U : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype U] (hn : 2 ≤ Fintype.card ι) (S : Set (ι → U)) [DecidablePred fun (x : ι → U) => x ∈ S] :
    ∃ (R : Fin {x : ι → U | x ∈ S}.card → Set (ι → U)), IsCover S R

    Covers by singletons. With at least two variables, every finite set of inputs is covered by its singletons, each a balanced rectangle.

    theorem Cslib.Communication.MultiPartition.IsCover.coverNumber_le {ι : Type u_1} {U : Type u_2} [Fintype ι] [DecidableEq ι] {S : Set (ι → U)} {k : ℕ} {R : Fin k → Set (ι → U)} (h : IsCover S R) :

    A cover bounds the cover number from above.

    theorem Cslib.Communication.MultiPartition.le_coverNumber {ι : Type u_1} {U : Type u_2} [Fintype ι] [DecidableEq ι] {S : Set (ι → U)} {m : ℕ} (hex : ∃ (k : ℕ) (R : Fin k → Set (ι → U)), IsCover S R) (h : ∀ (k : ℕ) (R : Fin k → Set (ι → U)), IsCover S R → m ≤ k) :

    If some cover exists and every cover has at least m rectangles, the cover number is at least m.