Maximum and minimum of finite sets #
max and min of finite sets #
Alias of Finset.notMem_of_max_lt_coe.
Alias of Finset.notMem_of_max_lt.
Alias of Finset.notMem_of_coe_lt_min.
Alias of Finset.notMem_of_lt_min.
{a}.min' _ is a.
{a}.max' _ is a.
If there's more than 1 element, the min' is less than the max'. An alternate version of
min'_lt_max' which is sometimes more convenient.
To rewrite from right to left, use Monotone.map_finset_max'.
A version of Finset.max'_image with LHS and RHS reversed.
Also, this version assumes that s is nonempty, not its image.
To rewrite from right to left, use Monotone.map_finset_min'.
A version of Finset.min'_image with LHS and RHS reversed.
Also, this version assumes that s is nonempty, not its image.
If finsets s and t are interleaved, then Finset.card s ≤ Finset.card t + 1.
If finsets s and t are interleaved, then Finset.card s ≤ Finset.card (t \ s) + 1.
Induction principle for Finsets in a linearly ordered type: a predicate is true on all
s : Finset α provided that:
Induction principle for Finsets in a linearly ordered type: a predicate is true on all
s : Finset α provided that:
Induction principle for Finsets in any type from which a given function f maps to a linearly
ordered type : a predicate is true on all s : Finset α provided that:
Induction principle for Finsets in any type from which a given function f maps to a linearly
ordered type : a predicate is true on all s : Finset α provided that: