]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr.ma
commit in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / reduction / dfr.ma
index e0d17a691bfd09951f10149d0705ced65853e1be..135a48b1d149f73674405dfdcf4ddf302314d703 100644 (file)
@@ -17,16 +17,15 @@ include "delayed_updating/syntax/prototerm_constructors.ma".
 include "delayed_updating/syntax/prototerm_eq.ma".
 include "delayed_updating/syntax/path_head.ma".
 include "delayed_updating/syntax/path_depth.ma".
-include "delayed_updating/syntax/path_reverse.ma".
 include "delayed_updating/notation/relations/black_rightarrow_df_4.ma".
 
 (* DELAYED FOCUSED REDUCTION ************************************************)
 
 definition dfr (p) (q): relation2 prototerm prototerm ≝
-           λt1,t2. ∃n:pnat.
+           λt1,t2. ∃k:pnat.
            let r ≝ p●𝗔◗𝗟◗q in
-           ∧∧ (𝗟◗q)ᴿ = ↳[n](𝗟◗q)ᴿ & r◖𝗱n ϵ t1 &
-              t1[⋔r←𝛕n.(t1⋔(p◖𝗦))] ⇔ t2
+           ∧∧ 𝗟◗q = ↳[k](𝗟◗q) & r◖𝗱k ϵ t1 &
+              t1[⋔r←𝛕k.(t1⋔(p◖𝗦))] ⇔ t2
 .
 
 interpretation