src/HOL/Tools/Predicate_Compile/predicate_compile_core.ML
changeset 35267 8dfd816713c6
parent 35021 c839a4c670c6
child 35324 c9f428269b38
--- a/src/HOL/Tools/Predicate_Compile/predicate_compile_core.ML	Fri Feb 19 14:47:00 2010 +0100
+++ b/src/HOL/Tools/Predicate_Compile/predicate_compile_core.ML	Fri Feb 19 14:47:01 2010 +0100
@@ -2436,8 +2436,8 @@
       val [polarity, depth] = additional_arguments
       val polarity' = (case prem of Prem _ => I | Negprem _ => HOLogic.mk_not | _ => I) polarity
       val depth' =
-        Const ("Algebras.minus", @{typ "code_numeral => code_numeral => code_numeral"})
-          $ depth $ Const ("Algebras.one", @{typ "Code_Numeral.code_numeral"})
+        Const (@{const_name Groups.minus}, @{typ "code_numeral => code_numeral => code_numeral"})
+          $ depth $ Const (@{const_name Groups.one}, @{typ "Code_Numeral.code_numeral"})
     in [polarity', depth'] end
   }