]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / relocation / gr_after_ist.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/relocation/gr_pat_lt.ma".
16 include "ground/relocation/gr_ist.ma".
17 include "ground/relocation/gr_after_pat.ma".
18
19 (* RELATIONAL COMPOSITION FOR GENERIC RELOCATION MAPS ***********************************************************)
20
21 (* Forward lemmas on istot **************************************************)
22
23 (*** after_istot_fwd *)
24 lemma gr_after_ist_des:
25       โˆ€f2,f1,f. f2 โŠš f1 โ‰˜ f โ†’ ๐“โชf2โซ โ†’ ๐“โชf1โซ โ†’ ๐“โชfโซ.
26 #f2 #f1 #f #Hf #Hf2 #Hf1 #i1 elim (Hf1 i1) -Hf1
27 #i2 #Hf1 elim (Hf2 i2) -Hf2
28 /3 width=7 by gr_after_des_pat, ex_intro/
29 qed-.
30
31 (*** after_fwd_istot_dx *)
32 lemma gr_after_des_ist_dx:
33       โˆ€f2,f1,f. f2 โŠš f1 โ‰˜ f โ†’ ๐“โชfโซ โ†’ ๐“โชf1โซ.
34 #f2 #f1 #f #H #Hf #i1 elim (Hf i1) -Hf
35 #i2 #Hf elim (gr_after_pat_des โ€ฆ Hf โ€ฆ H) -f /2 width=2 by ex_intro/
36 qed-.
37
38 (*** after_fwd_istot_sn *)
39 lemma gr_after_des_ist_sn:
40       โˆ€f2,f1,f. f2 โŠš f1 โ‰˜ f โ†’ ๐“โชfโซ โ†’ ๐“โชf2โซ.
41 #f2 #f1 #f #H #Hf #i1 elim (Hf i1) -Hf
42 #i #Hf elim (gr_after_pat_des โ€ฆ Hf โ€ฆ H) -f
43 #i2 #Hf1 #Hf2 lapply (gr_pat_increasing โ€ฆ Hf1) -f1
44 #Hi12 elim (gr_pat_le_ex โ€ฆ Hf2 โ€ฆ Hi12) -i2 /2 width=2 by ex_intro/
45 qed-.
46
47 (*** after_at1_fwd *)
48 lemma gr_after_des_ist_pat:
49       โˆ€f1,i1,i2. @โชi1, f1โซ โ‰˜ i2 โ†’ โˆ€f2. ๐“โชf2โซ โ†’ โˆ€f. f2 โŠš f1 โ‰˜ f โ†’
50       โˆƒโˆƒi. @โชi2, f2โซ โ‰˜ i & @โชi1, fโซ โ‰˜ i.
51 #f1 #i1 #i2 #Hf1 #f2 #Hf2 #f #Hf elim (Hf2 i2) -Hf2
52 /3 width=8 by gr_after_des_pat, ex2_intro/
53 qed-.
54
55 (* Inversions with gr_ist *)
56
57 (*** after_inv_istot *)
58 lemma gr_after_inv_ist:
59       โˆ€f2,f1,f. f2 โŠš f1 โ‰˜ f โ†’ ๐“โชfโซ โ†’ โˆงโˆง ๐“โชf2โซ & ๐“โชf1โซ.
60 /3 width=4 by gr_after_des_ist_sn, gr_after_des_ist_dx, conj/ qed-.