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/static/reqg_reqg.ma".
16 include "static_2/static/req.ma".
18 (* SYNTACTIC EQUIVALENCE FOR LOCAL ENVIRONMENTS ON REFERRED ENTRIES *********)
20 (* Advanced Forward lemmas **************************************************)
22 lemma req_rex_trans (R) (L) (T):
24 ∀L1. L1 ≡[T] L → ∀L2. L ⪤[R,T] L2 → L1 ⪤[R,T] L2.
25 #R #L #T #HR #L1 #HL1 #L2 #HL2
26 @(rex_trans_fsle … HL1 … HL2) -L (**) (* fulll auto too slow *)
27 /3 width=16 by transitive_req_fwd_rex, reqg_fsle_comp, rex_trans_next/
30 lemma req_reqg_trans (S) (T:term) (L):
31 ∀L1. L1 ≡[T] L → ∀L2. L ≛[S,T] L2 → L1 ≛[S,T] L2.
32 /2 width=3 by req_rex_trans/ qed-.