1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "sandwich.ma".
19 ∀R.∀ml:mlattice R.∀xn:sequence ml.∀x,y:ml.
20 xn ⇝ x → xn ⇝ y → δ x y ≈ 0.
21 intros (R ml xn x y H1 H2); unfold tends0 in H1 H2; unfold d2s in H1 H2;
22 intro Axy; lapply (ap_le_to_lt ??? (ap_symmetric ??? Axy) (mpositive ? ml ??)) as ge0;
23 cases (H1 (δ x y/1) (divide_preserves_lt ??? ge0)) (n1 Hn1); clear H1;
24 cases (H2 (δ x y/1) (divide_preserves_lt ??? ge0)) (n2 Hn2); clear H2;
25 letin N ≝ (S (n2 + n1));
26 cases (Hn1 N ?) (H1 H2); [apply (ltwr ? n2); rewrite < sym_plus; apply le_n;]
27 cases (Hn2 N ?) (H3 H4); [apply (ltwl ? n1); rewrite < sym_plus; apply le_n;]
28 clear H1 H3 Hn2 Hn1 N ge0 Axy; lapply (mtineq ?? x y (xn (S (n2+n1)))) as H5;
29 cut ( δx (xn (S (n2+n1)))+ δ(xn (S (n2+n1))) y < δx y/1 + δ(xn (S (n2+n1))) y) as H6;[2:
30 apply flt_plusr; apply (Lt≪ ? (msymmetric ????)); assumption]
31 lapply (le_lt_transitive ???? H5 H6) as H7; clear H6;
32 cut (δx y/1+ δ(xn (S (n2+n1))) y < δx y/1+ δx y/1) as H6; [2:apply flt_plusl; assumption]
33 lapply (lt_transitive ???? H7 H6) as ABS; clear H6 H7 H4 H5 H2 n1 n2 xn;
34 lapply (divpow ? (δ x y) 1) as D; lapply (Lt≪ ? (eq_sym ??? D) ABS) as H;
35 change in H with ( δx y/1+ δx y/1< δx y/1+ δx y/1);
36 apply (lt_coreflexive ?? H);