Maxima Function
ratp (expr)
Returns true if expr is a canonical rational expression (CRE) or extended CRE, otherwise false.
true
false
CRE are created by rat and related functions. Extended CRE are created by taylor and related functions.
rat
taylor