Skip to content

Commit

Permalink
Bump What4 submodule, adapt to BoolMap changes (#1306)
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett authored Feb 12, 2025
1 parent f84675d commit 50d1550
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crucible-llvm/src/Lang/Crucible/LLVM/MemModel/Partial.hs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ explainCex sym bbMap evalFn =

-- We expect at least one of the contained predicates to be false, so choose one
-- and explain that failure
(asApp -> Just (ConjPred (viewBoolMap -> BoolMapTerms tms))) -> go (Fold.toList tms)
(asApp -> Just (ConjPred (viewConjMap -> Conjuncts tms))) -> go (Fold.toList tms)
where
go [] = pure NoExplanation
go ((x,Positive):xs)
Expand Down Expand Up @@ -223,7 +223,7 @@ explainCex sym bbMap evalFn =

-- under negative polarity, we expect all members of the disjunction to be false,
-- and we must construct an explanation for all of them
(asApp -> Just (ConjPred (viewBoolMap -> BoolMapTerms tms))) -> go (Fold.toList tms) NoExplanation
(asApp -> Just (ConjPred (viewConjMap -> Conjuncts tms))) -> go (Fold.toList tms) NoExplanation
where
go [] es = pure es
go ((x,Positive):xs) es =
Expand Down

0 comments on commit 50d1550

Please sign in to comment.