U
     ‹Ñhç[  ã                   @   s8  d dl Z d dlZd dlZd dlmZ d dlmZmZmZ d dl	m
Z
mZ d dlmZ d dlmZmZmZmZ d dlmZmZmZmZmZmZmZmZmZmZ d dlmZm Z 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+ d dl,m-Z-m.Z.m/Z/m0Z0m1Z1 d dl2m3Z3 d dl4m5Z5 d dl6m7Z8 d dl9m:Z: d dlm;Z; d dlm<Z< d dl=m>Z> e>dƒZ?ddhZ@ddhZAg ddfdd„ZBdd„ ZCdd „ ZDd!d"„ ZEd#d$„ ZFd%d&„ ZGd'd(„ ZHd)d*„ ZId+d,„ ZJd-d.„ ZKd/d0„ ZLd1d2„ ZMed3d4„ ƒZNd5d6„ ZOd7d8„ ZPd9d:„ ZQd d;lRmSZSmTZTmUZUmVZVmWZWmXZXmYZYmZZZm[Z[m\Z\m]Z]m^Z^m_Z_m`Z`maZambZbmcZcmdZdmeZemfZfmgZgmhZhmiZimjZjmkZkmlZlmmZmmnZnmoZompZpmqZqmrZrmsZsmtZtmuZumvZvmwZwmxZxmyZymzZzm{Z{m|Z|m}Z}m~Z~mZm€Z€m�Z�m‚Z‚mƒZƒm„Z„m…Z…m†Z†m‡Z‡mˆZˆm‰Z‰mŠZŠm‹Z‹mŒZŒm�Z� d<d=„ ZŽd d>l�m�Z� d d?l‘m’Z’ d d@l“m”Z”m•Z• d dAl–m—Z—m˜Z˜m™Z™mšZš d dBl›mœZœm�Z�mžZž dCdD„ ZŸd dEl m¡Z¡ dFdG„ Z¢d dHl£m¤Z¤ dIdJ„ Z¥d dKl¦m§Z§m¨Z¨ dLdM„ Z©d dNlªm«Z« dOdP„ Z¬d dQl­m®Z® d dRlm¯Z¯ dSdT„ Z°edUdV„ ƒZ±edWdX„ ƒZ²d dYl³m´Z´ d dZlµm¶Z¶ d d[l·m¸Z¸ d d\l¹mºZº d]d^„ Z»d_d`„ Z¼edadb„ ƒZ½dcdd„ Z¾dedf„ Z¿dgdh„ ZÀdidj„ ZÁdkdl„ ZÂdmdn„ ZÃdodp„ ZÄd dqlÅmÆZÆ d drlÇmÈZÈmÉZÉ d dslÊmËZË d dtlÌmÍZÍmÎZÎ d dulÏmÐZÐ d dvlÑmÒZÒ dwdx„ ZÓedydz„ ƒZÔed{d|„ ƒZÕed}d~„ ƒZÖd dl×mØZØ d d€lÙmÚZÚ d�d‚„ ZÛd dƒlÜmÝZÝ d d„lÞmßZß d…d†„ Zàd‡dˆ„ Zád‰dŠ„ Zâd‹dŒ„ ZãdS )�é    N)Úmeter)ÚXFAILÚraisesÚignore_warnings)ÚAtomÚBasic)ÚSingletonRegistry)ÚStrÚDummyÚSymbolÚWild)
ÚEÚIÚpiÚooÚzooÚnanÚIntegerÚRationalÚFloatÚAlgebraicNumber)ÚEqualityÚGreaterThanÚLessThanÚ
RelationalÚStrictGreaterThanÚStrictLessThanÚ
Unequality)ÚAdd)ÚMul)ÚPow)Ú
DerivativeÚFunctionÚFunctionClassÚLambdaÚWildFunction)ÚInterval)Ú	vectorize)Úgmpy)ÚSymPyDeprecationWarning)ÚS)Úsymbols)Úimport_moduleÚcloudpickleZ_assumptionsZ_mhashZis_EmptySetZexpr_free_symbolsT© c           	         sþ   t ˆ tƒr(dD ]‰tt‡ ‡fdd„ƒ qdtjtjddg}trJ| tg¡ |D ]ª‰ˆ|kr\qNtˆƒrzt ˆ t	ƒrpqNˆˆ ƒ}n.t
 ˆ¡r–ˆ ˆ ˆ ¡¡}nt t ˆ ˆ¡¡}tˆ ƒ}t|ƒ}t|ƒt|ƒksÌt‚|sÒqN‡‡fdd„}|ˆ ||ƒ ||ˆ |ƒ qNd	S )
