+
    	åûjˆ¬  ã                  óâ  € ^ RI Ht ^ RIHtHtHtHtHtHtH	t	 ^ RI
Ht ^ RIHt ^ RIHtHtHtHtHtHt ^ RIHtHt ^ RIHtHtHt ^ RIHt ^ R	IHt ^ R
I H!t! ^ RI"H#t#  ! R R]4      t$ ! R R]4      t% ! R R]4      t& ! R R]4      t' ! R R]4      t( ! R R]4      t) ! R R]4      t* ! R R]4      t+ ! R R]4      t, ! R R]4      t-R  t. ! R! R"]4      t/R(R# lt0R)R$ lt1R(R% lt2R*R' lt3R&# )+é    )Úannotations)ÚSÚAddÚMulÚsympifyÚSymbolÚDummyÚBasic)ÚExpr)Úfactor_terms)ÚDefinedFunctionÚ
DerivativeÚArgumentIndexErrorÚAppliedUndefÚ
expand_mulÚ	PoleError)Ú	fuzzy_notÚfuzzy_or)ÚpiÚIÚoo)ÚPow)ÚEq)Úsqrt)Ú	Piecewisec                  óp   € ] tR t^t$ RtR]R&   RtRtRt]	R 4       t
RR ltR tR tR	 tR
 tR tR tRtR# )Úrea{  
Returns real part of expression. This function performs only
elementary analysis and so it will fail to decompose properly
more complicated expressions. If completely simplified result
is needed then use ``Basic.as_real_imag()`` or perform complex
expansion on instance of this function.

Examples
========

>>> from sympy import re, im, I, E, symbols
>>> x, y = symbols('x y', real=True)
>>> re(2*E)
2*E
>>> re(2*I + 17)
17
>>> re(2*I)
0
>>> re(im(x) + x*I + 2)
2
>>> re(5 + I + 2)
7

Parameters
==========

arg : Expr
    Real or complex expression.

Returns
=======

expr : Expr
    Real part of expression.

See Also
========

im
útuple[Expr]ÚargsTc                	ót  € V\         P                  J d   \         P                  # V\         P                  J d   \         P                  # VP                  '       d   V# VP                  '       g   \
        V,          P                  '       d   \         P                  # VP                  '       d   VP                  4       ^ ,          # VP                  '       d3   \        V\        4      '       d   \        VP                  ^ ,          4      # . . . rCp\        P                  ! V4      pV FÈ  pVP!                  \
        4      pVe(   VP                  '       g   VP#                  V4       KA  KC  VP%                  \
        4      '       g&   VP                  '       d   VP#                  V4       Kƒ  VP                  VR7      pV'       d   VP#                  V^ ,          4       K·  VP#                  V4       KÊ  	  \'        V4      \'        V4      8w  d.   R W#V3 4       w  ršpV ! V	4      \)        V
4      ,
          V,           # R# )r   N©Úignorec              3  ó4   "  € T F  p\        V!  x € K  	  R # 5i©N©r   ©Ú.0Úxss   & Ú`C:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\sympy\functions\elementary\complexes.pyÚ	<genexpr>Úre.eval.<locals>.<genexpr>i   ó   é € ÐMÑ.L¨œ3 ž8Ó.Lùó   ‚)r   ÚNaNÚComplexInfinityÚis_extended_realÚis_imaginaryr   ÚZeroÚ	is_MatrixÚas_real_imagÚis_FunctionÚ
isinstanceÚ	conjugater   r   r   Ú	make_argsÚas_coefficientÚappendÚhasÚlenÚim©ÚclsÚargÚincludedÚrevertedÚexcludedr   ÚtermÚcoeffÚ	real_imagÚaÚbÚcs   &&          r)   ÚevalÚre.evalD   s—  € à”!—%‘%‹<Ü—5‘5ˆLØ”A×%Ñ%Ó%Ü—5‘5ˆLØ×!×!Ð!ØˆJØ××Ð¤! C¥%×!9×!9Ð!9Ü—6‘6ˆMØ�]�]ˆ]Ø×#Ñ#Ó% aÕ(Ð(Ø�_�_ˆ_¤¨C´×!;Ò!;Ü�c—h‘h˜q•k“?Ð"ð ,.¨r°2 ˆHÜ—=’= Ó%ˆDÛ�Ø×+Ñ+¬AÓ.�àÒ$Ø ×1×1Ð1Ø Ÿ™¨Ö.ñ 2àŸ™¤!Ÿš¨×)>×)>Ð)>Ø—O‘O DÖ)ð
 !%× 1Ñ 1¸Ð 1Ó =�Iß Ø Ÿ™¨	°!­Ö5à Ÿ™¨Ö-ñ! ô$ �4‹yœC ›MÔ)ÙM¨xÀ8Ñ.LÓM‘��aá˜1“v¤ 1£•~¨Õ)Ð)ñ *ó    c                ó&   € V \         P                  3# )z6
Returns the real number with a zero imaginary part.

©r   r2   ©ÚselfÚdeepÚhintss   &&,r)   r4   Úre.as_real_imagm   ó   € ð
 ”a—f‘fˆ~ÐrL   c           	     	ó’  € VP                   '       g$   V P                  ^ ,          P                   '       d)   \        \        V P                  ^ ,          VRR7      4      # VP                  '       g$   V P                  ^ ,          P                  '       d5   \
        ) \        \        V P                  ^ ,          VRR7      4      ,          # R# ©r   T©ÚevaluateN)r0   r   r   r   r1   r   r=   ©rP   Úxs   &&r)   Ú_eval_derivativeÚre._eval_derivativet   óˆ   € Ø××Ð §¡¨1¥×!>×!>Ð!>Ü”j §¡¨1¥¨q¸4Ô@ÓAÐAØ�>�>ˆ>˜TŸY™Y q�\×6×6Ð6Ü�2Ü”Z §	¡	¨!¥¨a¸$Ô?Ó@õAð Añ 7rL   c                	ó€   € V P                   ^ ,          \        \        V P                   ^ ,          4      ,          ,
          # ©r   )r   r   r=   ©rP   r@   Úkwargss   &&,r)   Ú_eval_rewrite_as_imÚre._eval_rewrite_as_im{   s'   € Ø�y‰y˜�|œa¤ 4§9¡9¨Q¥<Ó 0Õ0Õ0Ð0rL   c                	ó<   € V P                   ^ ,          P                  # r_   ©r   Úis_algebraic©rP   s   &r)   Ú_eval_is_algebraicÚre._eval_is_algebraic~   ó   € Ø�y‰y˜�|×(Ñ(Ð(rL   c                	óˆ   € \        V P                  ^ ,          P                  V P                  ^ ,          P                  .4      # r_   )r   r   r1   Úis_zerorg   s   &r)   Ú_eval_is_zeroÚre._eval_is_zero�   s.   € ä˜Ÿ™ 1�×2Ñ2°D·I±I¸aµL×4HÑ4HÐIÓJÐJrL   c                	óP   € V P                   ^ ,          P                  '       d   R# R# ©r   TN©r   Ú	is_finiterg   s   &r)   Ú_eval_is_finiteÚre._eval_is_finite…   ó   € Ø�9‰9�Q�<×!×!Ð!Ùñ "rL   c                	óP   € V P                   ^ ,          P                  '       d   R# R# rp   rq   rg   s   &r)   Ú_eval_is_complexÚre._eval_is_complex‰   ru   rL   © N©T)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__annotations__r0   Ú
unbranchedÚ_singularitiesÚclassmethodrJ   r4   r[   rb   rh   rm   rs   rw   Ú__static_attributes__ry   rL   r)   r   r      sX   ‡ ñ'ðR ÓàÐØ€JØ€Nàñ&*ó ð&*ôPòAò1ò)òKòörL   r   c                  óp   € ] tR t^Žt$ RtR]R&   RtRtRt]	R 4       t
RR ltR tR tR	 tR
 tR tR tRtR# )r=   as  
Returns imaginary part of expression. This function performs only
elementary analysis and so it will fail to decompose properly more
complicated expressions. If completely simplified result is needed then
use ``Basic.as_real_imag()`` or perform complex expansion on instance of
this function.

Examples
========

>>> from sympy import re, im, E, I
>>> from sympy.abc import x, y
>>> im(2*E)
0
>>> im(2*I + 17)
2
>>> im(x*I)
re(x)
>>> im(re(x) + y)
im(y)
>>> im(2 + 3*I)
3

Parameters
==========

arg : Expr
    Real or complex expression.

Returns
=======

expr : Expr
    Imaginary part of expression.

See Also
========

re
r   r   Tc                	óŽ  € V\         P                  J d   \         P                  # V\         P                  J d   \         P                  # VP                  '       d   \         P                  # VP
                  '       g   \        V,          P                  '       d   \        ) V,          # VP                  '       d   VP                  4       ^,          # VP                  '       d4   \        V\        4      '       d   \        VP                  ^ ,          4      ) # . . . rCp\        P                  ! V4      pV FÈ  pVP!                  \        4      pVe9   VP                  '       g   VP#                  V4       KA  VP#                  V4       KT  VP%                  \        4      '       g   VP                  '       d   Kƒ  VP                  VR7      pV'       d   VP#                  V^,          4       K·  VP#                  V4       KÊ  	  \'        V4      \'        V4      8w  d.   R W#V3 4       w  ršpV ! V	4      \)        V
