diff -r dea0d2cca822 -r d0385f2764d8 src/HOL/Tools/Predicate_Compile/predicate_compile_aux.ML --- a/src/HOL/Tools/Predicate_Compile/predicate_compile_aux.ML Thu Aug 19 10:27:12 2010 +0200 +++ b/src/HOL/Tools/Predicate_Compile/predicate_compile_aux.ML Thu Aug 19 11:02:14 2010 +0200 @@ -405,13 +405,13 @@ (* general syntactic functions *) (*Like dest_conj, but flattens conjunctions however nested*) -fun conjuncts_aux (Const ("op &", _) $ t $ t') conjs = conjuncts_aux t (conjuncts_aux t' conjs) +fun conjuncts_aux (Const (@{const_name "op &"}, _) $ t $ t') conjs = conjuncts_aux t (conjuncts_aux t' conjs) | conjuncts_aux t conjs = t::conjs; fun conjuncts t = conjuncts_aux t []; fun is_equationlike_term (Const ("==", _) $ _ $ _) = true - | is_equationlike_term (Const ("Trueprop", _) $ (Const ("op =", _) $ _ $ _)) = true + | is_equationlike_term (Const (@{const_name "Trueprop"}, _) $ (Const (@{const_name "op ="}, _) $ _ $ _)) = true | is_equationlike_term _ = false val is_equationlike = is_equationlike_term o prop_of @@ -482,7 +482,7 @@ fun strip_all t = (Term.strip_all_vars t, Term.strip_all_body t) -fun strip_ex (Const ("Ex", _) $ Abs (x, T, t)) = +fun strip_ex (Const (@{const_name "Ex"}, _) $ Abs (x, T, t)) = let val (xTs, t') = strip_ex t in