]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_1A/subst/defs.ma
update in lambdadelta
[helm.git] / matita / matita / contribs / lambdadelta / basic_1A / subst / defs.ma
diff --git a/matita/matita/contribs/lambdadelta/basic_1A/subst/defs.ma b/matita/matita/contribs/lambdadelta/basic_1A/subst/defs.ma
new file mode 100644 (file)
index 0000000..b8b69b8
--- /dev/null
@@ -0,0 +1,24 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+(* This file was automatically generated: do not edit *********************)
+
+include "basic_1A/lift/defs.ma".
+
+rec definition subst (d: nat) (v: T) (t: T) on t: T \def match t with [(TSort 
+n) \Rightarrow (TSort n) | (TLRef i) \Rightarrow (match (blt i d) with [true 
+\Rightarrow (TLRef i) | false \Rightarrow (match (blt d i) with [true 
+\Rightarrow (TLRef (pred i)) | false \Rightarrow (lift d O v)])]) | (THead k 
+u t0) \Rightarrow (THead k (subst d v u) (subst (s k d) v t0))].
+