1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "delayed_updating/reduction/ibfr_constructors.ma".
16 include "delayed_updating/substitution/lift_prototerm_constructors.ma".
17 include "ground/arith/pnat_two.ma".
19 (* DELAYED BALANCED FOCUSED REDUCTION ***************************************)
21 (* Example of unprotected balanced β-reduction ******************************)
23 definition l3_t0: prototerm ≝
24 (𝛌.@(⧣𝟏).@(𝛌.@(⧣𝟐).⧣𝟏).𝛌.⧣𝟏).
26 definition l3_t1: prototerm ≝
27 (𝛌.@(⧣𝟏).@(𝛌.@(⧣𝟐).⧣𝟏).𝛌.(𝛌.@(⧣↑𝟐).⧣𝟏)).
30 l3_t0 ➡𝐢𝐛𝐟[𝗟◗𝗔◗𝗔◗𝗟◗𝐞] l3_t1.
33 @ibfr_eq_trans [| @ibfr_beta_0 // ]
36 @(subset_eq_canc_sn … (fsubst_empty_rc …))
37 @(subset_eq_canc_sn … (lift_term_abst …))
39 @(subset_eq_canc_sn … (lift_term_appl … ))
41 @(subset_eq_canc_sn … (lift_term_oref_pap … )) //