The areas / V30. Combinatorics
Mathlib.Combinatorics.SetFamily.LYM
16 declarations. Mathlib docs ยท Source
Lubell-Yamamoto-Meshalkin inequality and Sperner's theorem
This file proves the local LYM and LYM inequalities as well as Sperner's theorem.
Main declarations
Finset.local_lubell_yamamoto_meshalkin_inequality_div: Local Lubell-Yamamoto-Meshalkin inequality. The shadow of a set๐in a layer takes a greater proportion of its layer than๐does.Finset.lubell_yamamoto_meshalkin_inequality_sum_card_div_choose: Lubell-Yamamoto-Meshalkin inequality. The sum of densities of๐in each layer is at most1for any antichain๐.IsAntichain.sperner: Sperner's theorem. The size of any antichain inFinset ฮฑis at most the size of the maximal layer ofFinset ฮฑ. It is a corollary oflubell_yamamoto_meshalkin_inequality_sum_card_div_choose.
TODO
Prove upward local LYM.
Provide equality cases. Local LYM gives that the equality case of LYM and Sperner is precisely when
๐ is a middle layer.
falling could be useful more generally in grade orders.
References
- http://b-mehta.github.io/maths-notes/iii/mich/combinatorics.pdf
- http://discretemath.imp.fu-berlin.de/DMII-2015-16/kruskal.pdf
Tags
shadow, lym, slice, sperner, antichain
Local LYM inequality
LYM inequality
Sperner's theorem
theorem Finset.local_lubell_yamamoto_meshalkin_inequality_mul E1 #
โ {ฮฑ : Type u_2} [inst : DecidableEq ฮฑ] [inst_1 : Fintype ฮฑ] {๐ : Finset (Finset ฮฑ)} {r : โ},
Set.Sized r โ๐ โ ๐.card * r โค ๐.shadow.card * (Fintype.card ฮฑ - r + 1)
The downward local LYM inequality, with cancelled denominators. ๐ takes up less of ฮฑ^(r)
(the finsets of card r) than โ๐ takes up of ฮฑ^(r - 1).
theorem Finset.card_mul_le_card_shadow_mul E1 #
โ {ฮฑ : Type u_2} [inst : DecidableEq ฮฑ] [inst_1 : Fintype ฮฑ] {๐ : Finset (Finset ฮฑ)} {r : โ},
Set.Sized r โ๐ โ ๐.card * r โค ๐.shadow.card * (Fintype.card ฮฑ - r + 1)
The downward local LYM inequality, with cancelled denominators. ๐ takes up less of ฮฑ^(r)
(the finsets of card r) than โ๐ takes up of ฮฑ^(r - 1).
theorem Finset.local_lubell_yamamoto_meshalkin_inequality_div E3 #
โ {๐ : Type u_1} {ฮฑ : Type u_2} [inst : Semifield ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : DecidableEq ฮฑ] [inst_4 : Fintype ฮฑ] {๐ : Finset (Finset ฮฑ)} {r : โ},
r โ 0 โ Set.Sized r โ๐ โ โ๐.card / โ((Fintype.card ฮฑ).choose r) โค โ๐.shadow.card / โ((Fintype.card ฮฑ).choose (r - 1))
The downward local LYM inequality. ๐ takes up less of ฮฑ^(r) (the finsets of card r)
than โ๐ takes up of ฮฑ^(r - 1).
theorem Finset.card_div_choose_le_card_shadow_div_choose E1 #
โ {๐ : Type u_1} {ฮฑ : Type u_2} [inst : Semifield ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : DecidableEq ฮฑ] [inst_4 : Fintype ฮฑ] {๐ : Finset (Finset ฮฑ)} {r : โ},
r โ 0 โ Set.Sized r โ๐ โ โ๐.card / โ((Fintype.card ฮฑ).choose r) โค โ๐.shadow.card / โ((Fintype.card ฮฑ).choose (r - 1))
The downward local LYM inequality. ๐ takes up less of ฮฑ^(r) (the finsets of card r)
than โ๐ takes up of ฮฑ^(r - 1).
def Finset.falling E1 #
{ฮฑ : Type u_2} โ [DecidableEq ฮฑ] โ โ โ Finset (Finset ฮฑ) โ Finset (Finset ฮฑ)
falling k ๐ is all the finsets of cardinality k which are a subset of something in ๐.
theorem Finset.mem_falling E0 #
โ {ฮฑ : Type u_2} [inst : DecidableEq ฮฑ] {k : โ} {๐ : Finset (Finset ฮฑ)} {s : Finset ฮฑ},
s โ Finset.falling k ๐ โ (โ t โ ๐, s โ t) โง s.card = k
theorem Finset.sized_falling E1 #
โ {ฮฑ : Type u_2} [inst : DecidableEq ฮฑ] (k : โ) (๐ : Finset (Finset ฮฑ)), Set.Sized k โ(Finset.falling k ๐)
theorem Finset.slice_subset_falling E1 #
โ {ฮฑ : Type u_2} [inst : DecidableEq ฮฑ] (k : โ) (๐ : Finset (Finset ฮฑ)), ๐.slice k โ Finset.falling k ๐
theorem Finset.falling_zero_subset E1 #
โ {ฮฑ : Type u_2} [inst : DecidableEq ฮฑ] (๐ : Finset (Finset ฮฑ)), Finset.falling 0 ๐ โ {โ
}
theorem Finset.slice_union_shadow_falling_succ E1 #
โ {ฮฑ : Type u_2} [inst : DecidableEq ฮฑ] (k : โ) (๐ : Finset (Finset ฮฑ)),
๐.slice k โช (Finset.falling (k + 1) ๐).shadow = Finset.falling k ๐
theorem Finset.IsAntichain.disjoint_slice_shadow_falling E1 #
โ {ฮฑ : Type u_2} [inst : DecidableEq ฮฑ] {๐ : Finset (Finset ฮฑ)} {m n : โ},
IsAntichain (fun x1 x2 โฆ x1 โ x2) โ๐ โ Disjoint (๐.slice m) (Finset.falling n ๐).shadow
The shadow of falling m ๐ is disjoint from the n-sized elements of ๐, thanks to the
antichain property.
theorem Finset.le_card_falling_div_choose E1 #
โ {๐ : Type u_1} {ฮฑ : Type u_2} [inst : Semifield ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : DecidableEq ฮฑ] {k : โ} {๐ : Finset (Finset ฮฑ)} [inst_4 : Fintype ฮฑ],
k โค Fintype.card ฮฑ โ
IsAntichain (fun x1 x2 โฆ x1 โ x2) โ๐ โ
โ r โ Finset.range (k + 1),
โ(๐.slice (Fintype.card ฮฑ - r)).card / โ((Fintype.card ฮฑ).choose (Fintype.card ฮฑ - r)) โค
โ(Finset.falling (Fintype.card ฮฑ - k) ๐).card / โ((Fintype.card ฮฑ).choose (Fintype.card ฮฑ - k))
A bound on any top part of the sum in LYM in terms of the size of falling k ๐.
theorem Finset.lubell_yamamoto_meshalkin_inequality_sum_card_div_choose E3 #
โ {๐ : Type u_1} {ฮฑ : Type u_2} [inst : Semifield ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : Fintype ฮฑ] {๐ : Finset (Finset ฮฑ)},
IsAntichain (fun x1 x2 โฆ x1 โ x2) โ๐ โ
โ r โ Finset.range (Fintype.card ฮฑ + 1), โ(๐.slice r).card / โ((Fintype.card ฮฑ).choose r) โค 1
The Lubell-Yamamoto-Meshalkin inequality, also known as the LYM inequality.
If ๐ is an antichain, then the sum of the proportion of elements it takes from each layer is less
than 1.
theorem Finset.sum_card_slice_div_choose_le_one E2 #
โ {๐ : Type u_1} {ฮฑ : Type u_2} [inst : Semifield ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : Fintype ฮฑ] {๐ : Finset (Finset ฮฑ)},
IsAntichain (fun x1 x2 โฆ x1 โ x2) โ๐ โ
โ r โ Finset.range (Fintype.card ฮฑ + 1), โ(๐.slice r).card / โ((Fintype.card ฮฑ).choose r) โค 1
The Lubell-Yamamoto-Meshalkin inequality, also known as the LYM inequality.
If ๐ is an antichain, then the sum of the proportion of elements it takes from each layer is less
than 1.
theorem Finset.lubell_yamamoto_meshalkin_inequality_sum_inv_choose E2 #
โ {๐ : Type u_1} {ฮฑ : Type u_2} [inst : Semifield ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : Fintype ฮฑ] {๐ : Finset (Finset ฮฑ)},
IsAntichain (fun x1 x2 โฆ x1 โ x2) โ๐ โ โ s โ ๐, (โ((Fintype.card ฮฑ).choose s.card))โปยน โค 1
The Lubell-Yamamoto-Meshalkin inequality, also known as the LYM inequality.
If ๐ is an antichain, then the sum of (#ฮฑ.choose #s)โปยน over s โ ๐ is less than 1.
theorem IsAntichain.sperner E3 #
โ {ฮฑ : Type u_2} [inst : Fintype ฮฑ] {๐ : Finset (Finset ฮฑ)},
IsAntichain (fun x1 x2 โฆ x1 โ x2) โ๐ โ ๐.card โค (Fintype.card ฮฑ).choose (Fintype.card ฮฑ / 2)
Sperner's theorem. The size of an antichain in Finset ฮฑ is bounded by the size of the
maximal layer in Finset ฮฑ. This precisely means that Finset ฮฑ is a Sperner order.