src/HOL/Tools/Lifting/lifting_setup.ML
changeset 67710 cc2db3239932
parent 66251 cd935b7cb3fb
child 69349 7cef9e386ffe
equal deleted inserted replaced
67709:3c9e0b4709e7 67710:cc2db3239932
   155       Const (@{const_name "relcompp"}, _) $ Const (@{const_name HOL.eq}, _) $ _ =>
   155       Const (@{const_name "relcompp"}, _) $ Const (@{const_name HOL.eq}, _) $ _ =>
   156         let
   156         let
   157           val thm = 
   157           val thm = 
   158             pcr_cr_eq
   158             pcr_cr_eq
   159             |> Conv.fconv_rule (Conv.arg_conv (Conv.rewr_conv eq_OO_meta))
   159             |> Conv.fconv_rule (Conv.arg_conv (Conv.rewr_conv eq_OO_meta))
   160             |> mk_HOL_eq
   160             |> HOLogic.mk_obj_eq
   161             |> singleton (Variable.export lthy orig_lthy)
   161             |> singleton (Variable.export lthy orig_lthy)
   162           val lthy = (#notes config ? (Local_Theory.note 
   162           val lthy = (#notes config ? (Local_Theory.note 
   163               ((Binding.qualify_name true qty_name "pcr_cr_eq", []), [thm]) #> snd)) lthy
   163               ((Binding.qualify_name true qty_name "pcr_cr_eq", []), [thm]) #> snd)) lthy
   164         in
   164         in
   165           (thm, lthy)
   165           (thm, lthy)