Documentation

CslibFrontier.Computability.Communication.Lifting.WitnessCounting

Counting conditional parity witnesses #

A conditioning witness chooses at most k coordinates from an allowed set U, and one alphabet value on each chosen coordinate. Assignments have domain precisely the chosen coordinates: there is no multiplicity from arbitrary values outside that domain.

structure Cslib.Communication.Lifting.ConditioningAssignment {α : Type u_1} (U : Finset α) (m k : ℕ) :
Type u_1

Coordinates and values of a bounded-size conditioning assignment.

  • coordinates : Finset α

    The coordinates being fixed.

  • subset : self.coordinates ⊆ U

    Only allowed coordinates are fixed.

  • card_le : self.coordinates.card ≤ k

    The conditioning size budget.

  • values : ↥self.coordinates → Fin m

    Values are specified only on the fixed coordinates.

Instances For
    noncomputable def Cslib.Communication.Lifting.ConditioningAssignment.equivSigma {α : Type u_1} (U : Finset α) (m k : ℕ) :
    ConditioningAssignment U m k ≃ (J : ↥({J ∈ U.powerset | J.card ≤ k})) × (↥↑J → Fin m)

    The finite encoding used to count conditioning assignments.

    @[instance_reducible]

    The exact number of partial conditioning assignments, including thresholds above U.card.

    theorem Cslib.Communication.Lifting.card_conditioningAssignment_le {α : Type u_1} (U : Finset α) (m k N : ℕ) (hU : U.card ≤ N) (hNm : 1 ≤ N * m) :
    Fintype.card (ConditioningAssignment U m k) ≤ (N + 1) * (N * m) ^ k

    Counting by the actual coordinate universe avoids a factor depending on an oversized threshold. Only U.card + 1 distinct cardinalities can occur.

    theorem Cslib.Communication.Lifting.sum_conditioningAssignment_mul_pow_le (n m k : ℕ) (hNm : 1 ≤ n * m) {q : ℝ} (hq : 0 ≤ q) (hq1 : q ≤ 1) (hnq : ↑n * q ≤ 1 / 2) :
    ∑ S ∈ Finset.univ.powerset with Finset.Nonempty S, ↑(Fintype.card (ConditioningAssignment (Finset.univ \ S) m k)) * q ^ S.card ≤ ↑(n + 1) * ↑(n * m) ^ k

    The geometric total over nonempty parity supports, with every bounded conditioning assignment on its complement counted once.

    theorem Cslib.Communication.Lifting.card_conditioningAssignment_le_pow {n m k : ℕ} (hNm : 1 ≤ n * m) (S : Finset (Fin n)) (hS : S.Nonempty) {u : ℝ} (hu : 0 ≤ u) (hk : ↑(n * m) ^ k ≤ u ^ S.card) :
    ↑(Fintype.card (ConditioningAssignment (Finset.univ \ S) m k)) ≤ (↑(n + 1) * u) ^ S.card

    A size-dependent conditioning budget gives a geometric witness count for each nonempty parity support. The factor n + 1 is absorbed once per parity coordinate.

    theorem Cslib.Communication.Lifting.sum_conditioningAssignment_mul_pow_le_one (n m : ℕ) (k : Finset (Fin n) → ℕ) (hNm : 1 ≤ n * m) {u q : ℝ} (hu : 0 ≤ u) (hq : 0 ≤ q) (hk : ∀ (S : Finset (Fin n)), S.Nonempty → ↑(n * m) ^ k S ≤ u ^ S.card) (hw : ↑(n + 1) * u * q ≤ 1) (hnw : ↑n * (↑(n + 1) * u * q) ≤ 1 / 2) :

    Geometric summation of canonical witnesses with a support-dependent size budget.