From: Ferruccio Guidi Date: Wed, 6 Jul 2022 12:18:48 +0000 (+0200) Subject: partial commit in delayed_updating X-Git-Tag: make_still_working~52 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=c038f0446312091a30179fd80e6ffd3ec39ab446;p=helm.git partial commit in delayed_updating + parchin reverse operator for paths --- diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/reverse/nec_r_1.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/reverse/nec_r_1.etc new file mode 100644 index 000000000..79df117c7 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/delayed_updating/etc/reverse/nec_r_1.etc @@ -0,0 +1,19 @@ +(**************************************************************************) +(* ___ *) +(* ||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 *) +(* *) +(**************************************************************************) + +(* NOTATION FOR DELAYED UPDATING ********************************************) + +notation "hvbox( p ᴿ )" + non associative with precedence 71 + for @{ 'NEcR $p }. diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/reverse/path_depth_reverse.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/reverse/path_depth_reverse.etc new file mode 100644 index 000000000..33f678ade --- /dev/null +++ b/matita/matita/contribs/lambdadelta/delayed_updating/etc/reverse/path_depth_reverse.etc @@ -0,0 +1,32 @@ +(**************************************************************************) +(* ___ *) +(* ||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 "delayed_updating/syntax/path_depth.ma". +include "delayed_updating/syntax/path_reverse.ma". + +(* DEPTH FOR PATH ***********************************************************) + +(* Constructions with reverse ***********************************************) + +lemma depth_reverse (p): + ♭p = ♭pᴿ. +#p elim p -p // +* [ #n ] #p #IH