equal
deleted
inserted
replaced
58 val intern_typ: theory -> typ -> typ |
58 val intern_typ: theory -> typ -> typ |
59 val extern_typ: theory -> typ -> typ |
59 val extern_typ: theory -> typ -> typ |
60 val intern_term: theory -> term -> term |
60 val intern_term: theory -> term -> term |
61 val extern_term: theory -> term -> term |
61 val extern_term: theory -> term -> term |
62 val intern_tycons: theory -> typ -> typ |
62 val intern_tycons: theory -> typ -> typ |
|
63 val the_type_decl: theory -> string -> Type.decl |
63 val arity_number: theory -> string -> int |
64 val arity_number: theory -> string -> int |
64 val arity_sorts: theory -> string -> sort -> sort list |
65 val arity_sorts: theory -> string -> sort -> sort list |
65 val certify_class: theory -> class -> class |
66 val certify_class: theory -> class -> class |
66 val certify_sort: theory -> sort -> sort |
67 val certify_sort: theory -> sort -> sort |
67 val certify_typ: theory -> typ -> typ |
68 val certify_typ: theory -> typ -> typ |
306 |
307 |
307 (** certify entities **) (*exception TYPE*) |
308 (** certify entities **) (*exception TYPE*) |
308 |
309 |
309 (* certify wrt. type signature *) |
310 (* certify wrt. type signature *) |
310 |
311 |
|
312 val the_type_decl = Type.the_decl o tsig_of; |
311 val arity_number = Type.arity_number o tsig_of; |
313 val arity_number = Type.arity_number o tsig_of; |
312 fun arity_sorts thy = Type.arity_sorts (Syntax.pp_global thy) (tsig_of thy); |
314 fun arity_sorts thy = Type.arity_sorts (Syntax.pp_global thy) (tsig_of thy); |
313 |
315 |
314 val certify_class = Type.cert_class o tsig_of; |
316 val certify_class = Type.cert_class o tsig_of; |
315 val certify_sort = Type.cert_sort o tsig_of; |
317 val certify_sort = Type.cert_sort o tsig_of; |