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.IsMaxAntichain r s: An antichain such that no antichain strictly includingsexists.
Alias of antisymm.
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.