z2 Check that pickling and copying round-trips.
    )r   é   c                      s   t  ˆ ˆ¡S ©N)ÚpickleÚdumpsr.   )ÚaÚprotocolr.   úQ/tmp/user/2202/pip-unpacked-wheel-qe3242ng/sympy/utilities/tests/test_pickling.pyÚ<lambda>4   ó    zcheck.<locals>.<lambda>é   é   é   c              
      sÐ   |D ]Æ}|t kr.t| |ƒrÊt||ƒsÊt|ƒ‚q|tks>|ˆ krpttƒ�" t| |ƒt||ƒksdt|ƒ‚W 5 Q R X qt| |ƒs~qqt| |ƒ}t|dƒst||ƒs¤t|ƒ‚t||ƒ|kstdt||ƒ|ˆf ƒ‚qd S )NÚ__call__z%s != %s, protocol: %s)Únot_equal_attrsÚhasattrÚAssertionErrorÚdeprecated_attrsr   r)   Úgetattr)r3   ÚbÚdÚiÚattr)Ú
deprecatedr4   r.   r5   ÚcO   s    

(


zcheck.<locals>.cN)Ú
isinstancer   r   ÚNotImplementedErrorÚcopyÚdeepcopyr-   ÚextendÚcallableÚtypeÚinspectÚismoduleÚloadsr2   r1   ÚdirÚsetr>   )	r3   ÚexcludeÚ
check_attrrE   Ú	protocolsrA   Úd1Zd2rF   r.   )r3   rE   r4   r5   Úcheck.   s0    



rW   c                  C   s&   t t ƒ ttƒ ttfD ]} t| ƒ qd S r0   )r   r   r   r*   rW   ©rF   r.   r.   r5   Útest_core_basicg   s    rY   c                   C   s   t tdƒƒ d S ©NÚx)rW   r	   r.   r.   r.   r5   Útest_core_Strk   s    r\   c                  C   s6   t t ddd�ttddd�ttdƒfD ]} t| ƒ q$d S )Nr[   F)ZcommutativeZ_issue_3130)r
   r   r   rW   rX   r.   r.   r5   Útest_core_symboln   s    
  ÿr]   c                  C   sL   t dƒtddƒtdƒfD ]} t| ƒ qtttdƒƒfD ]} t| dd� q6d S )Nr8   r9   z1.2F©rT   )r   r   r   rW   r   ÚsqrtrX   r.   r.   r5   Útest_core_numbersw   s    
