X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Fsyntax%2Fpath.ma;h=2d8abe30451f25628141476a53cf2fb629dd2a44;hb=775ab35f714568dfcd672f0dd53a00e1ba7382cd;hp=69355961ccf67b1047f9a68066ecba2f38bb9917;hpb=aefe567225f573b19d341da29fd7a2e6d5ee3105;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path.ma b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path.ma index 69355961c..2d8abe304 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path.ma @@ -12,14 +12,30 @@ (* *) (**************************************************************************) -include "ground/lib/list.ma". -include "delayed_updating/notation/functions/element_e_0.ma". +include "ground/lib/list_rcons.ma". +include "ground/notation/functions/element_e_0.ma". +include "ground/notation/functions/black_circle_2.ma". +include "ground/notation/functions/black_halfcircleright_2.ma". +include "ground/notation/functions/black_halfcircleleft_2.ma". include "delayed_updating/syntax/label.ma". (* PATH *********************************************************************) +(* Note: a path is a list of labels *) definition path ≝ list label. interpretation "empty (paths)" - 'ElementE = (list_nil label). + 'ElementE = (list_empty label). + +interpretation + "left cons (paths)" + 'BlackHalfCircleRight l p = (list_lcons label l p). + +interpretation + "append (paths)" + 'BlackCircle l1 l2 = (list_append label l1 l2). + +interpretation + "right cons (paths)" + 'BlackHalfCircleLeft p l = (list_append label p (list_lcons label l (list_empty label))).