From: Ferruccio Guidi Date: Sun, 11 Sep 2022 21:13:53 +0000 (+0200) Subject: update in delayed_updating X-Git-Tag: make_still_working~35 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=9e31ac1f3f868349154b0ce2e550e2476aaf6a30;p=helm.git update in delayed_updating + reference by depth with offset parked for now --- diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/d2/d2.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/d2/d2.etc new file mode 100644 index 000000000..32a628e3f --- /dev/null +++ b/matita/matita/contribs/lambdadelta/delayed_updating/etc/d2/d2.etc @@ -0,0 +1,77 @@ +include "delayed_updating/notation/functions/nodelabel_d_2.ma". + +| label_d2: pnat → nat → label + +interpretation + "variable reference by depth with offset (label)" + 'NodeLabelD k d = (label_d2 k d). + + | label_d2 k d ⇒ depth q + +lemma depth_d2_dx (p) (k) (d): + ♭p = ♭(p◖𝗱❨k,d❩). +// qed. + +lemma depth_d2_sn (p) (k) (d): + ♭p = ♭(𝗱❨k,d❩◗p). +// qed. + + | label_d2 k d ⇒ structure q + +lemma structure_d2_dx (p) (k) (d): + ⊗p = ⊗(p◖𝗱❨k,d❩). +// qed. + +lemma structure_d2_sn (p) (k) (d): + ⊗p = ⊗(𝗱❨k,d❩◗p). +#p #k #d list_cons_comm #H0 +elim (eq_inv_append_structure … H0) -H0 #r1 #r2 +list_cons_comm #H0 -elim (eq_inv_append_structure … H0) -H0 #r1 #r2 -list_cons_comm #H0 diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_structure_inner.ma b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_structure_inner.ma index 4de1097bb..99ed6a323 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_structure_inner.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_structure_inner.ma @@ -23,9 +23,8 @@ lemma structure_pic (p): ⊗p ϵ 𝐈. #p elim p -p [