4      ,           V,           # R# )é   Nr!   c              3  ó4   "  € T F  p\        V!  x € K  	  R # 5ir$   r%   r&   s   & r)   r*   Úim.eval.<locals>.<genexpr>â   r,   r-   )r   r.   r/   r0   r2   r1   r   r3   r4   r5   r6   r7   r=   r   r   r8   r9   r:   r;   r<   r   r>   s   &&          r)   rJ   Úim.eval¾   s™  € à”!—%‘%‹<Ü—5‘5ˆLØ”A×%Ñ%Ó%Ü—5‘5ˆLØ×!×!Ð!Ü—6‘6ˆMØ××Ð¤! C¥%×!9×!9Ð!9Ü�2˜•8ˆOØ�]�]ˆ]Ø×#Ñ#Ó% aÕ(Ð(Ø�_�_ˆ_¤¨C´×!;Ò!;Ü�s—x‘x •{“OÐ#Ð#à+-¨r°2 ˆHÜ—=’= Ó%ˆDÛ�Ø×+Ñ+¬AÓ.�àÒ$Ø ×1×1Ð1Ø Ÿ™¨Ö.à Ÿ™¨Ö.Ø—X‘Xœa—[’[¨×(=×(=Ò(=ð !%× 1Ñ 1¸Ð 1Ó =�Iß Ø Ÿ™¨	°!­Ö5à Ÿ™¨Ö-ñ! ô$ �4‹yœC ›MÔ)ÙM¨xÀ8Ñ.LÓM‘��aá˜1“v¤ 1£•~¨Õ)Ð)ñ *rL   c                ó&   € V \         P                  3# )z3
Return the imaginary part with a zero real part.

rN   rO   s   &&,r)   r4   Úim.as_real_imagæ   rT   rL   c           	     	ó’  € VP                   '       g$   V P                  ^ ,          P                   '       d)   \        \        V P                  ^ ,          VRR7      4      # VP                  '       g$   V P                  ^ ,          P                  '       d5   \
        ) \        \        V P                  ^ ,          VRR7      4      ,          # R# rV   )r0   r   r=   r   r1   r   r   rY   s   &&r)   r[   Úim._eval_derivativeí   r]   rL   c                	ó‚   € \         ) V P                  ^ ,          \        V P                  ^ ,          4      ,
          ,          # r_   )r   r   r   r`   s   &&,r)   Ú_eval_rewrite_as_reÚim._eval_rewrite_as_reô   s)   € Üˆr�4—9‘9˜Q•<¤" T§Y¡Y¨q¥\Ó"2Õ2Õ3Ð3rL   c                	ó<   € V P                   ^ ,          P                  # r_   re   rg   s   &r)   rh   Úim._eval_is_algebraic÷   rj   rL   c                	ó<   € V P                   ^ ,          P                  # r_   ©r   r0   rg   s   &r)   rm   Úim._eval_is_zeroú   ó   € Ø�y‰y˜�|×,Ñ,Ð,rL   c                	óP   € V P                   ^ ,          P                  '       d   R# R# rp   rq   rg   s   &r)   rs   Úim._eval_is_finiteý   ru   rL   c                	óP   € V P                   ^ ,          P                  '       d   R# R# rp   rq   rg   s   &r)   rw   Úim._eval_is_complex  ru   rL   ry   Nrz   )r{   r|   r}   r~   r   r€   r0   r�   r‚   rƒ   rJ   r4   r[   r�   rh   rm   rs   rw   r„   ry   rL   r)   r=   r=   Ž   sW   ‡ ñ'ðR ÓàÐØ€JØ€Nàñ%*ó ð%*ôNòAò4ò)ò-òörL   r=   c                  óœ   a € ] tR tRtRtRtRtV 3R lt]R 4       t	R t
R tR tR	 tR
 tR tR tR tR tRR ltR tR tR tR tRtV ;t# )Úsigni	  aR  
Returns the complex sign of an expression:

Explanation
===========

If the expression is real the sign will be:

    * $1$ if expression is positive
    * $0$ if expression is equal to zero
    * $-1$ if expression is negative

If the expression is imaginary the sign will be:

    * $I$ if im(expression) is positive
    * $-I$ if im(expression) is negative

Otherwise an unevaluated expression will be returned. When evaluated, the
result (in general) will be ``cos(arg(expr)) + I*sin(arg(expr))``.

Examples
========

>>> from sympy import sign, I

>>> sign(-1)
-1
>>> sign(0)
0
>>> sign(-3*I)
-I
>>> sign(1 + I)
sign(1 + I)
>>> _.evalf()
0.707106781186548 + 0.707106781186548*I

Parameters
==========

arg : Expr
    Real or imaginary expression.

Returns
=======

expr : Expr
    Complex sign of expression.

See Also
========

Abs, conjugate
Tc                	óÚ   <€ \         SV `  4       pW 8X  dV   V P                  ^ ,          P                  RJ d5   V P                  ^ ,          \	        V P                  ^ ,          4      ,          # V# )r   F)ÚsuperÚdoitr   rl   ÚAbs)rP   rR   ÚsÚ	__class__s   &, €r)   r    Ú	sign.doitC  sM   ø€ Ü‰G‰L‹NˆØŒ9˜Ÿ™ 1�×-Ñ-°Ó6Ø—9‘9˜Q•<¤# d§i¡i°¥lÓ"3Õ3Ð3ØˆrL   c                	óÔ  € VP                   '       Ed   VP                  4       w  r#. p\        V4      pV F§  pVP                  '       d   V) pK  VP                  '       d   K.  VP
                  '       dW   \        V4      pVP                  '       d'   V\        ,          pVP                  '       d   V) pK�  Kƒ  VP                  V4       K–  VP                  V4       K©  	  V\        P                  J d   \        V4      \        V4      8X  d   R # WP! VP                  ! V!  4      ,          # V\        P                  J d   \        P                  # VP                  '       d   \        P                   # VP                  '       d   \        P                  # VP                  '       d   \        P"                  # VP$                  '       d   \'        V\        4      '       d   V# VP
                  '       dx   VP(                  '       d%   VP*                  \        P,                  J d   \        # \        ) V,          pVP                  '       d   \        # VP                  '       d   \        ) # R # R # r$   )Úis_MulÚas_coeff_mulr�   Úis_extended_negativeÚis_extended_positiver1   r=   Úis_comparabler   r:   r   ÚOner<   Ú_new_rawargsr.   rl   r2   ÚNegativeOner5   r6   Úis_PowÚexpÚHalf)	r?   r@   rI   r   Úunkr¢   rG   ÚaiÚarg2s	   &&       r)   rJ   Ú	sign.evalI  sº  € ð �:�:‰:Ø×&Ñ&Ó(‰GˆAØˆCÜ�Q“ˆAÛ�Ø×)×)Ð)Ø˜’AØ×+×+Ð+Ùà—~—~�~Ü ›U˜Ø×+×+Ð+Ø¤�F˜AØ!×6×6Ð6ð &' B¢ñ  7ð
  ŸJ™J qžMàŸ
™
 1žñ# ð$ ”A—E‘E‹zœc #›h¬#¨d«)Ô3ÙØ�s˜3×+Ò+¨SÑ1Ó2Õ2Ð2Ø”!—%‘%‹<Ü—5‘5ˆLØ�;�;ˆ;Ü—6‘6ˆMØ×#×#Ð#Ü—5‘5ˆLØ×#×#Ð#Ü—=‘=Ð Ø�?�?ˆ?Ü˜#œt×$Ò$Ø�
Ø××ÐØ�z�zˆz˜cŸg™g¬¯©Ó/ô �Ü�2˜•8ˆDØ×(×(Ð(Ü�Ø×(×(Ð(Ü�r�	ñ )ñ rL   c                	ó~   € \        V P                  ^ ,          P                  4      '       d   \        P                  # R# ©r   N)r   r   rl   r   r«   rg   s   &r)   Ú	_eval_AbsÚsign._eval_Abs{  s)   € Ü�T—Y‘Y˜q•\×)Ñ)×*Ò*Ü—5‘5ˆLñ +rL   c                	óL   € \        \        V P                  ^ ,          4      4      # r_   )r�   r7   r   rg   s   &r)   Ú_eval_conjugateÚsign._eval_conjugate  s   € Ü”I˜dŸi™i¨�lÓ+Ó,Ð,rL   c                	óÒ  € V P                   ^ ,          P                  '       dK   ^ RIHp ^\	        V P                   ^ ,          VRR7      ,          V! V P                   ^ ,          4      ,          # V P                   ^ ,          P
                  '       dW   ^ RIHp ^\	        V P                   ^ ,          VRR7      ,          V! \        ) V P                   ^ ,          ,          4      ,          # R# )r   )Ú
DiracDeltaTrW   N)r   r0   Ú'sympy.functions.special.delta_functionsr½   r   r1   r   )rP   rZ   r½   s   && r)   r[   Úsign._eval_derivative‚  s¢   € Ø�9‰9�Q�<×(×(Ð(ÝJØ”z $§)¡)¨A¥,°¸DÔAÕAÙ˜TŸY™Y q�\Ó*õ+ð +à�Y‰Y�q�\×&×&Ð&ÝJØ”z $§)¡)¨A¥,°¸DÔAÕAÙœa˜R $§)¡)¨A¥,Õ.Ó/õ0ð 0ñ 'rL   c                	óP   € V P                   ^ ,          P                  '       d   R# R# rp   )r   Úis_nonnegativerg   s   &r)   Ú_eval_is_nonnegativeÚsign._eval_is_nonnegativeŒ  ó   € Ø�9‰9�Q�<×&×&Ð&Ùñ 'rL   c                	óP   € V P                   ^ ,          P                  '       d   R# R# rp   )r   Úis_nonpositiverg   s   &r)   Ú_eval_is_nonpositiveÚsign._eval_is_nonpositive�  rÄ   rL   c                	ó<   € V P                   ^ ,          P                  # r_   )r   r1   rg   s   &r)   Ú_eval_is_imaginaryÚsign._eval_is_imaginary”  rj   rL   c                	ó<   € V P                   ^ ,          P                  # r_   r•   rg   s   &r)   Ú_eval_is_integerÚsign._eval_is_integer—  r—   rL   c                	ó<   € V P                   ^ ,          P                  # r_   )r   rl   rg   s   &r)   rm   Úsign._eval_is_zeroš  s   € Ø�y‰y˜�|×#Ñ#Ð#rL   c                	óÎ   € \        V P                  ^ ,          P                  4      '       d9   VP                  '       d%   VP                  '       d   \
        P                  # R# R# R# r¶   )r   r   rl   Ú
is_integerÚis_evenr   r«   )rP   Úothers   &&r)   Ú_eval_powerÚsign._eval_power�  sH   € ä�d—i‘i •l×*Ñ*×+Ò+Ø××ÐØ�M�MˆMä—5‘5ˆLñ ñ ñ ,rL   c                	ó  € V P                   ^ ,          pVP                  V^ 4      pV^ 8w  d   V P                  V4      # V^ 8w  d   VP                  W4      p\	        V4      ^ 8  d   \
        P                  ) # \
        P                  # r_   )r   ÚsubsÚfuncÚdirr   r   r«   )rP   rZ   ÚnÚlogxÚcdirÚarg0Úx0s   &&&&&  r)   Ú_eval_nseriesÚsign._eval_nseries¥  sg   € Ø�y‰y˜�|ˆØ�Y‰Y�q˜!‹_ˆØ�Œ7Ø—9‘9˜R“=Ð Ø�1Œ9Ø—8‘8˜AÓ$ˆDÜ˜D› Aœ”—‘ˆvÐ0¬1¯5©5Ð0rL   c                	óX   € VP                   '       d   \        ^V^ 8„  3RV^ 8  3R4      # R# )r‡   Néÿÿÿÿ©r   T)r0   r   r`   s   &&,r)   Ú_eval_rewrite_as_PiecewiseÚsign._eval_rewrite_as_Piecewise®  s2   € Ø××ÐÜ˜a  q¡˜\¨B°°a±¨=¸)ÓDÐDñ  rL   c                	ób   € ^ RI Hp VP                  '       d   V! V4      ^,          ^,
          # R# ©r   )Ú	HeavisideN©r¾   ré   r0   ©rP   r@   ra   ré   s   &&, r)   Ú_eval_rewrite_as_HeavisideÚsign._eval_rewrite_as_Heaviside²  s*   € ÝEØ××ÐÙ˜S“> AÕ%¨Õ)Ð)ñ  rL   c                	óV   € \        ^ \        V^ 4      3V\        V4      ,          R34      # rä   )r   r   r¡   r`   s   &&,r)   Ú_eval_rewrite_as_AbsÚsign._eval_rewrite_as_Abs·  s&   € Ü˜!œR  Q›Z˜¨3´°S³­>¸4Ð*@ÓAÐArL   c                	óX   € V P                  \        V P                  ^ ,          4      4      # r_   )rÙ   r   r   )rP   ra   s   &,r)   Ú_eval_simplifyÚsign._eval_simplifyº  s   € Ø�y‰yœ d§i¡i°¥lÓ3Ó4Ð4rL   ry   r_   )r{   r|   r}   r~   r   Ú
