o
    *Ī®cC  ć                   @   s,  d dl mZmZ d dlmZmZmZmZmZ d dl	m
Z
 d dlmZmZ d dlmZ d dlmZmZ d dlmZmZmZmZmZmZmZmZ d dlmZmZ d d	lm Z m!Z! d d
l"m#Z#m$Z$m%Z%m&Z&m'Z' d dl(m)Z) d dl*m+Z+ d dl,m-Z-m.Z.m/Z/ d dl0m1Z1m2Z2 dd Z3dd Z4dd Z5dd Z6dd Z7dd Z8dd Z9dd Z:dd  Z;d!d" Z<d#d$ Z=d%d& Z>d'd( Z?d)d* Z@d+d, ZAd-d. ZBd/d0 ZCe2d1d2 ZDd3d4 ZEd5d6 ZFd7d8 ZGd9d: ZHd;d< ZId=d> ZJd?d@ ZKdAdB ZLdCdD ZMdEdF ZNdGdH ZOdIdJ ZPdKdL ZQdMdN ZRdOdP ZSdQdR ZTdSdT ZUdUdV ZVdWdX ZWdYdZ ZXd[d\ ZYd]d^ ZZd_d` Z[dadb Z\dcdd Z]dedf Z^dgdh Z_didj Z`dkdl Zadmdn Zbdodp Zcdqdr Zddsdt Zedudv Zfdwdx Zgdydz Zhd{d| Zid}d~ Zjdd Zkdd Zldd Zmdd Zndd Zodd Zpdd Zqdd Zrdd Zsdd Ztdd Zudd ZvdS )é    )Ś
DerivativeŚ	PoleError)ŚEŚIŚIntegerŚRationalŚpi)ŚS)ŚSymbolŚsymbols)Śsign)ŚexpŚlog)ŚacoshŚacothŚasinhŚatanhŚcoshŚcothŚsinhŚtanh)ŚceilingŚfloor)ŚcbrtŚsqrt)ŚasinŚcosŚcotŚsinŚtan)Ślimit)ŚO)ŚxŚyŚz)ŚraisesŚXFAILc                   C   s   t jt ddt ksJ tjt ddtksJ dt t  jtdddt t  ks)J tddjt ddtddks:J t  ” t ksBJ d S )Né   ©Śné   é   é   )r"   Śnseriesr#   r   © r.   r.   śF/tmp/pip-target-vg8gfxp4/lib/python/sympy/series/tests/test_nseries.pyŚtest_simple_1   s
   &"r0   c                   C   s*   t tt  jt ddt tt  ksJ d S )Nr'   r(   )r"   r   r-   r.   r.   r.   r/   Ś
test_mul_0   s   *r1   c                   C   sØ   t tdt   jt ddt td t d d  t d d  t d d  tt d  ks-J t tdt   jt ddt d t d d  t d d  tt d  ksRJ d S )	Né   r'   r(   r+   é   r,   é   r*   ©r"   r   r-   r!   r.   r.   r.   r/   Ś
test_mul_1   s   :
’

’’*’r6   c                   C   s¶   t d jt ddt d ksJ dt  jt dddt  ksJ dt d  jt dddt d  ks1J t tdd jt ddt tdd ksFJ tt d jt ddtt d ksYJ d S )Nr2   r'   r(   r*   r+   )r"   r-   r   r   r.   r.   r.   r/   Ś
test_pow_0%   s
   &**r7   c                   C   s¢   dt  d jt ddt d dt   d ksJ tt d d  t ”dtt  t  d ks.J tt tt  d  t ”dt tdd  t tdd  t  ksOJ d S )Nr*   r2   r'   r(   é   r+   )r"   r-   r   r   r   r.   r.   r.   r/   Ś
