X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Fetc%2Freduction%2Fdfr.etc;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Fetc%2Freduction%2Fdfr.etc;h=576df6ec6fdb3aef007ed612584b132914b9654b;hb=eba13527cf74de399b7e5b958901962666d4cd25;hp=0000000000000000000000000000000000000000;hpb=aeec9312d6f72526a460518a1e889eac71657cdd;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/reduction/dfr.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/reduction/dfr.etc new file mode 100644 index 000000000..576df6ec6 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/delayed_updating/etc/reduction/dfr.etc @@ -0,0 +1,37 @@ +(**************************************************************************) +(* ___ *) +(* ||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/unwind1/unwind.ma". +include "delayed_updating/substitution/fsubst.ma". +include "delayed_updating/syntax/prototerm_constructors.ma". +include "delayed_updating/syntax/prototerm_equivalence.ma". +include "delayed_updating/syntax/path_structure.ma". +include "delayed_updating/syntax/path_balanced.ma". +include "delayed_updating/syntax/path_depth.ma". +include "delayed_updating/notation/relations/black_rightarrow_df_4.ma". +include "ground/xoa/ex_1_2.ma". +include "ground/xoa/and_4.ma". + +(* DELAYED FOCUSED REDUCTION ************************************************) + +definition dfr (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←𝛗(n+❘b❘).(t1⋔(p◖𝗦))] ⇔ t2 +. + +interpretation + "focused balanced reduction with delayed updating (prototerm)" + 'BlackRightArrowDF t1 p q t2 = (dfr p q t1 t2).