start addeding atomic propositions
This commit is contained in:
parent
4c46db7f71
commit
c46e325cf8
4 changed files with 21 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ from functools import singledispatch
|
|||
import operator as op
|
||||
|
||||
import numpy as np
|
||||
import sympy as smp
|
||||
from lenses import lens
|
||||
|
||||
import stl.ast
|
||||
|
|
@ -52,6 +53,11 @@ op_lookup = {
|
|||
}
|
||||
|
||||
|
||||
@pointwise_sat.register(stl.AtomicPred)
|
||||
def _(stl):
|
||||
return lambda x, t: x[term.id][t]
|
||||
|
||||
|
||||
@pointwise_sat.register(stl.LinEq)
|
||||
def _(stl):
|
||||
op = op_lookup[stl.op]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue