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/rt_computation/csx_aaa.ma".
16 include "basic_2/rt_equivalence/cpcs_csx.ma".
17 include "basic_2/dynamic/cnv_aaa.ma".
19 (* CONTEXT-SENSITIVE NATIVE VALIDITY FOR TERMS ******************************)
21 (* Properties with r-equivalence ********************************************)
23 lemma cnv_cpcs_dec (h) (a) (G) (L):
24 ∀T1. ❨G,L❩ ⊢ T1 ![h,a] → ∀T2. ❨G,L❩ ⊢ T2 ![h,a] →
25 Decidable … (❨G,L❩ ⊢ T1 ⬌*[h] T2).
26 #h #a #G #L #T1 #HT1 #T2 #HT2
27 elim (cnv_fwd_aaa … HT1) -HT1 #A1 #HA1
28 elim (cnv_fwd_aaa … HT2) -HT2 #A2 #HA2
29 /3 width=2 by csx_cpcs_dec, aaa_csx/