X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Freduction%2Fifr_unwind.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Freduction%2Fifr_unwind.ma;h=7634974a54f9a0c6c9dffe13a44d75517c104e51;hb=f5fa6554c93bec72a5bb098c0a2991fe294883b6;hp=0000000000000000000000000000000000000000;hpb=12d58352dbd62df65d44becc0f69fc5a7b370866;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr_unwind.ma b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr_unwind.ma new file mode 100644 index 000000000..7634974a5 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr_unwind.ma @@ -0,0 +1,77 @@ +(**************************************************************************) +(* ___ *) +(* ||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/reduction/ifr.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". +include "delayed_updating/syntax/path_structure_reverse.ma". +include "delayed_updating/syntax/path_depth_reverse.ma". + +(* IMMEDIATE FOCUSED REDUCTION **********************************************) + +(* Constructions with unwind ************************************************) + +theorem ifr_unwind_bi (f) (p) (q) (t1) (t2): + t1 ϵ 𝐓 → t1⋔(p◖𝗦) ϵ 𝐏 → + t1 ➡𝐟[p,q] t2 → ▼[f]t1 ➡𝐟[⊗p,⊗q] ▼[f]t2. +#f #p #q #t1 #t2 #H1t1 #H2t1 +* #n * #H1n #Ht1 #Ht2 +@(ex_intro … (↑♭⊗q)) @and3_intro +[ -H0t1 -Ht1 -Ht2 + >structure_L_sn >structure_reverse + >H1n >path_head_structure_depth list_append_rcons_sn in H1n; list_append_rcons_sn in H1n; nrplus_inj_dx in ⊢ (???%);