BooleanFunction 的其他方法
作者: smichr创建于 2024年11月25日更新于 2026年9月30日
标签logic
def simpler(expr):
"""Return an expression whose And arguments are free of supersets and for which no conjugate pairs appear in any And or Or. This is a good function to use even for expressions having a large number of variables since complete logical simplification can be very slow for many variables. To only remove conjugate pairs like x and ~x from arguments, use to_nnf.
Examples
========内容来源: sympy/sympy