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 "basic_2/unfold/tpss_tpss.ma".
16 include "basic_2/reducibility/cpr.ma".
18 (* CONTEXT-SENSITIVE PARALLEL REDUCTION ON TERMS ****************************)
20 (* Properties on partial unfold for terms ***********************************)
22 lemma cpr_tpss_trans: ∀L,T1,T. L ⊢ T1 ➡ T →
23 ∀T2. L ⊢ T ▶* [O, |L|] T2 → L ⊢ T1 ➡ T2.
24 #L #T1 #T * #T0 #HT10 #HT0 #T2 #HT2
25 lapply (tpss_trans_eq … HT0 HT2) -T /2 width=3/
28 lemma cpr_tps_trans: ∀L,T1,T. L ⊢ T1 ➡ T →
29 ∀T2. L ⊢ T ▶ [O, |L|] T2 → L ⊢ T1 ➡ T2.