test_pow_1-   s   ..(’’r9   c                   C   sę   ddt   jt dddt  t d  t d  t d  tt d  ks#J t dt   jt ddt t d  t d  t d  t d  tt d  ksHJ t d dt   jt ddt d t d  t d  t d  t d	  tt d  ksqJ d S )
Nr*   r'   r(   r2   r+   r,   r8   r3   é   ©r"   r-   r!   r.   r.   r.   r/   Śtest_geometric_16   s   FJ6’
’r<   c                   C   s^   t dt jtdddtd  td d  td d  dtd  d	  ttd  ks-J d S )
Nr*   r'   r(   r2   r3   r+   é   r,   é   ©r   r"   r-   r!   r.   r.   r.   r/   Śtest_sqrt_1=   s   ^r@   c                   C   sŅ  t tjtdddt td d  td d  td d  ttd  ks'J t tjtd	ddt td d  td d  td d  td d
  td d  td d  td d  td d  td d  td d  ttd	  ksxJ t dt jtddt dt ksJ t ddt  jtddtdt dtd  d  dtd  d    ” ttd  ksøJ t dt jtddt ddt td d  td d  td d    ” ttd  ksēJ d S )Nr'   r(   r*   r2   r+   r8   r,   r4   é   éx   éŠ  r:   i°  r3   i  é	   i é
   i _7 é   i aé   )r   r"   r-   r!   r   Śexpandr.   r.   r.   r/   Ś
test_exp_1A   s.   NF
’
’
’
’
’
ž

ž&:’B’rI   c                   C   sb   t dtt jtddt ddtt td  ttt d    ” tttd  ks/J d S )Nr*   r+   r(   r2   r8   )r   r   r"   r-   rH   r!   r.   r.   r.   r/   Śtest_exp_sqrt_1M   s   >’rJ   c                   C   sz   t ttt jtdddttt  td ttd  d  td ttd  d  ttd ttd   ks;J d S ©Nr,   r(   r*   r2   r+   r8   )r   r"   r   r-   r!   r.   r.   r.   r/   Śtest_power_x_x1R   s   V’rL   c                   C   sr   t t  jt dddt tt   t d tt d  d  t d tt d  d  tt d tt d   ks7J d S rK   )r"   r-   r   r!   r.   r.   r.   r/   Śtest_power_x_x2W   s   V’rM   c                   C   s^   t ddt  jtddtt t td d  td d  td d  ttd  ks-J d S )Nr*   r'   r(   r2   r+   r,   )r   r"   r-   r!   r.   r.   r.   r/   Śtest_log_singular1\   s
   :
