(* *)
(**************************************************************************)
-include "ground/xoa/ex_3_1.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/syntax/prototerm_constructors.ma".
include "delayed_updating/substitution/fsubst.ma".
-(*
-include "delayed_updating/notation/functions/pitchforkleftarrow_3.ma".
-*)
+include "delayed_updating/notation/relations/black_rightarrow_df_4.ma".
-(* DELAYED FOCALIZED REDUCTION **********************************************)
+(* DELAYED FOCUSED REDUCTION ************************************************)
-inductive dfr (p) (q) (t): predicate preterm ≝
-| dfr_beta (b) (n):
- let r ≝ p;;(𝗔;b;;(𝗟;q,𝗱❨n❩)) in
- r ϵ t → ⊓⊗b → dfr p q t (t[⋔r←t⋔p,𝗦])
+inductive dfr (p) (q) (t): predicate prototerm ≝
+| dfr_beta (b):
+ let r ≝ p●𝗔◗b●𝗟◗q in
+ r◖𝗱(↑❘q❘) ϵ t → ⊓(⊗b) → dfr p q t (t[⋔r←𝛗(↑❘q❘).t⋔(p◖𝗦)])
.
-(*
+
interpretation
- "focalized substitution (preterm)"
- 'PitchforkLeftArrow t p u = (fsubst p u t).
-*)
+ "focused balanced reduction with delayed updating (prototerm)"
+ 'BlackRightArrowDF t1 p q t2 = (dfr p q t1 t2).