equal
deleted
inserted
replaced
5 A proof method to perform a substiution using an equation. |
5 A proof method to perform a substiution using an equation. |
6 *) |
6 *) |
7 |
7 |
8 signature EQSUBST = |
8 signature EQSUBST = |
9 sig |
9 sig |
10 val setup : (Theory.theory -> Theory.theory) list |
10 val setup : theory -> theory |
11 end; |
11 end; |
12 |
12 |
13 structure EqSubst: EQSUBST = |
13 structure EqSubst: EQSUBST = |
14 struct |
14 struct |
15 |
15 |
335 #> (fn (ctxt, ((asmflag, occL), inthms)) => |
335 #> (fn (ctxt, ((asmflag, occL), inthms)) => |
336 (if asmflag then eqsubst_asm_meth else eqsubst_meth) ctxt occL inthms); |
336 (if asmflag then eqsubst_asm_meth else eqsubst_meth) ctxt occL inthms); |
337 |
337 |
338 |
338 |
339 val setup = |
339 val setup = |
340 [Method.add_method ("subst", subst_meth, "substiution with an equation")]; |
340 Method.add_method ("subst", subst_meth, "substiution with an equation"); |
341 |
341 |
342 end; |
342 end; |