]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/relocation/gr_isf.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / relocation / gr_isf.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 include "ground/notation/relations/predicate_f_1.ma".
16 include "ground/relocation/gr_fcla.ma".
17
18 (* FINITE COLENGTH CONDITION FOR GENERIC RELOCATION MAPS ********************)
19
20 (*** isfin *)
21 definition gr_isf: predicate gr_map ā‰
22            Ī»f. āˆƒn. š‚āŖfā« ā‰˜ n.
23
24 interpretation
25   "finite colength condition (generic relocation maps)"
26   'PredicateF f = (gr_isf f).
27
28 (* Basic eliminations *******************************************************)
29
30 (*** isfin_ind *)
31 lemma gr_isf_ind (Q:predicate ā€¦):
32       (āˆ€f.  šˆāŖfā« ā†’ Q f) ā†’
33       (āˆ€f. š…āŖfā« ā†’ Q f ā†’ Q (ā«Æf)) ā†’
34       (āˆ€f. š…āŖfā« ā†’ Q f ā†’ Q (ā†‘f)) ā†’
35       āˆ€f. š…āŖfā« ā†’ Q f.
36 #Q #IH1 #IH2 #IH3 #f #H elim H -H
37 #n #H elim H -f -n /3 width=2 by ex_intro/
38 qed-.
39
40 (* Basic inversions *********************************************************)
41
42 (*** isfin_inv_push *)
43 lemma gr_isf_inv_push (g): š…āŖgā« ā†’ āˆ€f. ā«Æf = g ā†’ š…āŖfā«.
44 #g * /3 width=4 by gr_fcla_inv_push, ex_intro/
45 qed-.
46
47 (*** isfin_inv_next *)
48 lemma gr_isf_inv_next (g): š…āŖgā« ā†’ āˆ€f. ā†‘f = g ā†’ š…āŖfā«.
49 #g * #n #H #f #H0 elim (gr_fcla_inv_next ā€¦ H ā€¦ H0) -g
50 /2 width=2 by ex_intro/
51 qed-.
52
53 (* Basic constructions ******************************************************)
54
55 (*** isfin_isid *)
56 lemma gr_isf_isi (f): šˆāŖfā« ā†’ š…āŖfā«.
57 /3 width=2 by gr_fcla_isi, ex_intro/ qed.
58
59 (*** isfin_push *)
60 lemma gr_isf_push (f): š…āŖfā« ā†’ š…āŖā«Æfā«.
61 #f * /3 width=2 by gr_fcla_push, ex_intro/
62 qed.
63
64 (*** isfin_next *)
65 lemma gr_isf_next (f): š…āŖfā« ā†’ š…āŖā†‘fā«.
66 #f * /3 width=2 by gr_fcla_next, ex_intro/
67 qed.