r`   c                  C   s   t dƒd } t| ƒ d S )Nr[   g      ð?)r   rW   )Úyr.   r.   r5   Útest_core_float_copy~   s    rb   c                  C   sl   t dƒ} t dƒ}tt| |ƒtt| |ƒtt| |ƒtt| |ƒtt| |ƒtt| |ƒtt| |ƒfD ]}t|ƒ qZd S )Nr[   ra   )	r   r   r   r   r   r   r   r   rW   )r[   ra   rF   r.   r.   r5   Útest_core_relational„   s           ýrc   c                  C   s(   t dƒ} tt| dƒfD ]}t|ƒ qd S ©Nr[   r:   )r   r   rW   ©r[   rF   r.   r.   r5   Útest_core_addŽ   s    rf   c                  C   s(   t dƒ} tt| dƒfD ]}t|ƒ qd S rd   )r   r   rW   re   r.   r.   r5   Útest_core_mul”   s    rg   c                  C   s(   t dƒ} tt| dƒfD ]}t|ƒ qd S rd   )r   r    rW   re   r.   r.   r5   Útest_core_powerš   s    rh   c                  C   s.   t dƒ} tt| ƒttttfD ]}t|ƒ qd S rZ   )r   r!   r"   r#   r$   r%   rW   )r[   Úfr.   r.   r5   Útest_core_function    s
    ÿrj   c                  C   s.   t dƒ} ttdƒƒ}| t¡ t| |d� d S )Nri   é   ©rS   )r"   ÚlistÚrangeÚappendr-   rW   )ri   rS   r.   r.   r5   Útest_core_undefinedfunctions§   s    
rp   c                  C   s   t dƒ} t| ƒ d S )Nri   )r"   rW   )ri   r.   r.   r5   Ú!test_core_undefinedfunctions_fail°   s    rq   c                  C   s    t t ddƒfD ]} t| ƒ qd S )Nr   r8   )r&   rW   rX   r.   r.   r5   Útest_core_interval·   s    rr   c                  C   s   t t dƒfD ]} t| ƒ qd S )Nr   )r'   rW   rX   r.   r.   r5   Útest_core_multidimensional¼   s    rs   c                  C   s¨   dddddg} t j t jg}|dd„ | D ƒ7 }tr>|dd	„ g7 }td
ƒtdƒtdƒtddƒttttt t	t
tjtjtjtjtjtjfD ]}|D ]}||ƒ|ksŒt‚qŒq„d S )Nr   r/   r8   r9   r:   c                    s   g | ]‰ ‡ fd d„‘qS )c                    s   t  t  | ˆ ¡¡S r0   )r1   rP   r2   ©r[   ©Úprotor.   r5   r6   Ä   r7   z,test_Singletons.<locals>.<listcomp>.<lambda>r.   )Ú.0r.   ru   r5   Ú
<listcomp>Ä   s   ÿz#test_Singletons.<locals>.<listcomp>c                 S   s   t  t  | ¡¡S r0   )r-   rP   r2   rt   r.   r.   r5   r6   Ç   r7   z!test_Singletons.<locals>.<lambda>éÿÿÿÿ)rI   rJ   r-   r   r   r   r   r   r   r   r   r*   ZGoldenRatioZTribonacciConstantZ
EulerGammaZCatalanZEmptySetZIdentityFunctionr>   )rU   ZcopiersÚobjÚfuncr.   r.   r5   Útest_SingletonsÁ   s*    ÿ         þr|   );Ú	PiecewiseÚ
lowergammaÚacoshÚ
chebyshevuÚ
chebyshevtÚlnÚchebyshevt_rootÚlegendreÚ	HeavisideÚ	bernoulliÚcothÚtanhÚassoc_legendreÚsignÚargÚasinÚ
DiracDeltaÚreÚrfÚAbsÚ
uppergammaÚbinomialÚsinhÚcosÚcotÚacosÚacotÚgammaÚbellÚhermiteÚharmonicÚLambertWÚzetaÚlogÚ	factorialÚasinhÚacothÚcoshÚdirichlet_etaÚEijkÚloggammaÚerfÚceilingÚimÚ	fibonacciÚ
tribonacciÚ	conjugateÚtanÚchebyshevu_rootÚfloorÚatanhr_   ÚsinÚatanÚffÚlucasÚatan2Ú	polygammaÚexpc               +   C   s  t ttttttttt	t
ttttttttttttttttttttttt t!t"t#t$t%t&t't(t)f+} t*t+t,t-t.t/t0t1t2t3t4f}t5dƒ\}}}t6t7t8|||ƒt9d|dk f|d |dkf|d dfƒt:f}| D ]}t;|ƒ ||ƒ}t;|ƒ qÀ|D ]}t;|ƒ |||ƒ}t;|ƒ qâ|D ]}t;|ƒ �qd S )Núx,y,zr   ry   r8   r/   r9   T)<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±   r³   r¶   r�   r²   r~   r€   r�   r’   r´   rµ   rš   r„   r‘   r+   rƒ   r­   r¤   r}   r‰   rW   )Zone_varZtwo_varr[   ra   ÚzZothersÚclsrF   r.   r.   r5   Útest_functionsÛ   sx                                    ü    ÿ&þ


rº   )ÚGeometryEntity)ÚPoint)ÚCircleÚEllipse)ÚLineÚLinearEntityÚRayÚSegment)ÚPolygonÚRegularPolygonÚTrianglec                  C   s°   t ddƒ} t ddƒ}t ddƒ}t ddƒ}ttƒ t | tt| dƒtt| ddƒtt| |ƒtt| |ƒtt| |ƒtt| |ƒtt| |||ƒt	t	| ddƒt
t
| ||ƒfD ]}t|dd� qšd S )	Nr/   r8   r9   r   r:   rk   Fr^   )r¼   r»   r½   r¾   r¿   rÀ   rÁ   rÂ   rÃ   rÄ   rÅ   rW   )Úp1Úp2Zp3Zp4rF   r.   r.   r5   Útest_geometryú   s8    



      
         
  
ûrÈ   )ÚIntegralc                  C   s&   t dƒ} tt| ƒfD ]}t|ƒ qd S rZ   )r   rÉ   rW   re   r.   r.   r5   Útest_integrals  s    rÊ   )ÚLogicc                  C   s   t t dƒfD ]} t| ƒ qd S ©Nr/   )rË   rW   rX   r.   r.   r5   Ú
test_logic  s    rÍ   )ÚMatrixÚSparseMatrixc                  C   s@   t t dddgƒttddgddggƒfD ]} t| ddgd� q&d S )Nr/   r8   r9   r:   Z_smatZ_mat©rE   )rÎ   rÏ   rW   rX   r.   r.   r5   Útest_matrices  s    *rÑ   )ÚSievec                  C   s   t t ƒ fD ]} t| ƒ q
d S r0   )rÒ   rW   rX   r.   r.   r5   Útest_ntheory$  s    rÓ   )ÚPauli)ÚUnitc                  C   s"   t tttdƒfD ]} t| ƒ qd S rÌ   )rÕ   r   rÔ   rW   rX   r.   r.   r5   Útest_physics-  s    rÖ   c                  C   s   ddl m} m} ddlm} ddlm}m} ddlm	}m
}m}m} ddlm}	 ddlm}
 ddlm} dd	lm} dd
lm} ddlm}m}m}m}m}m}m}m} ddl m!} ddl"m#} ddl$m%} | | ddƒ||||||||||	|
||||||||||||||fD ]}t&|ƒ �qd S )Nr   )ÚColorGradientÚColorScheme)ÚManagedWindow)ÚPlotÚ
ScreenShot)ÚPlotAxesÚPlotAxesBaseÚPlotAxesFrameÚPlotAxesOrdinate)Ú
PlotCamera)ÚPlotController)Ú	PlotCurve)ÚPlotInterval)ÚPlotMode)ÚCartesian2DÚCartesian3DÚCylindricalÚParametricCurve2DÚParametricCurve3DÚParametricSurfaceÚPolarÚ	Spherical)Ú
PlotObject)ÚPlotSurface)Ú
PlotWindowgš™™™™™É?gš™™™™™Ù?)'Ú&sympy.plotting.pygletplot.color_schemer×   rØ   Z(sympy.plotting.pygletplot.managed_windowrÙ   Úsympy.plotting.plotrÚ   rÛ   Ú#sympy.plotting.pygletplot.plot_axesrÜ   rÝ   rÞ   rß   Z%sympy.plotting.pygletplot.plot_camerarà   Z)sympy.plotting.pygletplot.plot_controllerrá   Z$sympy.plotting.pygletplot.plot_curverâ   Z'sympy.plotting.pygletplot.plot_intervalrã   Z#sympy.plotting.pygletplot.plot_moderä   Z$sympy.plotting.pygletplot.plot_modesrå   ræ   rç   rè   ré   rê   rë   rì   Z%sympy.plotting.pygletplot.plot_objectrí   Z&sympy.plotting.pygletplot.plot_surfacerî   Z%sympy.plotting.pygletplot.plot_windowrï   rW   )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ï   rF   r.   r.   r5   Útest_plotting5  sT    (                    ùró   c                  C   sN   ddl m}  ddlm} ddlm} t| dƒƒ t|ddd�ƒ t|ƒ ƒ d S )	Nr   )rØ   )rÚ   )rÜ   Zrainbowr/   F)Zvisible)rð   rØ   rñ   rÚ   rò   rÜ   rW   )rØ   rÚ   rÜ   r.   r.   r5   Útest_plotting2P  s    rô   )ÚZZ)ÚQQ)Úlex)ÚPolyc                  C   sN   ddl m}  tdƒ}tt||ƒfD ]}t|ƒ q"| | |ƒfD ]}t|ƒ q<d S )Nr   )ÚPurePolyr[   )Úsympy.polys.polytoolsrù   r   rø   rW   )rù   r[   rF   r.   r.   r5   Útest_pickling_polys_polytoolsm  s    
rû   c                  C   sÆ   ddl m} m}m} | | tdƒgtdƒgtdƒggtƒfD ]}t|dgd� q:||tdƒtdƒgtdƒtdƒgftƒfD ]}t|ƒ qx||tdƒtdƒgtdƒtdƒtdƒgtƒfD ]}t|ƒ q´d S )Nr   )ÚDMPÚDMFÚANPr/   r8   r9   ÚreprÐ   )Zsympy.polys.polyclassesrü   rý   rþ   rõ   rW   rö   )rü   rý   rþ   rF   r.   r.   r5   Útest_pickling_polys_polyclasses|  s    *.
2r   c                  C   s^   ddl m}  | dttƒ}| |fD ]}t|ddgd� q |j|jfD ]}t|ddgdd� qBd S )Nr   )ÚPolyRingr·   r/   rl   F)rS   rT   )Zsympy.polys.ringsr  rõ   r÷   rW   ZdtypeZone)r  ZringrF   r.   r.   r5   Útest_pickling_polys_rings†  s    r  c                   C   s   d S r0   r.   r.   r.   r.   r5   Útest_pickling_polys_fields•  s    r  c                  C   s,   ddl m}  | | ddƒfD ]}t|ƒ qd S )Nr   )ÚPythonRationalr/   é   )Z"sympy.polys.domains.pythonrationalr  rW   )r  rF   r.   r.   r5   Útest_pickling_polys_elements¦  s    r  c                  C   s  ddl m}  ddlm} | | ƒ fD ]}t|dd� q"||ƒ fD ]}t|dd� q>td k	r¨ddlm} ddlm	} ||ƒ fD ]}t|dd� qz||ƒ fD ]}t|dd� q–ddl
m} dd	lm} ||ttd
ƒƒfD ]}t|dd� qÒ||ƒ fD ]}t|dd� qîd S )Nr   )ÚPythonIntegerRing)ÚPythonRationalFieldFr^   )ÚGMPYIntegerRing)ÚGMPYRationalField)ÚAlgebraicField)ÚExpressionDomainr9   )Z%sympy.polys.domains.pythonintegerringr  Z'sympy.polys.domains.pythonrationalfieldr  rW   Ú_gmpyZ#sympy.polys.domains.gmpyintegerringr	  Z%sympy.polys.domains.gmpyrationalfieldr
  Z"sympy.polys.domains.algebraicfieldr  Z$sympy.polys.domains.expressiondomainr  rö   r_   )r  r  rF   r	  r
  r  r  r.   r.   r5   Útest_pickling_polys_domains¾  s&    

r  c                  C   s€   ddl m} m}m}m} | | ƒ fD ]}t|ƒ q"||ƒ fD ]}t|ƒ q:||ƒ fD ]}t|ƒ qR||| ƒ ƒfD ]}t|ƒ qnd S )Nr   )ÚLexOrderÚGradedLexOrderÚReversedGradedLexOrderÚInverseOrder)Úsympy.polys.orderingsr  r  r  r  rW   )r  r  r  r  rF   r.   r.   r5   Útest_pickling_polys_orderingsú  s    


	r  c                  C   s^   ddl m} m} tdƒ\}}}| | dƒfD ]}t|ƒ q*||d|||fƒfD ]}t|ƒ qLd S )Nr   )ÚMonomialOpsÚMonomialr·   r9   )r/   r8   r9   )Zsympy.polys.monomialsr  r  r+   rW   )r  r  r[   ra   r¸   rF   r.   r.   r5   Útest_pickling_polys_monomials  s    
r  c                  C   s8  ddl m} m}m}m}m}m}m}m}m	}m
}	m}
m}m}m}m}m}m}m}m} | | ƒ fD ]}t|ƒ q^||ƒ fD ]}t|ƒ qv||ƒ fD ]}t|ƒ qŽ||ƒ fD ]}t|ƒ q¦||ƒ fD ]}t|ƒ q¾||ƒ fD ]}t|ƒ qÖ||ƒ fD ]}t|ƒ qî||ƒ fD ]}t|ƒ �q||ƒ fD ]}t|ƒ �q |	|	ƒ fD ]}t|ƒ �q:|
|
ƒ fD ]}t|ƒ �qT||ƒ fD ]}t|ƒ �qn||ƒ fD ]}t|ƒ �qˆ||ƒ fD ]}t|ƒ �q¢||ƒ fD ]}t|ƒ �q¼||ƒ fD ]}t|ƒ �qÖ||ƒ fD ]}t|ƒ �qð||ƒ fD ]}t|ƒ �q
||ƒ fD ]}t|ƒ �q$d S )Nr   )ÚHeuristicGCDFailedÚHomomorphismFailedÚIsomorphismFailedÚExtraneousFactorsÚEvaluationFailedÚRefinementFailedÚCoercionFailedÚNotInvertibleÚNotReversibleÚNotAlgebraicÚDomainErrorÚPolynomialErrorÚUnificationFailedÚGeneratorsErrorÚGeneratorsNeededÚUnivariatePolynomialErrorÚMultivariatePolynomialErrorÚOptionErrorÚ	FlagError)Zsympy.polys.polyerrorsr  r  r  r  r  r  r  r  r   r!  r"  r#  r$  r%  r&  r'  r(  r)  r*  rW   )r  r  r  r  r  r  r  r  r   r!  r"  r#  r$  r%  r&  r'  r(  r)  r*  rF   r.   r.   r5   Útest_pickling_polys_errors  sN    T






r+  c                  C   sd   ddl m} m} tdƒ}|d | d }| | |dƒfD ]}t|ƒ q6|||tƒfD ]}t|ƒ qRd S )Nr   )ÚCRootOfÚRootSumr[   r9   )Zsympy.polys.rootoftoolsr,  r-  r   rW   r¶   )r,  r-  r[   ri   rF   r.   r.   r5   Útest_pickling_polys_rootoftools}  s    
r.  )ÚLatexPrinter)ÚMathMLContentPrinterÚMathMLPresentationPrinter)ÚPrettyPrinter)Ú
prettyFormÚ
stringPict)ÚPrinter)ÚPythonPrinterc                  C   s8   t t ƒ ttttttdƒttƒ ttƒ fD ]} t| ƒ q&d S )Nr3   )	r/  r0  r1  r2  r3  r4  r5  r6  rW   rX   r.   r.   r5   Útest_printing’  s          ýr7  c                   C   s   t tƒ ƒ d S r0   )rW   r0  r.   r.   r.   r5   Útest_printing1š  s    r8  c                   C   s   t tƒ ƒ d S r0   )rW   r1  r.   r.   r.   r5   Útest_printing2Ÿ  s    r9  c                   C   s   t tƒ ƒ d S r0   )rW   r2  r.   r.   r.   r5   Útest_printing3¤  s    r:  )ÚLimit)ÚOrderc                  C   s:   t dƒ} t dƒ}tt| |dƒtt| ƒfD ]}t|ƒ q(d S )NÚer[   r/   )r   r;  r<  rW   )r=  r[   rF   r.   r.   r5   Útest_series­  s    r>  )ÚProduct)ÚSumc                  C   s>   t dƒ} tt| | ddfƒtt| | ddfƒfD ]}t|ƒ q,d S )Nr[   r8   r:   )r   r?  r@  rW   re   r.   r.   r5   Útest_concrete¸  s    (rA  c                  C   s   t dddd�} t| ƒ d S )NÚmessagez1.0zactive-deprecations)Zdeprecated_since_versionZactive_deprecations_target)r)   rW   )Úwr.   r.   r5   Útest_deprecation_warning½  s    rD  c                   C   s    t  t  tj¡¡tjkst‚d S r0   )r1   rP   r2   r*   ZHalfr>   r.   r.   r.   r5   Útest_issue_18438Á  s    rE  c                  C   s   d} t  | ¡tdƒkst‚d S )Nsi   €•^       Œsympy.core.power”ŒPow”“”Œsympy.core.numbers”ŒInteger”“”K…”R”}”bhŒHalf”“”)R”}”b†”R”}”b.r8   )r1   rP   r_   r>   )Údatar.   r.   r5   Ú!test_unpickle_from_older_versionsÆ  s    ÿrG  )ärN   rI   r1   Zsympy.physics.unitsr   Zsympy.testing.pytestr   r   r   Zsympy.core.basicr   r   Zsympy.core.singletonr   Zsympy.core.symbolr	   r
   r   r   Zsympy.core.numbersr   r   r   r   r   r   r   r   r   r   Zsympy.core.relationalr   r   r   r   r   r   r   Zsympy.core.addr   Zsympy.core.mulr   Zsympy.core.powerr    Zsympy.core.functionr!   r"   r#   r$   r%   Zsympy.sets.setsr&   Zsympy.core.multidimensionalr'   Zsympy.external.gmpyr(   r  Zsympy.utilities.exceptionsr)   r*   r+   Zsympy.externalr,   r-   r<   r?   rW   rY   r\   r]   r`   rb   rc   rf   rg   rh   rj   rp   rq   rr   rs   r|   Zsympy.functionsr}   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¥   r¦   r§   r¨   r©   rª   r«   r¬   r­   r®   r¯   r_   r°   r±   r²   r³   r´   rµ   r¶   rº   Zsympy.geometry.entityr»   Zsympy.geometry.pointr¼   Zsympy.geometry.ellipser½   r¾   Zsympy.geometry.liner¿   rÀ   rÁ   rÂ   Zsympy.geometry.polygonrÃ   rÄ   rÅ   rÈ   Zsympy.integrals.integralsrÉ   rÊ   Zsympy.core.logicrË   rÍ   Zsympy.matricesrÎ   rÏ   rÑ   Zsympy.ntheory.generaterÒ   rÓ   Zsympy.physics.paulialgebrarÔ   rÕ   rÖ   ró   rô   Zsympy.polys.domains.integerringrõ   Z!sympy.polys.domains.rationalfieldrö   r  r÷   rú   rø   rû   r   r  r  r  r  r  r  r+  r.  Zsympy.printing.latexr/  Zsympy.printing.mathmlr0  r1  Zsympy.printing.pretty.prettyr2  Z sympy.printing.pretty.stringpictr3  r4  Zsympy.printing.printerr5  Zsympy.printing.pythonr6  r7  r8  r9  r:  Zsympy.series.limitsr;  Zsympy.series.orderr<  r>  Zsympy.concrete.productsr?  Zsympy.concrete.summationsr@  rA  rD  rE  rG  r.   r.   r.   r5   Ú<module>   sÐ   0$þþ9	
	
ô




<
a


