]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/computation/cpxe.ma
bug fix in the notation of normal forms, now we specify that they are
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / computation / cpxe.ma
index 3d67c002c52f35ecce1d049faf896b709e63e62c..e2975c54a6adbc88ddf26500d4db5946bce6c7e0 100644 (file)
@@ -19,7 +19,7 @@ include "basic_2/computation/csx.ma".
 (* CONTEXT-SENSITIVE EXTENDED PARALLEL EVALUATION ON TERMS ******************)
 
 definition cpxe: ∀h. sd h → relation4 genv lenv term term ≝
-                 λh,g,G,L,T1,T2. ⦃G, L⦄ ⊢ T1 ➡*[h, g] T2 ∧ ⦃G, L⦄ ⊢ 𝐍[h, g]⦃T2⦄.
+                 λh,g,G,L,T1,T2. ⦃G, L⦄ ⊢ T1 ➡*[h, g] T2 ∧ ⦃G, L⦄ ⊢ ➡[h, g] 𝐍⦃T2⦄.
 
 interpretation "context-sensitive extended parallel evaluation (term)"
    'PEval h g G L T1 T2 = (cpxe h g G L T1 T2).
@@ -28,8 +28,7 @@ interpretation "context-sensitive extended parallel evaluation (term)"
 
 lemma csx_cpxe: ∀h,g,G,L,T1. ⦃G, L⦄ ⊢ ⬊*[h, g] T1 → ∃T2. ⦃G, L⦄ ⊢ T1 ➡*[h, g] 𝐍⦃T2⦄.
 #h #g #G #L #T1 #H @(csx_ind … H) -T1
-#T1 #_ #IHT1
-elim (cnx_dec h g G L T1) /3 width=3/
-* #T #H1T1 #H2T1
-elim (IHT1 … H1T1 H2T1) -IHT1 -H2T1 #T2 * /4 width=3/
+#T1 #_ #IHT1 elim (cnx_dec h g G L T1) /3 width=3 by ex_intro, conj/
+* #T #H1T1 #H2T1 elim (IHT1 … H1T1 H2T1) -IHT1 -H2T1
+#T2 * /4 width=3 by cpxs_strap2, ex_intro, conj/
 qed-.