From: Ferruccio Guidi Date: Tue, 1 Mar 2022 00:14:15 +0000 (+0100) Subject: partial update in delayed_updating X-Git-Tag: make_still_working~84 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=36660809dcfb90bea480c84997cfb40f347e0f0c;p=helm.git partial update in delayed_updating + WIP --- diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_ifr.ma b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_ifr.ma index 25d728a89..9a3584bb9 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_ifr.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_ifr.ma @@ -19,15 +19,55 @@ include "delayed_updating/substitution/fsubst_eq.ma". include "delayed_updating/substitution/lift_constructors.ma". include "delayed_updating/substitution/lift_preterm_eq.ma". include "delayed_updating/substitution/lift_structure_depth.ma". +include "delayed_updating/substitution/lift_depth.ma". include "delayed_updating/syntax/prototerm_proper_constructors.ma". include "delayed_updating/syntax/path_structure_depth.ma". include "ground/relocation/tr_uni_compose.ma". include "ground/relocation/tr_pap_pushs.ma". -include "ground/lib/stream_eq_eq.ma". - (* DELAYED FOCUSED REDUCTION ************************************************) +lemma tr_uni_eq_repl (n1) (n2): + n1 = n2 → 𝐮❨n1❩ ≗ 𝐮❨n2❩. +// qed. + +axiom pippo (b) (q) (n): + ↑❘q❘ = (↑[q]𝐢)@❨n❩ → + ↑❘q❘+❘b❘= (↑[b●𝗟◗q]𝐢)@❨n+❘b❘❩. + +lemma lift_rmap_tls_eq_id (p) (n): + ❘p❘ = ↑[p]𝐢@❨n❩ → + (𝐢) ≗ ⇂*[n]↑[p]𝐢. +#p @(list_ind_rcons … p) -p +[ #n tr_id_unfold #Hn + lapply (pippo … b … Hn) -Hn #Hn @tr_compose_eq_repl -(* - >nrplus_inj_dx (tr_pap_eq_repl … (↑[p]f) … (lift_rmap_decompose …)) +