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 (* This file was automatically generated: do not edit *********************)
17 include "basic_1/G/defs.ma".
19 include "basic_1/pc3/defs.ma".
21 inductive ty3 (g: G): C \to (T \to (T \to Prop)) \def
22 | ty3_conv: \forall (c: C).(\forall (t2: T).(\forall (t: T).((ty3 g c t2 t)
23 \to (\forall (u: T).(\forall (t1: T).((ty3 g c u t1) \to ((pc3 c t1 t2) \to
25 | ty3_sort: \forall (c: C).(\forall (m: nat).(ty3 g c (TSort m) (TSort (next
27 | ty3_abbr: \forall (n: nat).(\forall (c: C).(\forall (d: C).(\forall (u:
28 T).((getl n c (CHead d (Bind Abbr) u)) \to (\forall (t: T).((ty3 g d u t) \to
29 (ty3 g c (TLRef n) (lift (S n) O t))))))))
30 | ty3_abst: \forall (n: nat).(\forall (c: C).(\forall (d: C).(\forall (u:
31 T).((getl n c (CHead d (Bind Abst) u)) \to (\forall (t: T).((ty3 g d u t) \to
32 (ty3 g c (TLRef n) (lift (S n) O u))))))))
33 | ty3_bind: \forall (c: C).(\forall (u: T).(\forall (t: T).((ty3 g c u t) \to
34 (\forall (b: B).(\forall (t1: T).(\forall (t2: T).((ty3 g (CHead c (Bind b)
35 u) t1 t2) \to (ty3 g c (THead (Bind b) u t1) (THead (Bind b) u t2)))))))))
36 | ty3_appl: \forall (c: C).(\forall (w: T).(\forall (u: T).((ty3 g c w u) \to
37 (\forall (v: T).(\forall (t: T).((ty3 g c v (THead (Bind Abst) u t)) \to (ty3
38 g c (THead (Flat Appl) w v) (THead (Flat Appl) w (THead (Bind Abst) u
40 | ty3_cast: \forall (c: C).(\forall (t1: T).(\forall (t2: T).((ty3 g c t1 t2)
41 \to (\forall (t0: T).((ty3 g c t2 t0) \to (ty3 g c (THead (Flat Cast) t2 t1)
42 (THead (Flat Cast) t0 t2))))))).
44 inductive tys3 (g: G) (c: C): TList \to (T \to Prop) \def
45 | tys3_nil: \forall (u: T).(\forall (u0: T).((ty3 g c u u0) \to (tys3 g c
47 | tys3_cons: \forall (t: T).(\forall (u: T).((ty3 g c t u) \to (\forall (ts:
48 TList).((tys3 g c ts u) \to (tys3 g c (TCons t ts) u))))).