Intervals of finsets as finsets #
This file provides the LocallyFiniteOrder
instance for Finset α
and calculates the cardinality
of finite intervals of finsets.
If s t : Finset α
, then Finset.Icc s t
is the finset of finsets which include s
and are
included in t
. For example,
Finset.Icc {0, 1} {0, 1, 2, 3} = {{0, 1}, {0, 1, 2}, {0, 1, 3}, {0, 1, 2, 3}}
and
Finset.Icc {0, 1, 2} {0, 1, 3} = {}
.
In addition, this file gives characterizations of monotone and strictly monotone functions
out of Finset α
in terms of Finset.insert
Equations
- One or more equations did not get rendered due to their size.
Cardinality of a non-empty Icc
of finsets.
Cardinality of an Iic
of finsets.
Cardinality of an Iio
of finsets.
A function f
from Finset α
is strictly monotone if and only if f s < f (insert a s)
for
all s
and a ∉ s
.
A function f
from Finset α
is strictly antitone if and only if f (insert a s) < f s
for
all s
and a ∉ s
.