equal
deleted
inserted
replaced
471 fun process (thy,((bthy,bthm),hth as (_,thm))) = |
471 fun process (thy,((bthy,bthm),hth as (_,thm))) = |
472 let |
472 let |
473 val sg = sign_of thy |
473 val sg = sign_of thy |
474 val thm1 = rewrite_rule (map (Thm.transfer sg) rews) (Thm.transfer sg thm) |
474 val thm1 = rewrite_rule (map (Thm.transfer sg) rews) (Thm.transfer sg thm) |
475 val thm2 = standard thm1 |
475 val thm2 = standard thm1 |
476 val (thy2,_) = PureThy.store_thm((bthm,thm2),[]) thy |
476 val thy2 = PureThy.store_thm ((bthm, thm2), []) thy |> snd |
477 val thy5 = add_hol4_theorem bthy bthm hth thy2 |
477 val thy5 = add_hol4_theorem bthy bthm hth thy2 |
478 in |
478 in |
479 thy5 |
479 thy5 |
480 end |
480 end |
481 |
481 |