author | wenzelm |
Mon, 29 Nov 1999 15:52:49 +0100 | |
changeset 8039 | a901bafe4578 |
parent 6141 | a6922171b396 |
child 11318 | 6536fb8c9fc6 |
permissions | -rw-r--r-- |
1461 | 1 |
(* Title: ZF/Coind/Types.ML |
916 | 2 |
ID: $Id$ |
1461 | 3 |
Author: Jacob Frost, Cambridge University Computer Laboratory |
916 | 4 |
Copyright 1995 University of Cambridge |
5 |
*) |
|
6 |
||
6141 | 7 |
val te_owrE = TyEnv.mk_cases "te_owr(te,f,t):TyEnv"; |
916 | 8 |
|
6046 | 9 |
Goal "te_app(te_owr(te,x,t),x) = t"; |
10 |
by (Simp_tac 1); |
|
916 | 11 |
qed "te_app_owr1"; |
12 |
||
6046 | 13 |
Goal "x ~= y ==> te_app(te_owr(te,x,t),y) = te_app(te,y)"; |
14 |
by Auto_tac; |
|
916 | 15 |
qed "te_app_owr2"; |
16 |
||
5147
825877190618
More tidying and removal of "\!\!... from Goal commands
paulson
parents:
5068
diff
changeset
|
17 |
Goal "[| te:TyEnv; x:ExVar; x:te_dom(te) |] ==> te_app(te,x):Ty"; |
916 | 18 |
by (res_inst_tac [("P","x:te_dom(te)")] impE 1); |
19 |
by (assume_tac 2); |
|
20 |
by (assume_tac 2); |
|
21 |
by (etac TyEnv.induct 1); |
|
6046 | 22 |
by (Simp_tac 1); |
23 |
by (case_tac "xa = x" 1); |
|
24 |
by Auto_tac; |
|
916 | 25 |
qed "te_appI"; |
26 |
||
27 |
||
28 |
||
29 |
||
30 |
||
31 |
||
32 |
||
33 |
||
34 |
||
35 |
||
36 |
||
37 |
||
38 |
||
39 |
||
40 |
||
41 |
||
42 |
||
43 |