(rv, max=4, pow=False)
return _TR56(rv, cos, sin, lambda x: 1 - x, max=max, pow=pow)
Replacement of cos**2 with 1 - sin(x)**2.

    See _TR56 docstring for advanced use of ``max`` and ``pow``.

    Examples
    ========

    >>> from sympy.simplify.fu import TR6
    >>> from sympy.abc import x
    >>> from sympy import cos
    >>> TR6(cos(x)**2)
    -sin(x)**2 + 1
    >>> TR6(cos(x)**-2)  #unchanged
    cos(x)**(-2)
    >>> TR6(cos(x)**4)
    (-sin(x)**2 + 1)**2
Replacement of cos**2 with 1 - sin(x)**2.
Replacement of cos ** 2 with 1 - sin ( x ) ** 2 .
def TR6(rv, max=4, pow=False):
    """Replacement of cos**2 with 1 - sin(x)**2.

    See _TR56 docstring for advanced use of ``max`` and ``pow``.

    Examples
    ========

    >>> from sympy.simplify.fu import TR6
    >>> from sympy.abc import x
    >>> from sympy import cos
    >>> TR6(cos(x)**2)
    -sin(x)**2 + 1
    >>> TR6(cos(x)**-2)  #unchanged
    cos(x)**(-2)
    >>> TR6(cos(x)**4)
    (-sin(x)**2 + 1)**2
    """
    return _TR56(rv, cos, sin, lambda x: 1 - x, max=max, pow=pow)
def TR6 ( rv , max = 4 , pow = False ) : return _TR56 ( rv , cos , sin , lambda x : 1 - x , max = max , pow = pow )