Finsets in fin n
#
A few constructions for finsets in fin n
.
Main declarations #
finset.fin_range
:{0, 1, ..., n - 1}
as afinset (fin n)
.finset.attach_fin
: Turns a finset of naturals strictly less thann
into afinset (fin n)
.
finset.fin_range n
is the finset {0, 1, ..., n - 1}
, as a finset (fin n)
.
Equations
- finset.fin_range n = {val := ↑(list.fin_range n), nodup := _}