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/notation/relations/relation_3.ma".
16 include "basic_2/relocation/lexs.ma".
18 (* GENERIC EXTENSION OF A CONTEXT-SENSITIVE REALTION ON TERMS ***************)
20 (* Basic_2A1: includes: lpx_sn_atom lpx_sn_pair *)
21 definition lex: (lenv → relation bind) → relation lenv ≝
22 λR,L1,L2. ∃∃f. 𝐈⦃f⦄ & L1 ⪤*[cfull, R, f] L2.
24 interpretation "generic extension (local environment)"
25 'Relation R L1 L2 = (lex R L1 L2).