is_complexr‚   r    rƒ   rJ   r·   rº   r[   rÂ   rÇ   rÊ   rÍ   rm   rÕ   rà   rå   rì   rï   rò   r„   Ú__classcell__)r£   s   @r)   r�   r�   	  s|   ø† ñ4ðl €JØ€Nõð ñ/ó ð/òbò-ò0òòò)ò-ò$òô1òEò*ò
B÷5ð 5rL   r�   c                  ó¸   € ] tR tRt$ RtR]R&   RtRtRtRt	Rt
RR lt]R 4       tR	 tR
 tR tR tR tR tR tR tR tR tRR ltR tR tR tR tR tRtR# )r¡   i¾  aº  
Return the absolute value of the argument.

Explanation
===========

This is an extension of the built-in function ``abs()`` to accept symbolic
values.  If you pass a SymPy expression to the built-in ``abs()``, it will
pass it automatically to ``Abs()``.

Examples
========

>>> from sympy import Abs, Symbol, S, I
>>> Abs(-1)
1
>>> x = Symbol('x', real=True)
>>> Abs(-x)
Abs(x)
>>> Abs(x**2)
x**2
>>> abs(-x) # The Python built-in
Abs(x)
>>> Abs(3*x + 2*I)
sqrt(9*x**2 + 4)
>>> Abs(8*I)
8

Note that the Python built-in will return either an Expr or int depending on
the argument::

    >>> type(abs(-1))
    <... 'int'>
    >>> type(abs(S.NegativeOne))
    <class 'sympy.core.numbers.One'>

Abs will always return a SymPy object.

Parameters
==========

arg : Expr
    Real or complex expression.

Returns
=======

expr : Expr
    Absolute value returned can be an expression or integer depending on
    input arg.

See Also
========

sign, conjugate
r   r   TFc                ó^   € V^8X  d   \        V P                  ^ ,          4      # \        W4      h)z5
Get the first derivative of the argument to Abs().

)r�   r   r   )rP   Úargindexs   &&r)   ÚfdiffÚ	Abs.fdiff   s)   € ð
 �qŒ=Ü˜Ÿ	™	 !�Ó%Ð%ä$ TÓ4Ð4rL   c           
     	ó„  aa€ ^ RI Hp \        SR4      '       d   SP                  4       pVe   V# \	        S\
        4      '       g   \        R\        S4      ,          4      hV! SRR7      oSP                  4       w  rEVP                  '       d(   VP                  '       g   V ! V4      V ! V4      ,          # SP                  '       Ed5   . p. pSP                   Fæ  pVP                  '       d•   VP                  P                  '       dy   VP                  P                  '       d]   V ! VP                   4      p	\	        W�4      '       d   VP#                  V4       Kƒ  VP#                  \%        W˜P                  4      4       K©  V ! V4      p
\	        W 4      '       d   VP#                  V4       KÕ  VP#                  V
4       Kè  	  \'        V!  pV'       d   V ! \'        V!  RR7      M\(        P*                  pWg,          # S\(        P,                  J d   \(        P,                  # S\(        P.                  J d   \0        # ^ RIHpHp SP                  '       EdN   SP7                  4       w  rÞVP8                  '       dÊ   VP                  '       dK   VP:                  '       d   S# V\(        P<                  J d   \(        P*                  # \?        V4      V,          # VP@                  '       d   V\C        V4      ,          # VPD                  '       d6   V) \C        V4      ,          V! \F        ) \I        V4      ,          4      ,          # R# VPK                  \L        4      '       gF   V! V4      PO                  4       w  ppV\P        V,          ,           pV! \C        VV,          4      4      # \	        SV4      '       d#   V! \C        SP                  ^ ,          4      4      # \	        S\R        4      '       d,   SPT                  '       d   S# SP                  '       d   S) # R# SPV                  '       d‡   SPK                  \0        \(        PX                  4      '       d]   \Z        ;QJ d*    R SPO                  4        4       F  '       g   K   R	M	  RM! R SPO                  4        4       4      '       d   \0        # SP\                  '       d   \(        P^                  # SP@                  '       d   S# SP`                  '       d   S) # SPb                  '       d#   \P        ) S,          pVP@                  '       d   V# SP8                  '       d   R# V! SPe                  4       RR7      oSPg                  \d        4      SPg                  \d        4      ,
          pV'       dC   \h        ;QJ d    V3R
 lV 4       F  '       d   K   RM	  R	M! V3R
 lV 4       4      '       d   R# SS8w  dÛ   SS) 8w  dÑ   SPg                  \>        4      pSPk                  V Uu/ uF  pV\m        R	R7      bK  	  up4      pVP                   Uu. uF  qÿP8                  e   K  VNK  	  ppV'       dA   \h        ;QJ d    V3R lV 4       F  '       d   K   RM	  R	M! V3R lV 4       4      '       g   \o        \q        SS,          4      4      # R# R# R# u upi u upi )r   )Úsignsimpr·   NzBad argument type for Abs(): %sFrW   )r¯   Úlogc              3  ó8   "  € T F  qP                   x € K  	  R # 5ir$   )Úis_infinite)r'   rG   s   & r)   r*   ÚAbs.eval.<locals>.<genexpr>P  s   é € Ð=Ñ*< Q—=–=Ó*<ùs   ‚Tc              3  óh   <"  € T F'  pSP                  VP                  ^ ,          4      x € K)  	  R# 5ir¶   )r;   r   )r'   Úir@   s   & €r)   r*   r   b  s%   øé € ÐA¹°1˜CŸG™G A§F¡F¨1¥I×.Ð.»ùs   ƒ/2)Úrealc              3  óX   <"  € T F  pSP                  \        V4      4      x € K!  	  R # 5ir$   )r;   r7   )r'   ÚuÚconjs   & €r)   r*   r   h  s!   øé € Ð!FÁ#¸Q $§(¡(¬9°Q«<×"8Ð"8Ã#ùs   ƒ'*)9Úsympy.simplify.simplifyrü   Úhasattrr·   r6   r   Ú	TypeErrorÚtypeÚas_numer_denomÚfree_symbolsr¦   r   r®   r¯   rÒ   Úis_negativeÚbaser:   r   r   r   r«   r.   r/   r   Ú&sympy.functions.elementary.exponentialrý   Úas_base_expr0   rÓ   r­   r¡   Úis_extended_nonnegativer   r¨   r   r=   r;   r   r4   r   r   Úis_positiveÚis_AddÚNegativeInfinityÚanyrl   r2   Úis_extended_nonpositiver1   r7   ÚatomsÚallÚxreplacer	   r   r   )r?   r@   rü   ÚobjrÛ   ÚdÚknownr±   ÚtÚbnewÚtnewr¯   rý   r  ÚexponentrG   rH   Úzr³   Únew_conjr"   r  Úabs_free_argr  s   &f                     @r)   rJ   ÚAbs.eval
  s¡  ù€ å4ä�3˜×$Ò$Ø—-‘-“/ˆCØŠØ�
Ü˜#œt×$Ò$ÜÐ=ÄÀSÃ	ÕIÓJÐJñ �s UÔ+ˆØ×!Ñ!Ó#‰ˆØ�>�>ˆ> !§.§. .Ù�q“6™#˜a›&•=Ð à�:�:‰:ØˆEØˆCØ—X”X�Ø—8—8�8 §¡× 0× 0Ð 0°Q·U±U×5F×5FÐ5FÙ˜qŸv™v›;�DÜ! $×,Ò,ØŸ
™
 1žàŸ™¤S¨¯u©uÓ%5Ö6á˜q›6�DÜ! $×,Ò,ØŸ
