author | Christian Urban <urbanc@in.tum.de> |
Sat, 28 Nov 2009 14:45:22 +0100 | |
changeset 446 | 84ee3973f083 |
parent 445 | f1c0a66284d3 |
child 450 | 2dc708ddb93a |
permissions | -rw-r--r-- |
297
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
1 |
theory LFex |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
2 |
imports Nominal QuotMain |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
3 |
begin |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
4 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
5 |
atom_decl name id |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
6 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
7 |
nominal_datatype kind = |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
8 |
Type |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
9 |
| KPi "ty" "name" "kind" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
10 |
and ty = |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
11 |
TConst "id" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
12 |
| TApp "ty" "trm" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
13 |
| TPi "ty" "name" "ty" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
14 |
and trm = |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
15 |
Const "id" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
16 |
| Var "name" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
17 |
| App "trm" "trm" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
18 |
| Lam "ty" "name" "trm" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
19 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
20 |
function |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
21 |
fv_kind :: "kind \<Rightarrow> name set" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
22 |
and fv_ty :: "ty \<Rightarrow> name set" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
23 |
and fv_trm :: "trm \<Rightarrow> name set" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
24 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
25 |
"fv_kind (Type) = {}" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
26 |
| "fv_kind (KPi A x K) = (fv_ty A) \<union> ((fv_kind K) - {x})" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
27 |
| "fv_ty (TConst i) = {}" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
28 |
| "fv_ty (TApp A M) = (fv_ty A) \<union> (fv_trm M)" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
29 |
| "fv_ty (TPi A x B) = (fv_ty A) \<union> ((fv_ty B) - {x})" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
30 |
| "fv_trm (Const i) = {}" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
31 |
| "fv_trm (Var x) = {x}" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
32 |
| "fv_trm (App M N) = (fv_trm M) \<union> (fv_trm N)" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
33 |
| "fv_trm (Lam A x M) = (fv_ty A) \<union> ((fv_trm M) - {x})" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
34 |
sorry |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
35 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
36 |
termination fv_kind sorry |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
37 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
38 |
inductive |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
39 |
akind :: "kind \<Rightarrow> kind \<Rightarrow> bool" ("_ \<approx>ki _" [100, 100] 100) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
40 |
and aty :: "ty \<Rightarrow> ty \<Rightarrow> bool" ("_ \<approx>ty _" [100, 100] 100) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
41 |
and atrm :: "trm \<Rightarrow> trm \<Rightarrow> bool" ("_ \<approx>tr _" [100, 100] 100) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
42 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
43 |
a1: "(Type) \<approx>ki (Type)" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
44 |
| a21: "\<lbrakk>A \<approx>ty A'; K \<approx>ki K'\<rbrakk> \<Longrightarrow> (KPi A x K) \<approx>ki (KPi A' x K')" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
45 |
| a22: "\<lbrakk>A \<approx>ty A'; K \<approx>ki ([(x,x')]\<bullet>K'); x \<notin> (fv_ty A'); x \<notin> ((fv_kind K') - {x'})\<rbrakk> |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
46 |
\<Longrightarrow> (KPi A x K) \<approx>ki (KPi A' x' K')" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
47 |
| a3: "i = j \<Longrightarrow> (TConst i) \<approx>ty (TConst j)" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
48 |
| a4: "\<lbrakk>A \<approx>ty A'; M \<approx>tr M'\<rbrakk> \<Longrightarrow> (TApp A M) \<approx>ty (TApp A' M')" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
49 |
| a51: "\<lbrakk>A \<approx>ty A'; B \<approx>ty B'\<rbrakk> \<Longrightarrow> (TPi A x B) \<approx>ty (TPi A' x B')" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
50 |
| a52: "\<lbrakk>A \<approx>ty A'; B \<approx>ty ([(x,x')]\<bullet>B'); x \<notin> (fv_ty B'); x \<notin> ((fv_ty B') - {x'})\<rbrakk> |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
51 |
\<Longrightarrow> (TPi A x B) \<approx>ty (TPi A' x' B')" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
52 |
| a6: "i = j \<Longrightarrow> (Const i) \<approx>trm (Const j)" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
53 |
| a7: "x = y \<Longrightarrow> (Var x) \<approx>trm (Var y)" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
54 |
| a8: "\<lbrakk>M \<approx>trm M'; N \<approx>tr N'\<rbrakk> \<Longrightarrow> (App M N) \<approx>tr (App M' N')" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
55 |
| a91: "\<lbrakk>A \<approx>ty A'; M \<approx>tr M'\<rbrakk> \<Longrightarrow> (Lam A x M) \<approx>tr (Lam A' x M')" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
56 |
| a92: "\<lbrakk>A \<approx>ty A'; M \<approx>tr ([(x,x')]\<bullet>M'); x \<notin> (fv_ty B'); x \<notin> ((fv_trm M') - {x'})\<rbrakk> |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
57 |
\<Longrightarrow> (Lam A x M) \<approx>tr (Lam A' x' M')" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
58 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
59 |
lemma al_refl: |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
60 |
fixes K::"kind" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
61 |
and A::"ty" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
62 |
and M::"trm" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
63 |
shows "K \<approx>ki K" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
64 |
and "A \<approx>ty A" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
65 |
and "M \<approx>tr M" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
66 |
apply(induct K and A and M rule: kind_ty_trm.inducts) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
67 |
apply(auto intro: akind_aty_atrm.intros) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
68 |
done |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
69 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
70 |
lemma alpha_EQUIVs: |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
71 |
shows "EQUIV akind" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
72 |
and "EQUIV aty" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
73 |
and "EQUIV atrm" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
74 |
sorry |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
75 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
76 |
quotient KIND = kind / akind |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
77 |
by (rule alpha_EQUIVs) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
78 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
79 |
quotient TY = ty / aty |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
80 |
and TRM = trm / atrm |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
81 |
by (auto intro: alpha_EQUIVs) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
82 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
83 |
print_quotients |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
84 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
85 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
86 |
TYP :: "KIND" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
87 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
88 |
"TYP \<equiv> Type" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
89 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
90 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
91 |
KPI :: "TY \<Rightarrow> name \<Rightarrow> KIND \<Rightarrow> KIND" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
92 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
93 |
"KPI \<equiv> KPi" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
94 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
95 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
96 |
TCONST :: "id \<Rightarrow> TY" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
97 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
98 |
"TCONST \<equiv> TConst" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
99 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
100 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
101 |
TAPP :: "TY \<Rightarrow> TRM \<Rightarrow> TY" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
102 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
103 |
"TAPP \<equiv> TApp" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
104 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
105 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
106 |
TPI :: "TY \<Rightarrow> name \<Rightarrow> TY \<Rightarrow> TY" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
107 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
108 |
"TPI \<equiv> TPi" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
109 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
110 |
(* FIXME: does not work with CONST *) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
111 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
112 |
CONS :: "id \<Rightarrow> TRM" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
113 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
114 |
"CONS \<equiv> Const" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
115 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
116 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
117 |
VAR :: "name \<Rightarrow> TRM" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
118 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
119 |
"VAR \<equiv> Var" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
120 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
121 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
122 |
APP :: "TRM \<Rightarrow> TRM \<Rightarrow> TRM" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
123 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
124 |
"APP \<equiv> App" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
125 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
126 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
127 |
LAM :: "TY \<Rightarrow> name \<Rightarrow> TRM \<Rightarrow> TRM" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
128 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
129 |
"LAM \<equiv> Lam" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
130 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
131 |
thm TYP_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
132 |
thm KPI_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
133 |
thm TCONST_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
134 |
thm TAPP_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
135 |
thm TPI_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
136 |
thm VAR_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
137 |
thm CONS_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
138 |
thm APP_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
139 |
thm LAM_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
140 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
141 |
(* FIXME: print out a warning if the type contains a liftet type, like kind \<Rightarrow> name set *) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
142 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
143 |
FV_kind :: "KIND \<Rightarrow> name set" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
144 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
145 |
"FV_kind \<equiv> fv_kind" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
146 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
147 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
148 |
FV_ty :: "TY \<Rightarrow> name set" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
149 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
150 |
"FV_ty \<equiv> fv_ty" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
151 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
152 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
153 |
FV_trm :: "TRM \<Rightarrow> name set" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
154 |
where |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
155 |
"FV_trm \<equiv> fv_trm" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
156 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
157 |
thm FV_kind_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
158 |
thm FV_ty_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
159 |
thm FV_trm_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
160 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
161 |
(* FIXME: does not work yet *) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
162 |
overloading |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
163 |
perm_kind \<equiv> "perm :: 'x prm \<Rightarrow> KIND \<Rightarrow> KIND" (unchecked) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
164 |
perm_ty \<equiv> "perm :: 'x prm \<Rightarrow> TY \<Rightarrow> TY" (unchecked) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
165 |
perm_trm \<equiv> "perm :: 'x prm \<Rightarrow> TRM \<Rightarrow> TRM" (unchecked) |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
166 |
begin |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
167 |
|
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
168 |
quotient_def |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
169 |
perm_kind :: "'x prm \<Rightarrow> KIND \<Rightarrow> KIND" |
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
170 |
where |
299
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
171 |
"perm_kind \<equiv> (perm::'x prm \<Rightarrow> kind \<Rightarrow> kind)" |
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
172 |
|
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
173 |
quotient_def |
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
174 |
perm_ty :: "'x prm \<Rightarrow> TY \<Rightarrow> TY" |
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
175 |
where |
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
176 |
"perm_ty \<equiv> (perm::'x prm \<Rightarrow> ty \<Rightarrow> ty)" |
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
177 |
|
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
178 |
quotient_def |
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
179 |
perm_trm :: "'x prm \<Rightarrow> TRM \<Rightarrow> TRM" |
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
180 |
where |
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
181 |
"perm_trm \<equiv> (perm::'x prm \<Rightarrow> trm \<Rightarrow> trm)" |
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
182 |
|
439
70a4b73f82a9
LFex proof a bit further.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
437
diff
changeset
|
183 |
(* TODO/FIXME: Think whether these RSP theorems are true. *) |
441
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
184 |
lemma kpi_rsp: "(aty ===> op = ===> akind ===> akind) KPi KPi" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
185 |
lemma tconst_rsp: "(op = ===> aty) TConst TConst" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
186 |
lemma tapp_rsp: "(aty ===> atrm ===> aty) TApp TApp" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
187 |
lemma tpi_rsp: "(aty ===> op = ===> aty ===> aty) TPi TPi" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
188 |
lemma var_rsp: "(op = ===> atrm) Var Var" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
189 |
lemma app_rsp: "(atrm ===> atrm ===> atrm) App App" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
190 |
lemma const_rsp: "(op = ===> atrm) Const Const" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
191 |
lemma lam_rsp: "(aty ===> op = ===> atrm ===> atrm) Lam Lam" sorry |
437
532bcd868842
Looking at repabs proof in LF.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
432
diff
changeset
|
192 |
|
441
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
193 |
lemma perm_kind_rsp: "(op = ===> akind ===> akind) op \<bullet> op \<bullet>" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
194 |
lemma perm_ty_rsp: "(op = ===> aty ===> aty) op \<bullet> op \<bullet>" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
195 |
lemma perm_trm_rsp: "(op = ===> atrm ===> atrm) op \<bullet> op \<bullet>" sorry |
437
532bcd868842
Looking at repabs proof in LF.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
432
diff
changeset
|
196 |
|
441
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
197 |
lemma fv_ty_rsp: "(aty ===> op =) fv_ty fv_ty" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
198 |
lemma fv_kind_rsp: "(akind ===> op =) fv_kind fv_kind" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
199 |
lemma fv_trm_rsp: "(atrm ===> op =) fv_trm fv_trm" sorry |
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
200 |
|
439
70a4b73f82a9
LFex proof a bit further.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
437
diff
changeset
|
201 |
|
301
40bb0c4718a6
Cleaning and commenting
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
299
diff
changeset
|
202 |
thm akind_aty_atrm.induct |
40bb0c4718a6
Cleaning and commenting
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
299
diff
changeset
|
203 |
|
394
199d1ae1401f
Manually regularized akind_aty_atrm.induct
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
393
diff
changeset
|
204 |
|
416
3f3927f793d4
Removing arguments of tactics: absrep, rel_refl, reps_same are computed.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
414
diff
changeset
|
205 |
ML {* val defs = |
3f3927f793d4
Removing arguments of tactics: absrep, rel_refl, reps_same are computed.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
414
diff
changeset
|
206 |
@{thms TYP_def KPI_def TCONST_def TAPP_def TPI_def VAR_def CONS_def APP_def LAM_def |
3f3927f793d4
Removing arguments of tactics: absrep, rel_refl, reps_same are computed.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
414
diff
changeset
|
207 |
FV_kind_def FV_ty_def FV_trm_def perm_kind_def perm_ty_def perm_trm_def} |
3f3927f793d4
Removing arguments of tactics: absrep, rel_refl, reps_same are computed.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
414
diff
changeset
|
208 |
*} |
397
559c01f40bee
introduced a new property for Ball and ===> on the left
Christian Urban <urbanc@in.tum.de>
parents:
394
diff
changeset
|
209 |
|
393
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
210 |
lemma "\<lbrakk>P1 TYP TYP; \<And>A A' K K' x. \<lbrakk>(A::TY) = A'; P2 A A'; (K::KIND) = K'; P1 K K'\<rbrakk> \<Longrightarrow> P1 (KPI A x K) (KPI A' x K'); |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
211 |
\<And>A A' K x x' K'. |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
212 |
\<lbrakk>(A ::TY) = A'; P2 A A'; (K :: KIND) = ([(x, x')] \<bullet> K'); P1 K ([(x, x')] \<bullet> K'); x \<notin> FV_ty A'; x \<notin> FV_kind K' - {x'}\<rbrakk> |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
213 |
\<Longrightarrow> P1 (KPI A x K) (KPI A' x' K'); |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
214 |
\<And>i j. i = j \<Longrightarrow> P2 (TCONST i) (TCONST j); |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
215 |
\<And>A A' M M'. \<lbrakk>(A ::TY) = A'; P2 A A'; (M :: TRM) = M'; P3 M M'\<rbrakk> \<Longrightarrow> P2 (TAPP A M) (TAPP A' M'); |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
216 |
\<And>A A' B B' x. \<lbrakk>(A ::TY) = A'; P2 A A'; (B ::TY) = B'; P2 B B'\<rbrakk> \<Longrightarrow> P2 (TPI A x B) (TPI A' x B'); |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
217 |
\<And>A A' B x x' B'. |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
218 |
\<lbrakk>(A ::TY) = A'; P2 A A'; (B ::TY) = ([(x, x')] \<bullet> B'); P2 B ([(x, x')] \<bullet> B'); x \<notin> FV_ty B'; x \<notin> FV_ty B' - {x'}\<rbrakk> |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
219 |
\<Longrightarrow> P2 (TPI A x B) (TPI A' x' B'); |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
220 |
\<And>i j m. i = j \<Longrightarrow> P3 (CONS i) (m (CONS j)); \<And>x y m. x = y \<Longrightarrow> P3 (VAR x) (m (VAR y)); |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
221 |
\<And>M m M' N N'. \<lbrakk>(M :: TRM) = m M'; P3 M (m M'); (N :: TRM) = N'; P3 N N'\<rbrakk> \<Longrightarrow> P3 (APP M N) (APP M' N'); |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
222 |
\<And>A A' M M' x. \<lbrakk>(A ::TY) = A'; P2 A A'; (M :: TRM) = M'; P3 M M'\<rbrakk> \<Longrightarrow> P3 (LAM A x M) (LAM A' x M'); |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
223 |
\<And>A A' M x x' M' B'. |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
224 |
\<lbrakk>(A ::TY) = A'; P2 A A'; (M :: TRM) = ([(x, x')] \<bullet> M'); P3 M ([(x, x')] \<bullet> M'); x \<notin> FV_ty B'; x \<notin> FV_trm M' - {x'}\<rbrakk> |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
225 |
\<Longrightarrow> P3 (LAM A x M) (LAM A' x' M')\<rbrakk> |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
226 |
\<Longrightarrow> ((x1 :: KIND) = x2 \<longrightarrow> P1 x1 x2) \<and> |
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
227 |
((x3 ::TY) = x4 \<longrightarrow> P2 x3 x4) \<and> ((x5 :: TRM) = x6 \<longrightarrow> P3 x5 x6)" |
418
f24fd4689d00
Cleaning of LFex. Lambda_prs fails to unify in 2 places.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
416
diff
changeset
|
228 |
apply (tactic {* (ObjectLogic.full_atomize_tac THEN' gen_frees_tac @{context}) 1 *}) |
f24fd4689d00
Cleaning of LFex. Lambda_prs fails to unify in 2 places.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
416
diff
changeset
|
229 |
ML_prf {* val qtm = #concl (fst (Subgoal.focus @{context} 1 (#goal (Isar.goal ())))) *} |
f24fd4689d00
Cleaning of LFex. Lambda_prs fails to unify in 2 places.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
416
diff
changeset
|
230 |
ML_prf {* val aps = find_aps (prop_of (atomize_thm @{thm akind_aty_atrm.induct})) (term_of qtm) *} |
393
196aa25daadf
Playing with Monos in LFex.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
301
diff
changeset
|
231 |
apply(tactic {* procedure_tac @{context} @{thm akind_aty_atrm.induct} 1 *}) |
400 | 232 |
apply(tactic {* regularize_tac @{context} @{thms alpha_EQUIVs} 1 *}) |
397
559c01f40bee
introduced a new property for Ball and ===> on the left
Christian Urban <urbanc@in.tum.de>
parents:
394
diff
changeset
|
233 |
prefer 2 |
418
f24fd4689d00
Cleaning of LFex. Lambda_prs fails to unify in 2 places.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
416
diff
changeset
|
234 |
ML_prf {* val quot = @{thms QUOTIENT_KIND QUOTIENT_TY QUOTIENT_TRM} *} |
440
0af649448a11
Moved fast instantiation to QuotMain
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
439
diff
changeset
|
235 |
(*apply(tactic {* clean_tac @{context} quot defs aps 1 *}) *) |
421
2b64936f8fab
The magical code from Stefan, will need to be integrated in the Simproc.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
419
diff
changeset
|
236 |
apply (tactic {* lambda_prs_tac @{context} quot 1 *}) |
425
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
237 |
ML_prf {* val lower = flat (map (add_lower_defs @{context}) defs) *} |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
238 |
ML_prf {* val meta_lower = map (fn x => @{thm eq_reflection} OF [x]) lower *} |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
239 |
ML_prf {* val reps_same = map (fn x => @{thm QUOTIENT_REL_REP} OF [x]) quot *} |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
240 |
ML_prf {* val meta_reps_same = map (fn x => @{thm eq_reflection} OF [x]) reps_same *} |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
241 |
apply (tactic {* simp_tac ((Simplifier.context @{context} empty_ss) addsimps (meta_reps_same @ meta_lower)) 1 *}) |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
242 |
apply (tactic {* REPEAT_ALL_NEW (allex_prs_tac @{context} quot) 1 *}) |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
243 |
ML_prf {* val absrep = map (fn x => @{thm QUOTIENT_ABS_REP} OF [x]) quot *} |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
244 |
ML_prf {* val aps_thms = map (applic_prs @{context} absrep) aps *} |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
245 |
apply (tactic {* Cong_Tac.cong_tac @{thm cong} 1 *}) apply (rule refl) apply (rule ext) |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
246 |
apply (tactic {* Cong_Tac.cong_tac @{thm cong} 1 *}) apply (rule refl) apply (rule ext) |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
247 |
apply (tactic {* Cong_Tac.cong_tac @{thm cong} 1 *}) apply (rule refl) apply (rule ext) |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
248 |
apply (tactic {* Cong_Tac.cong_tac @{thm cong} 1 *}) apply (rule refl) apply (rule ext) |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
249 |
apply (tactic {* Cong_Tac.cong_tac @{thm cong} 1 *}) apply (rule refl) apply (rule ext) |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
250 |
apply (tactic {* Cong_Tac.cong_tac @{thm cong} 1 *}) apply (rule refl) apply (rule ext) |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
251 |
apply (tactic {* Cong_Tac.cong_tac @{thm cong} 1 *}) apply (rule refl) apply (rule ext) |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
252 |
apply (tactic {* Cong_Tac.cong_tac @{thm cong} 1 *}) apply (rule refl) apply (rule ext) |
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
253 |
apply (tactic {* Cong_Tac.cong_tac @{thm cong} 1 *}) apply (rule refl) apply (rule ext) |
432
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
254 |
apply (tactic {* REPEAT_ALL_NEW (rtac @{thm arg_cong2[of _ _ _ _ "op \<longrightarrow>"]}) 1 *}) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
255 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
256 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
257 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
258 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
259 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
260 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
261 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
262 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
263 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
264 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
265 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
266 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
9c33c0809733
Finished and tested the new regularize
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
427
diff
changeset
|
267 |
apply (tactic {* REPEAT_ALL_NEW (EqSubst.eqsubst_tac @{context} [0] aps_thms) 1 *}) apply (rule refl) |
437
532bcd868842
Looking at repabs proof in LF.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
432
diff
changeset
|
268 |
ML_prf {* |
532bcd868842
Looking at repabs proof in LF.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
432
diff
changeset
|
269 |
val rel_refl = map (fn x => @{thm EQUIV_REFL} OF [x]) @{thms alpha_EQUIVs} |
532bcd868842
Looking at repabs proof in LF.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
432
diff
changeset
|
270 |
val trans2 = map (fn x => @{thm equiv_trans2} OF [x]) @{thms alpha_EQUIVs} |
532bcd868842
Looking at repabs proof in LF.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
432
diff
changeset
|
271 |
*} |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
272 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
273 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
274 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
275 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
276 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
277 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
278 |
apply(tactic {* inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
279 |
apply(tactic {* inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
280 |
apply(tactic {* inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
281 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
282 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
283 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
284 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
285 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
286 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
287 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
288 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
289 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
290 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
291 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
292 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
293 |
apply(tactic {* inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
294 |
apply(tactic {* inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
295 |
apply(tactic {* inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
296 |
apply(tactic {* inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
297 |
apply(tactic {* inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
298 |
apply(tactic {* inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
299 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
300 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
301 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
302 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
303 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
304 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
305 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
306 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
307 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
308 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
309 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
310 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
311 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
312 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
313 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
314 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
315 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
316 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
317 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
318 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
319 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
320 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
321 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
322 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
323 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
324 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
325 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
326 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
327 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 @{thms kpi_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
328 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
329 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
330 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
331 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
332 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
333 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
334 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
335 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
336 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
337 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
338 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
339 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
340 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
341 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
342 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
343 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
344 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
345 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
346 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
347 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
348 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
349 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
350 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
351 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
352 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
353 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
354 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 @{thms perm_kind_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
355 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
356 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 @{thms perm_kind_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
357 |
apply(tactic {* inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
358 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 @{thms fv_ty_rsp} 1*}) |
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
359 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 @{thms kpi_rsp fv_ty_rsp fv_kind_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
360 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
361 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 @{thms tconst_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
362 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
363 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
364 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
365 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
366 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
367 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
368 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
369 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
370 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
371 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
372 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
373 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
374 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
375 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
376 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
377 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
378 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 @{thms fv_ty_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
379 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
380 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 @{thms fv_ty_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
381 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
382 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 @{thms fv_ty_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
383 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
384 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 @{thms fv_ty_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
385 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
386 |
apply(tactic {* inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
387 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 @{thms fv_ty_rsp} 1*}) |
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
388 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 @{thms tapp_rsp} 1*}) |
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
389 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 @{thms tapp_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
390 |
apply(tactic {* inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
391 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 @{thms tpi_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
392 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
393 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 @{thms perm_ty_rsp tpi_rsp fv_ty_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
394 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
395 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 @{thms const_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
396 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
397 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 @{thms var_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
398 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
399 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 @{thms app_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
400 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
401 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
402 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
403 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
404 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
405 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
406 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
407 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
408 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
409 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
410 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
411 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
412 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
413 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
414 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
415 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
416 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
417 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
418 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
419 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
420 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
421 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
422 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 @{thms lam_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
423 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
424 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
425 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
426 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
427 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
428 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
429 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
430 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
431 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
432 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
433 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
434 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
435 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
436 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
437 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
438 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
439 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
440 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
441 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
442 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
443 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
444 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
445 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
446 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
447 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
448 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
449 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
450 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
451 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
452 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 @{thms perm_trm_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
453 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
454 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 @{thms perm_trm_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
455 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
456 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 @{thms fv_ty_rsp} 1*}) |
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
457 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 @{thms fv_trm_rsp lam_rsp} 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
458 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
459 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ kind} quot rel_refl trans2 [] 1*}) |
445
f1c0a66284d3
renamed r_mk_comb_tac to inj_repabs_tac
Christian Urban <urbanc@in.tum.de>
parents:
441
diff
changeset
|
460 |
apply(tactic {* inj_repabs_tac @{context} @{typ nat} quot rel_refl trans2 [] 1*}) |
446
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
461 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ ty} quot rel_refl trans2 [] 1*}) |
84ee3973f083
removed old inj_repabs_tac; kept only the one with (selective) debugging information
Christian Urban <urbanc@in.tum.de>
parents:
445
diff
changeset
|
462 |
apply(tactic {* all_inj_repabs_tac @{context} @{typ trm} quot rel_refl trans2 [] 1*}) |
441
42e7f323913a
Manually finished LF induction.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
440
diff
changeset
|
463 |
done |
425
12fc780ff0e8
Integrated Stefan's tactic and changed substs to simps with empty context.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
421
diff
changeset
|
464 |
|
416
3f3927f793d4
Removing arguments of tactics: absrep, rel_refl, reps_same are computed.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
414
diff
changeset
|
465 |
print_quotients |
301
40bb0c4718a6
Cleaning and commenting
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
299
diff
changeset
|
466 |
|
297
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
467 |
end |
299
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
468 |
|
297
28b264299590
updated to new Isabelle version and added a new example file
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
|
469 |
|
299
893a8e789d7f
permutation lifting works now also
Christian Urban <urbanc@in.tum.de>
parents:
297
diff
changeset
|
470 |