Documentation

LeanPool.KahnKalai.Cost

Cover-cost calculus for Tran–Vu: the infimum is a minimum, subadditivity, empty-family / empty-set evaluation, and ⊆-minimals.

theorem KahnKalai.expectation_mono {α : Type u_1} {p : ℝ} (hp : 0 ≤ p) {G₁ G₂ : Finset (Finset α)} (h : G₁ ⊆ G₂) :
theorem KahnKalai.expectation_union_le {α : Type u_1} [DecidableEq α] {p : ℝ} (hp : 0 ≤ p) (G₁ G₂ : Finset (Finset α)) :
expectation p (G₁ ∪ G₂) ≤ expectation p G₁ + expectation p G₂
theorem KahnKalai.covers_empty {α : Type u_1} [DecidableEq α] [Fintype α] (G : Finset (Finset α)) :
theorem KahnKalai.covers_union {α : Type u_1} [DecidableEq α] [Fintype α] {G H₁ H₂ : Finset (Finset α)} (h₁ : Covers G H₁) (h₂ : Covers G H₂) :
Covers G (H₁ ∪ H₂)
theorem KahnKalai.covers_union_covers {α : Type u_1} [DecidableEq α] [Fintype α] {G₁ G₂ H₁ H₂ : Finset (Finset α)} (h₁ : Covers G₁ H₁) (h₂ : Covers G₂ H₂) :
Covers (G₁ ∪ G₂) (H₁ ∪ H₂)
theorem KahnKalai.covers_of_subset {α : Type u_1} [DecidableEq α] [Fintype α] {G H₁ H₂ : Finset (Finset α)} (hH : H₁ ⊆ H₂) (h : Covers G H₂) :
Covers G H₁
theorem KahnKalai.coverCost_le_one {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) (H : Finset (Finset α)) :
theorem KahnKalai.covers_set_nonempty {α : Type u_1} [DecidableEq α] [Fintype α] (p : ℝ) (H : Finset (Finset α)) :
((fun (G : Finset (Finset α)) => expectation p G) '' {G : Finset (Finset α) | Covers G H}).Nonempty
theorem KahnKalai.covers_set_finite {α : Type u_1} [DecidableEq α] [Fintype α] (p : ℝ) (H : Finset (Finset α)) :
((fun (G : Finset (Finset α)) => expectation p G) '' {G : Finset (Finset α) | Covers G H}).Finite
theorem KahnKalai.exists_cover_eq_coverCost {α : Type u_1} [DecidableEq α] [Fintype α] (p : ℝ) (H : Finset (Finset α)) :
∃ (G : Finset (Finset α)), Covers G H ∧ expectation p G = coverCost p H
theorem KahnKalai.coverCost_empty {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) :
theorem KahnKalai.coverCost_eq_zero_of_empty {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) {H : Finset (Finset α)} (hH : H = ∅) :
coverCost p H = 0
theorem KahnKalai.coverCost_pos_imp_nonempty {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) {H : Finset (Finset α)} (h : 0 < coverCost p H) :
theorem KahnKalai.coverCost_of_mem_empty {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) {H : Finset (Finset α)} (h : ∅ ∈ H) :
coverCost p H = 1
theorem KahnKalai.coverCost_mono {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) {H₁ H₂ : Finset (Finset α)} (h : H₁ ⊆ H₂) :
coverCost p H₁ ≤ coverCost p H₂
theorem KahnKalai.coverCost_union_le {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) (H₁ H₂ : Finset (Finset α)) :
coverCost p (H₁ ∪ H₂) ≤ coverCost p H₁ + coverCost p H₂
theorem KahnKalai.coverCost_sdiff_ge {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) (H₁ H₂ : Finset (Finset α)) :
coverCost p H₁ - coverCost p H₂ ≤ coverCost p (H₁ \ H₂)
theorem KahnKalai.coverCost_union_ge_sub {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) (A B : Finset (Finset α)) :
theorem KahnKalai.coverCost_ge_union_sub {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) (A B : Finset (Finset α)) :

Subadditivity rearranged: f(A) ≥ f(A ∪ B) - f(B).

def KahnKalai.minimals {α : Type u_1} [DecidableEq α] [Fintype α] (F : Finset (Finset α)) :

The inclusion-minimal members of a finite family.

