fintype instances for intervals #
We provide fintype
instances for Ico l u
, for l u : ℕ
, and for l u : ℤ
.
@[protected, instance]
Equations
- set.Ico_ℕ_fintype l u = fintype.of_finset (finset.Ico l u) _
@[protected, instance]
Equations
- set.Ico_pnat_fintype l u = fintype.of_finset (l.Ico u) _
@[protected, instance]
Equations
- set.Ico_ℤ_fintype l u = fintype.of_finset (finset.Ico_ℤ l u) _