Antichains #
This file defines antichains. An antichain is a set where any two distinct elements are not related.
If the relation is (≤), this corresponds to incomparability and usual order antichains. If the
relation is G.Adj for G : SimpleGraph α, this corresponds to independent sets of G.
Definitions #
IsAntichain r s: Any two elements ofs : Set αare unrelated byr : α → α → Prop.IsStrongAntichain r s: Any two elements ofs : Set αare not related byr : α → α → Propto a common element.
An antichain is a set such that no two distinct elements are related.
Equations
- IsAntichain r s = s.Pairwise rᶜ
Instances For
Alias of IsAntichain.singleton.
A set which is simultaneously a chain and antichain is subsingleton.
The intersection of a chain and an antichain is subsingleton.
The intersection of an antichain and a chain is subsingleton.
If t is an antichain shadowing and including the set of maximal elements of s,
then t is the set of maximal elements of s.
If t is an antichain shadowed by and including the set of minimal elements of s,
then t is the set of minimal elements of s.
Strong antichains #
Weak antichains #
A weak antichain in Π i, α i is a set such that no two distinct elements are strongly less
than each other.
Equations
- IsWeakAntichain s = IsAntichain (fun (x1 x2 : (i : ι) → α i) => StrongLT x1 x2) s