]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/unfold/cpqs.ma
milestone in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / unfold / cpqs.ma
index dbe7beff1710e5330d05b7500d50ee48bc6fdab2..118716368b612aa48964c899d9f59f3e633ca31e 100644 (file)
@@ -37,16 +37,11 @@ interpretation "context-sensitive restricted parallel computation (term)"
 
 (* Basic properties *********************************************************)
 
-(* Note: it does not hold replacing |L1| with |L2| *)
-lemma cpqs_lsubr_trans: ∀L1,T1,T2. L1 ⊢ T1 ➤* T2 →
-                        ∀L2. L2 ⊑ [0, |L1|] L1 → L2 ⊢ T1 ➤* T2.
+lemma cpqs_lsubr_trans: lsub_trans … cpqs lsubr.
 #L1 #T1 #T2 #H elim H -L1 -T1 -T2
 [ //
 | #L1 #K1 #V1 #V2 #W2 #i #HLK1 #_ #HVW2 #IHV12 #L2 #HL12
-  lapply (ldrop_fwd_ldrop2_length … HLK1) #Hi
-  lapply (ldrop_fwd_O1_length … HLK1) #H2i
-  elim (ldrop_lsubr_ldrop2_abbr … HL12 … HLK1 ? ?) -HL12 -HLK1 // -Hi
-  <H2i -H2i <minus_plus_m_m /3 width=6/
+  elim (lsubr_fwd_ldrop2_abbr … HL12 … HLK1) -HL12 -HLK1 /3 width=6/
 | /4 width=1/
 |4,6: /3 width=1/
 | /4 width=3/
@@ -69,7 +64,7 @@ qed-.
 lemma cpqs_append: l_appendable_sn … cpqs.
 #K #T1 #T2 #H elim H -K -T1 -T2 // /2 width=1/ /2 width=3/
 #K #K0 #V1 #V2 #W2 #i #HK0 #_ #HVW2 #IHV12 #L
-lapply (ldrop_fwd_ldrop2_length … HK0) #H
+lapply (ldrop_fwd_length_lt2 … HK0) #H
 @(cpqs_delta … (L@@K0) V1 … HVW2) //
 @(ldrop_O1_append_sn_le … HK0) /2 width=2/ (**) (* /3/ does not work *)
 qed.