o
    jgG  ã                   @   s(  d dl 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 e
dƒZe
dƒZe ee¡dd	„ ƒZe ee¡d
d	„ ƒZe ee¡dd	„ ƒZe ee¡dd	„ ƒZe ee¡dd	„ ƒZe ee¡dd	„ ƒZe ee¡dd	„ ƒZe ee¡dd	„ ƒZe ee¡dd	„ ƒZe ee¡dd	„ ƒZdS )é    )ÚooÚInfinityÚNegativeInfinity)ÚS)ÚBasicÚExpr)Ú
Dispatcher)ÚIntervalÚ	FiniteSetÚ_set_addÚ_set_subc                 C   ó   d S ©N© ©ÚxÚyr   r   úO/var/www/html/zoom/venv/lib/python3.10/site-packages/sympy/sets/handlers/add.pyÚ_   ó   r   c                 C   s   | | S r   r   r   r   r   r   r      ó   c                 C   s.   t | j|j | j|j | jp|j| jp|jƒS )z`
    Additions in interval arithmetic
    https://en.wikipedia.org/wiki/Interval_arithmetic
    ©r	   ÚstartÚendÚ	left_openÚ
right_openr   r   r   r   r      ó   ÿc                 C   ó$   | j tju rtt tƒS ttjhƒS r   )r   r   r   r	   r   r
   r   r   r   r   r   r   $   ó   c                 C   r   r   )r   r   r   r	   r   r
   r   r   r   r   r   r   *   r   c                 C   r   r   r   r   r   r   r   r   1   r   c                 C   s   | | S r   r   r   r   r   r   r   6   r   c                 C   s.   t | j|j | j|j | jp|j| jp|jƒS )zc
    Subtractions in interval arithmetic
    https://en.wikipedia.org/wiki/Interval_arithmetic
    r   r   r   r   r   r   ;   r   c                 C   ó"   | j tju rtt tƒS tt ƒS r   ©r   r   r   r	   r   r
   r   r   r   r   r   E   ó   
c                 C   r   r   r    r   r   r   r   r   K   r!   N)Úsympy.core.numbersr   r   r   Úsympy.core.singletonr   Ú
sympy.corer   r   Úsympy.multipledispatchr   Ú
sympy.setsr	   r
   r   r   Úregisterr   r   r   r   r   Ú<module>   s6    






	









	

