Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump What4 submodule, adapt to BoolMap changes #1306

Merged
merged 1 commit into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading