The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V30. Combinatorics

Mathlib.Combinatorics.SetFamily.HarrisKleitman

8 declarations. Mathlib docs ยท Source

Harris-Kleitman inequality

This file proves the Harris-Kleitman inequality. This relates #๐’œ * #โ„ฌ and 2 ^ card ฮฑ * #(๐’œ โˆฉ โ„ฌ) where ๐’œ and โ„ฌ are upward- or downcard-closed finite families of finsets. This can be interpreted as saying that any two lower sets (resp. any two upper sets) correlate in the uniform measure.

Main declarations

  • IsLowerSet.le_card_inter_finset: One form of the Harris-Kleitman inequality.

References

  • [D. J. Kleitman, Families of non-disjoint subsets][kleitman1966]

theorem IsLowerSet.nonMemberSubfamily E1 #

โˆ€ {ฮฑ : Type u_1} [inst : DecidableEq ฮฑ] {๐’œ : Finset (Finset ฮฑ)} {a : ฮฑ},
  IsLowerSet โ†‘๐’œ โ†’ IsLowerSet โ†‘(Finset.nonMemberSubfamily a ๐’œ)

theorem IsLowerSet.memberSubfamily E1 #

โˆ€ {ฮฑ : Type u_1} [inst : DecidableEq ฮฑ] {๐’œ : Finset (Finset ฮฑ)} {a : ฮฑ},
  IsLowerSet โ†‘๐’œ โ†’ IsLowerSet โ†‘(Finset.memberSubfamily a ๐’œ)

theorem IsLowerSet.memberSubfamily_subset_nonMemberSubfamily E1 #

โˆ€ {ฮฑ : Type u_1} [inst : DecidableEq ฮฑ] {๐’œ : Finset (Finset ฮฑ)} {a : ฮฑ},
  IsLowerSet โ†‘๐’œ โ†’ Finset.memberSubfamily a ๐’œ โІ Finset.nonMemberSubfamily a ๐’œ

theorem IsLowerSet.le_card_inter_finset' E2 #

โˆ€ {ฮฑ : Type u_1} [inst : DecidableEq ฮฑ] {๐’œ โ„ฌ : Finset (Finset ฮฑ)} {s : Finset ฮฑ},
  IsLowerSet โ†‘๐’œ โ†’ IsLowerSet โ†‘โ„ฌ โ†’ (โˆ€ t โˆˆ ๐’œ, t โІ s) โ†’ (โˆ€ t โˆˆ โ„ฌ, t โІ s) โ†’ ๐’œ.card * โ„ฌ.card โ‰ค 2 ^ s.card * (๐’œ โˆฉ โ„ฌ).card

Harris-Kleitman inequality: Any two lower sets of finsets correlate.

theorem IsLowerSet.le_card_inter_finset E3 #

โˆ€ {ฮฑ : Type u_1} [inst : DecidableEq ฮฑ] {๐’œ โ„ฌ : Finset (Finset ฮฑ)} [inst_1 : Fintype ฮฑ],
  IsLowerSet โ†‘๐’œ โ†’ IsLowerSet โ†‘โ„ฌ โ†’ ๐’œ.card * โ„ฌ.card โ‰ค 2 ^ Fintype.card ฮฑ * (๐’œ โˆฉ โ„ฌ).card

Harris-Kleitman inequality: Any two lower sets of finsets correlate.

theorem IsUpperSet.card_inter_le_finset E2 #

โˆ€ {ฮฑ : Type u_1} [inst : DecidableEq ฮฑ] {๐’œ โ„ฌ : Finset (Finset ฮฑ)} [inst_1 : Fintype ฮฑ],
  IsUpperSet โ†‘๐’œ โ†’ IsLowerSet โ†‘โ„ฌ โ†’ 2 ^ Fintype.card ฮฑ * (๐’œ โˆฉ โ„ฌ).card โ‰ค ๐’œ.card * โ„ฌ.card

Harris-Kleitman inequality: Upper sets and lower sets of finsets anticorrelate.

theorem IsLowerSet.card_inter_le_finset E2 #

โˆ€ {ฮฑ : Type u_1} [inst : DecidableEq ฮฑ] {๐’œ โ„ฌ : Finset (Finset ฮฑ)} [inst_1 : Fintype ฮฑ],
  IsLowerSet โ†‘๐’œ โ†’ IsUpperSet โ†‘โ„ฌ โ†’ 2 ^ Fintype.card ฮฑ * (๐’œ โˆฉ โ„ฌ).card โ‰ค ๐’œ.card * โ„ฌ.card

Harris-Kleitman inequality: Lower sets and upper sets of finsets anticorrelate.

theorem IsUpperSet.le_card_inter_finset E2 #

โˆ€ {ฮฑ : Type u_1} [inst : DecidableEq ฮฑ] {๐’œ โ„ฌ : Finset (Finset ฮฑ)} [inst_1 : Fintype ฮฑ],
  IsUpperSet โ†‘๐’œ โ†’ IsUpperSet โ†‘โ„ฌ โ†’ ๐’œ.card * โ„ฌ.card โ‰ค 2 ^ Fintype.card ฮฑ * (๐’œ โˆฉ โ„ฌ).card

Harris-Kleitman inequality: Any two upper sets of finsets correlate.