provide actual Nitpick_HOL.extended_context;
authorwenzelm
Sun, 15 Nov 2009 19:44:16 +0100
changeset 33698 b5f36fa5a7b4
parent 33697 7d6793ce0a26
child 33699 f33b036ef318
provide actual Nitpick_HOL.extended_context;
src/HOL/Nitpick_Examples/Mono_Nits.thy
--- a/src/HOL/Nitpick_Examples/Mono_Nits.thy	Sun Nov 15 15:14:28 2009 +0100
+++ b/src/HOL/Nitpick_Examples/Mono_Nits.thy	Sun Nov 15 19:44:16 2009 +0100
@@ -16,7 +16,7 @@
 
 val defs = Nitpick_HOL.all_axioms_of @{theory} |> #1
 val def_table = Nitpick_HOL.const_def_table @{context} defs
-val ext_ctxt =
+val ext_ctxt : Nitpick_HOL.extended_context =
   {thy = @{theory}, ctxt = @{context}, max_bisim_depth = ~1, boxes = [],
    user_axioms = NONE, debug = false, wfs = [], destroy_constrs = false,
    specialize = false, skolemize = false, star_linear_preds = false,
@@ -26,7 +26,8 @@
    psimp_table = Symtab.empty, intro_table = Symtab.empty,
    ground_thm_table = Inttab.empty, ersatz_table = [],
    skolems = Unsynchronized.ref [], special_funs = Unsynchronized.ref [],
-   unrolled_preds = Unsynchronized.ref [], wf_cache = Unsynchronized.ref []}
+   unrolled_preds = Unsynchronized.ref [], wf_cache = Unsynchronized.ref [],
+   constr_cache = Unsynchronized.ref []}
 (* term -> bool *)
 val is_mono = Nitpick_Mono.formulas_monotonic ext_ctxt @{typ 'a} [] []
 fun is_const t =