import standard solution for Predicate.includes/excludes_other_quantity
mscarey opened this issue · 2 comments
mscarey commented
The real issue these methods try to solve is checking if one inequality includes another, e.g., x > 5 includes x > 3. There's probably a more reliable and flexible implementation that can be imported.
It might require moving away from the pint library.
mscarey commented
Pint still looks like the best option for units. Maybe I should check for dimensional consistency using pint, then take just the numbers from the Pint objects and compare them using Sympy
mscarey commented
This has been delegated to Nettlesome, which uses Sympy