’
’rN   c                  C   s`   ddt  t tdtd    } | jt ddt tdtd d   t  tt d  ks.J d S )Nr*   r+   r2   r'   r(   r5   ©Śer.   r.   r/   Śtest_log_power1a   s    @rQ   c                  C   s<   t d} ddtt  }|jtd| ddd|   ksJ d S )NŚlr*   r'   ©r)   Ślogx©r
   r   r"   r-   ©rR   rP   r.   r.   r/   Śtest_log_seriesf   s   $rW   c                  C   s4   t dt } | jtddt t t d ksJ d S )Né’’’’r'   r(   )r   r"   r-   rO   r.   r.   r/   Ś	test_log2l   s   (rY   c                  C   sB   t d} dtdt  }|jtd| dd|  td  ksJ d S )NrR   r*   rX   r,   rS   rU   rV   r.   r.   r/   Ś	test_log3q   s   *rZ   c                  C   s.  t t} |  tdd”dksJ |  tdd”tdtksJ |  tdd”tttks+J |  tdd”tttd t ks=J |  tdd”tttd t ksOJ |  tdd”ttd d  ttd t ksgJ ttd t } |  tdd”dtd  td d  ttd  ksJ t tdd”tksJ d S )Nr   r*   r2   r+   r,   r8   )r   r"   r-   r!   r   rO   r.   r.   r/   Śtest_series1w   s   $$06r[   c                   C   s<   t  t dd”tdt ksJ t  t dd”tt t ksJ d S )Nr   r*   r;   r.   r.   r.   r/   Śtest_series1_failing   s    r\   c                   C   sH   dt   t dd”dt  ksJ t dt    t dd”t dt   ks"J d S )Nr*   r   r+   )r"   r-   r.   r.   r.   r/   Śtest_seriesbug1   s   *r]   c                   C   s  t d d  t dd”ddt   dt d   dt d   tt d t  ks&J t d d  t dd”dt  t d  t d  tt d t  ksFJ t d d  t dd”dksUJ t d d  t dd”dt  ksfJ t d d  t dd”t d dt   d ks}J t d d  t dd”ddt   dt d   tt d  ksJ ddt    t dd”dt  t d  t d  tt d t  ks¼J t dddt      t dd”ddt   d	t d   d
t d   tt d t  ksęJ dt  d d  t dd”ddt   dt d   t d  ksJ dddt     t dd”t t d  t d  tt d t  ks'J dddt d     t dd”t d t d  tt d t  ksHJ d S )Nr*   éž’’’r   r,   r2   r+   rX   r'   rA   r4   éż’’’r8   r;   r.   r.   r.   r/   Śtest_series2x   s   L@".>@T@BFr`   c                  C   s   t d} | d | td tdd    d d| td tdd    d| d    }| ” }| | dd” | d”dks?J d S )NŚwrX   r+   r2   r   r,   )r
   r   rH   r-   Śsubs©ra   rP   r.   r.   r/   Ś	test_bug2”   s   ’’(’"rd   c                  C   sb   dt  dt   } | jt ddtdt td d  dtd t d  d  tt d  ks/J d S )Nr*   r+   r(   r2   rF   r4   )r"   r-   r   r!   rO   r.   r.   r/   Śtest_exp©   s   Rre   c                  C   sj   t d} | dtttdtt    }t d}|j| dd|dt|td tttd  ks3J d S )Nra   r*   r2   Ślogwr   )rT   )r
   r   r"   r-   r   )ra   rP   rf   r.   r.   r/   Ś	test_exp2®   s    ’’rg   c                  C   sZ   dt  dt d   dt  dt d    } | jt dddt  t d  tt d  ks+J d S )Nr2   r+   r*   r(   r;   rO   r.   r.   r/   Ś	test_bug3¶   s   (2rh   c                  C   sō   d} dt  dt |    dt  dt |     }| t dd”dt  t d  tt d  ks-J tj} dt  dt |    dt  dt |     }| t dd”dt  tt  t tdd   tt d  kscJ dtt  }| t dd”dtt  ksxJ d S )Nr2   r+   r*   r   r,   )r"   r-   r!   r	   ŚHalfr   ©ŚprP   r.   r.   r/   Śtest_generalexponent»   s   (.(>"rl   c                  C   sP   ddt t  } |  tdd”dt t t t td  ttd t ks&J d S )Nr*   r   r2   r+   r?   rO   r.   r.   r/   Śtest_genexp_xÉ   s   (’rm   c                  C   s   t dd} dt dt|    dt dt|     }| tdd”dt td  tt ttdd   ttdd   ttd  ksDJ d S )Nr+   r2   r*   r   r'   )r   r"   r-   r   r	   r!   rj   r.   r.   r/   Śtest_genexp_x2Ń   s   
(Zrn   c                  C   s^   t d} d|  |  d|   }| | dd”dt| |  ksJ | | dd” | d”dks-J d S )Nra   r2   r*   r   )r
   r-   r!   rb   rc   r.   r.   r/   Śtest_seriesbug2×   s    "ro   c                  C   sN   t d} td|  |  }| | dd”dd| d  d  t| d  ks%J d S )Nra   r2   r   r+   r,   )r
   r   r-   r!   rc   r.   r.   r/   Śtest_seriesbug2bß   s   6rp   c                  C   sj   t ddd} ttd|  |  }|j| ddtdd| d  d  d| d  d	  t| d  ks3J d S )
Nra   T©Śrealr2   r'   r(   r+   r,   é-   ©r
   r   r   Śseriesr!   rc   r.   r.   r/   Śtest_seriesbug2dę   s   Jrv   c                  C   s“   t ddd} td|  |  d|   }| | dd”dt|  ks!J | | dd”dd|  td  | d tddtdd    t| d  ksIJ | | dd” | d”dksXJ d S )	Nra   Trq   r2   r*   r   r+   éü’’’)r
   r   ru   r!   r   r   rb   rc   r.   r.   r/   Śtest_seriesbug2cģ   s   ’

