]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_cpm_trans.ma
severe bug found in parallel zeta
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / dynamic / cnv_cpm_trans.ma
index a40f4fa60420009a1a80a21d8a632e9c5cdc364e..7fc3ae3b47082d9c5313afaeb67e97c8ce68156e 100644 (file)
@@ -12,6 +12,7 @@
 (*                                                                        *)
 (**************************************************************************)
 
+include "ground_2/lib/arith_2b.ma".
 include "basic_2/rt_computation/cpms_fpbg.ma".
 include "basic_2/rt_computation/cprs_cprs.ma".
 include "basic_2/rt_computation/lprs_cpms.ma".
@@ -30,7 +31,7 @@ fact cnv_cpm_trans_lpr_aux (a) (h) (o):
                            ∀G1,L1,T1. G0 = G1 → L0 = L1 → T0 = T1 → IH_cnv_cpm_trans_lpr a h G1 L1 T1.
 #a #h #o #G0 #L0 #T0 #IH2 #IH1 #G1 #L1 * * [|||| * ]
 [ #s #HG0 #HL0 #HT0 #H1 #x #X #H2 #L2 #_ destruct -IH2 -IH1 -H1
-  elim (cpm_inv_sort1 … H2) -H2 * #H1 #H2 destruct //
+  elim (cpm_inv_sort1 … H2) -H2 #H #_ destruct //
 | #i #HG0 #HL0 #HT0 #H1 #x #X #H2 #L2 #HL12 destruct -IH2
   elim (cnv_inv_lref_drops … H1) -H1 #I #K1 #V1 #HLK1 #HV1
   elim (lpr_drops_conf … HLK1 … HL12) -HL12 // #Y #H #HLK2
@@ -51,8 +52,8 @@ fact cnv_cpm_trans_lpr_aux (a) (h) (o):
   elim (cnv_inv_bind … H1) -H1 #HV1 #HT1
   elim (cpm_inv_bind1 … H2) -H2 *
   [ #V2 #T2 #HV12 #HT12 #H destruct /4 width=9 by fqup_fpbg, cnv_bind, lpr_pair/
-  | #T2 #HT12 #HXT2 #H1 #H2 destruct -HV1
-    /4 width=11 by fqup_fpbg, cnv_inv_lifts, lpr_pair, drops_refl, drops_drop/
+  | #X1 #HXT1 #HX1 #H1 #H2 destruct -HV1
+    /5 width=7 by cnv_inv_lifts, fqup_fpbg, fqup_zeta, drops_refl, drops_drop/
   ]
 | #V1 #T1 #HG0 #HL0 #HT0 #H1 #x #X #H2 #L2 #HL12 destruct
   elim (cnv_inv_appl … H1) -H1 #n #p #W1 #U1 #Hn #HV1 #HT1 #HVW1 #HTU1
@@ -118,7 +119,7 @@ fact cnv_cpm_trans_lpr_aux (a) (h) (o):
     elim (IH2 … HXUW1 … HXUT1 … HL12 … HL12) [|*: /2 width=4 by fqup_cpms_fwd_fpbg/ ] -HXUW1 -HXUT1 -HWU1
     >eq_minus_O // #W0 #H1 #H2 -IH2 -IH1 -L1 -W1 -T1 -U1
     lapply (cprs_trans … HXW21 … H1) -XW1 #H1
-    lapply (cpms_trans … HXT21 … H2) -XT1 <arith_l_eq #H2
+    lapply (cpms_trans … HXT21 … H2) -XT1 <arith_l1 #H2
     /2 width=3 by cnv_cast/
   | #HX -IH2 -HW1 -U1
     lapply (IH1 … HX … HL12) /2 width=1 by fqup_fpbg/