2015-07-06 22:05:01 +00:00
|
|
|
import data.fintype
|
2015-06-09 22:30:58 +00:00
|
|
|
open function
|
|
|
|
|
|
|
|
section test
|
|
|
|
variable {A : Type}
|
|
|
|
variable [finA : fintype A]
|
|
|
|
include finA
|
|
|
|
variable [deceqA : decidable_eq A]
|
|
|
|
include deceqA
|
|
|
|
|
|
|
|
example : decidable_pred (@injective A A) :=
|
|
|
|
_
|
|
|
|
|
|
|
|
example : decidable_pred (@surjective A A) :=
|
|
|
|
_
|
|
|
|
|
|
|
|
end test
|