concepts.dsl.expression_utils#
Utilities for manipulating expressions.
Functions
|
|
|
Flatten an expression by replacing certain variables or function applications with sub-expressions. |
If the expression is a simple bool (see |
|
|
Ground the given FOL expression with the given variable mapping. |
|
Ground the given FOL expression with the given variable mapping. |
|
Check if the expression is a simple Boolean expression. |
|
Iterate over all sub-expressions of the input. |
|
Simplify a Boolean expression. |
|
If the expression is a simple Boolean expression (see |
|
Trying to downcast the expression_1 to the same form as expression_2. |
Classes