™
 1žàŸ™ TÖ*ñ ô ˜‘KˆEß47‘#”c˜3‘i¨%Õ0¼Q¿U¹UˆCØ•9ÐØ”!—%‘%‹<Ü—5‘5ˆLØ”!×#Ñ#Ó#ÜˆIßCà�:�:‰:Ø Ÿ_™_Ó.‰NˆDØ×$×$Ð$Ø×&×&Ð&Ø×'×'Ð'Ø"˜
ØœqŸ}™}Ó,Ü Ÿu™u˜Ü˜t›9 hÕ.Ð.Ø×/×/Ð/Ø¤ H£Õ-Ð-Ø×,×,Ð,Ø!˜E¤B x£LÕ0±´b°S¼¸H»Õ5EÓ1FÕFÐFÙØ—X‘Xœf×%Ò%á˜4“y×-Ñ-Ó/‘��1Øœ˜!�•G�Ùœ2˜h q�j›>Ó*Ð*Ü�c˜3×ÒÙ”r˜#Ÿ(™( 1�+“Ó'Ð'Ü�cœ<×(Ò(Ø��ˆØ�
Ø——�Ø�t�ÙØ�:�:ˆ:˜#Ÿ'™'¤"¤a×&8Ñ&8×9Ò9ß‹sÑ=¨#×*:Ñ*:Ô*<Ó=�s�sŠsÑ=¨#×*:Ñ*:Ô*<Ó=×=Ò=Ü�	Ø�;�;ˆ;Ü—6‘6ˆMØ×&×&Ð&ØˆJØ×&×&Ð&Ø�4ˆKØ××ÐÜ�2˜•8ˆDØ×+×+Ð+Ø�Ø××ÐÙñ ˜Ÿ™›°%Ô8ˆØ—:‘:œiÓ(¨3¯9©9´YÓ+?Õ?ˆßŸ›ÔA¹ÓAŸŸšÔA¹ÓA×AÒAÙØ�$Œ;˜3 4 %œ<Ø—Y‘Yœs“^ˆFØŸ<™<ÁfÓ(MÁfÀ¨¬E°tÔ,<Ò)<ÁfÑ(MÓNˆLØ*×7Ò7ÓVÑ7˜×;MÑ;M—1�1Ñ7ˆCÐVßŸc›cÔ!FÁ#Ó!FŸcŸcšcÔ!FÁ#Ó!F×FÒFÜœJ s¨4¥xÓ0Ó1Ð1ñ Gñ	 (‰;ùâ(MùÚVs   ØZ8Ø3Z=ÙZ=c                	óP   € V P                   ^ ,          P                  '       d   R# R# rp   rq   rg   s   &r)   Ú_eval_is_realÚAbs._eval_is_realk  ru   rL   c                	ó†   € V P                   ^ ,          P                  '       d   V P                   ^ ,          P                  # R# r¶   )r   r0   rÒ   rg   s   &r)   rÍ   ÚAbs._eval_is_integero  s/   € Ø�9‰9�Q�<×(×(Ð(Ø—9‘9˜Q•<×*Ñ*Ð*ñ )rL   c                	óN   € \        V P                  ^ ,          P                  4      # r_   ©r   Ú_argsrl   rg   s   &r)   Ú_eval_is_extended_nonzeroÚAbs._eval_is_extended_nonzeros  ó   € Ü˜Ÿ™ A�×.Ñ.Ó/Ð/rL   c                	ó<   € V P                   ^ ,          P                  # r_   )r,  rl   rg   s   &r)   rm   ÚAbs._eval_is_zerov  s   € Ø�z‰z˜!�}×$Ñ$Ð$rL   c                	óN   € \        V P                  ^ ,          P                  4      # r_   r+  rg   s   &r)   Ú_eval_is_extended_positiveÚAbs._eval_is_extended_positivey  r/  rL   c                	ó†   € V P                   ^ ,          P                  '       d   V P                   ^ ,          P                  # R# r¶   )r   r0   Úis_rationalrg   s   &r)   Ú_eval_is_rationalÚAbs._eval_is_rational|  s/   € Ø�9‰9�Q�<×(×(Ð(Ø—9‘9˜Q•<×+Ñ+Ð+ñ )rL   c                	ó†   € V P                   ^ ,          P                  '       d   V P                   ^ ,          P                  # R# r¶   )r   r0   rÓ   rg   s   &r)   Ú_eval_is_evenÚAbs._eval_is_even€  s/   € Ø�9‰9�Q�<×(×(Ð(Ø—9‘9˜Q•<×'Ñ'Ð'ñ )rL   c                	ó†   € V P                   ^ ,          P                  '       d   V P                   ^ ,          P                  # R# r¶   )r   r0   Úis_oddrg   s   &r)   Ú_eval_is_oddÚAbs._eval_is_odd„  s/   € Ø�9‰9�Q�<×(×(Ð(Ø—9‘9˜Q•<×&Ñ&Ð&ñ )rL   c                	ó<   € V P                   ^ ,          P                  # r_   re   rg   s   &r)   rh   ÚAbs._eval_is_algebraicˆ  rj   rL   c                	ód  € V P                   ^ ,          P                  '       d�   VP                  '       d{   VP                  '       d   V P                   ^ ,          V,          # V\        P
                  Jd;   VP                  '       d)   V P                   ^ ,          V^,
          ,          V ,          # R# r¶   )r   r0   rÒ   rÓ   r   r­   Ú
