don't define empty and/or
This commit is contained in:
parent
8118c5ae50
commit
f30d391171
1 changed files with 2 additions and 2 deletions
|
|
@ -131,10 +131,10 @@ def until(phi1, phi2, *, lo, hi):
|
||||||
return stl.ast.Until(Interval(lo, hi), phi1, phi2)
|
return stl.ast.Until(Interval(lo, hi), phi1, phi2)
|
||||||
|
|
||||||
def andf(*args):
|
def andf(*args):
|
||||||
return reduce(op.and_, args, stl.And(tuple()))
|
return reduce(op.and_, args, None)
|
||||||
|
|
||||||
def orf(*args):
|
def orf(*args):
|
||||||
return reduce(op.or_, args, stl.Or(tuple()))
|
return reduce(op.or_, args, None)
|
||||||
|
|
||||||
def implies(x, y):
|
def implies(x, y):
|
||||||
return ~x | y
|
return ~x | y
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue