]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground/steps/rtc_isrt_max.ma
propagating the arithmetics library, partial commit
[helm.git] / matita / matita / contribs / lambdadelta / ground / steps / rtc_isrt_max.ma
diff --git a/matita/matita/contribs/lambdadelta/ground/steps/rtc_isrt_max.ma b/matita/matita/contribs/lambdadelta/ground/steps/rtc_isrt_max.ma
deleted file mode 100644 (file)
index ed314bb..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-(**************************************************************************)
-(*       ___                                                              *)
-(*      ||M||                                                             *)
-(*      ||A||       A project by Andrea Asperti                           *)
-(*      ||T||                                                             *)
-(*      ||I||       Developers:                                           *)
-(*      ||T||         The HELM team.                                      *)
-(*      ||A||         http://helm.cs.unibo.it                             *)
-(*      \   /                                                             *)
-(*       \ /        This file is distributed under the terms of the       *)
-(*        v         GNU General Public License Version 2                  *)
-(*                                                                        *)
-(**************************************************************************)
-
-include "ground/xoa/ex_3_2.ma".
-include "ground/steps/rtc_max.ma".
-include "ground/steps/rtc_isrt.ma".
-
-(* RT-TRANSITION COUNTER ****************************************************)
-
-(* Properties with test for constrained rt-transition counter ***************)
-
-lemma isrt_max: โˆ€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_max_O1: โˆ€n,c1,c2. ๐‘๐“โช0,c1โซ โ†’ ๐‘๐“โชn,c2โซ โ†’ ๐‘๐“โชn,c1โˆจc2โซ.
-/2 width=1 by isrt_max/ qed.
-
-lemma isrt_max_O2: โˆ€n,c1,c2. ๐‘๐“โชn,c1โซ โ†’ ๐‘๐“โช0,c2โซ โ†’ ๐‘๐“โชn,c1โˆจc2โซ.
-#n #c1 #c2 #H1 #H2 >(max_O2 n) /2 width=1 by isrt_max/
-qed.
-
-lemma isrt_max_idem1: โˆ€n,c1,c2. ๐‘๐“โชn,c1โซ โ†’ ๐‘๐“โชn,c2โซ โ†’ ๐‘๐“โชn,c1โˆจc2โซ.
-#n #c1 #c2 #H1 #H2 >(idempotent_max n) /2 width=1 by isrt_max/
-qed.
-
-(* Inversion properties with test for constrained rt-transition counter *****)
-
-lemma isrt_inv_max: โˆ€n,c1,c2. ๐‘๐“โชn,c1 โˆจ c2โซ โ†’
-                    โˆƒโˆƒn1,n2. ๐‘๐“โชn1,c1โซ & ๐‘๐“โชn2,c2โซ & (n1 โˆจ n2) = n.
-#n #c1 #c2 * #ri #rs #H
-elim (max_inv_dx โ€ฆ H) -H #ri1 #rs1 #ti1 #ts1 #ri2 #rs2 #ti2 #ts2 #_ #_ #H1 #H2 #H3 #H4
-elim (max_inv_O3 โ€ฆ H1) -H1 /3 width=5 by ex3_2_intro, ex1_2_intro/
-qed-.
-
-lemma isrt_O_inv_max: โˆ€c1,c2. ๐‘๐“โช0,c1 โˆจ c2โซ โ†’ โˆงโˆง ๐‘๐“โช0,c1โซ & ๐‘๐“โช0,c2โซ.
-#c1 #c2 #H
-elim (isrt_inv_max โ€ฆ H) -H #n1 #n2 #Hn1 #Hn2 #H
-elim (max_inv_O3 โ€ฆ H) -H #H1 #H2 destruct
-/2 width=1 by conj/
-qed-.
-
-lemma isrt_inv_max_O_dx: โˆ€n,c1,c2. ๐‘๐“โชn,c1 โˆจ c2โซ โ†’ ๐‘๐“โช0,c2โซ โ†’ ๐‘๐“โชn,c1โซ.
-#n #c1 #c2 #H #H2
-elim (isrt_inv_max โ€ฆ H) -H #n1 #n2 #Hn1 #Hn2 #H destruct
-lapply (isrt_inj โ€ฆ Hn2 H2) -c2 #H destruct //
-qed-.
-
-lemma isrt_inv_max_eq_t: โˆ€n,c1,c2. ๐‘๐“โชn,c1 โˆจ c2โซ โ†’ rtc_eq_t c1 c2 โ†’
-                         โˆงโˆง ๐‘๐“โชn,c1โซ & ๐‘๐“โชn,c2โซ.
-#n #c1 #c2 #H #Hc12
-elim (isrt_inv_max โ€ฆ H) -H #n1 #n2 #Hc1 #Hc2 #H destruct
-lapply (isrt_eq_t_trans โ€ฆ Hc1 โ€ฆ Hc12) -Hc12 #H
-<(isrt_inj โ€ฆ H โ€ฆ Hc2) -Hc2
-<idempotent_max /2 width=1 by conj/
-qed-.