]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/rt_computation/cpmuwe_csx.ma
milestone in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_computation / cpmuwe_csx.ma
index 911dddd5b084c1fa5a6e49594a95527e8b2ee8f8..1939101a3f35421b2526241135a29ebfdd25d1eb 100644 (file)
 (*                                                                        *)
 (**************************************************************************)
 
-include "basic_2/rt_transition/cpm_cpx.ma".
-include "basic_2/rt_computation/csx.ma".
-include "basic_2/rt_computation/cnuw_tdeq.ma".
+include "static_2/syntax/tweq_tdeq.ma".
+include "basic_2/rt_computation/csx_cpxs.ma".
+include "basic_2/rt_computation/cpms_cpxs.ma".
+include "basic_2/rt_computation/cnuw_cnuw.ma".
 include "basic_2/rt_computation/cpmuwe.ma".
 
 (* T-UNBOUND WHD EVALUATION FOR T-BOUND RT-TRANSITION ON TERMS **************)
@@ -24,12 +25,15 @@ include "basic_2/rt_computation/cpmuwe.ma".
 lemma cpmuwe_total_csx (h) (G) (L):
       ∀T1. ⦃G,L⦄ ⊢ ⬈*[h] 𝐒⦃T1⦄ → ∃∃T2,n. ⦃G,L⦄ ⊢ T1 ➡*𝐍𝐖*[h,n] T2.
 #h #G #L #T1 #H
-@(csx_ind … H) -T1 #T1 #_ #IHT1
-elim (cnuw_dec_tdeq h G L T1)
+@(csx_ind_cpxs … H) -T1 #T1 #_ #IHT1
+elim (cnuw_dec_ex h G L T1)
 [ -IHT1 #HT1 /3 width=4 by cpmuwe_intro, ex1_2_intro/
 | * #n1 #T0 #HT10 #HnT10
-  elim (IHT1 … HnT10) -IHT1 -HnT10 [| /2 width=2 by cpm_fwd_cpx/ ]
-  #T2 #n2 * #HT02 #HT2 /4 width=5 by cpms_step_sn, cpmuwe_intro, ex1_2_intro/
+  elim (IHT1 … T0) -IHT1
+  [ #T2 #n2 * #HT02 #HT2 /4 width=5 by cpms_trans, cpmuwe_intro, ex1_2_intro/
+  | /3 width=1 by tdeq_tweq/
+  | /2 width=2 by cpms_fwd_cpxs/
+  ]
 ]
 qed-.