I am looking for a way to automatically determine, e.g., that (a < 12) & (a < 3) & (c >= 4)
is the same as (a < 3) & (c >= 4)
. I looked into Matlab's symbolic toolbox and SymPy in Python, but these are apparently only capable of simplifying purely Boolean logic (e.g., simplify(a & b | b & a) -> ans=(a & b)
)
Is there a way of using these symbolic math tools like described above?
from Automatically simplify redundant arithmetic relations
No comments:
Post a Comment