X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Freduction%2Fdfr_ifr.ma;h=2d3fdbdf596f7e405e1a29725db9c922314e6f56;hb=3c78efa39d4783f83638b1aabe8d776d83aabf35;hp=015958b54db1ff5e19eed95585526d4ecb90d181;hpb=cc178d85bc4fec05b6a9dd176f338b3275beb3d9;p=helm.git 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 015958b54..2d3fdbdf5 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_ifr.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_ifr.ma @@ -12,12 +12,122 @@ (* *) (**************************************************************************) -include "delayed_updating/reduction/ifr.ma". include "delayed_updating/reduction/dfr.ma". +include "delayed_updating/reduction/ifr.ma". + +include "delayed_updating/unwind1/unwind_fsubst.ma". +include "delayed_updating/unwind1/unwind_constructors.ma". +include "delayed_updating/unwind1/unwind_preterm_eq.ma". +include "delayed_updating/unwind1/unwind_structure_depth.ma". +include "delayed_updating/unwind1/unwind_depth.ma". + +include "delayed_updating/substitution/fsubst_eq.ma". +include "delayed_updating/substitution/lift_prototerm_eq.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". (* DELAYED FOCUSED REDUCTION ************************************************) -lemma dfr_lift_bi (f) (p) (q) (t1) (t2): - t1 ➡𝐝𝐟[p,q] t2 → ↑[f]t1 ➡𝐟[⊗p,⊗q] ↑[f]t2. -#f #p #q #t1 #t2 -* #b #Hr #Hb +(* COMMENT +axiom pippo (b) (q) (n): + ↑❘q❘ = (↑[q]𝐢)@❨n❩ → + ↑❘q❘+❘b❘= (↑[b●𝗟◗q]𝐢)@❨n+❘b❘❩. + +lemma unwind_rmap_tls_eq_id (p) (n): + ❘p❘ = ↑[p]𝐢@❨n❩ → + (𝐢) ≗ ⇂*[n]↑[p]𝐢. +#p @(list_ind_rcons … p) -p +[ #n Hn + @(subset_eq_canc_sn … (lift_term_eq_repl_dx …)) + [ @unwind_grafted_S /2 width=2 by ex_intro/ | skip ] + tr_id_unfold #Hn + lapply (pippo … b … Hn) -Hn #Hn + @tr_compose_eq_repl + [