is_Integer)rP   r   s   &&r)   rÕ   ÚAbs._eval_power‹  sv   € Ø�9‰9�Q�<×(×(Ð(¨X×-@×-@Ð-@Ø××ÐØ—y‘y •| XÕ-Ð-Ø¤§¡Ó.°8×3F×3FÐ3FØ—y‘y •| h°¥lÕ3°DÕ8Ð8ÙrL   c                	óR  € ^ RI Hp V P                  ^ ,          P                  V4      ^ ,          pVP	                  V! V4      4      '       d   VP                  V! V4      V4      pV P                  ^ ,          P                  WVR7      p\        V4      V,          P                  4       # )r   )rý   )rÛ   rÜ   )	r  rý   r   Úleadtermr;   rØ   rà   r�   Úexpand)rP   rZ   rÛ   rÜ   rÝ   rý   Ú	directionr¢   s   &&&&&   r)   rà   ÚAbs._eval_nseries“  s~   € Ý>Ø—I‘I˜a•L×)Ñ)¨!Ó,¨QÕ/ˆ	Ø�=‰=™˜Q›× Ò Ø!Ÿ™¡s¨1£v¨tÓ4ˆIØ�I‰I�a�L×&Ñ& q°DÐ&Ó9ˆÜ�Y“ Õ!×)Ñ)Ó+Ð+rL   c                	óº  € V P                   ^ ,          P                  '       g$   V P                   ^ ,          P                  '       dJ   \        V P                   ^ ,          VRR7      \	        \        V P                   ^ ,          4      4      ,          # \        V P                   ^ ,          4      \        \        V P                   ^ ,          4      VRR7      ,          \        V P                   ^ ,          4      \        \        V P                   ^ ,          4      VRR7      ,          ,           \        V P                   ^ ,          4      ,          pVP                  \        4      # ©r   TrW   )
r   r0   r1   r   r�   r7   r   r=   r¡   Úrewrite)rP   rZ   Úrvs   && r)   r[   ÚAbs._eval_derivative›  sé   € Ø�9‰9�Q�<×(×(Ð(¨D¯I©I°a­L×,E×,EÐ,EÜ˜dŸi™i¨�l¨A¸Ô=Ü”y §¡¨1¥Ó.Ó/õ0ð 0ä�—‘˜1•Ó¤¬B¨t¯y©y¸­|Ó,<¸aØô"õ Ü §	¡	¨!¥Ó-´
¼2¸d¿i¹iÈ½lÓ;KØ˜Dô1"õ "õ"ä%(¨¯©°1­Ó%6õ7ˆð �z‰zœ$ÓÐrL   c                	ón   € ^ RI Hp VP                  '       d   W! V4      V! V) 4      ,
          ,          # R# rè   rê   rë   s   &&, r)   rì   ÚAbs._eval_rewrite_as_Heaviside¤  s3   € õ 	FØ××ÐØ˜	 #›©°C°4«Õ8Õ9Ð9ñ  rL   c                	óÞ   € VP                   '       d   \        W^ 8¬  3V) R34      # VP                  '       d6   \        \        V,          \        V,          ^ 8¬  3\        ) V,          R34      # R# rp   )r0   r   r1   r   r`   s   &&,r)   rå   ÚAbs._eval_rewrite_as_Piecewise«  s`   € Ø××ÐÜ˜c¨!¡8˜_°¨t°T¨lÓ;Ð;Ø××ÐÜœa �e¤Q s¥U¨a¡ZÐ0´A°2°cµ6¸4°.ÓAÐAñ rL   c                	ó&   € V\        V4      ,          # r$   )r�   r`   s   &&,r)   Ú_eval_rewrite_as_signÚAbs._eval_rewrite_as_sign±  s   € Ø”4˜“9�}ÐrL   c                	ó8   € \        V\        V4      ,          4      # r$   )r   r7   r`   s   &&,r)   Ú_eval_rewrite_as_conjugateÚAbs._eval_rewrite_as_conjugate´  s   € Ü�Cœ	 #›Õ&Ó'Ð'rL   ry   N)r‡   r_   )r{   r|   r}   r~   r   r€   r0   r¨   r  r�   r‚   rù   rƒ   rJ   r&  rÍ   r-  rm   r3  r7  r:  r>  rh   rÕ   rà   r[   rì   rå   rT  rW  r„   ry   rL   r)   r¡   r¡   ¾  s™   ‡ ñ7ðr ÓàÐØ ÐØ"ÐØ€JØ€Nô5ð ñ^2ó ð^2ò@ò+ò0ò%ò0ò,ò(ò'ò)òô,ò ò:òBòö(rL   r¡   c                  óV   € ] tR tRtRtRtRtRtRt]	R 4       t
R tR tR tRR ltR	tR
# )r@   i¸  a  
Returns the argument (in radians) of a complex number. The argument is
evaluated in consistent convention with ``atan2`` where the branch-cut is
taken along the negative real axis and ``arg(z)`` is in the interval
$(-\pi,\pi]$. For a positive number, the argument is always 0; the
argument of a negative number is $\pi$; and the argument of 0
is undefined and returns ``nan``. So the ``arg`` function will never nest
greater than 3 levels since at the 4th application, the result must be
nan; for a real number, nan is returned on the 3rd application.

Examples
========

>>> from sympy import arg, I, sqrt, Dummy
>>> from sympy.abc import x
>>> arg(2.0)
0
>>> arg(I)
pi/2
>>> arg(sqrt(2) + I*sqrt(2))
pi/4
>>> arg(sqrt(3)/2 + I/2)
pi/6
>>> arg(4 + 3*I)
atan(3/4)
>>> arg(0.8 + 0.6*I)
0.643501108793284
>>> arg(arg(arg(arg(x))))
nan
>>> real = Dummy(real=True)
>>> arg(arg(arg(real)))
nan

Parameters
==========

arg : Expr
    Real or complex expression.

Returns
=======

value : Expr
    Returns arc tangent of arg measured in radians.

Tc                	óà  € Tp\        ^4       FT  p\        W 4      '       d   VP                  ^ ,          pK)  V^8X  d%   VP                  '       d   \        P
                  u #  M	  \        P
                  # ^ RIHpHp \        W4      '       d   \        V\        4      # \        W4      '       d‚   \        VP                  ^ ,          4      pVP                  '       dT   V^\        P                  ,          ,          pV\        P                  8”  d   V^\        P                  ,          ,          pV# VP                  '       g   \        V4      P!                  4       w  rxVP"                  '       d?   \%        VP                   Uu. uF   p\'        V4      R9  d   TM
\'        V4      NK"  	  up!  p\'        V4      V,          pMTp\(        ;QJ d/    R VP+                  \,        4       4       F  '       g   K   RM$	  RM ! R VP+                  \,        4       4       4      '       d   R# ^ RIHp	 VP3                  4       w  r«V	! Wº4      pVP4                  '       d   V# W�8w  d   V ! VRR7      # R# u upi )	é   ©r¯   Ú	exp_polarc              3  ó<   "  € T F  qP                   R J x € K  	  R # 5ir$   )r©   )r'   r  s   & r)   r*   Úarg.eval.<locals>.<genexpr>  s   é € ÐPÑ7O°!×%Ñ%¨Õ-Ó7Oùs   ‚TFN©Úatan2rW   )rã   r‡   )Úranger6   r   r0   r   r.   r  r¯   r]  Úperiodic_argumentr   r=   rª   ÚPiÚis_Atomr   Úas_coeff_Mulr¦   r   r�   r  r  r   Ú(sympy.functions.elementary.trigonometricra  r4   Ú	is_number)r?   r@   rG   r  r¯   r]  Úi_rI   Úarg_ra  rZ   ÚyrM  s   &&           r)   rJ   Úarg.evalí  sÀ  € àˆÜ�q–ˆAÜ˜!×!Ò!Ø—F‘F˜1•I’à˜”6˜a×0×0Ð0ÜŸ5™5’LÙñ ô —5‘5ˆLßIÜ�c×%Ò%Ü$ S¬"Ó-Ð-Ü˜×!Ò!Ü�C—H‘H˜Q•K“ˆBØ××ÐØ�aœŸ™•f•�ØœŸ™”9Ø˜!œAŸD™D�&•L�BØ�	à�{�{ˆ{Ü" 3Ó'×4Ñ4Ó6‰GˆAØ�{�{ˆ{ÜØ%)§Y¢Yó0Ù%. ô $(¨£7°'Ô#9™QÜ˜“GòÙ%.ñ0ñ 1�ä˜“7˜4•<‰DàˆDß‹3ÑP°t·z±zÄ,Ô7OÓP�3�3Š3ÑP°t·z±zÄ,Ô7OÓP×PÒPÙÝBØ× Ñ Ó"‰ˆÙ�1‹[ˆØ�<�<ˆ<ØˆIØŒ;Ù�t eÔ,Ð,ñ ùò0s   Æ&I+c                	óÚ   € V P                   ^ ,          P                  4       w  r#V\        W1RR7      ,          V\        W!RR7      ,          ,
          V^,          V^,          ,           ,          # rK  )r   r4   r   )rP   r  rZ   rk  s   &&  r)   r[   Úarg._eval_derivative  sZ   € Ø�y‰y˜�|×(Ñ(Ó*‰ˆØ”J˜q¨dÔ3Õ3°aÜ˜q¨dÔ3õ74õ 4Ø89¸1½¸qÀ!½t½õEð 	ErL   c                	ód   € ^ RI Hp V P                  ^ ,          P                  4       w  rEV! WT4      # )r   r`  )rg  ra  r   r4   )rP   r@   ra   ra  rZ   rk  s   &&,   r)   Ú_eval_rewrite_as_atan2Úarg._eval_rewrite_as_atan2  s'   € ÝBØ�y‰y˜�|×(Ñ(Ó*‰ˆÙ�Q‹{ÐrL   c                	ó0  € V P                   ^ ,          p\        RRR7      pV^ 8X  d   ^pVP                  WV,          4      pVP                  '       d   \        P
                  # VP                  '       d   \        P                  # \        RV ,          4      h)r   r  T)ÚpositivezCannot expand %s around 0)	r   r	   rØ   r  r   r2   r  rd  r   )rP   rZ   rÜ   rÝ   rÞ   r  r!  s   &&&&   r)   Ú_eval_as_leading_termÚarg._eval_as_leading_term   sn   € Ø�y‰y˜�|ˆÜ�# Ô%ˆØ�1Œ9ØˆDØ�I‰I�a˜a�Ó ˆØ�=�=ˆ=Ü—6‘6ˆMØ�]�]ˆ]Ü—4‘4ˆKäÐ7¸4Õ@ÓAÐArL   c                	óR   € ^ RI Hp V^ 8:  d	   V! ^4      # V P                  WVR7      # )r   )ÚOrder)rÜ   rÝ   )Úsympy.series.orderrw  rt  )rP   rZ   rÛ   rÜ   rÝ   rw  s   &&&&& r)   rà   Úarg._eval_nseries-  s+   € Ý,Ø�Œ6Ù˜“8ˆOØ×)Ñ)¨!¸TÐ)ÓBÐBrL   ry   Nr_   )r{   r|   r}   r~   r   r0   Úis_realrr   r‚   rƒ   rJ   r[   rp  rt  rà   r„   ry   rL   r)   r@   r@   ¸  sO   † ñ-ð^ ÐØ€GØ€IØ€Nàñ&-ó ð&-òPEò
ò
B÷Cð CrL   r@   c                  óX   € ] tR tRtRtRt]R 4       tR tR t	R t
R tR	 tR
 tR tRtR# )r7   i4  aÂ  
Returns the *complex conjugate* [1]_ of an argument.
In mathematics, the complex conjugate of a complex number
is given by changing the sign of the imaginary part.

Thus, the conjugate of the complex number
:math:`a + ib` (where $a$ and $b$ are real numbers) is :math:`a - ib`

Examples
========

>>> from sympy import conjugate, I
>>> conjugate(2)
2
>>> conjugate(I)
-I
>>> conjugate(3 + 2*I)
3 - 2*I
>>> conjugate(5 - I)
5 + I

Parameters
==========

arg : Expr
    Real or complex expression.

Returns
=======

arg : Expr
    Complex conjugate of arg as real, imaginary or mixed expression.

See Also
========

sign, Abs

References
==========

.. [1] https://en.wikipedia.org/wiki/Complex_conjugation
Tc                	ó2   € VP                  4       pVe   V# R # r$   )rº   ©r?   r@   r  s   && r)   rJ   Úconjugate.evalb  ó   € à×!Ñ!Ó#ˆØŠ?ØˆJñ rL   c                	ó   € \         # r$   )r7   rg   s   &r)   ÚinverseÚconjugate.inverseh  s   € ÜÐrL   c                	ó>   € \        V P                  ^ ,          RR7      # rK  ©r¡   r   rg   s   &r)   r·   Úconjugate._eval_Absk  ó   € Ü�4—9‘9˜Q•<¨$Ô/Ð/rL   c                	ó:   € \        V P                  ^ ,          4      # r_   ©Ú	transposer   rg   s   &r)   Ú_eval_adjointÚconjugate._eval_adjointn  ó   € Ü˜Ÿ™ 1�Ó&Ð&rL   c                	ó(   € V P                   ^ ,          # r_   ©r   rg   s   &r)   rº   Úconjugate._eval_conjugateq  ó   € Ø�y‰y˜�|ÐrL   c                	óð   € VP                   '       d)   \        \        V P                  ^ ,          VRR7      4      # VP                  '       d*   \        \        V P                  ^ ,          VRR7      4      ) # R# rV   )rz  r7   r   r   r1   rY   s   &&r)   r[   Úconjugate._eval_derivativet  sT   € Ø�9�9ˆ9ÜœZ¨¯	©	°!­°aÀ$ÔGÓHÐHØ�^�^ˆ^Üœj¨¯©°1­°qÀ4ÔHÓIÐIÐIñ rL   c                	ó:   € \        V P                  ^ ,          4      # r_   ©Úadjointr   rg   s   &r)   Ú_eval_transposeÚconjugate._eval_transposez  ó   € Ü�t—y‘y •|Ó$Ð$rL   c                	ó<   € V P                   ^ ,          P                  # r_   re   rg   s   &r)   rh   Úconjugate._eval_is_algebraic}  rj   rL   ry   N)r{   r|   r}   r~   r   r‚   rƒ   rJ   r�  r·   rŠ  rº   r[   r–  rh   r„   ry   rL   r)   r7   r7   4  sE   † ñ*ðV €Nàñó ðò
ò0ò'òòJò%ö)rL   r7   c                  ó<   € ] tR tRtRt]R 4       tR tR tR t	Rt
R# )	r‰  i�  a  
Linear map transposition.

Examples
========

>>> from sympy import transpose, Matrix, MatrixSymbol
>>> A = MatrixSymbol('A', 25, 9)
>>> transpose(A)
A.T
>>> B = MatrixSymbol('B', 9, 22)
>>> transpose(B)
B.T
>>> transpose(A*B)
B.T*A.T
>>> M = Matrix([[4, 5], [2, 1], [90, 12]])
>>> M
Matrix([
[ 4,  5],
[ 2,  1],
[90, 12]])
>>> transpose(M)
Matrix([
[4, 2, 90],
[5, 1, 12]])

Parameters
==========

arg : Matrix
     Matrix or matrix expression to take the transpose of.

Returns
=======

value : Matrix
    Transpose of arg.

c                	ó2   € VP                  4       pVe   V# R # r$   )r–  r}  s   && r)   rJ   Útranspose.evalª  r  rL   c                	ó:   € \        V P                  ^ ,          4      # r_   ©r7   r   rg   s   &r)   rŠ  Útranspose._eval_adjoint°  rŒ  rL   c                	ó:   € \        V P                  ^ ,          4      # r_   r”  rg   s   &r)   rº   Útranspose._eval_conjugate³  r˜  rL   c                	ó(   € V P                   ^ ,          # r_   rŽ  rg   s   &r)   r–  Útranspose._eval_transpose¶  r�  rL   ry   N)r{   r|   r}   r~   r   rƒ   rJ   rŠ  rº   r–  r„   ry   rL   r)   r‰  r‰  �  s+   † ñ&ðP ñó ðò
'ò%örL   r‰  c                  óL   € ] tR tRtRt]R 4       tR tR tR t	RR lt
R	 tR
tR# )r•  iº  aq  
Conjugate transpose or Hermite conjugation.

Examples
========

>>> from sympy import adjoint, MatrixSymbol
>>> A = MatrixSymbol('A', 10, 5)
>>> adjoint(A)
Adjoint(A)

Parameters
==========

arg : Matrix
    Matrix or matrix expression to take the adjoint of.

Returns
=======

value : Matrix
    Represents the conjugate transpose or Hermite
    conjugation of arg.

c                	óp   € VP                  4       pVe   V# VP                  4       pVe   \        V4      # R # r$   )rŠ  r–  r7   r}  s   && r)   rJ   Úadjoint.evalÕ  s<   € à×ÑÓ!ˆØŠ?ØˆJØ×!Ñ!Ó#ˆØŠ?Ü˜S“>Ð!ñ rL   c                	ó(   € V P                   ^ ,          # r_   rŽ  rg   s   &r)   rŠ  Úadjoint._eval_adjointÞ  r�  rL   c                	ó:   € \        V P                  ^ ,          4      # r_   rˆ  rg   s   &r)   rº   Úadjoint._eval_conjugateá  rŒ  rL   c                	ó:   € \        V P                  ^ ,          4      # r_   rŸ  rg   s   &r)   r–  Úadjoint._eval_transposeä  rŒ  rL   Nc                	ó‚   € VP                  V P                  ^ ,          4      pRV,          pV'       d   RV: RV: R2pV# )r   z%s^{\dagger}z\left(z	\right)^{Ú})Ú_printr   )rP   Úprinterr¯   r   r@   Útexs   &&&*  r)   Ú_latexÚadjoint._latexç  s6   € Ø�n‰n˜TŸY™Y q�\Ó*ˆØ Õ#ˆßˆ3Û-0³#Ð6ˆCØˆ
rL   c                	ó¼   € ^ RI Hp VP                  ! V P                  ^ ,          .VO5!  pVP                  '       d   WC! R4      ,          pV# WC! R4      ,          pV# )r   )Ú
prettyFormu   â€ Ú+)Ú sympy.printing.pretty.stringpictr¶  r°  r   Ú_use_unicode)rP   r±  r   r¶  Úpforms   &&*  r)   Ú_prettyÚadjoint._prettyî  sW   € Ý?Ø—’˜tŸy™y¨�|Ð3¨dÓ3ˆØ××ÐØ˜: lÓ3Õ3ˆEð ˆð ˜: c›?Õ*ˆEØˆrL   ry   r$   )r{   r|   r}   r~   r   rƒ   rJ   rŠ  rº   r–  r³  r»  r„   ry   rL   r)   r•  r•  º  s4   † ñð4 ñ"ó ð"òò'ò'ôörL   r•  c                  ó>   € ] tR tRtRtRtRt]R 4       tR t	R t
RtR	# )
Ú
polar_liftiü  a2  
Lift argument to the Riemann surface of the logarithm, using the
standard branch.

