Documentation

ReflectiveSubsystems.DictatorCompleteIntersection

The dual Helly bound over the dictators through the complete intersection theorem #

On the vectors Fin n → Bool, ReflectiveSubsystems.choose_le_mul_encard_of_dualHellyLE bounds the number of non-dictator functions a class H needs once its dual Helly number relative to the dictators is at most k, given a bound on t-intersecting families of m-subsets of Fin n. This module takes that bound from the complete intersection theorem of Ahlswede and Khachatrian (1997), in the form Ellis, Keller and Lifshitz (2016, Theorem 1.1) state it: a t-intersecting family of m-subsets of an n-set has at most as many members as, for some i, the family of m-sets meeting a fixed set of t + 2 * i points in at least t + i. No Lean library holds that theorem, so it is the named hypothesis ReflectiveSubsystems.CompleteIntersectionBound. A union bound on the extremal families, valid whenever 4 * m ≤ n, turns it into the bound n.choose m * (2 * m) ^ t / n ^ t at every t, in particular with no condition relating t and m beyond 4 * m ≤ n.

Main definitions #

Main results #

The extremal families of the complete intersection theorem. The m-subsets of Fin n meeting the first t + 2 * i points in at least t + i.

Equations
Instances For

    The complete intersection bound: every family of m-subsets of Fin n whose distinct members meet in at least t points has at most as many members as some completeFamily n m t i. The complete intersection theorem of Ahlswede and Khachatrian says it holds for all n, m and t; it is a hypothesis here.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem ReflectiveSubsystems.card_completeFamily_mul_pow_le {n m t : ℕ} (i : ℕ) (h4 : 4 * m ≤ n) :
      (completeFamily n m t i).card * n ^ t ≤ n.choose m * (2 * m) ^ t

      A union bound on the extremal families. For 4 * m ≤ n, the family completeFamily n m t i has at most n.choose m * (2 * m) ^ t / n ^ t members: each of its members holds t + i of the first t + 2 * i points, at most 2 ^ (t + 2 * i) choices of those t + i points, and the m-sets through a fixed j-set are a fraction (m / n) ^ j of all m-sets at most.

      The complete intersection bound gives an intersecting bound. If the complete intersection bound holds at n, m and t and 4 * m ≤ n, a family of m-subsets of Fin n any two distinct members of which meet in at least t points has at most n.choose m * (2 * m) ^ t / n ^ t members: it has at most as many members as some completeFamily n m t i, and card_completeFamily_mul_pow_le bounds that.

      The complete intersection bound at t = m. Two distinct m-subsets meet in fewer than m points, so a family any two members of which meet in at least m points has at most one member, and completeFamily n m m 0 holds the set of the first m points.

      theorem ReflectiveSubsystems.pow_le_mul_encard_of_dualHellyLE {n : ℕ} {H : Cslib.MachineLearning.PACLearning.ConceptClass (Fin n → Bool) Bool} {k m r : ℕ} (hCI : CompleteIntersectionBound n m (2 * r + 1)) (h4 : 4 * m ≤ n) (hK : DualHellyLE (dictators n) H k) (hr : 1 ≤ r) (hkr : k * r < m) :
      ↑(n ^ (2 * r + 1)) ≤ ↑((2 * m) ^ (2 * r + 1)) * Set.encard (H \ dictators n)

      The dual Helly bound over the dictators, through the complete intersection bound. Let the dual Helly number of the dictators relative to H be at most k, let k * r < m and 4 * m ≤ n, and let the complete intersection bound hold at n, m and 2 * r + 1. Then n ^ (2 * r + 1) is at most (2 * m) ^ (2 * r + 1) times the number of members of H that are not dictators. It follows from choose_le_mul_encard_of_dualHellyLE with the bound of intersectingBound_of_completeIntersectionBound, multiplied through by n ^ (2 * r + 1) and divided by n.choose m.

      The lower bound for a learner, through the complete intersection bound. In the setting of pow_le_mul_encard_of_dualHellyLE without the dual Helly hypothesis: a learner whose hypotheses after the histories the dictators realize lie in a class H with (2 * m) ^ (2 * r + 1) times the number of its non-dictator members below n ^ (2 * r + 1) makes k mistakes on some realizable sequence of k examples. By the dual Helly bound the dual Helly number of the dictators relative to H exceeds k, which gives the two hypotheses of DualHelly.exists_mistakes_eq at m := k.

      The hypotheses of pow_le_mul_encard_of_dualHellyLE hold together, at n = 12, m = 3, r = 1, k = 2 and H all functions: the complete intersection bound at t = m, 4 * 3 ≤ 12, and the dual Helly number of the dictators relative to all functions is at most 2.

      theorem ReflectiveSubsystems.exists_mistakes_eq_of_pow_gt_nonvacuous :
      CompleteIntersectionBound 12 3 (2 * 1 + 1) ∧ 4 * 3 ≤ 12 ∧ 1 ≤ 1 ∧ 2 * 1 < 3 ∧ DualHelly.HypothesesIn (fun (x : List ((Fin 12 → Bool) × Bool)) (v : Fin 12 → Bool) => v 0) (dictators 12) (dictators 12) ∧ ↑((2 * 3) ^ (2 * 1 + 1)) * Set.encard (dictators 12 \ dictators 12) < ↑(12 ^ (2 * 1 + 1))

      The hypotheses of exists_mistakes_eq_of_pow_gt hold together, at n = 12, m = 3, r = 1, k = 2, H the dictators themselves and the learner always answering by the first dictator: H has no non-dictator member, so 216 * 0 is below 12 ^ 3 = 1728.