Skip to content

Commit

Permalink
Include input substitution into the pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
geo2a committed Oct 17, 2024
1 parent c527a80 commit 748c998
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions booster/library/Booster/JsonRpc.hs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ respond stateVar request =
{ term = substituteInTerm substitution term
, constraints = Set.fromList $ map (substituteInPredicate substitution) preds
, ceilConditions = ceils
, substitution = mempty -- this is the ensures-substitution, leave empty
, substitution
}
-- remember all variables used in the substitutions
substVars =
Expand Down Expand Up @@ -255,7 +255,7 @@ respond stateVar request =
{ term = substituteInTerm substitution pat.term
, constraints = Set.map (substituteInPredicate substitution) pat.constraints
, ceilConditions = pat.ceilConditions
, substitution = mempty -- this is the ensures-substitution, leave empty
, substitution
}
ApplyEquations.evaluatePattern def mLlvmLibrary solver mempty substPat >>= \case
(Right newPattern, _) -> do
Expand Down Expand Up @@ -290,7 +290,7 @@ respond stateVar request =
mLlvmLibrary
solver
mempty
predicates
predicates -- TODO include ps.substitution?
>>= \case
(Right newPreds, _) -> do
let predicateSort =
Expand Down

0 comments on commit 748c998

Please sign in to comment.