Countable types #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
In this file we provide basic instances of the countable
typeclass defined elsewhere.
Definition in terms of function.embedding
#
@[protected]
Operations on Type*
s #
@[protected, instance]
Operations on and Sort*
s #
@[protected, instance]
def
pi.countable
{α : Sort u}
{π : α → Sort w}
[finite α]
[∀ (a : α), countable (π a)] :
countable (Π (a : α), π a)