]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground_2/steps/rtc_plus.ma
update in ground_2, static_2, basic_2
[helm.git] / matita / matita / contribs / lambdadelta / ground_2 / steps / rtc_plus.ma
index 49d25453c3d236dc1914d7e28ecf130cb15b498c..24b261949a4065a2d114d8c2442cd8d75525b99e 100644 (file)
@@ -12,9 +12,8 @@
 (*                                                                        *)
 (**************************************************************************)
 
-include "ground_2/xoa/ex_3_2.ma".
 include "ground_2/xoa/ex_6_8.ma".
-include "ground_2/steps/rtc_isrt.ma".
+include "ground_2/steps/rtc.ma".
 
 (* RT-TRANSITION COUNTER ****************************************************)
 
@@ -55,43 +54,3 @@ theorem plus_assoc: associative ā€¦ plus.
 * #ri1 #rs1 #ti1 #ts1 * #ri2 #rs2 #ti2 #ts2 * #ri3 #rs3 #ti3 #ts3
 <plus_rew //
 qed.
-
-(* Properties with test for constrained rt-transition counter ***************)
-
-lemma isrt_plus: āˆ€n1,n2,c1,c2. š‘š“ā¦ƒn1,c1ā¦„ ā†’ š‘š“ā¦ƒn2,c2ā¦„ ā†’ š‘š“ā¦ƒn1+n2,c1+c2ā¦„.
-#n1 #n2 #c1 #c2 * #ri1 #rs1 #H1 * #ri2 #rs2 #H2 destruct
-/2 width=3 by ex1_2_intro/
-qed.
-
-lemma isrt_plus_O1: āˆ€n,c1,c2. š‘š“ā¦ƒ0,c1ā¦„ ā†’ š‘š“ā¦ƒn,c2ā¦„ ā†’ š‘š“ā¦ƒn,c1+c2ā¦„.
-/2 width=1 by isrt_plus/ qed.
-
-lemma isrt_plus_O2: āˆ€n,c1,c2. š‘š“ā¦ƒn,c1ā¦„ ā†’ š‘š“ā¦ƒ0,c2ā¦„ ā†’ š‘š“ā¦ƒn,c1+c2ā¦„.
-#n #c1 #c2 #H1 #H2 >(plus_n_O n) /2 width=1 by isrt_plus/
-qed.
-
-lemma isrt_succ: āˆ€n,c. š‘š“ā¦ƒn,cā¦„ ā†’ š‘š“ā¦ƒā†‘n,c+šŸ˜šŸ™ā¦„.
-/2 width=1 by isrt_plus/ qed.
-
-(* Inversion properties with test for constrained rt-transition counter *****)
-
-lemma isrt_inv_plus: āˆ€n,c1,c2. š‘š“ā¦ƒn,c1 + c2ā¦„ ā†’
-                     āˆƒāˆƒn1,n2. š‘š“ā¦ƒn1,c1ā¦„ & š‘š“ā¦ƒn2,c2ā¦„ & n1 + n2 = n.
-#n #c1 #c2 * #ri #rs #H
-elim (plus_inv_dx ā€¦ H) -H #ri1 #rs1 #ti1 #ts1 #ri2 #rs2 #ti2 #ts2 #_ #_ #H1 #H2 #H3 #H4
-elim (plus_inv_O3 ā€¦ H1) -H1 /3 width=5 by ex3_2_intro, ex1_2_intro/
-qed-.
-
-lemma isrt_inv_plus_O_dx: āˆ€n,c1,c2. š‘š“ā¦ƒn,c1 + c2ā¦„ ā†’ š‘š“ā¦ƒ0,c2ā¦„ ā†’ š‘š“ā¦ƒn,c1ā¦„.
-#n #c1 #c2 #H #H2
-elim (isrt_inv_plus ā€¦ H) -H #n1 #n2 #Hn1 #Hn2 #H destruct
-lapply (isrt_inj ā€¦ Hn2 H2) -c2 #H destruct //
-qed-.
-
-lemma isrt_inv_plus_SO_dx: āˆ€n,c1,c2. š‘š“ā¦ƒn,c1 + c2ā¦„ ā†’ š‘š“ā¦ƒ1,c2ā¦„ ā†’
-                           āˆƒāˆƒm. š‘š“ā¦ƒm,c1ā¦„ & n = ā†‘m.
-#n #c1 #c2 #H #H2
-elim (isrt_inv_plus ā€¦ H) -H #n1 #n2 #Hn1 #Hn2 #H destruct
-lapply (isrt_inj ā€¦ Hn2 H2) -c2 #H destruct
-/2 width=3 by ex2_intro/
-qed-.