]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/apps_2/etc/models/model_valign.etc
update in static_2 and app_2
[helm.git] / matita / matita / contribs / lambdadelta / apps_2 / etc / models / model_valign.etc
diff --git a/matita/matita/contribs/lambdadelta/apps_2/etc/models/model_valign.etc b/matita/matita/contribs/lambdadelta/apps_2/etc/models/model_valign.etc
new file mode 100644 (file)
index 0000000..aafa0c0
--- /dev/null
@@ -0,0 +1,30 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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 "ground_2/lib/functions.ma".
+include "ground_2/lib/exteq.ma".
+include "apps_2/models/model.ma".
+
+(* MODEL ********************************************************************)
+
+definition valign (M) (l): evaluation M → evaluation M ≝
+                           λlv,i. ⫯[l](lv i).
+
+interpretation "alignment (model evaluation)"
+   'UpSpoon M l lv = (valign M l lv).
+
+(* Basic properties *********************************************************)
+
+lemma valign_rw (M) (l) (lv): ∀i. (⫯{M}[l]lv) i = ⫯[l](lv i).
+// qed.