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_sdj.ma".
18 (* DISJOINTNESS FOR PARTIAL RELOCATION MAPS *********************************)
20 (* Constructions with pr_isi ************************************************)
23 corec lemma pr_sdj_isi_dx:
24 ∀f2. 𝐈❨f2❩ → ∀f1. f1 ∥ f2.
26 #f2 #g2 #Hf2 #H2 #f1 cases (pr_map_split_tl f1) *
27 /3 width=5 by pr_sdj_next_push, pr_sdj_push_bi/
31 corec lemma pr_sdj_isi_sn:
32 ∀f1. 𝐈❨f1❩ → ∀f2. f1 ∥ f2.
34 #f1 #g1 #Hf1 #H1 #f2 cases (pr_map_split_tl f2) *
35 /3 width=5 by pr_sdj_push_next, pr_sdj_push_bi/
38 (* Inversions with pr_isi ***************************************************)
41 corec lemma pr_sdj_inv_refl:
43 #f cases (pr_map_split_tl f) #Hf #H
44 [ lapply (pr_sdj_inv_push_bi … H … Hf Hf) -H /3 width=3 by pr_isi_push/
45 | elim (pr_sdj_inv_next_bi … H … Hf Hf)