diff options
| author | Cyril Cohen | 2020-05-04 13:16:47 +0200 |
|---|---|---|
| committer | GitHub | 2020-05-04 13:16:47 +0200 |
| commit | 582a4a3943652b1ba7e9e689bf4051ada17f1c36 (patch) | |
| tree | 43a6e64af7d1850e409fb070013eef1113937a76 /mathcomp | |
| parent | 9ecb541cd573534a3144dd5b5f86c4312ff798b5 (diff) | |
| parent | 3548a49db7f9ddc181a27ba0762686b2f2aee30c (diff) | |
Merge pull request #493 from pi8027/rm-tuple-lemmas-in-order
Remove the tuple extensions in order.v that is available in tuple.v
Diffstat (limited to 'mathcomp')
| -rw-r--r-- | mathcomp/ssreflect/order.v | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/mathcomp/ssreflect/order.v b/mathcomp/ssreflect/order.v index 90ddfcb..9c2a87e 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. (**************) |
