Encodable
and Denumerable
instances for Finset
#
@[simp]
@[simp]
@[simp]
@[simp]
theorem
Denumerable.raise'_chain
(l : List ℕ)
{m n : ℕ}
:
m < n → List.Chain (fun (x1 x2 : ℕ) => x1 < x2) m (raise' l n)
theorem
Denumerable.raise'_sorted
(l : List ℕ)
(n : ℕ)
:
List.Sorted (fun (x1 x2 : ℕ) => x1 < x2) (raise' l n)
raise' l n
is a strictly increasing sequence.
Makes raise' l n
into a finset. Elements are distinct thanks to raise'_sorted
.
Equations
Instances For
If α
is denumerable, then so is Finset α
. Warning: this is not the same encoding as used
in Finset.encodable
.