@@ -18,6 +18,7 @@ module Kore.Rewrite.RewriteStep (
18
18
import Control.Monad.State.Strict qualified as State
19
19
import Control.Monad.Trans.Class qualified as Monad.Trans
20
20
import Data.Sequence qualified as Seq
21
+ import Data.Text qualified as Text
21
22
import Kore.Attribute.Label (
22
23
Label (.. ),
23
24
)
@@ -42,6 +43,7 @@ import Kore.Internal.TermLike as TermLike
42
43
import Kore.Log.DebugAppliedRewriteRules (
43
44
debugAppliedRewriteRules ,
44
45
)
46
+ import Kore.Log.DebugContext
45
47
import Kore.Log.DebugCreatedSubstitution (debugCreatedSubstitution )
46
48
import Kore.Log.DebugRewriteRulesRemainder (debugRewriteRulesRemainder )
47
49
import Kore.Log.DebugRewriteTrace (
@@ -85,6 +87,7 @@ import Kore.Simplify.Simplify (
85
87
simplifyCondition ,
86
88
)
87
89
import Kore.Substitute
90
+ import Log
88
91
import Logic (
89
92
LogicT ,
90
93
)
@@ -298,6 +301,7 @@ finalizeRulesParallel
298
301
remainderPredicate = Remainder. remainder' unifications
299
302
-- FIXME pass the actual unified rules, rather than their count, to the debug function
300
303
debugRewriteRulesRemainder initial (length unifiedRules) remainderPredicate
304
+ inContext " combined-remainder" $ logInfo (Text. pack $ show remainderPredicate)
301
305
-- evaluate the remainder predicate to make sure it is actually satisfiable
302
306
SMT. evalPredicate
303
307
(ErrorDecidePredicateUnknown $ srcLoc Nothing )
0 commit comments