]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground/counters/rtc_ist_shift.ma
propagating the arithmetics library, partial commit
[helm.git] / matita / matita / contribs / lambdadelta / ground / counters / rtc_ist_shift.ma
diff --git a/matita/matita/contribs/lambdadelta/ground/counters/rtc_ist_shift.ma b/matita/matita/contribs/lambdadelta/ground/counters/rtc_ist_shift.ma
new file mode 100644 (file)
index 0000000..fbb72ab
--- /dev/null
@@ -0,0 +1,38 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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/counters/rtc_shift.ma".
+include "ground/counters/rtc_ist.ma".
+
+(* T-BOUND RT-TRANSITION COUNTERS *******************************************)
+
+(* Constructions with rtc_shift *********************************************)
+
+lemma rtc_ist_zero_shift (c): ๐“โช๐ŸŽ,cโซ โ†’ ๐“โช๐ŸŽ,โ†•*cโซ.
+#c #H destruct //
+qed.
+
+(* Inversions with rtc_shift ************************************************)
+
+lemma rtc_ist_inv_shift (n) (c): ๐“โชn,โ†•*cโซ โ†’ โˆงโˆง ๐“โช๐ŸŽ,cโซ & ๐ŸŽ = n.
+#n #c #H
+elim (rtc_shift_inv_dx โ€ฆ H) -H #rt0 #rs0 #ti0 #ts0 #H1 #_ #H2 #H3 #H4 destruct
+elim (eq_inv_nmax_zero โ€ฆ H1) -H1 #H11 #H12 destruct
+elim (eq_inv_nmax_zero โ€ฆ H2) -H2 #H21 #H22 destruct
+/2 width=1 by conj/
+qed-.
+
+lemma rtc_ist_inv_zero_shift (c): ๐“โช๐ŸŽ,โ†•*cโซ โ†’ ๐“โช๐ŸŽ,cโซ.
+#c #H elim (rtc_ist_inv_shift โ€ฆ H) -H //
+qed-.