You can simplify expressions that contain logical operators and comparison operators. Simplification of such expressions returns a refined result that is easier to understand.
Logical AND
• Evaluate an expression with two intervals that do not have any intersections.
• Evaluate the expression with the keyword simplify. Since the intervals do not overlap, the result is 0 (false).
• Evaluate an expression with two intervals that intersect in one point. Evaluating with the keyword simplify returns the intersection point.
• Evaluate an expression with two intervals where one interval is included in the other. Evaluating with the keyword simplify returns the smallest interval.
• Evaluate an expression with two intervals that intersect in a specific range. Evaluating with the keyword simplify returns the intersection range.
Logical OR
• Evaluate an expression with two intervals that overlap the whole domain. Evaluating with the keyword simplify returns the domain.
• Evaluate an expression where the intervals exclude only one point. Evaluating with the keyword simplify returns the excluded point.
• Evaluate an expression with two intervals, when one is contained inside the other. Evaluating with the keyword simplify returns the largest interval.