+
    i                         ^ RI HtHtHtHt ^ RIHt RRRuttt	]
! ]R4      w  tttt]tR tR t/ 3R	 ltR
 tR tR tR tR tR tR tR tR tR tR# )    )CompoundVariableCondVariableallcombinations)coreabcwxyzc                 P    \        V \        4      ;'       d    V P                  R9   # )Add)r   MulCAddCMul
isinstancer   opxs   &Z/var/www/html/photoedit/myenv/lib/python3.14/site-packages/sympy/unify/tests/test_unify.pyis_associativer   	   s!    a"OO0N(NO    c                 P    \        V \        4      ;'       d    V P                  R9   # )r   )r   r   r   r   s   &r   is_commutativer      s!    a"AA0@(@Ar   c                 F    \         P                  ! WV\        \        R 7      # ))sr   r   )r   unifyr   r   )r   r	   r   s   &&&r   r   r      s    ::aa)79 9r   c                     \        \        \        \        / 4      4      \        \        /.8X  g   Q h\        \        \        \        \        ^
/4      4      . 8X  g   Q h\        \        ^\        / 4      4      \        ^/.8X  g   Q h\        \        \        \        / 4      4      / .8X  g   Q h\        \        \        \        3\
        \        3/ 4      4      \        \
        \        \        /.8X  g   Q h\        \        \        \        \        3/ 4      4      \        \        \        3/.8X  g   Q h\        \        \        \        3\        \        3/ 4      4      . 8X  g   Q h\        \        \
        \        3\        \        3/ 4      4      . 8w  g   Q h\        \        \        \        \        33\        \        \
        33/ 4      4      \        \        \
        \        /.8X  g   Q hR# )
   N)	listr   r   r   wyzr	   r
    r   r   
test_basicr%      sW   aB aVH,,,aQG$%+++aB aVH,,,aB RD(((q!fq!fb)*1a|n<<<a!Q$%1q!f+666q!fq!fb)*b000q!fq!fb)*R///q1a&kA1v;34!Q1FFFr   c                     \        \        \        R \        \        \
        34      \        R \        \        \        34      / 4      4      \        \        \        \
        /.8X  g   Q h\        \        \        R \        RR4      \        \
        34      \        R \        \        \
        34      / 4      4      \        \        RR4      \        \        /.8X  g   Q hR# )r   r   N      )r    r   Cr   r	   r
   r   r"   r$   r   r   test_opsr+      s    a!Aw'51Qq'):B?@1QZL  a%156%!Aa8I2NO5%!A&'( ( (r   c                      \        R R4      p \        R \        \        34      p\        \	        W/ 4      4      \        ^\        \        R R4      /\        \        R R4      \        ^/38X  g   Q hR# )r   Nr(   r)      r)   r.   r'   )r*   r   r"   tupler   c1c2s     r   test_associativer4   %   si    	
5'	B	
51Q%Brr"#Aq!E62B(C*+Quf-=q!)D(F F F Fr   c                  .   \        R R4      p \        R \        \        34      p\        \	        W/ 4      4      p\        ^\        \        R R4      /V9   g   Q h\        ^\        \        R R4      /V9   g"   \        ^\        \        R R4      /V9   g   Q hR# R# )r   Nr-   r/   )r(   r.   r.   r(   )r*   r   r"   r    r   )r2   r3   results      r   test_commutativer8   +   s    	
67	B	
6Aa5	B%#$F1a'(F2221a'(F21a'(F24 32 3r   c                      \        \        R\        \        3R4      4      R\        \        33R\        \        3308X  g   Q hR# )r(   TNr-   r'   r.   r(   r/   setr   r   r	   r$   r   r   _test_combinations_assocr@   3   s@    w1t45
1a&	!NQF#;<= = =r   c                  X    \        \        R\        \        3R4      4      0 Rm8X  g   Q hR# )r(   Nr-   >   )r)   r6   r   r	   )r;   r'   rD   )r/   r=   rD   )r6   rC   rD   r<   rD   r:   rD   r>   r$   r   r   _test_combinations_commrJ   7   s/    w1t45	II I Ir   c                  D    \        \        RRR4      4      RR08X  g   Q hR# )r(   commutativeNr'   )r=   rC   rM   )rM   )rC   r=   )r?   r   r$   r   r   test_allcombinationsrN   =   s.    ue];<	#%?@A A Ar   c            	          \        R \        \        34      p \        R \        \        34      p\        V 4      '       d   \        V4      '       g   Q h\        \        \        W/ 4      4      4      ^8X  g   Q hR# )r   N)	r   r   r	   r   r"   r   lenr    r   r1   s     r   test_commutativityrQ   B   s\    	&1a&	!B	&1a&	!B"."4"444tE""%&'1,,,r   c                  0   \        R R4      p \        R4      p\        RR 4      p\        RR 4      p\        R W34      p\        \	        W/ 4      4      V^V^/.8X  g   Q h\        RR 4      p\        R W234      p\        \	        W/ 4      4      . 8X  g   Q hR# )	r   r   r"   c                     V ^,          ^ 8H  # rC   r$   r   s   &r   <lambda>#test_CondVariable.<locals>.<lambda>L   s    AEQJr   r#   c                     V ^8  # r;   r$   rT   s   &r   rU   rV   M       AEr   c                     V ^8  # r;   r$   rT   s   &r   rU   rV   R   rX   r   Nr'   )r*   r   r   r    r   )exprr   r"   r#   patterns        r   test_CondVariabler\   I   s    VVDAS./AS/*AGdR()Aq\N   	S/*AGdR()R///r   c                  f    \        \        \        R 4      R4      4      \        R 4      R/8X  g   Q hR# )r   fooN)nextr   r   r$   r   r   test_defaultdictr`   W   s)    hsmU+,#0FFFFr   N)sympy.unify.corer   r   r   r   sympy.unifyr   r   r	   r
   mapr!   r   r"   r#   r*   r   r   r   r%   r+   r4   r8   r@   rJ   rN   rQ   r\   r`   r$   r   r   <module>rd      s    N N S#!A
h
!AaPB  9
G(F4=IA
-0Gr   