Examples
========

>>> from sympy import Symbol, polar_lift, I
>>> p = Symbol('p', polar=True)
>>> x = Symbol('x')
>>> polar_lift(4)
4*exp_polar(0)
>>> polar_lift(-4)
4*exp_polar(I*pi)
>>> polar_lift(-I)
exp_polar(-I*pi/2)
>>> polar_lift(I + 2)
polar_lift(2 + I)

>>> polar_lift(4*x)
4*polar_lift(x)
>>> polar_lift(4*p)
4*p

Parameters
==========

arg : Expr
    Real or complex expression.

See Also
========

sympy.functions.elementary.exponential.exp_polar
periodic_argument
TFc                	óÀ  € ^ RI Hp VP                  '       dX   V! V4      pV^ \        ^,          \        ) ^,          \        39   d*   ^ RIHp V! \        V,          4      \        V4      ,          # VP                  '       d   VP                  pMV.p. p. p. pV FF  pVP                  '       d   Wa.,          pK   VP                  '       d   W�.,          pK=  Wq.,          pKH  	  \        V4      \        V4      8  db   V'       d'   \        Wh,           !  \        \        V!  4      ,          # V'       d   \        Wh,           !  # ^ RIHp \        V!  V! ^ 4      ,          # R# )r   ©r@   ©r]  N)Ú$sympy.functions.elementary.complexesr@   rh  r   r  r]  r   Úabsr¦   r   Úis_polarr  r<   r   r¾  )	r?   r@   ÚargumentÚarr]  r   rA   rC   rs  s	   &&       r)   rJ   Úpolar_lift.eval%  s  € åHØ�=�=ˆ=Ù˜#“ˆBð
 �aœ˜A�¤˜s 1�u¤bÐ)Ô)ÝLÙ ¤ 2¥“¤s¨3£xÕ/Ð/à�:�:ˆ:Ø—8‘8‰Dà�5ˆDØˆØˆØˆÛˆCØ�|�|ˆ|Ø˜EÕ!’Ø——�Ø˜EÕ!’à˜EÕ!’ñ ô ˆx‹=œ3˜t›9Ô$ßÜ˜XÕ0Ñ2´:¼cÀ8¹nÓ3MÕMÐMßÜ˜XÕ0Ñ2Ð2åLÜ˜H‘~¡i°£lÕ2Ð2ñ %rL   c                óF   € V P                   ^ ,          P                  V4      # )z-Careful! any evalf of polar numbers is flaky )r   Ú_eval_evalf)rP   Úprecs   &&r)   rÉ  Úpolar_lift._eval_evalfI  s   € à�y‰y˜�|×'Ñ'¨Ó-Ð-rL   c                	ó>   € \        V P                  ^ ,          RR7      # rK  r„  rg   s   &r)   r·   Úpolar_lift._eval_AbsM  r†  rL   ry   N)r{   r|   r}   r~   r   rÄ  rª   rƒ   rJ   rÉ  r·   r„   ry   rL   r)   r¾  r¾  ü  s1   † ñ#ðJ €HØ€Màñ!3ó ð!3òF.ö0rL   r¾  c                  ó@   € ] tR tRtRt]R 4       t]R 4       tR tRt	R# )rc  iQ  aI  
Represent the argument on a quotient of the Riemann surface of the
logarithm. That is, given a period $P$, always return a value in
$(-P/2, P/2]$, by using $\exp(PI) = 1$.

Examples
========

>>> from sympy import exp_polar, periodic_argument
>>> from sympy import I, pi
>>> periodic_argument(exp_polar(10*I*pi), 2*pi)
0
>>> periodic_argument(exp_polar(5*I*pi), 4*pi)
pi
>>> from sympy import exp_polar, periodic_argument
>>> from sympy import I, pi
>>> periodic_argument(exp_polar(5*I*pi), 2*pi)
pi
>>> periodic_argument(exp_polar(5*I*pi), 3*pi)
-pi
>>> periodic_argument(exp_polar(5*I*pi), pi)
0

Parameters
==========

ar : Expr
    A polar number.

period : Expr
    The period $P$.

See Also
========

sympy.functions.elementary.exponential.exp_polar
polar_lift : Lift argument to the Riemann surface of the logarithm
principal_branch
c           	     	óœ  € ^ RI HpHp VP                  '       d   VP                  pMV.p^ pV EF  pVP
                  '       g   V\        V4      ,          pK*  \        Wb4      '       d*   WVP                  P                  4       ^,          ,          pKd  VP                  '       dg   VP                  P                  4       w  rxWW\        VP                  4      ,          Wƒ! \        VP                  4      4      ,          ,           ,          pKÜ  \        V\        4      '       d'   V\        VP                  ^ ,          4      ,          pEK   R# 	  V# )r   )r]  rý   N)r  r]  rý   r¦   r   rÄ  r@   r6   r¯   r4   r®   Úunbranched_argumentr  rÃ  r¾  )	r?   rÆ  r]  rý   r   r�   rG   r   r=   s	   &&       r)   Ú_getunbranchedÚ periodic_argument._getunbranchedz  sì   € çIØ�9�9ˆ9Ø—7‘7‰Dà�4ˆDØˆ
