author | paulson |
Wed, 28 Jun 2000 10:37:52 +0200 | |
changeset 9158 | 084abf3d0eff |
parent 3405 | 2cccd0e3e9ea |
permissions | -rw-r--r-- |
3302 | 1 |
(* Title: TFL/thry |
2 |
ID: $Id$ |
|
3 |
Author: Konrad Slind, Cambridge University Computer Laboratory |
|
4 |
Copyright 1997 University of Cambridge |
|
5 |
*) |
|
6 |
||
2112 | 7 |
signature Thry_sig = |
8 |
sig |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
9 |
val match_term : theory -> term -> term |
3353
9112a2efb9a3
Removal of module Mask and datatype binding with its constructor |->
paulson
parents:
3302
diff
changeset
|
10 |
-> (term*term)list * (typ*typ)list |
2112 | 11 |
|
3353
9112a2efb9a3
Removal of module Mask and datatype binding with its constructor |->
paulson
parents:
3302
diff
changeset
|
12 |
val match_type : theory -> typ -> typ -> (typ*typ)list |
2112 | 13 |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
14 |
val typecheck : theory -> term -> cterm |
2112 | 15 |
|
16 |
(* Datatype facts of various flavours *) |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
17 |
val match_info: theory -> string -> {constructors:term list, |
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
18 |
case_const:term} option |
2112 | 19 |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
20 |
val induct_info: theory -> string -> {constructors:term list, |
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
21 |
nchotomy:thm} option |
2112 | 22 |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
23 |
val extract_info: theory -> {case_congs:thm list, case_rewrites:thm list} |
2112 | 24 |
|
25 |
end; |
|
26 |
||
27 |