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 "static_2/relocation/drops.ma".
16 include "static_2/static/lsuba.ma".
18 (* RESTRICTED REFINEMENT FOR ATOMIC ARITY ASSIGNMENT ************************)
20 (* Properties with generic slicing for local environments *******************)
22 (* Note: the premise đâšfâ© cannot be removed *)
23 (* Basic_2A1: includes: lsuba_drop_O1_conf *)
24 lemma lsuba_drops_conf_isuni: âG,L1,L2. G âą L1 â«â L2 â
25 âb,f,K1. đâšfâ© â â©*[b,f] L1 â K1 â
26 ââK2. G âą K1 â«â K2 & â©*[b,f] L2 â K2.
27 #G #L1 #L2 #H elim H -L1 -L2
28 [ /2 width=3 by ex2_intro/
29 | #I #L1 #L2 #HL12 #IH #b #f #K1 #Hf #H
30 elim (drops_inv_bind1_isuni ⊠Hf H) -Hf -H *
32 /3 width=3 by lsuba_bind, drops_refl, ex2_intro/
33 | #g #Hg #HLK1 #H destruct -HL12
34 elim (IH ⊠Hg HLK1) -L1 -Hg /3 width=3 by drops_drop, ex2_intro/
36 | #L1 #L2 #W #V #A #HV #HW #HL12 #IH #b #f #K1 #Hf #H
37 elim (drops_inv_bind1_isuni ⊠Hf H) -Hf -H *
39 /3 width=3 by drops_refl, lsuba_beta, ex2_intro/
40 | #g #Hg #HLK1 #H destruct -HL12
41 elim (IH ⊠Hg HLK1) -L1 -Hg /3 width=3 by drops_drop, ex2_intro/
46 (* Note: the premise đâšfâ© cannot be removed *)
47 (* Basic_2A1: includes: lsuba_drop_O1_trans *)
48 lemma lsuba_drops_trans_isuni: âG,L1,L2. G âą L1 â«â L2 â
49 âb,f,K2. đâšfâ© â â©*[b,f] L2 â K2 â
50 ââK1. G âą K1 â«â K2 & â©*[b,f] L1 â K1.
51 #G #L1 #L2 #H elim H -L1 -L2
52 [ /2 width=3 by ex2_intro/
53 | #I #L1 #L2 #HL12 #IH #b #f #K2 #Hf #H
54 elim (drops_inv_bind1_isuni ⊠Hf H) -Hf -H *
56 /3 width=3 by lsuba_bind, drops_refl, ex2_intro/
57 | #g #Hg #HLK2 #H destruct -HL12
58 elim (IH ⊠Hg HLK2) -L2 -Hg /3 width=3 by drops_drop, ex2_intro/
60 | #L1 #L2 #W #V #A #HV #HW #HL12 #IH #b #f #K2 #Hf #H
61 elim (drops_inv_bind1_isuni ⊠Hf H) -Hf -H *
63 /3 width=3 by drops_refl, lsuba_beta, ex2_intro/
64 | #g #Hg #HLK2 #H destruct -HL12
65 elim (IH ⊠Hg HLK2) -L2 -Hg /3 width=3 by drops_drop, ex2_intro/