Skip to content

Commit

Permalink
Tweak comments
Browse files Browse the repository at this point in the history
  • Loading branch information
geo2a committed Oct 25, 2024
1 parent b148a1f commit 8994bcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions booster/library/Booster/Pattern/Rewrite.hs
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,13 @@ rewriteStep cutLabels terminalLabels pat = do
pure $ mkBranch pat ruleApplicationData
satRes@(SMT.IsSat{}) -> do
-- the remainder condition is satisfiable.
-- TODO construct the remainder branch and consider it.
-- To construct the "remainder pattern",
-- we add the remainder condition to the predicates of pat
-- TODO: construct the remainder branch and consider it.
throwRemainder (map fst ruleApplicationData) satRes groupRemainderPredicate
satRes@SMT.IsUnknown{} -> do
-- solver cannot solve the remainder
-- TODO descend into the remainder branch anyway
-- TODO: descend into the remainder branch anyway, same as in the satisfiable case
throwRemainder (map fst ruleApplicationData) satRes groupRemainderPredicate

labelOf = fromMaybe "" . (.ruleLabel) . (.attributes)
Expand Down

0 comments on commit 8994bcb

Please sign in to comment.