Skip to content

Commit 0c56365

Browse files
committed
Debug remainders more
1 parent cab0016 commit 0c56365

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

kore/src/Kore/Rewrite/RewriteStep.hs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ module Kore.Rewrite.RewriteStep (
1818
import Control.Monad.State.Strict qualified as State
1919
import Control.Monad.Trans.Class qualified as Monad.Trans
2020
import Data.Sequence qualified as Seq
21-
import Data.Text qualified as Text
2221
import Kore.Attribute.Label (
2322
Label (..),
2423
)
@@ -43,7 +42,6 @@ import Kore.Internal.TermLike as TermLike
4342
import Kore.Log.DebugAppliedRewriteRules (
4443
debugAppliedRewriteRules,
4544
)
46-
import Kore.Log.DebugContext
4745
import Kore.Log.DebugCreatedSubstitution (debugCreatedSubstitution)
4846
import Kore.Log.DebugRewriteRulesRemainder (debugRewriteRulesRemainder)
4947
import Kore.Log.DebugRewriteTrace (
@@ -87,7 +85,6 @@ import Kore.Simplify.Simplify (
8785
simplifyCondition,
8886
)
8987
import Kore.Substitute
90-
import Log
9188
import Logic (
9289
LogicT,
9390
)
@@ -301,7 +298,7 @@ finalizeRulesParallel
301298
remainderPredicate = Remainder.remainder' unifications
302299
-- FIXME pass the actual unified rules, rather than their count, to the debug function
303300
debugRewriteRulesRemainder initial (length unifiedRules) remainderPredicate
304-
inContext "combined-remainder" $ logInfo (Text.pack $ show remainderPredicate)
301+
liftIO $ print $ "combined-remainder " <> show remainderPredicate
305302
-- evaluate the remainder predicate to make sure it is actually satisfiable
306303
SMT.evalPredicate
307304
(ErrorDecidePredicateUnknown $srcLoc Nothing)

0 commit comments

Comments
 (0)