src/HOL/Tools/Quotient/quotient_tacs.ML
changeset 61853 fb7756087101
parent 61144 5e94dfead1c2
child 62913 13252110a6fe
equal deleted inserted replaced
61852:d273c24b5776 61853:fb7756087101
   753   end
   753   end
   754 
   754 
   755 
   755 
   756 (* lifting as an attribute *)
   756 (* lifting as an attribute *)
   757 
   757 
   758 val lifted_attrib = Thm.rule_attribute (fn context =>
   758 val lifted_attrib = Thm.rule_attribute [] (fn context =>
   759   let
   759   let
   760     val ctxt = Context.proof_of context
   760     val ctxt = Context.proof_of context
   761     val qtys = map #qtyp (Quotient_Info.dest_quotients ctxt)
   761     val qtys = map #qtyp (Quotient_Info.dest_quotients ctxt)
   762   in
   762   in
   763     lifted ctxt qtys []
   763     lifted ctxt qtys []