Closed BenjaminCosman closed 9 years ago
Notes to self @ranjitjhala:
In ocaml, dig around for SMT.mkEmptySet
.
Note that
set_emp(v)
===> v = smt_set_emp
set_empty
===> smt_set_emp
In haskell, we only do (1) and not (2).
Commit fdf9461cd9 fixes this. However, it does not fix #75 -- but even fixpoint.native crashes with that. Can you confirm which .hs file that comes from?
See:
https://github.com/ucsd-progsys/liquid-fixpoint/blob/cutsolver/tests/weird/sets.fq (adapted from LH test MeasureSets.hs.fq)
It passes the Ocaml solver with or without the constant definition, but the haskell solver exhibits two distinct failure modes depending on whether you include the constant.
Related to Issue #75 ?