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 set "baseuri" "cic:/matita/LAMBDA-TYPES/LambdaDelta-1/T/props".
21 theorem not_abbr_abst:
24 \lambda (H: (eq B Abbr Abst)).(let H0 \def (eq_ind B Abbr (\lambda (ee:
25 B).(match ee in B return (\lambda (_: B).Prop) with [Abbr \Rightarrow True |
26 Abst \Rightarrow False | Void \Rightarrow False])) I Abst H) in (False_ind
29 theorem not_void_abst:
32 \lambda (H: (eq B Void Abst)).(let H0 \def (eq_ind B Void (\lambda (ee:
33 B).(match ee in B return (\lambda (_: B).Prop) with [Abbr \Rightarrow False |
34 Abst \Rightarrow False | Void \Rightarrow True])) I Abst H) in (False_ind
38 \forall (k: K).(\forall (v: T).(\forall (t: T).((eq T (THead k v t) t) \to
39 (\forall (P: Prop).P))))
41 \lambda (k: K).(\lambda (v: T).(\lambda (t: T).(T_ind (\lambda (t0: T).((eq
42 T (THead k v t0) t0) \to (\forall (P: Prop).P))) (\lambda (n: nat).(\lambda
43 (H: (eq T (THead k v (TSort n)) (TSort n))).(\lambda (P: Prop).(let H0 \def
44 (eq_ind T (THead k v (TSort n)) (\lambda (ee: T).(match ee in T return
45 (\lambda (_: T).Prop) with [(TSort _) \Rightarrow False | (TLRef _)
46 \Rightarrow False | (THead _ _ _) \Rightarrow True])) I (TSort n) H) in
47 (False_ind P H0))))) (\lambda (n: nat).(\lambda (H: (eq T (THead k v (TLRef
48 n)) (TLRef n))).(\lambda (P: Prop).(let H0 \def (eq_ind T (THead k v (TLRef
49 n)) (\lambda (ee: T).(match ee in T return (\lambda (_: T).Prop) with [(TSort
50 _) \Rightarrow False | (TLRef _) \Rightarrow False | (THead _ _ _)
51 \Rightarrow True])) I (TLRef n) H) in (False_ind P H0))))) (\lambda (k0:
52 K).(\lambda (t0: T).(\lambda (_: (((eq T (THead k v t0) t0) \to (\forall (P:
53 Prop).P)))).(\lambda (t1: T).(\lambda (H0: (((eq T (THead k v t1) t1) \to
54 (\forall (P: Prop).P)))).(\lambda (H1: (eq T (THead k v (THead k0 t0 t1))
55 (THead k0 t0 t1))).(\lambda (P: Prop).(let H2 \def (f_equal T K (\lambda (e:
56 T).(match e in T return (\lambda (_: T).K) with [(TSort _) \Rightarrow k |
57 (TLRef _) \Rightarrow k | (THead k1 _ _) \Rightarrow k1])) (THead k v (THead
58 k0 t0 t1)) (THead k0 t0 t1) H1) in ((let H3 \def (f_equal T T (\lambda (e:
59 T).(match e in T return (\lambda (_: T).T) with [(TSort _) \Rightarrow v |
60 (TLRef _) \Rightarrow v | (THead _ t2 _) \Rightarrow t2])) (THead k v (THead
61 k0 t0 t1)) (THead k0 t0 t1) H1) in ((let H4 \def (f_equal T T (\lambda (e:
62 T).(match e in T return (\lambda (_: T).T) with [(TSort _) \Rightarrow (THead
63 k0 t0 t1) | (TLRef _) \Rightarrow (THead k0 t0 t1) | (THead _ _ t2)
64 \Rightarrow t2])) (THead k v (THead k0 t0 t1)) (THead k0 t0 t1) H1) in
65 (\lambda (H5: (eq T v t0)).(\lambda (H6: (eq K k k0)).(let H7 \def (eq_ind T
66 v (\lambda (t2: T).((eq T (THead k t2 t1) t1) \to (\forall (P0: Prop).P0)))
67 H0 t0 H5) in (let H8 \def (eq_ind K k (\lambda (k1: K).((eq T (THead k1 t0
68 t1) t1) \to (\forall (P0: Prop).P0))) H7 k0 H6) in (H8 H4 P)))))) H3))
72 \forall (t: T).(lt O (tweight t))
74 \lambda (t: T).(T_ind (\lambda (t0: T).(lt O (tweight t0))) (\lambda (_:
75 nat).(le_n (S O))) (\lambda (_: nat).(le_n (S O))) (\lambda (_: K).(\lambda
76 (t0: T).(\lambda (H: (lt O (tweight t0))).(\lambda (t1: T).(\lambda (_: (lt O
77 (tweight t1))).(le_S (S O) (plus (tweight t0) (tweight t1)) (le_plus_trans (S
78 O) (tweight t0) (tweight t1) H))))))) t).