author | paulson |
Tue, 20 May 1997 11:49:57 +0200 | |
changeset 3245 | 241838c01caf |
parent 2112 | 3902e9af752f |
child 3302 | 404fe31fd8d2 |
permissions | -rw-r--r-- |
2112 | 1 |
signature Thry_sig = |
2 |
sig |
|
3 |
type 'a binding |
|
4 |
||
5 |
structure USyntax : USyntax_sig |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
6 |
val match_term : theory -> term -> term |
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
7 |
-> term binding list * typ binding list |
2112 | 8 |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
9 |
val match_type : theory -> typ -> typ -> typ binding list |
2112 | 10 |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
11 |
val typecheck : theory -> term -> cterm |
2112 | 12 |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
13 |
val make_definition: theory -> string -> term -> thm * theory |
2112 | 14 |
|
15 |
(* Datatype facts of various flavours *) |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
16 |
val match_info: theory -> string -> {constructors:term list, |
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
17 |
case_const:term} option |
2112 | 18 |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
19 |
val induct_info: theory -> string -> {constructors:term list, |
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
20 |
nchotomy:thm} option |
2112 | 21 |
|
3245
241838c01caf
Removal of redundant code (unused or already present in Isabelle.
paulson
parents:
2112
diff
changeset
|
22 |
val extract_info: theory -> {case_congs:thm list, case_rewrites:thm list} |
2112 | 23 |
|
24 |
end; |
|
25 |
||
26 |