]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/dama/tend.ma
snapshot with more duality, almost where we left without duality
[helm.git] / helm / software / matita / dama / tend.ma
diff --git a/helm/software/matita/dama/tend.ma b/helm/software/matita/dama/tend.ma
new file mode 100644 (file)
index 0000000..d2decf0
--- /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_lattice.ma". (* we should probably use something weaker *)
+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.λml:mlattice R.λs:sequence ml.λ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)).
+