]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/contribs/dama/dama/tend.ma
branch for universe
[helm.git] / matita / contribs / dama / dama / tend.ma
diff --git a/matita/contribs/dama/dama/tend.ma b/matita/contribs/dama/dama/tend.ma
new file mode 100644 (file)
index 0000000..a5bf750
--- /dev/null
@@ -0,0 +1,28 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+include "sequence.ma".
+include "metric_space.ma".
+include "nat/orders.ma".
+
+definition tends0 ≝ 
+  λO:pogroup.λs:sequence O.∀e:O.0 < e → ∃N.∀n.N < n → -e < s n ∧ s n < e.
+
+definition d2s ≝ 
+  λR.λms:metric_space R.λs:sequence ms.λk.λn. δ (s n) k.
+
+notation "s ⇝ x" non associative with precedence 50 for @{'tends $s $x}.
+interpretation "tends to" 'tends s x = 
+  (cic:/matita/tend/tends0.con _ (cic:/matita/tend/d2s.con _ _ s x)).
+