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 "basic_2/static/lsuba_aaa.ma".
17 (* LOCAL ENVIRONMENT REFINEMENT FOR ATOMIC ARITY ASSIGNMENT *****************)
19 (* Main properties **********************************************************)
21 theorem lsuba_trans: ∀G,L1,L. G ⊢ L1 ⁝⊑ L → ∀L2. G ⊢ L ⁝⊑ L2 → G ⊢ L1 ⁝⊑ L2.
22 #G #L1 #L #H elim H -L1 -L
23 [ #X #H >(lsuba_inv_atom1 … H) -H //
24 | #I #L1 #L #Y #HL1 #IHL1 #X #H
25 elim (lsuba_inv_pair1 … H) -H * #L2
26 [ #HL2 #H destruct /3 width=1/
27 | #W #V #A #HV #HW #HL2 #H1 #H2 #H3 destruct
28 /3 width=3 by lsuba_abbr, lsuba_aaa_trans/
30 | #L1 #L #W #V #A #HV #HW #HL1 #IHL1 #X #H
31 elim (lsuba_inv_pair1 … H) -H * #L2
32 [ #HL2 #H destruct /3 width=5 by lsuba_abbr, lsuba_aaa_conf/
33 | #W0 #V0 #A0 #_ #_ #_ #H destruct