Q holds the predicates of SymPy's Q object, such as Q$positive,
Q$integer, Q$invertible or Q$eq. Calling one gives an applied
predicate, a boolean expression that prints as in SymPy (Q.positive(x))
and can be combined with &, | and ! and passed to ask(),
refine() and assuming(). Asking for a predicate that Q does not
have raises an AttributeError; Q$name <- p adds a predicate made with
Predicate(), and Q$name <- NULL removes it again.
Details
The predicates are hermitian, antihermitian, real, extended_real,
imaginary, complex, algebraic, transcendental, integer,
noninteger, rational, irrational, finite, infinite,
positive_infinite, negative_infinite, positive, negative, zero,
extended_positive, extended_negative, nonzero, nonpositive,
nonnegative, extended_nonzero, extended_nonpositive,
extended_nonnegative, even, odd, prime, composite,
commutative, is_true, the matrix predicates symmetric,
invertible, orthogonal, unitary, positive_definite,
upper_triangular, lower_triangular, diagonal, fullrank, square,
integer_elements, real_elements, complex_elements, singular,
normal, triangular, unit_triangular, and the binary relations eq,
ne, gt, ge, lt and le.