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/reducibility/tpr_tpss.ma".
17 (* CONTEXT-FREE PARALLEL REDUCTION ON LOCAL ENVIRONMENTS ********************)
19 (* Properties concerning parallel unfold on local environments **************)
21 lemma ltpr_ltpss_conf: ∀L1,K1,d,e. L1 ▶* [d, e] K1 → ∀L2. L1 ➡ L2 →
22 ∃∃K2. L2 ▶* [d, e] K2 & K1 ➡ K2.
23 #L1 #K1 #d #e #H elim H -L1 -K1 -d -e
26 elim (ltpr_inv_pair1 … H) -H #L2 #V2 #HL12 #HV12 #H destruct /3 width=5/
27 | #L1 #K1 #I #V1 #W1 #e #_ #HVW1 #IHLK1 #X #H
28 elim (ltpr_inv_pair1 … H) -H #L2 #V2 #HL12 #HV12 #H destruct
29 elim (IHLK1 … HL12) -L1 #K2 #HLK2 #HK12
30 elim (tpr_tpss_ltpr … HK12 … HV12 … HVW1) -V1 /3 width=5/
31 | #L1 #K1 #I #V1 #W1 #d #e #_ #HVW1 #IHLK1 #X #H
32 elim (ltpr_inv_pair1 … H) -H #L2 #V2 #HL12 #HV12 #H destruct
33 elim (IHLK1 … HL12) -L1 #K2 #HLK2 #HK12
34 elim (tpr_tpss_ltpr … HK12 … HV12 … HVW1) -V1 /3 width=5/