src/HOL/Tools/Nitpick/nitpick_hol.ML
changeset 44013 5cfc1c36ae97
parent 44012 8c1dfd6c2262
child 44016 51184010c609
--- a/src/HOL/Tools/Nitpick/nitpick_hol.ML	Tue Aug 02 10:03:14 2011 +0200
+++ b/src/HOL/Tools/Nitpick/nitpick_hol.ML	Tue Aug 02 10:36:50 2011 +0200
@@ -1779,7 +1779,7 @@
                                    "too many nested definitions (" ^
                                    string_of_int depth ^ ") while expanding " ^
                                    quote s)
-                else if s = @{const_name wfrec'} then
+                else if s = "Old_Recdef.wfrec'" (* FIXME unchecked! *) then
                   (do_term (depth + 1) Ts (s_betapplys Ts (def, ts)), [])
                 else if not unfold andalso
                      size_of_term def > def_inline_threshold () then
@@ -1873,9 +1873,7 @@
   [(@{const_name card}, @{const_name card'}),
    (@{const_name setsum}, @{const_name setsum'}),
    (@{const_name fold_graph}, @{const_name fold_graph'}),
-   (@{const_name wf}, @{const_name wf'}),
-   (@{const_name wf_wfrec}, @{const_name wf_wfrec'}),
-   (@{const_name wfrec}, @{const_name wfrec'})]
+   (@{const_name wf}, @{const_name wf'})]
 
 fun ersatz_table ctxt =
  (basic_ersatz_table @ #ersatz_table (Data.get (Context.Proof ctxt)))