equal
deleted
inserted
replaced
938 *) |
938 *) |
939 |
939 |
940 fun rewrite_cterm mode prover mss ct = |
940 fun rewrite_cterm mode prover mss ct = |
941 let val {sign, t, maxidx, ...} = rep_cterm ct |
941 let val {sign, t, maxidx, ...} = rep_cterm ct |
942 val Mss{depth, ...} = mss |
942 val Mss{depth, ...} = mss |
943 in simp_depth := depth; |
943 in trace_cterm false "SIMPLIFIER INVOKED ON THE FOLLOWING TERM:" ct; |
|
944 simp_depth := depth; |
944 bottomc (mode, prover, sign, maxidx) mss ct |
945 bottomc (mode, prover, sign, maxidx) mss ct |
945 end |
946 end |
946 handle THM (s, _, thms) => |
947 handle THM (s, _, thms) => |
947 error ("Exception THM was raised in simplifier:\n" ^ s ^ "\n" ^ |
948 error ("Exception THM was raised in simplifier:\n" ^ s ^ "\n" ^ |
948 Pretty.string_of (Display.pretty_thms thms)); |
949 Pretty.string_of (Display.pretty_thms thms)); |