equal
deleted
inserted
replaced
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 |