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/conversion/cpc.ma".
17 (* CONTEXT-SENSITIVE PARALLEL EQUIVALENCE ON TERMS **************************)
19 definition cpcs: lenv → relation term ≝
22 interpretation "context-sensitive parallel equivalence (term)"
23 'PConvStar L T1 T2 = (cpcs L T1 T2).
25 (* Basic eliminators ********************************************************)
27 lemma cpcs_ind: ∀L,T1. ∀R:predicate term. R T1 →
28 (∀T,T2. L ⊢ T1 ⬌* T → L ⊢ T ⬌ T2 → R T → R T2) →
29 ∀T2. L ⊢ T1 ⬌* T2 → R T2.
30 #L #T1 #R #HT1 #IHT1 #T2 #HT12 @(TC_star_ind … HT1 IHT1 … HT12) //
33 (* Basic properties *********************************************************)
35 (* Basic_1: was: pc3_refl *)
36 lemma cpcs_refl: ∀L,T. L ⊢ T ⬌* T.
39 lemma cpcs_strap1: ∀L,T1,T,T2.
40 L ⊢ T1 ⬌* T → L ⊢ T ⬌ T2 → L ⊢ T1 ⬌* T2.
43 lemma cpcs_strap2: ∀L,T1,T,T2.
44 L ⊢ T1 ⬌ T → L ⊢ T ⬌* T2 → L ⊢ T1 ⬌* T2.
47 (* Basic_1: removed theorems 1: clear_pc3_trans *)