We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2cfd3e commit cf21029Copy full SHA for cf21029
theories/Data/HList.v
@@ -105,6 +105,7 @@ Section hlist.
105
(** TODO: I need hlist_rev_cons **)
106
107
(** Equivalence **)
108
+ (** TODO: This should change to relations **)
109
Section equiv.
110
Variable eqv : forall x, relation (F x).
111
@@ -669,4 +670,12 @@ Section hlist_rel_map.
669
670
intuition. constructor; auto.
671
Qed.
672
-End hlist_rel_map.
673
+End hlist_rel_map.
674
+
675
+Theorem hlist_hrel_equiv
676
+: forall T (F : T -> Type) (R : forall t, F t -> F t -> Prop) ls (h h' : hlist F ls),
677
+ hlist_hrel R h h' ->
678
+ equiv_hlist R h h'.
679
+Proof.
680
+ induction 1; constructor; auto.
681
+Qed.
0 commit comments