src/HOL/Tools/BNF/bnf_lfp_compat.ML
changeset 57983 6edc3529bb4e
parent 57807 5b9043595b7d
child 58112 8081087096ad
--- a/src/HOL/Tools/BNF/bnf_lfp_compat.ML	Mon Aug 18 15:03:25 2014 +0200
+++ b/src/HOL/Tools/BNF/bnf_lfp_compat.ML	Mon Aug 18 17:19:58 2014 +0200
@@ -138,12 +138,12 @@
     val inducts = map (the_single o #co_inducts) fp_sugars;
 
     fun mk_info (kk, {T = Type (T_name0, _), ctr_sugar = {casex, exhaust, nchotomy, injects,
-        distincts, case_thms, case_cong, weak_case_cong, split, split_asm, ...}, ...} : fp_sugar) =
+        distincts, case_thms, case_cong, case_cong_weak, split, split_asm, ...}, ...} : fp_sugar) =
       (T_name0,
        {index = kk, descr = descr, inject = injects, distinct = distincts, induct = induct,
         inducts = inducts, exhaust = exhaust, nchotomy = nchotomy, rec_names = recs,
         rec_rewrites = rec_thms, case_name = fst (dest_Const casex), case_rewrites = case_thms,
-        case_cong = case_cong, weak_case_cong = weak_case_cong, split = split,
+        case_cong = case_cong, case_cong_weak = case_cong_weak, split = split,
         split_asm = split_asm});
 
     val infos = map_index mk_info (take nn_fp fp_sugars);