src/HOL/Tools/Quotient/quotient_term.ML
changeset 44413 80d460bc6fa8
parent 42361 23f352990944
child 45272 5995ab88a00f
--- a/src/HOL/Tools/Quotient/quotient_term.ML	Mon Aug 22 15:02:45 2011 +0200
+++ b/src/HOL/Tools/Quotient/quotient_term.ML	Tue Aug 23 03:34:17 2011 +0900
@@ -208,6 +208,13 @@
         in
           list_comb (get_mapfun ctxt "fun", [arg1, arg2])
         end
+(* FIXME: use type_name antiquotation if set type becomes explicit *)
+    | (Type ("Set.set", [ty]), Type ("Set.set", [ty'])) =>
+        let
+          val arg = absrep_fun (negF flag) ctxt (ty, ty')
+        in
+          get_mapfun ctxt "Set.set" $ arg
+        end
     | (Type (s, tys), Type (s', tys')) =>
         if s = s'
         then