ÜˆAØ—:—:�:Øœc !›fÕ$’
Ü˜A×)Ò)ØŸe™e×0Ñ0Ó2°1Õ5Õ5’
Ø——�ØŸ™×+Ñ+Ó-‘�ØÔ!4Ø—F‘Fó"õ Ø  ¤S¨¯©£[Ó!1Õ1õ2õ 2’
ä˜Aœz×*Ò*Øœc !§&¡&¨¥)›nÕ,“
âñ ð ÐrL   c                	ób  € VP                   '       g   R # V\        8X  d*   \        V\        4      '       d   \	        VP
                  !  # \        V\        4      '       d0   V^\        ,          8¼  d   \	        VP
                  ^ ,          V4      # VP                  '       de   VP
                   Uu. uF  q3P                  '       d   K  VNK  	  pp\        V4      \        VP
                  4      8w  d   \	        \        V!  V4      # V P                  V4      pVf   R # ^ RIHpHp VP!                  \        Wv4      '       d   R # V\        8X  d   V# V\        8w  dR   ^ RIHp V! WR,          \&        P(                  ,
          4      V,          p	V	P!                  V4      '       g	   WY,
          # R # R # u upi )N)Úatanra  ©Úceiling)r©   r   r6   Úprincipal_branchrc  r   r¾  r   r¦   r  r<   r   rÑ  rg  rÔ  ra  r;   Ú#sympy.functions.elementary.integersrÖ  r   r°   )
r?   rÆ  ÚperiodrZ   Únewargsr�   rÔ  ra  rÖ  rÛ   s
   &&&       r)   rJ   Úperiodic_argument.eval‘  s6  € ð ×*×*Ð*ÙØ”RŒ<œJ rÔ+;×<Ò<Ü$ b§g¡gÑ.Ð.Ü�bœ*×%Ò%¨&°A´bµD¬.Ü$ R§W¡W¨Q¥Z°Ó8Ð8Ø�9�9ˆ9Ø"$§'¢'Ó?¡'˜Q·µ—q�q¡'ˆGÐ?Ü�7‹|œs 2§7¡7›|Ô+Ü(¬¨g©¸Ó?Ð?Ø×'Ñ'¨Ó+ˆ
ØÒÙßHØ�>‰>Ô+¨U×9Ò9ÙØ”RŒ<ØÐØ”RŒ<ÝCÙ˜
Õ)¬A¯F©FÕ2Ó3°FÕ:ˆAØ—5‘5˜—>’>Ø!•~Ð%ñ "ñ ùò @s   Â.F,ÃF,c                	óT  € V P                   w  r#V\        8X  d-   \        P                  V4      pVf   V # VP	                  V4      # \        V\        4      P	                  V4      p^ RIHp WV! WS,          \        P                  ,
          4      V,          ,
          P	                  V4      # )NrÕ  )	r   r   rc  rÑ  rÉ  rØ  rÖ  r   r°   )rP   rÊ  r!  rÙ  r�   ÚubrÖ  s   &&     r)   rÉ  Úperiodic_argument._eval_evalf¯  s…   € Ø—I‘I‰	ˆØ”RŒ<Ü*×9Ñ9¸!Ó<ˆJØÒ!Ø�Ø×)Ñ)¨$Ó/Ð/Ü˜q¤"Ó%×1Ñ1°$Ó7ˆÝ?Ø�W˜R�Y¬¯©Õ/Ó0°Õ7Õ7×DÑDÀTÓJÐJrL   ry   N)
r{   r|   r}   r~   r   rƒ   rÑ  rJ   rÉ  r„   ry   rL   r)   rc  rc  Q  s6   † ñ&ðP ñó ðð, ñ&ó ð&ö:	KrL   rc  c                ó"   € \        V \        4      # )a(  
Returns periodic argument of arg with period as infinity.

Examples
========

>>> from sympy import exp_polar, unbranched_argument
>>> from sympy import I, pi
>>> unbranched_argument(exp_polar(15*I*pi))
15*pi
>>> unbranched_argument(exp_polar(7*I*pi))
7*pi

See also
========

periodic_argument
)rc  r   rÀ  s   &r)   rÐ  rÐ  »  s   € ô& ˜S¤"Ó%Ð%rL   c                  ó8   € ] tR tRtRtRtRt]R 4       tR t	Rt
R# )	r×  iÑ  aZ  
Represent a polar number reduced to its principal branch on a quotient
of the Riemann surface of the logarithm.

Explanation
===========

This is a function of two arguments. The first argument is a polar
number `z`, and the second one a positive real number or infinity, `p`.
The result is ``z mod exp_polar(I*p)``.

Examples
========

>>> from sympy import exp_polar, principal_branch, oo, I, pi
>>> from sympy.abc import z
>>> principal_branch(z, oo)
z
>>> principal_branch(exp_polar(2*pi*I)*3, 2*pi)
3*exp_polar(0)
>>> principal_branch(exp_polar(2*pi*I)*3*z, 2*pi)
3*principal_branch(z, 2*pi)

Parameters
==========

x : Expr
    A polar number.

period : Expr
    Positive real number or infinity.

See Also
========

sympy.functions.elementary.exponential.exp_polar
polar_lift : Lift argument to the Riemann surface of the logarithm
periodic_argument
TFc                	óÒ  € ^ RI Hp \        V\        4      '       d   \	        VP
                  ^ ,          V4      # V\        8X  d   V# \        V\        4      p\        W4      pWE8w  dè   VP                  \        4      '       gÍ   VP                  \        4      '       g²   \        V4      pR pVP                  \        V4      p\        V\        4      pVP                  \        4      '       gc   WE8w  d"   V! \        WT,
          ,          4      V,          pMTpVP                  '       g&   VP                  V4      '       g   Wƒ! ^ 4      ,          pV# VP                  '       g   TRr©MVP                  ! VP                  !  w  rš. pV
 F(  pVP                  '       d   Wœ,          p	K  W¼.,          pK*  	  \        V4      p
\        W’4      pVP                  \        4      '       d   R# VP                   '       d‹   \#        V	4      V8w  g   V^ 8X  dt   V
R8w  dm   V	^8w  df   V^ 8X  d$   \%        V	4      \	        \'        V
!  V4      ,          # \	        V! \        V,          4      \'        V
!  ,          V4      \%        V	4      ,          # VP                   '       dV   \%        V4      V^,          8  R8X  g   WÒ^,          8X  d-   V
R8X  d$   V! V\        ,          4      \%        V	4      ,          # R# R# R# )r   rÁ  c                óH   € \        V \        4      '       g   \        V 4      # V # r$   )r6   r   r¾  )Úexprs   &r)   ÚmrÚ!principal_branch.eval.<locals>.mr
  s   € Ü! $¬×/Ò/Ü% dÓ+Ð+Ø�rL   NTry   )r  r]  r6   r¾  r×  r   r   rc  r;   Úreplacer   rÄ  r  r§   r  Útuplerh  rÐ  rÃ  r   )rP   rZ   rÙ  r]  rÝ  ÚbargÚplrä  ÚresrI   ÚmÚothersrk  r@   s   &&&           r)   rJ   Úprincipal_branch.evalý  s*  € åDÜ�aœ×$Ò$Ü# A§F¡F¨1¥I¨vÓ6Ð6Ø”RŒ<ØˆHÜ˜q¤"Ó%ˆÜ  Ó+ˆØŒ:˜bŸf™fÔ%6×7Ò7ØŸ™Ô!2×3Ò3Ü˜A“ˆBòð —‘œJ¨Ó+ˆBä" 2¤rÓ*ˆBØ—6‘6œ*×%Ò%Ø”:Ù#¤A t¥y¥MÓ2°2Õ5‘Cà�CØ—|—|�|¨C¯G©G°I×,>Ò,>Ø˜9 Q›<Õ'�CØ�
à�~�~ˆ~Ø�b‰qà—>’> 1§>¡>Ñ2‰DˆAØˆÛˆAØ�}�}ˆ}Ø•’à˜#•’ñ	 ô
 �&‹MˆÜ Ó*ˆØ�7‰7Ô$×%Ò%ÙØ�=�=ˆ=Ô1°!Ó4¸Ô;Ø" aœx¨A°¬G¸¸Q¼Ø�aŒxÜ˜1“vÔ.¬s°A©w¸Ó?Õ?Ð?Ü#¡I¬a°­eÓ$4´S¸!±WÕ$<¸fÓEÄcÈ!ÃfÕLÐLØ�=�=ˆ=œs 3›x¨&°­(Ñ2°tÔ;¸sÈQÅh¼Ø˜”GÙ˜S¤�UÓ#¤C¨£FÕ*Ð*ñ ñ @O‰=rL   c                	ó  € V P                   w  r#\        W#4      P                  V4      p\        V4      \        8”  g   V\        ) 8X  d   V # ^ RIHp \        V4      V! \        V,          4      ,          P                  V4      # )r   )r¯   )r   rc  rÉ  rÃ  r   r  r¯   r   )rP   rÊ  r!  rÙ  Úpr¯   s   &&    r)   rÉ  Úprincipal_branch._eval_evalf1  s^   € Ø—I‘I‰	ˆÜ˜aÓ(×4Ñ4°TÓ:ˆÜˆq‹6”BŒ;˜!¤˜sœ(ØˆKÝ>Ü�A“‘sœ1˜Q�3“x•×,Ñ,¨TÓ2Ð2rL   ry   N)r{   r|   r}   r~   r   rÄ  rª   rƒ   rJ   rÉ  r„   ry   rL   r)   r×  r×  Ñ  s,   † ñ&ðP €HØ€Màñ1+ó ð1+öf3rL   r×  c                ó  € ^ RI Hp V P                  '       d   V # V P                  '       d   V'       g   \	        V 4      # \        V \        4      '       d   V'       g   V'       d   \	        V 4      # V P                  '       d   V # V P                  '       dK   V P                  ! V P                   Uu. uF  p\        WARR7      NK  	  up!  pV'       d   \	        V4      # V# V P                  '       dV   V P                  \        P                  8X  d7   V P                  \        P                  \        V P                   VRR7      4      # V P"                  '       d6   V P                  ! V P                   Uu. uF  p\        WARR7      NK  	  up!  # \        W4      '       d�   \        V P$                  WR7      p. pV P                  R,           FE  p\        V^ ,          RVR7      p	\        VR,          WR7      p
