From: Ferruccio Guidi Date: Fri, 24 Dec 2021 09:52:38 +0000 (+0100) Subject: update in ground X-Git-Tag: make_still_working~121 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=b5507c449ba38a76666a35664f9cf4e1953ad8ec;p=helm.git update in ground + uniform total relocations --- diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/tr_id.ma b/matita/matita/contribs/lambdadelta/ground/relocation/tr_id.ma new file mode 100644 index 000000000..9b421ee43 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/ground/relocation/tr_id.ma @@ -0,0 +1,30 @@ +(**************************************************************************) +(* ___ *) +(* ||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/notation/functions/element_i_0.ma". +include "ground/relocation/tr_pn.ma". + +(* IDENTITY ELEMENT FOR TOTAL RELOCATION MAPS *******************************) + +corec definition tr_id: tr_map ≝ ⫯tr_id. + +interpretation + "identity element (total relocation streams)" + 'ElementI = (tr_id). + +(* Basic constructions (specific) *******************************************) + +lemma tr_id_unfold: ⫯𝐢 = 𝐢. +<(stream_unfold … (𝐢)) in ⊢ (???%); // +qed. diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/tr_uni.ma b/matita/matita/contribs/lambdadelta/ground/relocation/tr_uni.ma new file mode 100644 index 000000000..b57b05a94 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/ground/relocation/tr_uni.ma @@ -0,0 +1,34 @@ +(**************************************************************************) +(* ___ *) +(* ||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/arith/nat_succ.ma". +include "ground/notation/functions/element_u_1.ma". +include "ground/relocation/tr_id.ma". + +(* UNIFORM ELEMENTS FOR TOTAL RELOCATION MAPS *******************************) + +definition tr_uni (n:nat): tr_map ≝ ↑n ⨮ 𝐢. + +interpretation + "uniform elements (total relocation maps)" + 'ElementU n = (tr_uni n). + +(* Basic constructions ******************************************************) + +lemma tr_uni_zero: 𝐢 = 𝐮❨𝟎❩. +