class_triv: Sign.certify_class;
authorwenzelm
Mon, 01 May 2006 17:05:13 +0200
changeset 19525 0cd0bf32ac58
parent 19524 f795c1164708
child 19526 90fb9e092e66
class_triv: Sign.certify_class;
src/Pure/thm.ML
--- a/src/Pure/thm.ML	Mon May 01 17:05:12 2006 +0200
+++ b/src/Pure/thm.ML	Mon May 01 17:05:13 2006 +0200
@@ -1066,7 +1066,7 @@
 (*Axiom-scheme reflecting signature contents: "OFCLASS(?'a::c, c_class)" *)
 fun class_triv thy c =
   let val Cterm {thy_ref, t, maxidx, sorts, ...} =
-    cterm_of thy (Logic.mk_inclass (TVar (("'a", 0), [c]), c))
+    cterm_of thy (Logic.mk_inclass (TVar (("'a", 0), [c]), Sign.certify_class thy c))
       handle TERM (msg, _) => raise THM ("class_triv: " ^ msg, 0, []);
   in
     Thm {thy_ref = thy_ref,