Skip to content

Commit 2883e60

Browse files
committed
Kill redundant patterns
1 parent 78659ee commit 2883e60

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

booster/library/Booster/Pattern/Rewrite.hs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -508,11 +508,6 @@ applyRule pat@Pattern{ceilConditions} rule =
508508
-- TODO it is probably enough to establish satisfiablity (rather than validity) of the ensured conditions.
509509
-- For now, we check validity to be safe and admit indeterminate result (i.e. (P, not P) is (Sat, Sat)).
510510
(lift $ SMT.checkPredicates solver pat.constraints pat.substitution (Set.fromList newConstraints)) >>= \case
511-
SMT.IsUnknown SMT.ImplicationIndeterminate -> do
512-
pure ()
513-
SMT.IsUnknown SMT.InconsistentGroundTruth -> do
514-
withContext CtxWarn $ logMessage ("Ground truth is #Bottom." :: Text)
515-
RewriteRuleAppT $ pure Trivial
516511
SMT.IsInvalid -> do
517512
withContext CtxSuccess $ logMessage ("New constraints evaluated to #Bottom." :: Text)
518513
RewriteRuleAppT $ pure Trivial

0 commit comments

Comments
 (0)