equal
deleted
inserted
replaced
384 val rews = HOL4Rewrites.get thy; |
384 val rews = HOL4Rewrites.get thy; |
385 val pending = HOL4Pending.get thy; |
385 val pending = HOL4Pending.get thy; |
386 fun process ((bthy,bthm), hth as (_,thm)) thy = |
386 fun process ((bthy,bthm), hth as (_,thm)) thy = |
387 let |
387 let |
388 val thm1 = rewrite_rule (map (Thm.transfer thy) rews) (Thm.transfer thy thm); |
388 val thm1 = rewrite_rule (map (Thm.transfer thy) rews) (Thm.transfer thy thm); |
389 val thm2 = standard thm1; |
389 val thm2 = Drule.standard thm1; |
390 in |
390 in |
391 thy |
391 thy |
392 |> PureThy.store_thm (Binding.name bthm, thm2) |
392 |> PureThy.store_thm (Binding.name bthm, thm2) |
393 |> snd |
393 |> snd |
394 |> add_hol4_theorem bthy bthm hth |
394 |> add_hol4_theorem bthy bthm hth |