src/HOL/Import/hol4rews.ML
changeset 18358 0a733e11021a
parent 17644 bd59bfd4bf37
child 18708 4b3dadb4fe33
equal deleted inserted replaced
18357:c5030cdbf8da 18358:0a733e11021a
   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