From: Ferruccio Guidi <ferruccio.guidi@unibo.it> Date: Tue, 8 Oct 2013 17:53:59 +0000 (+0000) Subject: bugfix in possible alternative definition of fpbs X-Git-Tag: make_still_working~1092 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=d1aacd38c7228a7a76a9427d97f0d4b11d922330;p=helm.git bugfix in possible alternative definition of fpbs --- diff --git a/matita/matita/contribs/lambdadelta/basic_2/computation/fpbs_alt.ma b/matita/matita/contribs/lambdadelta/basic_2/computation/fpbs_alt.ma index 26e945a93..dd982ac37 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/computation/fpbs_alt.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/computation/fpbs_alt.ma @@ -21,27 +21,31 @@ include "basic_2/computation/fpbs_fpbs.ma". (* Note: alternative definition of fpbs *) definition fpbsa: âh. sd h â tri_relation genv lenv term â λh,g,G1,L1,T1,G2,L2,T2. - ââL,T. â¦G1, L1, T1⦠â* â¦G2, L, T⦠& â¦G2, L⦠⢠T â¡*[h, g] T2 & â¦G2, L⦠⢠â¡*[h, g] L2. + ââL,T. â¦G1, L1⦠⢠T1 â¡*[h, g] T & + â¦G1, L1, T⦠â* â¦G2, L, T2⦠& + â¦G2, L⦠⢠â¡*[h, g] L2. interpretation "'big tree' parallel computation (closure) alternative" 'BTPRedStarAlt h g G1 L1 T1 G2 L2 T2 = (fpbsa h g G1 L1 T1 G2 L2 T2). (* Basic properties *********************************************************) -lemma fpbsa_fpb_trans: âh,g,G1,G,L1,L,T1,T. â¦G1, L1, T1⦠â¥â¥[h, g] â¦G, L, T⦠â - âG2,L2,T2. â¦G, L, T⦠â½[h, g] â¦G2, L2, T2⦠â â¦G1, L1, T1⦠â¥â¥[h, g] â¦G2, L2, T2â¦. -#h #g #G1 #G #L1 #L #T1 #T * #L0 #T0 #H10 #HT0 #HL0 #G2 #L2 #T2 * -G2 -L2 -T2 -[ #G2 #L2 #T2 #H2 -| /4 width=7 by lpxs_cpx_trans, cpxs_trans, ex3_2_intro/ -| /3 width=7 by lpxs_strap1, ex3_2_intro/ +lemma fpb_fpbsa_trans: âh,g,G1,G,L1,L,T1,T. â¦G1, L1, T1⦠â½[h, g] â¦G, L, T⦠â + âG2,L2,T2. â¦G, L, T⦠â¥â¥[h, g] â¦G2, L2, T2⦠â â¦G1, L1, T1⦠â¥â¥[h, g] â¦G2, L2, T2â¦. +#h #g #G1 #G #L1 #L #T1 #T * -G -L -T [ #G #L #T #HG1 | #T #HT1 | #L #HL1 ] +#G2 #L2 #T2 * #L0 #T0 #HT0 #HG2 #L2 +[ elim (fsupq_cpxs_trans ⦠HT0 ⦠HG1) -T + /3 width=7 by fsups_trans, ex3_2_intro/ +| /3 width=5 by cpxs_strap2, ex3_2_intro/ +| lapply (lpx_cpxs_trans ⦠HT0 ⦠HL1) -HT0 #HT10 ] (* Main properties **********************************************************) theorem fpbs_fpbsa: âh,g,G1,G2,L1,L2,T1,T2. â¦G1, L1, T1⦠â¥[h, g] â¦G2, L2, T2⦠â â¦G1, L1, T1⦠â¥â¥[h, g] â¦G2, L2, T2â¦. -#h #g #G1 #G2 #L1 #L2 #T1 #T2 #H @(fpbs_ind ⦠H) -G2 -L2 -T2 -/2 width=5 by fpbsa_fpb_trans, ex3_2_intro/ +#h #g #G1 #G2 #L1 #L2 #T1 #T2 #H @(fpbs_ind_dx ⦠H) -G1 -L1 -T1 +/2 width=5 by fpb_fpbsa_trans, ex3_2_intro/ qed. (* Main inversion lemmas ****************************************************)