’"rx   c                  C   s  t ddd} ttd|  |  d|    | dd”td| td  t| d |  ks,J tttd|  |  d|    | dd”dd|  td  t| d  ksSJ ttdt|   | dd”dt|  ksjJ dt|  d|    | dd”dt|  ksJ d S )Nr"   Trq   r2   r*   r   )r
   r   r   ru   r!   r   r-   ©r"   r.   r.   r/   Śtest_expbug4ö   s   ’’*’’(’.2rz   c                   C   s4   t dtt  tdd”t dttt ksJ d S )Nr2   r   )r   r!   r"   r-   r.   r.   r.   r/   Śtest_logbug4  s   4r{   c                   C   s   t tdt t jtddt dt d t d  dt d td  d  ttd  ks0J t tt tdd”dtt ksCJ d S )Nr*   r+   r(   r2   rF   r4   r   )r   r   r"   r-   r!   r.   r.   r.   r/   Śtest_expbug5  s   `*r|   c                   C   sV   t t t tdd”ttd d  td d  dtd  d  ttd  ks)J d S )Nr   r3   r+   r'   rE   r:   i;  ©r   r"   r-   r!   r.   r.   r.   r/   Śtest_sinsinbug  s   Vr~   c                  C   sV   t tt d  } |  t dd”dt d  t d d  t d d  tt d  ks)J d S )Nr*   r   r'   r2   r,   rC   rA   )r"   r   r-   r!   ©Śar.   r.   r/   Śtest_issue_3258  ó   Fr   c                  C   s`   t ddd} t| d tdd }| | dd”| | d d	  | d
 d  t| d  ks.J d S )Nr"   T)Śnonnegativer+   r*   r   é   r:   é   rG   iØ  )r
   r   r   r-   r!   )r"   Śfr.   r.   r/   Śtest_issue_3204  s   >r   c                  C   sZ   t dt t } |  tdd”dt td  td  t td d  ttd  ks+J d S )Nr*   r   r2   r3   r+   r=   )r   r#   r-   r!   )r   r.   r.   r/   Śtest_issue_3224  s   Jr   c                  C   s   t d\} }tdtd }| d|  }dt t| d|   t| | |    }| t|  t |t  |d dt   t|  }|j| dd|ksMJ d S )Nzw,ir'   r+   rX   r*   r2   r(   )r   r   r"   r!   r-   )ra   ŚiŚrrk   rP   Śe_serr.   r.   r/   Śtest_issue_3463  s   *2r   c                   C   s  t dt jtdddt dtd  d  ttd  ksJ t tt jtddt ttt ks4J t tt jtddt tttt  ttd  ksQJ t tt jtddt tttt  t ttd  d  tttd  d	  t ttd  d
  ttd  ksJ d S )Nr3   r,   r(   é   r+   r*   r2   r'   r8   r4   )r   r"   r-   r!   r#   r   r.   r.   r.   r/   Śtest_sin(  s   >*::’’
’r   c                  C   sV   t dt t } | jtddddtd  d  dtd  d	  ttd  ks)J d S )
Nr3   r8   r(   r   r2   r+   i   r,   é   r}   rO   r.   r.   r/   Śtest_issue_35150  r   r   c                  C   s®   t td tttt td  tttdd t td    } | jtddtddd	td  d
  dtd  d  dtd  d  dtd  d  ttd  ksUJ d S )Nrw   r2   r*   r+   rD   r(   rX   rA   r:   i   é+   r,   i(  ic  r8   i ų% iy  r3   i  Ē)r   r"   r   r   r   r-   r!   rO   r.   r.   r/   Śtest_issue_35055  s    ’$’’’
’r   c                  C   sb  t d} td tt| t  tt|    }|jtddt| t| t d  t| td  d  td t|  d  td t|  d	  td
 t|  d  ttd  ksYJ td tt| t  tt|    }|jtddt|  t| t d  t| td  d  t| td  d  td t|  d	  td
 t|  d  ttd  ksÆJ d S )Nr   r^   r8   r(   r2   r+   r4   r,   rB   r'   rC   )r
   r"   r   r-   r   r!   ©r   rP   r.   r.   r/   Śtest_issue_3501<  s*   $6’’’

’$8’’’
’r   c                  C   s   t dt t dt  } | jtddtddttd  ks J | jtddtdddtd  d  dtd  d  ttd  ksDJ d S )	Nr'   r2   r(   r8   é#   r,   iI  é0   )r   r"   r-   r   r!   rO   r.   r.   r/   Śtest_issue_3502F  s
   (4’r   c                  C   sb   t dt dt  } | jtddt dd ttd d  tt d d  ttd  ks/J d S )Nr2   r(   r,   )r   r"   r-   r   r!   rO   r.   r.   r/   Śtest_issue_3503M  s   Nr   c                  C   s    t tdt   d t t tdt    t tdt   tdt     } | jt ddtdddt d  d	  d
