]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/grammar/lenv.ma
lambdadelta
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / grammar / lenv.ma
index 9988b3d4cc80275fa5f7211ca21b88a0bef6798c..a15c5309b9b3308daae7f84e35b158d67e8a9296 100644 (file)
 (*                                                                        *)
 (**************************************************************************)
 
+include "basic_2/notation/constructors/star_0.ma".
+include "basic_2/notation/constructors/dxbind2_3.ma".
+include "basic_2/notation/constructors/dxabbr_2.ma".
+include "basic_2/notation/constructors/dxabst_2.ma".
 include "basic_2/grammar/term.ma".
 
 (* LOCAL ENVIRONMENTS *******************************************************)
@@ -25,9 +29,6 @@ inductive lenv: Type[0] ≝
 interpretation "sort (local environment)"
    'Star = LAtom.
 
-interpretation "environment construction (binary)"
-   'DxItem2 L I T = (LPair L I T).
-
 interpretation "environment binding construction (binary)"
    'DxBind2 L I T = (LPair L I T).
 
@@ -37,6 +38,10 @@ interpretation "abbreviation (local environment)"
 interpretation "abstraction (local environment)"
    'DxAbst L T = (LPair L Abst T).
 
+(* Basic properties *********************************************************)
+
+axiom lenv_eq_dec: ∀L1,L2:lenv. Decidable (L1 = L2).
+
 (* Basic inversion lemmas ***************************************************)
 
 lemma destruct_lpair_lpair: ∀I1,I2,L1,L2,V1,V2. L1.ⓑ{I1}V1 = L2.ⓑ{I2}V2 →