X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambda_delta%2FBasic_2%2Fgrammar%2Fgenv.ma;fp=matita%2Fmatita%2Fcontribs%2Flambda_delta%2FBasic_2%2Fgrammar%2Fgenv.ma;h=dad4fd230f17e4cb1c88288ffd9b05e176f8b9f8;hb=b5a168bec5e813258c510a1f2a00ce9f57ecee5a;hp=0000000000000000000000000000000000000000;hpb=7e6643f9ce7ae87e9241aeac5b6d828e9d47fb63;p=helm.git diff --git a/matita/matita/contribs/lambda_delta/Basic_2/grammar/genv.ma b/matita/matita/contribs/lambda_delta/Basic_2/grammar/genv.ma new file mode 100644 index 000000000..dad4fd230 --- /dev/null +++ b/matita/matita/contribs/lambda_delta/Basic_2/grammar/genv.ma @@ -0,0 +1,31 @@ +(**************************************************************************) +(* ___ *) +(* ||M|| *) +(* ||A|| A project by Andrea Asperti *) +(* ||T|| *) +(* ||I|| Developers: *) +(* ||T|| The HELM team. *) +(* ||A|| http://helm.cs.unibo.it *) +(* \ / *) +(* \ / This file is distributed under the terms of the *) +(* v GNU General Public License Version 2 *) +(* *) +(**************************************************************************) + +include "Ground_2/list.ma". +include "Basic_2/grammar/term.ma". + +(* GLOBAL ENVIRONMENTS ******************************************************) + +(* global environments *) +definition genv ≝ list2 bind2 term. + +interpretation "sort (global environment)" + 'Star = (nil2 bind2 term). + +interpretation "environment binding construction (binary)" + 'DBind L I T = (cons2 bind2 term I T L). + +(* Basic properties *********************************************************) + +axiom genv_eq_dec: ∀T1,T2:genv. Decidable (T1 = T2).