Skip to content

Commit

Permalink
added combi in simp util
Browse files Browse the repository at this point in the history
  • Loading branch information
akissinger committed Dec 5, 2014
1 parent 9e294e6 commit e6ab4aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/rewriting/simp_util.ML
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ sig
-> (R.name * Theory.Rule.T)
-> simproc

val REDUCE_WHILE : (Theory.Graph.T -> bool)
-> (R.name * Theory.Rule.T)
-> simproc
val REDUCE_METRIC : (Theory.Graph.T -> int)
-> (R.name * Theory.Rule.T)
-> simproc
Expand Down Expand Up @@ -101,6 +104,8 @@ fun REDUCE_METRIC_TO i metric =

val REDUCE_METRIC = REDUCE_METRIC_TO 0

fun REDUCE_WHILE b = REDUCE_WITH { PRE = b, POST = K true }

(*fun REDUCE_METRIC_TO i metric rule graph =
Seq.make (fn () => (
let
Expand Down

0 comments on commit e6ab4aa

Please sign in to comment.