X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Fsyntax%2Fpath_depth.ma;h=2e638b8ac43bfba05ccc9783d2045d130d302a9d;hp=eff4eb16bfc12a40b3cb8fd2c96de00d9ecdd851;hb=797a607af83f82102033270087722a7e59ddcd17;hpb=b0c6bbd5db69489a5ebd1b36de6685fa6de441b3 diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_depth.ma b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_depth.ma index eff4eb16b..2e638b8ac 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_depth.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_depth.ma @@ -23,11 +23,12 @@ match p with [ list_empty ⇒ 𝟎 | list_lcons l q ⇒ match l with - [ label_d _ ⇒ depth q - | label_m ⇒ depth q - | label_L ⇒ ↑(depth q) - | label_A ⇒ depth q - | label_S ⇒ depth q + [ label_d k ⇒ depth q + | label_d2 k d ⇒ depth q + | label_m ⇒ depth q + | label_L ⇒ ↑(depth q) + | label_A ⇒ depth q + | label_S ⇒ depth q ] ]. @@ -44,6 +45,10 @@ lemma depth_d_dx (p) (k): ♭p = ♭(p◖𝗱k). // qed. +lemma depth_d2_dx (p) (k) (d): + ♭p = ♭(p◖𝗱❨k,d❩). +// qed. + lemma depth_m_dx (p): ♭p = ♭(p◖𝗺). // qed. @@ -65,8 +70,9 @@ lemma depth_S_dx (p): theorem depth_append (p) (q): (♭p)+(♭q) = ♭(p●q). #p #q elim q -q // -* [ #k ] #q #IH