(* *)
(**************************************************************************)
+include "ground_2/relocation/rtmap_uni.ma".
include "basic_2/notation/relations/relation_3.ma".
+include "basic_2/syntax/cext2.ma".
include "basic_2/relocation/lexs.ma".
(* GENERIC EXTENSION OF A CONTEXT-SENSITIVE REALTION ON TERMS ***************)
(* Basic_2A1: includes: lpx_sn_atom lpx_sn_pair *)
-definition lex: (lenv → relation bind) → relation lenv ≝
- λR,L1,L2. ∃∃f. 𝐈⦃f⦄ & L1 ⪤*[cfull, R, f] L2.
+definition lex: (lenv → relation term) → relation lenv ≝
+ λR,L1,L2. ∃∃f. 𝐈⦃f⦄ & L1 ⪤*[cfull, cext2 R, f] L2.
interpretation "generic extension (local environment)"
'Relation R L1 L2 = (lex R L1 L2).
+
+(* Basic properties *********************************************************)
+
+(* Basic_2A1: was: lpx_sn_refl *)
+lemma lex_refl: ∀R. c_reflexive … R → reflexive … (lex R).
+/4 width=3 by lexs_refl, ext2_refl, ex2_intro/ qed.