X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Freduction%2Fifr.ma;h=92512b342ed50449745aa0fdec371d10bad5621e;hb=829e3a8af3229c4e625245f7265dd67939da98c4;hp=d2a33afc211f1bb60396108e33a1362e6a6fb5b6;hpb=3c78efa39d4783f83638b1aabe8d776d83aabf35;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr.ma b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr.ma index d2a33afc2..92512b342 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr.ma @@ -12,26 +12,23 @@ (* *) (**************************************************************************) -include "delayed_updating/unwind1/unwind_prototerm.ma". include "delayed_updating/substitution/fsubst.ma". include "delayed_updating/substitution/lift_prototerm.ma". -include "delayed_updating/syntax/prototerm_equivalence.ma". -include "delayed_updating/syntax/path_depth.ma". -include "delayed_updating/syntax/path_structure.ma". -include "delayed_updating/syntax/path_balanced.ma". -include "delayed_updating/notation/relations/black_rightarrow_f_4.ma". -include "ground/xoa/ex_1_2.ma". -include "ground/xoa/and_4.ma". +include "delayed_updating/syntax/prototerm_eq.ma". +include "delayed_updating/syntax/path_closed.ma". +include "delayed_updating/notation/relations/black_rightarrow_if_3.ma". +include "ground/relocation/tr_uni.ma". +include "ground/xoa/ex_4_3.ma". (* IMMEDIATE FOCUSED REDUCTION ************************************************) -definition ifr (p) (q): relation2 prototerm prototerm ≝ - λt1,t2. ∃∃b,n. - let r ≝ p●𝗔◗b●𝗟◗q in - ∧∧ (⊗b ϵ 𝐁 ∧ 𝟎 = ♭b) & ↑♭q = (▼[r]𝐢)@❨n❩ & r◖𝗱n ϵ t1 & - t1[⋔r←↑[𝐮❨♭(b●𝗟◗q)❩](t1⋔(p◖𝗦))] ⇔ t2 +definition ifr (r): relation2 prototerm prototerm ≝ + λt1,t2. + ∃∃p,q,n. p●𝗔◗𝗟◗q = r & + q ϵ 𝐂❨n❩ & r◖𝗱↑n ϵ t1 & + t1[⋔r←↑[𝐮❨↑n❩](t1⋔(p◖𝗦))] ⇔ t2 . interpretation - "focused balanced reduction with immediate updating (prototerm)" - 'BlackRightArrowF t1 p q t2 = (ifr p q t1 t2). + "focused reduction with immediate updating (prototerm)" + 'BlackRightArrowIF t1 r t2 = (ifr r t1 t2).