Dgp2Dcp canonicalizer for the trace atom
Dgp2Dcp.trace_canon(expr, args)
expr
: An Expression objectargs
: A list of values for the expr variableA canonicalization of the trace atom of a DGP expression, where the returned expression is the transformed DCP equivalent.