]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/relocation/pr_sle_isi.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / relocation / pr_sle_isi.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/pr_isi.ma".
16 include "ground/relocation/pr_sle.ma".
17
18 (* INCLUSION FOR PARTIAL RELOCATION MAPS ************************************)
19
20 (* Constructions with pr_isi ************************************************)
21
22 (*** sle_isid_sn *)
23 corec lemma pr_sle_isi_sn:
24             ∀f1. 𝐈❪f1❫ → ∀f2. f1 ⊆ f2.
25 #f1 * -f1
26 #f1 #g1 #Hf1 #H1 #f2 cases (pr_map_split_tl f2) *
27 /3 width=5 by pr_sle_weak, pr_sle_push/
28 qed.
29
30 (* Inversions with pr_isi ***************************************************)
31
32 (*** sle_inv_isid_dx *)
33 corec lemma pr_sle_inv_isi_dx:
34             ∀f1,f2. f1 ⊆ f2 → 𝐈❪f2❫ → 𝐈❪f1❫.
35 #f1 #f2 * -f1 -f2
36 #f1 #f2 #g1 #g2 #Hf * * #H
37 [2,3: elim (pr_isi_inv_next … H) // ]
38 lapply (pr_isi_inv_push … H ??) -H
39 /3 width=3 by pr_isi_push/
40 qed-.