Created
January 27, 2018 09:43
-
-
Save roboguy13/5917665321226f762e2c653a049bae8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Inductive Eq : Type -> Type := | |
| MkEq : forall a, (a -> a -> bool) -> Eq a. | |
Definition my_equal {e b c : Type} {t : Type -> Type} (dict : Eq e) (f : forall a, t a -> e) (x : t b) (y : t c) : bool. | |
destruct dict as [T eq]. | |
exact (eq (f b x) (f c y)). | |
Defined. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment