diff -r 8d0294d877bd -r 107941e8fa01 src/HOL/Tools/Quickcheck/quickcheck_common.ML --- a/src/HOL/Tools/Quickcheck/quickcheck_common.ML Tue Sep 28 22:14:02 2021 +0200 +++ b/src/HOL/Tools/Quickcheck/quickcheck_common.ML Tue Sep 28 22:14:44 2021 +0200 @@ -466,8 +466,8 @@ fun make_fun_upds T1 T2 (tps, t) = fold_rev (mk_fun_upd T1 T2) tps t fun make_set T1 [] = Const (\<^const_abbrev>\Set.empty\, T1 --> \<^typ>\bool\) - | make_set T1 ((_, \<^const>\False\) :: tps) = make_set T1 tps - | make_set T1 ((t1, \<^const>\True\) :: tps) = + | make_set T1 ((_, \<^Const_>\False\) :: tps) = make_set T1 tps + | make_set T1 ((t1, \<^Const_>\True\) :: tps) = Const (\<^const_name>\insert\, T1 --> (T1 --> \<^typ>\bool\) --> T1 --> \<^typ>\bool\) $ t1 $ (make_set T1 tps) | make_set T1 ((_, t) :: _) = raise TERM ("make_set", [t]) @@ -476,8 +476,8 @@ | make_coset T tps = let val U = T --> \<^typ>\bool\ - fun invert \<^const>\False\ = \<^const>\True\ - | invert \<^const>\True\ = \<^const>\False\ + fun invert \<^Const_>\False\ = \<^Const>\True\ + | invert \<^Const_>\True\ = \<^Const>\False\ in Const (\<^const_name>\Groups.minus_class.minus\, U --> U --> U) $ Const (\<^const_abbrev>\UNIV\, U) $ make_set T (map (apsnd invert) tps) @@ -505,8 +505,8 @@ (case T2 of \<^typ>\bool\ => (case t of - Abs(_, _, \<^const>\False\) => fst #> rev #> make_set T1 - | Abs(_, _, \<^const>\True\) => fst #> rev #> make_coset T1 + Abs(_, _, \<^Const_>\False\) => fst #> rev #> make_set T1 + | Abs(_, _, \<^Const_>\True\) => fst #> rev #> make_coset T1 | Abs(_, _, Const (\<^const_name>\undefined\, _)) => fst #> rev #> make_set T1 | _ => raise TERM ("post_process_term", [t])) | Type (\<^type_name>\option\, _) =>