From 13c012d495b51f3be4371a1ce099d8567388533e Mon Sep 17 00:00:00 2001 From: Ralf Jung <jung@mpi-sws.org> Date: Sat, 20 Feb 2016 19:40:24 +0100 Subject: [PATCH] fix transitivity change --- theories/lexico.v | 2 +- theories/list.v | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/theories/lexico.v b/theories/lexico.v index 747bc83b..42d6b319 100644 --- a/theories/lexico.v +++ b/theories/lexico.v @@ -52,7 +52,7 @@ Proof. - intros [x y]. apply prod_lexico_irreflexive. by apply (irreflexivity lexico y). - intros [??] [??] [??] ??. - eapply prod_lexico_transitive; eauto. apply trans. + eapply prod_lexico_transitive; eauto. apply transitivity. Qed. Instance prod_lexico_trichotomyT `{Lexico A, tA : !TrichotomyT (@lexico A _)} `{Lexico B, tB : !TrichotomyT (@lexico B _)}: TrichotomyT (@lexico (A * B) _). diff --git a/theories/list.v b/theories/list.v index 9c536c24..5042b8e8 100644 --- a/theories/list.v +++ b/theories/list.v @@ -2493,7 +2493,7 @@ Section Forall2_order. Global Instance: Symmetric R → Symmetric (Forall2 R). Proof. intros. induction 1; constructor; auto. Qed. Global Instance: Transitive R → Transitive (Forall2 R). - Proof. intros ????. apply Forall2_transitive. by apply @trans. Qed. + Proof. intros ????. apply Forall2_transitive. by apply @transitivity. Qed. Global Instance: Equivalence R → Equivalence (Forall2 R). Proof. split; apply _. Qed. Global Instance: PreOrder R → PreOrder (Forall2 R). -- GitLab