t d  d  dt d  d  tt d  ksNJ d S )Nr+   r^   r2   r:   r(   rX   r,   r'   é`   é[   i   im+  r8   i ų )r"   r   r-   r   r!   rO   r.   r.   r/   Śtest_issue_3506R  s   DD’r   c                  C   sš   t ddd} tt| j| ddt| | d d  | d d	  t| d  ks)J t|  | t|  ttd|     ttd|   }|j| ddtdtd|   d| d  d
  d| d
  d
  d| d  d  t| d  ksvJ d S )Nr"   Trq   r'   r(   r2   r8   r,   é“   r+   rs   rt   )r"   rP   r.   r.   r/   Śtest_issue_3508X  s   F8N’r   c                  C   s   t d t d t d ttt    } | jt ddtddt d d  dt d  d	  d
t d  d  dt d  d  tt d  ksDJ d S )Nrw   r2   rD   r(   r*   r,   r   é   i  i/  r8   i Ų	 iéq  r3   i ąė)r"   r   r   r-   r   r!   rO   r.   r.   r/   Śtest_issue_3507`  s   $P’r   c                   C   sn   t ttjtddt dtd td d  td t d d  td td d  ttd  ks5J d S )Nr'   r(   r*   r2   r,   r3   r4   )r   r   r"   r-   r!   r.   r.   r.   r/   Śtest_issue_3639f  s   N’r    c                   C   s6  t tjtddttd d  td d  ttd  ksJ ttjtdddtd d  td d	  ttd  ks>J ttjtddttd d  dtd  d
  ttd  ks_J ttjtdddt td d  td  dtd  d  ttd  ksJ ttjtddttd d  dtd  d  ttd  ks§J ttjtddt	t
 d t
t  dt
 td  d  t
td  d  ttd  ksŌJ ttjtddttd d  td d  ttd  ksóJ ttjtddttd d  td d  t	t
 d  ttd  ksJ d S )Nr8   r(   r+   r'   rB   r*   r2   r,   r4   r   rs   i±  é(   )r   r"   r-   r!   r   r   r   r   r   r   r   r   r   r.   r.   r.   r/   Śtest_hyperbolick  s   >>B6’BB’>Pr¢   c                  C   sø   t ddd} t ddd}| d | td| |   | td|    }|j| ddtd|  | td|  d	  | d	 td|  d
  | d td|  d  t| d  ksZJ d S )Nra   Trq   r"   r^   r*   r,   r(   r2   r8   r+   r4   )r
   r   r-   r!   )ra   r"   rP   r.   r.   r/   Śtest_series2x  s   ,tr£   c                  C   s   t ddd} | d | d t|  | d t|    }|j| ddtdd	 | d	 d  d