VP'                  V	3V
,           4       KG  	  V! V3\)        V4      ,           !  # V P                  ! V P                   Uu. uF(  p\        V\*        4      '       d   \        WAVR7      MTNK*  	  up!  # u upi u upi u upi )r   )ÚIntegralT)ÚpauseF:r‡   NN)Úliftró  )Úsympy.integrals.integralsrò  rÄ  rh  r¾  r6   r   re  r  rÙ   r   Ú	_polarifyr®   r  r   ÚExp1r¯   r5   Úfunctionr:   rç  r   )Úeqrô  ró  rò  r@   ÚrrÙ   ÚlimitsÚlimitÚvarÚrests   &&&        r)   rö  rö  :  sá  € Ý2Ø	‡{‡{€{Øˆ	Ø	‡|‡|€|ŸEÜ˜"‹~ÐÜ�"”f×Ò§e·Ü˜"‹~ÐØ	��ˆØˆ	Ø	��ˆØ�GŠGÀ"Ç'Â'ÓJÁ'¸3”i °×6Á'ÑJÑKˆßÜ˜a“=Ð ØˆØ	��ˆ�r—w‘w¤!§&¡&Ô(Ø�w‰w”q—v‘vœy¨¯©°¸UÔCÓDÐDØ	��ˆØ�wŠwÀbÇgÂgÓNÁg¸sœ 3°E×:ÁgÑNÑOÐOÜ	�B×	!Ò	!ä˜Ÿ™ dÔ8ˆØˆØ—W‘W˜R—[�[ˆEÜ˜E !�H¨5¸Ô>ˆCÜ˜U 2�Y¨TÔ?ˆDØ�M‰M˜3˜& 4�-Ö(ñ !ñ ˜4˜'¤E¨&£MÕ1Ñ3Ð3à�wŠwØFHÇgÂgóOÙFM¸sœJ s¬D×1Ò1ô # 3°EÕ:Ø7:ò;ÙFMñOñ Pð 	Pùò% Kùò OùòOs   Â1I9Å4I>É.Jc           	     ó6  € V'       d   Rp\        \        V 4      V4      p V'       g   V # V P                   Uu/ uF  q3\        VP                  RR7      bK  	  ppV P                  V4      p YP                  4        UUu/ uF  w  r5WSbK	  	  upp3# u upi u uppi )a[  
Turn all numbers in eq into their polar equivalents (under the standard
choice of argument).

Note that no attempt is made to guess a formal convention of adding
polar numbers, expressions like $1 + x$ will generally not be altered.

Note also that this function does not promote ``exp(x)`` to ``exp_polar(x)``.

If ``subs`` is ``True``, all symbols which are not already polar will be
substituted for polar dummies; in this case the function behaves much
like :func:`~.posify`.

If ``lift`` is ``True``, both addition statements and non-polar symbols are
changed to their ``polar_lift()``ed versions.
Note that ``lift=True`` implies ``subs=False``.

Examples
========

>>> from sympy import polarify, sin, I
>>> from sympy.abc import x, y
>>> expr = (-x)**y
>>> expr.expand()
(-x)**y
>>> polarify(expr)
((_x*exp_polar(I*pi))**_y, {_x: x, _y: y})
>>> polarify(expr)[0].expand()
_x**_y*exp_polar(_y*I*pi)
>>> polarify(x, lift=True)
polar_lift(x)
>>> polarify(x*(1+y), lift=True)
polar_lift(x)*polar_lift(y + 1)

Adds are treated carefully:

>>> polarify(1 + sin((1 + I)*x))
(sin(_x*polar_lift(1 + I)) + 1, {_x: x})
FT)Úpolar)rö  r   r  r	   ÚnamerØ   Úitems)rù  rØ   rô  r¢   Úrepsrú  s   &&&   r)   Úpolarifyr  [  sƒ   € ÷P ØˆÜ	”7˜2“; Ó	%€BßØˆ	Ø24·/²/ÓB±/¨QŒu�Q—V‘V 4Ô(Ò(±/€DÐBØ	�‰�‹€BØ§¡¤Ô.¡™˜�’¡Ò.Ð.Ð.ùò Cùã.s   ¸ BÁ>Bc           
     óV  € \        V \        4      '       d   V P                  '       d   V # V'       Egm   ^ RIHpHp \        W4      '       d   V! \        V P                  V4      4      # \        V \        4      '       dA   V P                  ^,          ^\        ,          8X  d   \        V P                  ^ ,          V4      # V P                  '       gj   V P                  '       gX   V P                  '       gF   V P                  '       dg   V P                  R9   d   ^ V P                  9   g   V P                  R9  d4   V P                  ! V P                   Uu. uF  p\        WQ4      NK  	  up!  # \        V \         4      '       d   \        V P                  ^ ,          V4      # V P"                  '       dT   \        V P                  V4      p\        V P$                  TVP&                  ;'       d    V'       * '       * 4      pWv,          # V P(                  '       dR   \+        V P                  RR4      '       d5   V P                  ! V P                   Uu. uF  p\        WQV4      NK  	  up!  # V P                  ! V P                   Uu. uF  p\        WQR4      NK  	  up!  # u upi u upi u upi )r   r\  r�   FT)z==z!=)r6   r
   re  r  r¯   r]  Ú_unpolarifyr×  r   r   r  r¦   Ú
is_BooleanÚis_RelationalÚrel_oprÙ   r¾  r®   r  rÒ   r5   Úgetattr)rù  Úexponents_onlyró  r¯   r]  rZ   Úexpor  s   &&&     r)   r  r  �  sà  € Ü�bœ%× Ò  B§J§J JØˆ	çˆ5ßIÜ�b×$Ò$Ù”{ 2§6¡6¨>Ó:Ó;Ð;Ü�bÔ*×+Ò+°·±¸µ
¸aÄ½dÔ0BÜ˜rŸw™w q�z¨>Ó:Ð:à�I�IˆI˜ŸŸ˜ b§m§m mØ××ÐØ—	‘	˜\Ô)¨a°2·7±7¬lØ—	‘	 Ô-à—7’7ÀRÇWÂWÓMÁWÀœ[¨Ö;ÁWÑMÑNÐNÜ�bœ*×%Ò%Ü˜rŸw™w q�z¨>Ó:Ð:à	‡y‡y€yÜ˜2Ÿ6™6 >Ó2ˆÜ˜2Ÿ7™7 NØ—‘×.Ð.¨¤YÔ/ó1ˆà�zÐà	‡~‡~€~œ' "§'¡'¨<¸×?Ò?Ø�wŠwØ—W’WóÙ�ô % Q¸ÖGÙññ ð 	ð �7Š7À2Ç7Â7ÓKÁ7¸a”[ °DÖ9Á7ÑKÑLÐLùò Nùòùò Ls   ÅJÉJ!ÊJ&Nc                óh  € \        V \        4      '       d   V # \        V 4      p Ve   \        V P	                  V4      4      # RpRpV'       d   RpV'       d3   Rp\        WV4      pWP8w  d   RpTp \        V\        4      '       g   K8  V# ^ RIHp XP	                  V! ^ 4      ^\        ^ 4      ^ /4      # )aÐ  
If `p` denotes the projection from the Riemann surface of the logarithm to
the complex line, return a simplified version `eq'` of `eq` such that
`p(eq') = p(eq)`.
Also apply the substitution subs in the end. (This is a convenience, since
``unpolarify``, in a certain sense, undoes :func:`polarify`.)

Examples
========

>>> from sympy import unpolarify, polar_lift, sin, I
>>> unpolarify(polar_lift(I + 2))
2 + I
>>> unpolarify(sin(polar_lift(I + 7)))
sin(7 + I)
TFrÁ  )	r6   Úboolr   Ú
unpolarifyrØ   r  r  r]  r¾  )rù  rØ   r  Úchangedró  rê  r]  s   &&&    r)   r  r  ®  s¥   € ô" �"”d×ÒØˆ	ä	�‹€BØÒÜ˜"Ÿ'™' $›-Ó(Ð(Ø€GØ€EßØˆß
ØˆÜ˜"¨eÓ4ˆØŒ9ØˆGØˆBÜ�cœ4× Ô ØˆJõ AØ�8‰8‘Y˜q“\ 1¤j°£m°QÐ7Ó8Ð8rL   )F)TF)NF)4Ú
__future__r   Ú
sympy.corer   r   r   r   r   r	   r
   Úsympy.core.exprr   Úsympy.core.exprtoolsr   Úsympy.core.functionr   r   r   r   r   r   Úsympy.core.logicr   r   Úsympy.core.numbersr   r   r   Úsympy.core.powerr   Úsympy.core.relationalr   Ú(sympy.functions.elementary.miscellaneousr   Ú$sympy.functions.elementary.piecewiser   r   r=   r�   r¡   r@   r7   r‰  r•  r¾  rc  rÐ  r×  rö  r  r  r  ry   rL   r)   Ú<module>r     sù   ðÝ "ç A× AÑ AÝ  Ý -÷)÷ )ç 0ß (Ñ (Ý  Ý $Ý 9Ý :ôwˆô wôtuˆô uôvr5ˆ?ô r5ôjw(ˆ/ô w(ôtyCˆ/ô yCôxJ)�ô J)ôZ6�ô 6ôr;ˆoô ;ôDR0�ô R0ôjgK˜ô gKòT&ô,f3�ô f3ôRPôB//ôdMöB&9rL   