]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_1/T/props.ma
refactoring of \lambda\delta version 1 in matita
[helm.git] / matita / matita / contribs / lambdadelta / basic_1 / T / props.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 (* This file was automatically generated: do not edit *********************)
16
17 include "Basic-1/T/defs.ma".
18
19 theorem not_abbr_abst:
20  not (eq B Abbr Abst)
21 \def
22  \lambda (H: (eq B Abbr Abst)).(let H0 \def (eq_ind B Abbr (\lambda (ee: 
23 B).(match ee in B return (\lambda (_: B).Prop) with [Abbr \Rightarrow True | 
24 Abst \Rightarrow False | Void \Rightarrow False])) I Abst H) in (False_ind 
25 False H0)).
26 (* COMMENTS
27 Initial nodes: 34
28 END *)
29
30 theorem not_void_abst:
31  not (eq B Void Abst)
32 \def
33  \lambda (H: (eq B Void Abst)).(let H0 \def (eq_ind B Void (\lambda (ee: 
34 B).(match ee in B return (\lambda (_: B).Prop) with [Abbr \Rightarrow False | 
35 Abst \Rightarrow False | Void \Rightarrow True])) I Abst H) in (False_ind 
36 False H0)).
37 (* COMMENTS
38 Initial nodes: 34
39 END *)
40
41 theorem not_abbr_void:
42  not (eq B Abbr Void)
43 \def
44  \lambda (H: (eq B Abbr Void)).(let H0 \def (eq_ind B Abbr (\lambda (ee: 
45 B).(match ee in B return (\lambda (_: B).Prop) with [Abbr \Rightarrow True | 
46 Abst \Rightarrow False | Void \Rightarrow False])) I Void H) in (False_ind 
47 False H0)).
48 (* COMMENTS
49 Initial nodes: 34
50 END *)
51
52 theorem not_abst_void:
53  not (eq B Abst Void)
54 \def
55  \lambda (H: (eq B Abst Void)).(let H0 \def (eq_ind B Abst (\lambda (ee: 
56 B).(match ee in B return (\lambda (_: B).Prop) with [Abbr \Rightarrow False | 
57 Abst \Rightarrow True | Void \Rightarrow False])) I Void H) in (False_ind 
58 False H0)).
59 (* COMMENTS
60 Initial nodes: 34
61 END *)
62
63 theorem thead_x_y_y:
64  \forall (k: K).(\forall (v: T).(\forall (t: T).((eq T (THead k v t) t) \to 
65 (\forall (P: Prop).P))))
66 \def
67  \lambda (k: K).(\lambda (v: T).(\lambda (t: T).(T_ind (\lambda (t0: T).((eq 
68 T (THead k v t0) t0) \to (\forall (P: Prop).P))) (\lambda (n: nat).(\lambda 
69 (H: (eq T (THead k v (TSort n)) (TSort n))).(\lambda (P: Prop).(let H0 \def 
70 (eq_ind T (THead k v (TSort n)) (\lambda (ee: T).(match ee in T return 
71 (\lambda (_: T).Prop) with [(TSort _) \Rightarrow False | (TLRef _) 
72 \Rightarrow False | (THead _ _ _) \Rightarrow True])) I (TSort n) H) in 
73 (False_ind P H0))))) (\lambda (n: nat).(\lambda (H: (eq T (THead k v (TLRef 
74 n)) (TLRef n))).(\lambda (P: Prop).(let H0 \def (eq_ind T (THead k v (TLRef 
75 n)) (\lambda (ee: T).(match ee in T return (\lambda (_: T).Prop) with [(TSort 
76 _) \Rightarrow False | (TLRef _) \Rightarrow False | (THead _ _ _) 
77 \Rightarrow True])) I (TLRef n) H) in (False_ind P H0))))) (\lambda (k0: 
78 K).(\lambda (t0: T).(\lambda (_: (((eq T (THead k v t0) t0) \to (\forall (P: 
79 Prop).P)))).(\lambda (t1: T).(\lambda (H0: (((eq T (THead k v t1) t1) \to 
80 (\forall (P: Prop).P)))).(\lambda (H1: (eq T (THead k v (THead k0 t0 t1)) 
81 (THead k0 t0 t1))).(\lambda (P: Prop).(let H2 \def (f_equal T K (\lambda (e: 
82 T).(match e in T return (\lambda (_: T).K) with [(TSort _) \Rightarrow k | 
83 (TLRef _) \Rightarrow k | (THead k1 _ _) \Rightarrow k1])) (THead k v (THead 
84 k0 t0 t1)) (THead k0 t0 t1) H1) in ((let H3 \def (f_equal T T (\lambda (e: 
85 T).(match e in T return (\lambda (_: T).T) with [(TSort _) \Rightarrow v | 
86 (TLRef _) \Rightarrow v | (THead _ t2 _) \Rightarrow t2])) (THead k v (THead 
87 k0 t0 t1)) (THead k0 t0 t1) H1) in ((let H4 \def (f_equal T T (\lambda (e: 
88 T).(match e in T return (\lambda (_: T).T) with [(TSort _) \Rightarrow (THead 
89 k0 t0 t1) | (TLRef _) \Rightarrow (THead k0 t0 t1) | (THead _ _ t2) 
90 \Rightarrow t2])) (THead k v (THead k0 t0 t1)) (THead k0 t0 t1) H1) in 
91 (\lambda (H5: (eq T v t0)).(\lambda (H6: (eq K k k0)).(let H7 \def (eq_ind T 
92 v (\lambda (t2: T).((eq T (THead k t2 t1) t1) \to (\forall (P0: Prop).P0))) 
93 H0 t0 H5) in (let H8 \def (eq_ind K k (\lambda (k1: K).((eq T (THead k1 t0 
94 t1) t1) \to (\forall (P0: Prop).P0))) H7 k0 H6) in (H8 H4 P)))))) H3)) 
95 H2))))))))) t))).
96 (* COMMENTS
97 Initial nodes: 461
98 END *)
99
100 theorem tweight_lt:
101  \forall (t: T).(lt O (tweight t))
102 \def
103  \lambda (t: T).(T_ind (\lambda (t0: T).(lt O (tweight t0))) (\lambda (_: 
104 nat).(le_n (S O))) (\lambda (_: nat).(le_n (S O))) (\lambda (_: K).(\lambda 
105 (t0: T).(\lambda (H: (lt O (tweight t0))).(\lambda (t1: T).(\lambda (_: (lt O 
106 (tweight t1))).(le_S (S O) (plus (tweight t0) (tweight t1)) (le_plus_trans (S 
107 O) (tweight t0) (tweight t1) H))))))) t).
108 (* COMMENTS
109 Initial nodes: 85
110 END *)
111