| d  d  d| d  d  t| d  ksEJ d S )Nra   Trq   iś’’’r+   r3   r(   r*   r2   rG   r,   éš   i  r8   i^  )r
   r   r   r-   r   r!   rc   r.   r.   r/   Śtest_series3  s   (Zr„   c                  C   s¬   t d} t| d td | d   dt | d    | d  }|j| dd ”  ” tddt  td   ddtd  dt d   d dt ddt  td   fv sTJ d S )Nra   r,   r2   r(   r*   r^   )r
   r"   r-   ŚremoveOrH   rc   r.   r.   r/   Ś	test_bug4  s
   4*8’r§   c               	   C   s.  t d} t d}t|  td| tt   d | d  t|  tdt|    t|  td| tt    |  tt|  td| tt    |    }|j| d|dt|  | d|   td|  ksgJ |j| d|dt|  | d|   t|  d| tt  ttt |d   t|  ksJ d S )Nra   rR   r*   r^   r   rS   r2   )r
   r   r"   r-   r!   )ra   rR   rP   r.   r.   r/   Ś	test_bug5  s*   0’’’
’’’28’’rØ   c                   C   sh   t tdtt  jtdddt tt ksJ t td dtt  jtdddtt ks2J d S )Nr*   r(   r2   )r   r"   r   r-   r!   r.   r.   r.   r/   Śtest_issue_4115  s   26r©   c                   C   s.   t tdd  t tdd  t tdd  d S )Nc                   S   s   t dt  tdd”S ©Nr*   r   r'   ©r   r"   ru   r.   r.   r.   r/   Ś<lambda>  s    ztest_pole.<locals>.<lambda>c                   S   s   t ddt   tdd”S rŖ   r«   r.   r.   r.   r/   r¬     ó    c                   S   s   t tdt    t dd”S rŖ   )r"   r   ru   r.   r.   r.   r/   r¬     r­   )r%   r   r.   r.   r.   r/   Ś	test_pole  s   r®   c                   C   s6  t tt tdd”tdtksJ t tt tdd”dtt ks%J t tt tdd”dt ttd  ks<J t tt tdd”dt td d  ttd  ksYJ t tt tdd”dt td d  ttd  ksvJ t tt tdd”dt td d  td d  ttd  ksJ d S )Nr   r*   r2   r+   r,   r'   r3   )r   r   r"   ru   r!   r.   r.   r.   r/   Śtest_expsinbug¢  s   $&.::JrÆ   c                  C   sr  t d} t|  | ”dksJ t|   | ”dksJ tt|  | ”dks(J tt|   | ”dks6J t| d  | ”dksCJ t| d   | ”dksQJ tt|  | ”dks^J tt|   | ”dkslJ tdt|   | ”dks{J tdt|    | ”dksJ t|  | d”dksJ t|   | d”dks¤J t dd	d
} t| d  | ”dks·J d S )Nr"   r   rX   r+   r'   r,   r2   r_   T)Śnegativeg      ų?r*   )r
   r   ru   r   r   ry   r.   r.   r/   Ś
test_floor«  s    r±   c                   C   sŲ   t t t”dksJ t t  t”dksJ t tt t”dks$J t tt  t”dks2J t dtt  t”dksAJ t dtt   t”dksQJ t t td”dks]J t t  td”dksjJ d S )Nr*   r   r2   r+   r^   )r   r"   ru   r   r   r.   r.   r.   r/   Śtest_ceilingæ  s    r²   c                  C   s(  t d} ttjtddtksJ tt jtddtksJ ttd jtddtd ks0J tttjtddttddtd   ttd  ksNJ ttt jtddttddtd   ttd  ksmJ tt|   td”|  td|   td td|    td|   ksJ d S )Nr   r,   r(   r*   r8   r+   )r
   Śabsr"   r-   r   r   r!   r   r   r.   r.   r/   Śtest_absŹ  s   "<>Nr“   c                   C   sņ   t tjtdddtksJ t tjtdddt ksJ ttd jtddddks-J ttd jtddddks=J ttd jtddddksMJ ttd jtddddks]J ttt jtdddttt jtdddkswJ d S )	Nr   ś+)Śdirś-r2   r*   g@r+   )r³   r"   ru   r   r   r   r#   r.   r.   r.   r/   Śtest_dirŌ  s       8rø   c                  C   sx   t d} t| t t }|jtddd ” td | dtd| d  d   td|  d   td|  d  ks:J d S )Nr   r,   r2   r(   iš’’’r*   r=   )r
   r   r"   ru   r¦   r   r   r.   r.   r/   Śtest_issue_3504Ž  s
   B’r¹   c                  C   sŅ   t d\} }dd| t   }| tdd”d| t  | d td   | d td   | d td   ttd  ks;J dd| | t   }| tdd”dt|  |   td | | d   ttd  ksgJ d S )Nza,br*   r   r'   r2   r+   r,   )r   r"   ru   r!   )r   Śbr   r.   r.   r/   Śtest_issue_4441å  s   6’

