]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_1/lift/defs.ma
some improvements in the anticipator
[helm.git] / matita / matita / contribs / lambdadelta / basic_1 / lift / defs.ma
index 0ebbb480abbb2c0cda16bb14fb67f4245468bcb8..ba88961f44ab57e7514f069b08a3cdf51ca9062d 100644 (file)
@@ -19,11 +19,11 @@ include "basic_1/tlist/defs.ma".
 include "basic_1/s/defs.ma".
 
 let rec lref_map (f: (nat \to nat)) (d: nat) (t: T) on t: T \def match t with 
-[(TSort n) \Rightarrow (TSort n) | (TLRef i) \Rightarrow (let TMP_4 \def 
-(match (blt i d) with [true \Rightarrow i | false \Rightarrow (f i)]) in 
-(TLRef TMP_4)) | (THead k u t0) \Rightarrow (let TMP_1 \def (lref_map f d u) 
-in (let TMP_2 \def (s k d) in (let TMP_3 \def (lref_map f TMP_2 t0) in (THead 
-k TMP_1 TMP_3))))].
+[(TSort n) \Rightarrow (TSort n) | (TLRef i) \Rightarrow (let TMP_4 \def (blt 
+i d) in (let TMP_5 \def (match TMP_4 with [true \Rightarrow i | false 
+\Rightarrow (f i)]) in (TLRef TMP_5))) | (THead k u t0) \Rightarrow (let 
+TMP_1 \def (lref_map f d u) in (let TMP_2 \def (s k d) in (let TMP_3 \def 
+(lref_map f TMP_2 t0) in (THead k TMP_1 TMP_3))))].
 
 definition lift:
  nat \to (nat \to (T \to T))