Equations
Instances For
    theorem KahnKalai.minimals_subset {α : Type u_1} [DecidableEq α] [Fintype α] (F : Finset (Finset α)) :
    minimals F ⊆ F
    theorem KahnKalai.mem_minimals {α : Type u_1} [DecidableEq α] [Fintype α] {F : Finset (Finset α)} {T : Finset α} :
    T ∈ minimals F ↔ T ∈ F ∧ ∀ U ∈ F, U ⊆ T → U = T
    theorem KahnKalai.exists_minimal_subset {α : Type u_1} [DecidableEq α] [Fintype α] {F : Finset (Finset α)} {S : Finset α} (hS : S ∈ F) :
    ∃ T ∈ minimals F, T ⊆ S
    theorem KahnKalai.covers_minimals {α : Type u_1} [DecidableEq α] [Fintype α] (F : Finset (Finset α)) :
    theorem KahnKalai.covers_of_covers_minimals {α : Type u_1} [DecidableEq α] [Fintype α] {G F : Finset (Finset α)} (h : Covers G (minimals F)) :
    Covers G F
    theorem KahnKalai.coverCost_minimals {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) (F : Finset (Finset α)) :
    def KahnKalai.restrictFamily {α : Type u_1} [DecidableEq α] (H : Finset (Finset α)) (W : Finset α) :

    Restrict a family by removing every element of W from each member.

    Equations
    Instances For
      theorem KahnKalai.mem_restrictFamily {α : Type u_1} [DecidableEq α] {H : Finset (Finset α)} {W T : Finset α} :
      T ∈ restrictFamily H W ↔ ∃ S ∈ H, S \ W = T
      theorem KahnKalai.restrictFamily_disjoint {α : Type u_1} [DecidableEq α] {H : Finset (Finset α)} {W T : Finset α} (h : T ∈ restrictFamily H W) :
      theorem KahnKalai.restrictFamily_subset_sdiff {α : Type u_1} [DecidableEq α] [Fintype α] {H : Finset (Finset α)} {W T : Finset α} (h : T ∈ restrictFamily H W) :
      T ⊆ Finset.univ \ W
      theorem KahnKalai.covers_restrict_of_covers {α : Type u_1} [DecidableEq α] [Fintype α] {G H : Finset (Finset α)} {W : Finset α} (h : Covers G (restrictFamily H W)) :
      Covers G H
      theorem KahnKalai.coverCost_le_restrict {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) (H : Finset (Finset α)) (W : Finset α) :
      theorem KahnKalai.coverCost_le_minimals_restrict {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) (H : Finset (Finset α)) (W : Finset α) :
      noncomputable def KahnKalai.largeMinimals {α : Type u_1} [DecidableEq α] [Fintype α] (H : Finset (Finset α)) (W : Finset α) (ℓ : ℕ) :

      Members of F with size strictly larger than 0.9 ℓ.

      Equations
      Instances For
        noncomputable def KahnKalai.smallMinimals {α : Type u_1} [DecidableEq α] [Fintype α] (H : Finset (Finset α)) (W : Finset α) (ℓ : ℕ) :

        Minimal restricted members whose size is at most 0.9 ℓ.

        Equations
        Instances For
          theorem KahnKalai.largeMinimals_union_small {α : Type u_1} [DecidableEq α] [Fintype α] (H : Finset (Finset α)) (W : Finset α) (ℓ : ℕ) :
          theorem KahnKalai.largeMinimals_disjoint_small {α : Type u_1} [DecidableEq α] [Fintype α] (H : Finset (Finset α)) (W : Finset α) (ℓ : ℕ) :
          theorem KahnKalai.coverCost_small_ge {α : Type u_1} [DecidableEq α] [Fintype α] {p : ℝ} (hp : 0 ≤ p) (H : Finset (Finset α)) (W : Finset α) (ℓ : ℕ) :
          theorem KahnKalai.IsBounded.image_sdiff {α : Type u_1} [DecidableEq α] {H : Finset (Finset α)} {ℓ : ℕ} (hb : IsBounded H ℓ) (W : Finset α) :
          theorem KahnKalai.IsBounded.minimals {α : Type u_1} [DecidableEq α] [Fintype α] {F : Finset (Finset α)} {ℓ : ℕ} (hb : IsBounded F ℓ) :
          theorem KahnKalai.IsBounded.largeMinimals {α : Type u_1} [DecidableEq α] [Fintype α] {H : Finset (Finset α)} {ℓ : ℕ} (hb : IsBounded H ℓ) (W : Finset α) :
          theorem KahnKalai.IsBounded.smallMinimals {α : Type u_1} [DecidableEq α] [Fintype α] {H : Finset (Finset α)} {W : Finset α} {ℓ ℓ₁ : ℕ} (hℓ₁ : ℓ₁ = ⌊9 / 10 * ↑ℓ⌋₊) :
          theorem KahnKalai.largeMinimals_card_gt {α : Type u_1} [DecidableEq α] [Fintype α] {H : Finset (Finset α)} {W T : Finset α} {ℓ : ℕ} (h : T ∈ largeMinimals H W ℓ) :
          ⌊9 / 10 * ↑ℓ⌋₊ + 1 ≤ T.card
          theorem KahnKalai.largeMinimals_mem_minimals {α : Type u_1} [DecidableEq α] [Fintype α] {H : Finset (Finset α)} {W T : Finset α} {ℓ : ℕ} (h : T ∈ largeMinimals H W ℓ) :
          theorem KahnKalai.card_level {α : Type u_1} [Fintype α] (n : ℕ) :
          {S : Finset α | S.card = n}.card = (Fintype.card α).choose n
          theorem KahnKalai.generate_level_frac_le {α : Type u_1} [DecidableEq α] [Fintype α] (F : Finset (Finset α)) {s t : ℕ} (hst : s ≤ t) (ht : t ≤ Fintype.card α) :
          ↑{S ∈ generate F | S.card = s}.card / ↑((Fintype.card α).choose s) ≤ ↑{S ∈ generate F | S.card = t}.card / ↑((Fintype.card α).choose t)
          theorem KahnKalai.expectation_mono_p {α : Type u_1} {p q : ℝ} (hp : 0 ≤ p) (hpq : p ≤ q) (G : Finset (Finset α)) :
          theorem KahnKalai.coverCost_mono_p {α : Type u_1} [DecidableEq α] [Fintype α] {p q : ℝ} (hp : 0 ≤ p) (hpq : p ≤ q) (H : Finset (Finset α)) :
          theorem KahnKalai.coverCost_zero_of_not_mem_empty {α : Type u_1} [DecidableEq α] [Fintype α] {H : Finset (Finset α)} (h : ∅ ∉ H) :
          coverCost 0 H = 0