src/Pure/drule.ML
changeset 7404 e488cf3da60a
parent 7380 2bcee6a460d8
child 7467 71e5d8671e7b
equal deleted inserted replaced
7403:c318acb88251 7404:e488cf3da60a
   427 
   427 
   428 val proto_sign = Theory.sign_of ProtoPure.thy;
   428 val proto_sign = Theory.sign_of ProtoPure.thy;
   429 
   429 
   430 fun read_prop s = read_cterm proto_sign (s, propT);
   430 fun read_prop s = read_cterm proto_sign (s, propT);
   431 
   431 
   432 fun store_thm name thm = PureThy.smart_store_thm (name, standard thm);
   432 fun store_thm name thm = hd (PureThy.smart_store_thms (name, [standard thm]));
   433 
   433 
   434 val reflexive_thm =
   434 val reflexive_thm =
   435   let val cx = cterm_of proto_sign (Var(("x",0),TVar(("'a",0),logicS)))
   435   let val cx = cterm_of proto_sign (Var(("x",0),TVar(("'a",0),logicS)))
   436   in store_thm "reflexive" (Thm.reflexive cx) end;
   436   in store_thm "reflexive" (Thm.reflexive cx) end;
   437 
   437