Countable types #
In this file we provide basic instances of the Countable
typeclass defined elsewhere.
Definition in terms of Function.Embedding
#
Operations on Type*
s #
Equations
- (_ : Uncountable (α ⊕ β)) = (_ : Uncountable (α ⊕ β))
Equations
- (_ : Uncountable (α ⊕ β)) = (_ : Uncountable (α ⊕ β))
Equations
- (_ : Uncountable (Option α)) = (_ : Uncountable (Option α))
instance
instUncountableProd
{α : Type u}
{β : Type v}
[Uncountable α]
[Nonempty β]
:
Uncountable (α × β)
Equations
- (_ : Uncountable (α × β)) = (_ : Uncountable (α × β))
instance
instUncountableProd_1
{α : Type u}
{β : Type v}
[Nonempty α]
[Uncountable β]
:
Uncountable (α × β)
Equations
- (_ : Uncountable (α × β)) = (_ : Uncountable (α × β))
theorem
Sigma.uncountable
{α : Type u}
{π : α → Type w}
(a : α)
[Uncountable (π a)]
:
Uncountable (Sigma π)
instance
instUncountableSigma
{α : Type u}
{π : α → Type w}
[Nonempty α]
[∀ (a : α), Uncountable (π a)]
:
Uncountable (Sigma π)
Equations
- (_ : Uncountable (Sigma π)) = (_ : Uncountable (Sigma π))