src/HOL/Tools/Quickcheck/narrowing_generators.ML
changeset 42361 23f352990944
parent 42258 79cb339d8989
child 42616 92715b528e78
--- a/src/HOL/Tools/Quickcheck/narrowing_generators.ML	Sat Apr 16 15:47:52 2011 +0200
+++ b/src/HOL/Tools/Quickcheck/narrowing_generators.ML	Sat Apr 16 16:15:37 2011 +0200
@@ -141,7 +141,7 @@
 
 fun evaluation cookie thy evaluator vs_t args size =
   let
-    val ctxt = ProofContext.init_global thy;
+    val ctxt = Proof_Context.init_global thy;
     val (program_code, value_name) = evaluator vs_t;
     val value_code = space_implode " "
       (value_name :: "()" :: map (enclose "(" ")") args);
@@ -192,7 +192,7 @@
 
 fun compile_generator_expr ctxt [(t, eval_terms)] [_, size] =
   let
-    val thy = ProofContext.theory_of ctxt
+    val thy = Proof_Context.theory_of ctxt
     val t' = list_abs_free (Term.add_frees t [], t)
     val t'' = if Config.get ctxt finite_functions then finitize_functions t' else t'
     fun ensure_testable t =