author | wenzelm |
Mon, 22 Jun 1998 17:13:09 +0200 | |
changeset 5068 | fb28eaa07e01 |
parent 3734 | 33f355f56f82 |
child 6046 | 2c8a8be36c94 |
permissions | -rw-r--r-- |
1461 | 1 |
(* Title: Redex.ML |
1048 | 2 |
ID: $Id$ |
1461 | 3 |
Author: Ole Rasmussen |
1048 | 4 |
Copyright 1995 University of Cambridge |
5 |
Logic Image: ZF |
|
6 |
*) |
|
7 |
||
8 |
open Redex; |
|
9 |
||
10 |
(* ------------------------------------------------------------------------- *) |
|
11 |
(* redex_rec conversions *) |
|
12 |
(* ------------------------------------------------------------------------- *) |
|
13 |
||
5068 | 14 |
Goal "redex_rec(Var(n),b,c,d) = b(n)"; |
1048 | 15 |
by (rtac (redex_rec_def RS def_Vrec RS trans) 1); |
16 |
by (simp_tac (rank_ss addsimps redexes.con_defs) 1); |
|
3734
33f355f56f82
Much tidying including "qed" instead of result(), and even qed_spec_mp,
paulson
parents:
2469
diff
changeset
|
17 |
qed "redex_rec_Var"; |
1048 | 18 |
|
5068 | 19 |
Goal "redex_rec(Fun(t),b,c,d) = c(t,redex_rec(t,b,c,d))"; |
1048 | 20 |
by (rtac (redex_rec_def RS def_Vrec RS trans) 1); |
21 |
by (simp_tac (rank_ss addsimps redexes.con_defs) 1); |
|
3734
33f355f56f82
Much tidying including "qed" instead of result(), and even qed_spec_mp,
paulson
parents:
2469
diff
changeset
|
22 |
qed "redex_rec_Fun"; |
1048 | 23 |
|
5068 | 24 |
Goal "redex_rec(App(m,f,a),b,c,d) = \ |
1048 | 25 |
\ d(m,f,a,redex_rec(f,b,c,d),redex_rec(a,b,c,d))"; |
26 |
by (rtac (redex_rec_def RS def_Vrec RS trans) 1); |
|
27 |
by (simp_tac (rank_ss addsimps redexes.con_defs) 1); |
|
3734
33f355f56f82
Much tidying including "qed" instead of result(), and even qed_spec_mp,
paulson
parents:
2469
diff
changeset
|
28 |
qed "redex_rec_App"; |
1048 | 29 |
|
2469 | 30 |
Addsimps ([redex_rec_App,redex_rec_Fun,redex_rec_Var]@redexes.intrs); |
1048 | 31 |
|
32 |
||
33 |
||
34 |
||
35 |