diff -r 3d54fcc5f41a -r 6f3b75135638 Quot/quotient_def.ML --- a/Quot/quotient_def.ML Thu Feb 18 23:07:28 2010 +0100 +++ b/Quot/quotient_def.ML Thu Feb 18 23:07:52 2010 +0100 @@ -12,6 +12,8 @@ val quotdef_cmd: (binding option * mixfix) * (Attrib.binding * (string * string)) -> local_theory -> (term * thm) * local_theory + + val quotient_lift_const: string * term -> local_theory -> (term * thm) * local_theory end; structure Quotient_Def: QUOTIENT_DEF = @@ -85,6 +87,10 @@ quotient_def (decl, (attr, (lhs, rhs))) lthy'' end +fun quotient_lift_const (b, t) ctxt = + quotient_def ((NONE, NoSyn), (Attrib.empty_binding, + (Quotient_Term.quotient_lift_const (b, t) ctxt, t))) ctxt + local structure P = OuterParse; in