aboutsummaryrefslogtreecommitdiff
path: root/mathcomp
diff options
context:
space:
mode:
authorKazuhiko Sakaguchi2020-05-04 11:46:30 +0900
committerKazuhiko Sakaguchi2020-05-04 11:46:30 +0900
commit3548a49db7f9ddc181a27ba0762686b2f2aee30c (patch)
treea5432a53877fa05fb90ed07217e2f7cb788fbd8c /mathcomp
parent709756f9bbb92b5e5844e0133627271c974a11c2 (diff)
Remove the tuple extensions in order.v that is available in tuple.v
Diffstat (limited to 'mathcomp')
-rw-r--r--mathcomp/ssreflect/order.v14
1 files changed, 0 insertions, 14 deletions
diff --git a/mathcomp/ssreflect/order.v b/mathcomp/ssreflect/order.v
index 38ee13d..fbe92c1 100644
--- a/mathcomp/ssreflect/order.v
+++ b/mathcomp/ssreflect/order.v
@@ -937,20 +937,6 @@ Reserved Notation "\max^l_ ( i 'in' A ) F"
(at level 41, F at level 41, i, A at level 50,
format "'[' \max^l_ ( i 'in' A ) '/ ' F ']'").
-(* tuple extensions *)
-Lemma eqEtuple n (T : eqType) (t1 t2 : n.-tuple T) :
- (t1 == t2) = [forall i, tnth t1 i == tnth t2 i].
-Proof. by apply/eqP/'forall_eqP => [->|/eq_from_tnth]. Qed.
-
-Lemma tnth_nseq n T x (i : 'I_n) : @tnth n T [tuple of nseq n x] i = x.
-Proof.
-by rewrite !(tnth_nth (tnth_default (nseq_tuple n x) i)) nth_nseq ltn_ord.
-Qed.
-
-Lemma tnthS n T x (t : n.-tuple T) i :
- tnth [tuple of x :: t] (lift ord0 i) = tnth t i.
-Proof. by rewrite (tnth_nth (tnth_default t i)). Qed.
-
Module Order.
(**************)