equal
deleted
inserted
replaced
527 | _ => raise THM("RSmp",0,[th])); |
527 | _ => raise THM("RSmp",0,[th])); |
528 |
528 |
529 fun normalize_thm funs = |
529 fun normalize_thm funs = |
530 let fun trans [] th = th |
530 let fun trans [] th = th |
531 | trans (f::fs) th = (trans funs (f th)) handle THM _ => trans fs th |
531 | trans (f::fs) th = (trans funs (f th)) handle THM _ => trans fs th |
532 in zero_var_indexes o trans funs end; |
532 in zero_var_indexes o strip_shyps_warning o trans funs end; |
533 |
533 |
534 fun qed_spec_mp name = |
534 fun qed_spec_mp name = |
535 let val thm = normalize_thm [RSspec,RSmp] (result()) |
535 let val thm = normalize_thm [RSspec,RSmp] (result()) |
536 in ThmDatabase.ml_store_thm(name, thm) end; |
536 in ThmDatabase.ml_store_thm(name, thm) end; |
537 |
537 |