equal
deleted
inserted
replaced
1110 prover: how to solve premises in conditional rewrites and congruences |
1110 prover: how to solve premises in conditional rewrites and congruences |
1111 *) |
1111 *) |
1112 |
1112 |
1113 fun rewrite_cterm mode prover ss ct = |
1113 fun rewrite_cterm mode prover ss ct = |
1114 (inc simp_depth; |
1114 (inc simp_depth; |
1115 if !simp_depth mod 10 = 0 |
1115 if !simp_depth mod 20 = 0 |
1116 then warning ("Simplification depth " ^ string_of_int (!simp_depth)) |
1116 then warning ("Simplification depth " ^ string_of_int (!simp_depth)) |
1117 else (); |
1117 else (); |
1118 trace_cterm false "SIMPLIFIER INVOKED ON THE FOLLOWING TERM:" ss ct; |
1118 trace_cterm false "SIMPLIFIER INVOKED ON THE FOLLOWING TERM:" ss ct; |
1119 let val {thy, t, maxidx, ...} = Thm.rep_cterm ct |
1119 let val {thy, t, maxidx, ...} = Thm.rep_cterm ct |
1120 val res = bottomc (mode, prover, thy, maxidx) ss ct |
1120 val res = bottomc (mode, prover, thy, maxidx) ss ct |