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/delift.ma".
16 include "apps_2/MLTT1_1/genv_primitive.ma".
18 (* JUDJEMENTS ***************************************************************)
21 inductive TJ: lenv → predicate term ≝
22 | tj_weak : ∀L,V,T1,T2. TJ L V → TJ L T1 → ⇧[0,1] T1 ≡ T2 → TJ (L Λ V) T2
25 | tj_sum : ∀G,A,B. TJ G A → TJ G B → TJ G (A ⊕ B)
28 (* element judgement *)
29 inductive EJ: lenv → relation term ≝
30 | tj_erec: ∀L,V,T1,T2.
31 EJ L V 𝔼 → TJ (L Λ 𝔼) T1 → L Δ V ⊢ T1 [0,1] ≡ T2 → EJ L 𝕖𝕣[V] T2