X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Freduction%2Fdfr_ifr.ma;h=68cea487c474ddaf6d9a0bff4f740a3e97953946;hb=41a54a797af98d2867d4bf979d424283fb44a1fc;hp=9a713d1e550c477a26fe535146c414c8a7232c2c;hpb=cfd201c62dd9b854bfb4ada648d3e556b29fac3a;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 9a713d1e5..68cea487c 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_ifr.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_ifr.ma @@ -14,11 +14,59 @@ include "delayed_updating/reduction/dfr.ma". include "delayed_updating/reduction/ifr.ma". -include "delayed_updating/substitution/fsubst_lift.ma". + +include "delayed_updating/unwind/unwind2_constructors.ma". +include "delayed_updating/unwind/unwind2_preterm_fsubst.ma". +include "delayed_updating/unwind/unwind2_preterm_eq.ma". +include "delayed_updating/unwind/unwind2_prototerm_lift.ma". +include "delayed_updating/unwind/unwind2_rmap_head.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_head_structure.ma". +include "delayed_updating/syntax/path_structure_depth.ma". (* DELAYED FOCUSED REDUCTION ************************************************) -lemma dfr_lift_bi (f) (p) (q) (t1) (t2): Ƭt1 → - t1 ➡𝐝𝐟[p,q] t2 → ↑[f]t1 ➡𝐟[⊗p,⊗q] ↑[f]t2. -#f #p #q #t1 #t2 #Ht1 -* -t2 #b #Hr #Hb +(* Main destructions with ifr ***********************************************) + +theorem dfr_des_ifr (f) (t1) (t2) (r): t1 ϵ 𝐓 → + t1 ➡𝐝𝐟[r] t2 → ▼[f]t1 ➡𝐢𝐟[⊗r] ▼[f]t2. +#f #t1 #t2 #r #H0t1 +* #p #q #k #Hr #H1k #Ht1 #Ht2 destruct +@(ex4_3_intro … (⊗p) (⊗q) (↑♭q)) +[ -H0t1 -H1k -Ht1 -Ht2 // +| -H0t1 -Ht1 -Ht2 + >structure_L_sn + >H1k in ⊢ (??%?); >path_head_structure_depth unwind2_rmap_A_dx + /2 width=1 by tls_unwind2_rmap_closed/ + ] +(* Note: crux of the proof ends *) + | // + | /2 width=2 by ex_intro/ + | // + ] +] +qed.