step towards actually testing boolean evaluation on random formulas

This commit is contained in:
Marcell Vazquez-Chanlatte 2017-10-31 20:54:57 -07:00
parent 7d8cf78222
commit 75042d0dc4
5 changed files with 17 additions and 20 deletions

View file

@ -13,7 +13,7 @@ oo = float('inf')
def pointwise_sat(phi):
ap_names = [z.id.name for z in stl.ast.AP_lens(phi).Each().collect()]
ap_names = [z.id for z in phi.atomic_predicates]
def _eval_stl(x, t):
evaluated = stl.utils.eval_lineqs(phi, x)