Documentation

CslibFrontier.Foundations.Combinatorics.CubeSplitting

Threshold crossings of separable unate forms on unit cubes of a grid #

Let F : ι → ℕ → ℝ be a family of functions, each monotone or antitone, and consider the separable form s ↦ ∑ i, F i (s i) on the grid {0, …, m} ^ ι. The unit cubes of the grid are indexed by q : ι → Fin m, with vertices q + z for z : ι → Bool. The threshold θ splits q if the form is < θ at one vertex and ≥ θ at another (CubeSplits).

At most m ^ |ι| - (m - 1) ^ |ι| of the m ^ |ι| unit cubes are split (card_cubeSplits_le). After reflecting the antitone coordinates, every form is monotone; then the cube q is split only if the form is < θ at q and ≥ θ at q + 1, so at most one cube on each diagonal line q, q + 1, q + 2, … is split. Each line contains exactly one cube with a zero coordinate, and there are m ^ |ι| - (m - 1) ^ |ι| of those. That a unate function changes value at most once along a chain compatible with its orientation is classical (Impagliazzo, Paturi and Saks, Lemma 2.1); the count of split cubes is Lemma 15 of Reitwiessner, Depth-Two Threshold Circuits for Andreev's Function (2026).

Main definitions #

Main results #

def Cslib.Combinatorics.CubeSplits {ι : Type u_1} [Fintype ι] {m : ℕ} (F : ι → ℕ → ℝ) (θ : ℝ) (q : ι → Fin m) :

The threshold θ splits the unit cube q : ι → Fin m of the separable form s ↦ ∑ i, F i (s i) if the form is below θ at some vertex q + z and at least θ at another vertex q + z', z z' : ι → Bool.

Instances For
    @[instance_reducible]
    noncomputable instance Cslib.Combinatorics.instDecidableCubeSplits {ι : Type u_1} [Fintype ι] {m : ℕ} (F : ι → ℕ → ℝ) (θ : ℝ) (q : ι → Fin m) :
    theorem Cslib.Combinatorics.cubeSplits_iff {ι : Type u_1} [Fintype ι] {m : ℕ} {F : ι → ℕ → ℝ} {θ : ℝ} {q : ι → Fin m} :
    CubeSplits F θ q ↔ ∃ (z : ι → Bool) (z' : ι → Bool), ∑ i : ι, F i (↑(q i) + (z i).toNat) < θ ∧ θ ≤ ∑ i : ι, F i (↑(q i) + (z' i).toNat)
    theorem Cslib.Combinatorics.CubeSplits.lt_and_le_of_monotone {ι : Type u_1} [Fintype ι] {m : ℕ} {F : ι → ℕ → ℝ} (hF : ∀ (i : ι), Monotone (F i)) {θ : ℝ} {q : ι → Fin m} (h : CubeSplits F θ q) :
    ∑ i : ι, F i ↑(q i) < θ ∧ θ ≤ ∑ i : ι, F i (↑(q i) + 1)

    For monotone forms, a split cube has its lowest vertex below θ and its highest vertex at least θ.

    theorem Cslib.Combinatorics.CubeSplits.eq_zero_of_monotone {ι : Type u_1} [Fintype ι] {m : ℕ} {F : ι → ℕ → ℝ} (hF : ∀ (i : ι), Monotone (F i)) {θ : ℝ} {q q' : ι → Fin m} (h : CubeSplits F θ q) (h' : CubeSplits F θ q') {d : ℕ} (hd : ∀ (i : ι), ↑(q' i) = ↑(q i) + d) :
    d = 0

    For monotone forms, two split cubes on a common diagonal line coincide.

    theorem Cslib.Combinatorics.card_exists_val_eq_zero {ι : Type u_1} [Fintype ι] {m : ℕ} [DecidableEq ι] :
    {p : ι → Fin m | ∃ (i : ι), ↑(p i) = 0}.card = m ^ Fintype.card ι - (m - 1) ^ Fintype.card ι

    The number of p : ι → Fin m with a zero coordinate is m ^ |ι| - (m - 1) ^ |ι|.

    theorem Cslib.Combinatorics.card_cubeSplits_le_of_monotone {ι : Type u_1} [Fintype ι] {m : ℕ} [DecidableEq ι] (F : ι → ℕ → ℝ) (hF : ∀ (i : ι), Monotone (F i)) (θ : ℝ) :
    {q : ι → Fin m | CubeSplits F θ q}.card ≤ m ^ Fintype.card ι - (m - 1) ^ Fintype.card ι

    Split cubes of a monotone separable form: if every F i is monotone, the threshold θ splits at most m ^ |ι| - (m - 1) ^ |ι| of the m ^ |ι| unit cubes.

    theorem Cslib.Combinatorics.card_cubeSplits_le {ι : Type u_1} [Fintype ι] {m : ℕ} [DecidableEq ι] (F : ι → ℕ → ℝ) (hF : ∀ (i : ι), Monotone (F i) ∨ Antitone (F i)) (θ : ℝ) :
    {q : ι → Fin m | CubeSplits F θ q}.card ≤ m ^ Fintype.card ι - (m - 1) ^ Fintype.card ι

    Split cubes of a unate separable form (Lemma 15 of Reitwiessner's preprint): if every F i is monotone or antitone, the threshold θ splits at most m ^ |ι| - (m - 1) ^ |ι| of the m ^ |ι| unit cubes.