’’
’r»   c                   C   s¬   t tjttd dd ” t d td  dttd    ks!J ttjttdd ” t d td  dtt   ks>J tt tt dt  ttd tdksTJ d S )Nr2   r+   r(   r8   r*   r,   rX   )r   r"   ru   r   r¦   r   r    r   r.   r.   r.   r/   Śtest_issue_4329ļ  s    ’’0r¼   c                   C   sō   t ttd  jddttksJ t ttd  jddtttd  ks(J dt d jtddtd dt  d ks?J ddt   ” ddt  ksOJ ttt ” t ” dt td d  td d  td d  ttd  ksxJ d S )	Nr2   r*   r(   r8   r+   r,   r4   r'   )r³   r"   ru   r!   r   r   Śdoitr.   r.   r.   r/   Śtest_issue_5183÷  s   $,. 6’r¾   c                  C   s$  t d} dtd | d  d  jtt|  ddt d| d  t |  t   dd| d  t |  t d    tdtt|  f ksDJ dtd | d  d  jtt|  dddd| d   td| d  t |  t    dd| d  t |  t d    tt |  t tt|  f ksJ d S )	Nr   r*   r2   r   )Śx0r)   r,   r+   r=   )r
   r"   r-   r   r!   r   r.   r.   r/   Śtest_issue_5654   s   &R’4’ ’’rĄ   c                  C   sø   t tt  tdd”} t tt t  tdd”}|  ttt ”|}}||  ”  ”  ” dks1J t tt  tdd”} t tt t  tdd”}| tdtdi”|  td”ksZJ d S )Nr   r*   r2   r+   )	r   r"   r$   ru   r#   rb   rH   r¦   Śsimplify)ŚsxŚsxyŚs1Śs2r.   r.   r/   Śtest_issue_5925  s   &rĘ   c                   C   sZ   t td  tdd”dtd  td d  td d  td d	  ttd  ks+J d S )
Nr+   r   é   r*   r8   r2   rD   rA   r4   )r   r"   r-   r!   r.   r.   r.   r/   Ś
test_exp_2  s   ZrČ   N)wŚsympy.core.functionr   r   Śsympy.core.numbersr   r   r   r   r   Śsympy.core.singletonr	   Śsympy.core.symbolr
   r   Ś$sympy.functions.elementary.complexesr   Ś&sympy.functions.elementary.exponentialr   r   Ś%sympy.functions.elementary.hyperbolicr   r   r   r   r   r   r   r   Ś#sympy.functions.elementary.integersr   r   Ś(sympy.functions.elementary.miscellaneousr   r   Ś(sympy.functions.elementary.trigonometricr   r   r   r   r   Śsympy.series.limitsr    Śsympy.series.orderr!   Ś	sympy.abcr"   r#   r$   Śsympy.testing.pytestr%   r&   r0   r1   r6   r7   r9   r<   r@   rI   rJ   rL   rM   rN   rQ   rW   rY   rZ   r[   r\   r]   r`   rd   re   rg   rh   rl   rm   rn   ro   rp   rv   rx   rz   r{   r|   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r¢   r£   r„   r§   rØ   r©   r®   rÆ   r±   r²   r“   rø   r¹   r»   r¼   r¾   rĄ   rĘ   rČ   r.   r.   r.   r/   Ś<module>   s¦    (	

	
	


	