Predicate(name) makes a new predicate, as SymPy's Predicate("name")
does: it prints as Q.name, can be applied to one expression, and
ask() answers it only from the assumptions it is given. With
dispatch = TRUE the predicate also has its own handler, so
register_predicate() can attach evaluation rules to it, as for a
subclass of SymPy's Predicate. AppliedPredicate(p, ...) applies a
predicate to arguments.
Arguments
- name
The predicate name, a string.
- dispatch
Whether the predicate has a handler for
register_predicate().- predicate
A predicate such as
Q$positiveor one made byPredicate().- ...
The arguments of the applied predicate.