1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "ground/relocation/pr_isi.ma".
16 include "ground/relocation/pr_after_after.ma".
18 (* RELATIONAL COMPOSITION FOR PARTIAL RELOCATION MAPS ***********************)
20 (* Constructions with pr_isi ************************************************)
23 corec lemma pr_after_isi_sn:
24 âf1. đâ¨f1⊠â âf2. f1 â f2 â f2.
26 #f1 #g1 #Hf1 #H1 #f2 cases (pr_map_split_tl f2) #H2
27 /3 width=7 by pr_after_push, pr_after_refl/
31 corec lemma pr_after_isi_dx:
32 âf2. đâ¨f2⊠â âf1. f1 â f2 â f1.
34 #f2 #g2 #Hf2 #H2 #f1 cases (pr_map_split_tl f1) #H1
35 [ /3 width=7 by pr_after_refl/
36 | @(pr_after_next ⌠H1 H1) /3 width=3 by pr_isi_push/
40 (* Destructions with pr_isi *************************************************)
42 (*** after_isid_inv_sn *)
43 lemma pr_after_isi_inv_sn:
44 âf1,f2,f. f1 â f2 â f â đâ¨f1⊠â f2 ⥠f.
45 /3 width=6 by pr_after_isi_sn, pr_after_mono/ qed-.
47 (*** after_isid_inv_dx *)
48 lemma pr_after_isi_inv_dx:
49 âf1,f2,f. f1 â f2 â f â đâ¨f2⊠â f1 ⥠f.
50 /3 width=6 by pr_after_isi_dx, pr_after_mono/ qed-.
52 (*** after_fwd_isid1 *)
53 corec lemma pr_after_des_isi_sn:
54 âf1,f2,f. f1 â f2 â f â đâ¨f⊠â đâ¨f1âŠ.
55 #f1 #f2 #f * -f1 -f2 -f
56 #f1 #f2 #f #g1 [1,2: #g2 ] #g #Hf #H1 [1,2: #H2 ] #H0 #H
57 [ /4 width=6 by pr_isi_inv_push, pr_isi_push/ ]
58 cases (pr_isi_inv_next ⌠H ⌠H0)
61 (*** after_fwd_isid2 *)
62 corec lemma pr_after_des_isi_dx:
63 âf1,f2,f. f1 â f2 â f â đâ¨f⊠â đâ¨f2âŠ.
64 #f1 #f2 #f * -f1 -f2 -f
65 #f1 #f2 #f #g1 [1,2: #g2 ] #g #Hf #H1 [1,2: #H2 ] #H0 #H
66 [ /4 width=6 by pr_isi_inv_push, pr_isi_push/ ]
67 cases (pr_isi_inv_next ⌠H ⌠H0)
70 (*** after_inv_isid3 *)
71 lemma pr_after_inv_isi:
72 âf1,f2,f. f1 â f2 â f â đâ¨f⊠â đâ¨f1⊠⧠đâ¨f2âŠ.
73 /3 width=4 by pr_after_des_isi_dx, pr_after_des_isi_sn, conj/ qed-.