]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_isfin.ma
ground_2 released and permanently renamed as ground
[helm.git] / matita / matita / contribs / lambdadelta / ground_2 / relocation / rtmap_isfin.ma
diff --git a/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_isfin.ma b/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_isfin.ma
deleted file mode 100644 (file)
index 3a9d265..0000000
+++ /dev/null
@@ -1,96 +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_2/notation/relations/isfinite_1.ma".
-include "ground_2/relocation/rtmap_fcla.ma".
-
-(* RELOCATION MAP ***********************************************************)
-
-definition isfin: predicate rtmap ā‰
-                  Ī»f. āˆƒn. š‚āŖfā« ā‰˜ n.
-
-interpretation "test for finite colength (rtmap)"
-   'IsFinite f = (isfin f).
-
-(* Basic eliminators ********************************************************)
-
-lemma isfin_ind (R:predicate rtmap): (āˆ€f.  šˆāŖfā« ā†’ R f) ā†’
-                                     (āˆ€f. š…āŖfā« ā†’ R f ā†’ R (ā«Æf)) ā†’
-                                     (āˆ€f. š…āŖfā« ā†’ R f ā†’ R (ā†‘f)) ā†’
-                                     āˆ€f. š…āŖfā« ā†’ R f.
-#R #IH1 #IH2 #IH3 #f #H elim H -H
-#n #H elim H -f -n /3 width=2 by ex_intro/
-qed-.
-
-(* Basic inversion lemmas ***************************************************)
-
-lemma isfin_inv_push: āˆ€g. š…āŖgā« ā†’ āˆ€f. ā«Æf = g ā†’ š…āŖfā«.
-#g * /3 width=4 by fcla_inv_px, ex_intro/
-qed-.
-
-lemma isfin_inv_next: āˆ€g. š…āŖgā« ā†’ āˆ€f. ā†‘f = g ā†’ š…āŖfā«.
-#g * #n #H #f #H0 elim (fcla_inv_nx ā€¦ H ā€¦ H0) -g
-/2 width=2 by ex_intro/
-qed-.
-
-(* Basic properties *********************************************************)
-
-lemma isfin_eq_repl_back: eq_repl_back ā€¦ isfin.
-#f1 * /3 width=4 by fcla_eq_repl_back, ex_intro/
-qed-.
-
-lemma isfin_eq_repl_fwd: eq_repl_fwd ā€¦ isfin.
-/3 width=3 by isfin_eq_repl_back, eq_repl_sym/ qed-.
-
-lemma isfin_isid: āˆ€f. šˆāŖfā« ā†’ š…āŖfā«.
-/3 width=2 by fcla_isid, ex_intro/ qed.
-
-lemma isfin_push: āˆ€f. š…āŖfā« ā†’ š…āŖā«Æfā«.
-#f * /3 width=2 by fcla_push, ex_intro/
-qed.
-
-lemma isfin_next: āˆ€f. š…āŖfā« ā†’ š…āŖā†‘fā«.
-#f * /3 width=2 by fcla_next, ex_intro/
-qed.
-
-(* Properties with iterated push ********************************************)
-
-lemma isfin_pushs: āˆ€n,f. š…āŖfā« ā†’ š…āŖā«Æ*[n]fā«.
-#n elim n -n /3 width=3 by isfin_push/
-qed.
-
-(* Inversion lemmas with iterated push **************************************)
-
-lemma isfin_inv_pushs: āˆ€n,g. š…āŖā«Æ*[n]gā« ā†’ š…āŖgā«.
-#n elim n -n /3 width=3 by isfin_inv_push/
-qed.
-
-(* Properties with tail *****************************************************)
-
-lemma isfin_tl: āˆ€f. š…āŖfā« ā†’ š…āŖā«±fā«.
-#f elim (pn_split f) * #g #H #Hf destruct
-/3 width=3 by isfin_inv_push, isfin_inv_next/
-qed.
-
-(* Inversion lemmas with tail ***********************************************)
-
-lemma isfin_inv_tl: āˆ€f. š…āŖā«±fā« ā†’ š…āŖfā«.
-#f elim (pn_split f) * /2 width=1 by isfin_next, isfin_push/
-qed-.
-
-(* Inversion lemmas with iterated tail **************************************)
-
-lemma isfin_inv_tls: āˆ€n,f. š…āŖā«±*[n]fā« ā†’ š…āŖfā«.
-#n elim n -n /3 width=1 by isfin_inv_tl/
-qed-.