[sledge] Normalize pure constraints when conjoining to a symbolic heap

Reviewed By: jvillard

Differential Revision: D25196729

fbshipit-source-id: fc289d811
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent 481774c115
commit 77c630b7f4

@ -531,7 +531,8 @@ let pure (p : Formula.t) =
pf "%a" pp q ; pf "%a" pp q ;
invariant q] invariant q]
let and_ e q = star (pure e) q let and_ b q =
star (pure (Formula.map_terms ~f:(Context.normalize q.ctx) b)) q
let and_subst subst q = let and_subst subst q =
[%Trace.call fun {pf} -> pf "%a@ %a" Context.Subst.pp subst pp q] [%Trace.call fun {pf} -> pf "%a@ %a" Context.Subst.pp subst pp q]

Loading…
Cancel
Save