X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Fsyntax%2Fprototerm.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Fsyntax%2Fprototerm.ma;h=79452e39e54edf049a54d95984f5da8765eb1c4a;hb=cfd201c62dd9b854bfb4ada648d3e556b29fac3a;hp=0000000000000000000000000000000000000000;hpb=55ea9387fd71564c629fe3f47fd9bac59c4befb9;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/prototerm.ma b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/prototerm.ma new file mode 100644 index 000000000..79452e39e --- /dev/null +++ b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/prototerm.ma @@ -0,0 +1,44 @@ +(**************************************************************************) +(* ___ *) +(* ||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/lib/subset.ma". +include "delayed_updating/syntax/path.ma". +include "delayed_updating/notation/functions/pitchfork_2.ma". +include "delayed_updating/notation/functions/uptriangle_1.ma". + +(* PROTOTERM ****************************************************************) + +(* Note: a prototerm is a subset of complete paths *) +definition prototerm: Type[0] ≝ 𝒫❨path❩. + +definition prototerm_grafted: path → prototerm → prototerm ≝ + λp,t,q. p●q ϵ t. + +interpretation + "grafted (prototerm)" + 'Pitchfork t p = (prototerm_grafted p t). + +definition prototerm_root: prototerm → prototerm ≝ + λt,q. ∃r. q●r ϵ t. + +interpretation + "root (prototerm)" + 'UpTriangle t = (prototerm_root t). + +(* Basic constructions ******************************************************) + +lemma prototerm_in_comp_root (p) (t): + p ϵ t → p ϵ ▵t. +/2 width=2 by ex_intro/ +qed.