2015-04-16 09:24:53 -07:00
|
|
|
/-
|
|
|
|
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Module: data.countable
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
|
2015-04-19 14:18:49 -07:00
|
|
|
Define countable types
|
2015-04-16 09:24:53 -07:00
|
|
|
-/
|
2015-04-19 14:18:49 -07:00
|
|
|
import algebra.function
|
|
|
|
open function
|
2015-04-13 08:09:23 -07:00
|
|
|
|
2015-04-19 14:18:49 -07:00
|
|
|
definition countable (A : Type) : Prop := ∃ f : A → nat, injective f
|