aboutsummaryrefslogtreecommitdiff
path: root/src/Util/Unit.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/Util/Unit.v')
-rw-r--r--src/Util/Unit.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Util/Unit.v b/src/Util/Unit.v
new file mode 100644
index 000000000..cf5c4f669
--- /dev/null
+++ b/src/Util/Unit.v
@@ -0,0 +1,8 @@
+Require Import Coq.Classes.Morphisms.
+Require Import Relation_Definitions.
+
+(* an equivalence for a relation on trivial things, like [unit] *)
+Global Instance Equivalence_trivial {A} : Equivalence (fun _ _ : A => True).
+Proof.
+ repeat constructor.
+Qed.