+
    i                        ^ RI HtHtHtHt ^ RIHt ^ RIHtH	t	 ^ RI
Ht ^ RIHtHt ^ RIHtHt ^ RIHtHtHtHtHt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$H%t%H&t& ^ RI'H(t( ^ RI)H*t*H+t+ R t,R t-R t.R t/R t0R t1R t2R# )    )IRationalpioo)S)SymbolDummy)Lambda)explog)seccsc)cothsechatanhasechacothacsch)sqrt)singularitiesis_increasingis_strictly_increasingis_decreasingis_strictly_decreasingis_monotonic)Interval	FiniteSetUnionImageSet)raises)xyc                    a \        R 4      o\        S^,          S4      \        P                  8X  g   Q h\        SS^,          ^S,          ,           ^,           ,          S4      \	        RR4      8X  g   Q h\        ^S^,          ^,           ,          S4      \	        \
        \
        ) 4      8X  g   Q h\        SS^,          ^,           ,          S4      \	        R^\        ^4      \
        ,          ,
          ^,          ^\        ^4      \
        ,          ,           ^,          4      8X  g   Q h\        ^\        ^,          ^\
        ,          \        ,          ,           ^,           ,          \        4      \	        \
        ) \        ^4      \
        ,          ,           \
        ) \        ^4      \
        ,          ,
          4      8X  g   Q h\        R4      p \        \        S4      S4      P                  \        \        \        V ^V ,          \
        ,          \        ,          \
        \        ,          ^,          ,           4      \        P                  4      \        \        V ^V ,          \
        ,          \        ,          ^\
        ,          \        ,          ^,          ,           4      \        P                  4      4      4      '       g   Q h\        \!        S4      S4      P                  \        \        \        V ^V ,          \
        ,          \        ,          \
        \        ,          ,           4      \        P                  4      \        \        V ^V ,          \
        ,          \        ,          4      \        P                  4      4      4      '       g   Q h\        \#        S4      S4      \	        R^4      8X  g   Q h\        \%        S4      S4      \	        R^4      8X  g   Q h\        \'        S4      S4      \	        ^ 4      8X  g   Q h\        \)        S4      S4      \	        ^ 4      8X  g   Q h\        R RR7      o\        ^S^,          ^,           ,          S4      \        P                  8X  g   Q h\        \+        ^S,          4      S\        P,                  4      \	        ^ 4      8X  g   Q h\        \+        ^S,          4      S\/        ^^4      4      \        P                  8X  g   Q h\        \1        S^,
          ^,          4      S\/        ^^4      4      \	        ^4      8X  g   Q h\3        \4        V3R l4       \        \7        S4      S\/        ^ ^\        ,          4      4      \	        \        ^,          ^\        ,          ^,          ^\        ,          ^,          4      8X  g   Q h\        \9        S4      S\/        ^ ^\        ,          4      4      \	        ^ \        ^\        ,          ^\        ,          4      8X  g   Q hR# )r!   nT)realc                  4   < \        S \        ) ,          S 4      # )N)r   r   )r!   s   e/var/www/html/photoedit/myenv/lib/python3.14/site-packages/sympy/calculus/tests/test_singularities.py<lambda>$test_singularities.<locals>.<lambda>1   s    a"fa(@    N)r   r   r   EmptySetr   r   r   r"   r	   r   dummy_eqr   r   r
   r   Integersr   r   r   r   r   r   Realsr   r   r    NotImplementedErrorr   r   )_nr!   s    @r'   test_singularitiesr3      s   sAAq!QZZ///AqD1Q3JN+Q/9R3DDDDAqD1Hq)Yq1"-====AqD1Hq)"q47Q;!+a$q'A+o-BCD D DAqD1Q3q5L1,-q11"tAwqy.1"tAwqy.12 2 2	sBa!$--eAbDF2I"Q./<AbDF2I!Bq011::>/@ A A A A a!$--eAbDF2I",-qzz:AbDF2I&

3/5 6 6 6 6 q1%2q)9999q1%2q)9999q1%1555q1%1555sAAqD1Hq)QZZ777QqS1agg.)A,>>>QqS1hq!n5CCCa!eaZ!Xa^<	!LLL
 @AQHQ"$56)
1ad1fad1f;   QHQ"$56)	2qtQrT;   r*   c                 "   \        RRR7      p \        \        ^,          ^\        ^,          ,          ,
          ^\        ,          ,           \        P                  4      '       g   Q h\        \        ^,          ) \        \        ) ^ 4      4      '       g   Q h\        \        ^,          ) \        ^ \        4      4      '       d   Q h\        ^\        ^,          ,          ^\        ^,          ,          ,
          ^H\        ,          ,
          ^,           \        R^4      4      '       d   Q h\        \        ^,          \        ,           \        ^\        4      \        4      '       g   Q h\        \        ^,          ) V ,          \        ^\        4      \        4      '       g   Q h\        ^4      '       g   Q h\        ^\        ^,          ,          ^\        ^,          ,          ,
          ^H\        ,          ,
          ^,           \        R^4      4      RJ g   Q hR# )z1Test whether is_increasing returns correct value.aT)negativeFNr+   )r   r   r!   r   r0   r   r   r"   )r5   s    r'   test_is_increasingr7   8   sP   sT"AA!Q$1,agg6666!Q$"a 01111adUHQO4444Qq!tVa1f_r!t3b8(2q/JJJJA8Ar?A6666!Q$q(1b/155551a4!AqD&2a4/"4hr1oF%OOOr*   c                    \        ^\        ^,          ,          ^\        ^,          ,          ,
          ^H\        ,          ,
          ^,           \        P                  ! \        ) R4      4      '       g   Q h\        ^\        ^,          ,          ^\        ^,          ,          ,
          ^H\        ,          ,
          ^,           \        P
                  ! ^\        4      4      '       g   Q h\        ^\        ^,          ,          ^\        ^,          ,          ,
          ^H\        ,          ,
          ^,           \        P                  ! R^4      4      '       d   Q h\        \        ^,          ) \        ^ \        4      4      '       d   Q h\        ^4      '       d   Q h\        ^\        ^,          ,          ^\        ^,          ,          ,
          ^H\        ,          ,
          ^,           \        P                  ! R^4      4      RJ g   Q hR# )z:Test whether is_strictly_increasing returns correct value.FNr+   )r   r!   r   Ropenr   Lopenopenr    r*   r'   test_is_strictly_increasingr=   G   sS   !	!Q$1a4"Q$#X^^RC%<> > > >!	!Q$1a4"Q$#X^^Ar%:< < < <%	!Q$1a4"Q$#X]]2q%9; ; ; ;%q!teXa_====%a((((!!AqD&1QT6/BqD"82"=x}}RQR?STX]]]]r*   c            
        \        RRR7      p \        ^\        ^,          ^\        ,          ,
          ,          \        P                  ! \        ^^4      ^4      4      '       g   Q h\        ^\        ^,          ^\        ,          ,
          ,          \        P                  ! R^4      4      '       g   Q h\        ^\        ^,          ^\        ,          ,
          ,          \        P                  ! ^\        4      4      '       g   Q h\        ^\        ^,          ^\        ,          ,
          ,          \        P                  ! \        ) \        ^^4      4      4      '       d   Q h\        \        ^,          ) \        \        ) ^ 4      4      '       d   Q h\        \        ^,          ) V ,          \        \        ) ^ 4      \        4      '       d   Q hR# )z1Test whether is_decreasing returns correct value.bT)positive      ?N)	r   r   r!   r   r;   r   r:   r   r9   )r?   s    r'   test_is_decreasingrB   U   s!   sT"AAqD1Q3Jx!}a)HIIIIAqD1Q3JsA)>????AqD1Q3J2)>????Q1qs
^X^^RC!Q-PQQQQadUHbS!$45555adU1WhsA&6:::::r*   c            
     ,   \        ^\        ^,          ^\        ,          ,
          ,          \        P                  ! ^\        4      4      '       g   Q h\        ^\        ^,          ^\        ,          ,
          ,          \        P
                  ! \        ) \        ^^4      4      4      '       d   Q h\        \        ^,          ) \        \        ) ^ 4      4      '       d   Q h\        ^4      '       d   Q h\        ^\        ^,          ^\        ,          ,
          ,          \        P                  ! \        ^^4      ^4      4      '       g   Q h\        ^\        ^,          ^\        ,          ,
          ,          \        P                  ! R^4      4      '       g   Q hR# )z:Test whether is_strictly_decreasing returns correct value.rA   N)r   r!   r   r:   r   r9   r   r;   r<   r*   r'   test_is_strictly_decreasingrD   a   s   !!QTAaCZ.(..B2GHHHH%	1a4!A#:sHQN;= = = =%q!teXrc1-=>>>>%a((((!!QTAaCZ.(--1q2QRRRR!!QTAaCZ.(--Q2GHHHHr*   c            	        \        ^\        ^,          ^\        ,          ,
          ,          \        P                  ! \	        ^^4      ^4      4      '       g   Q h\        ^\        ^,          ^\        ,          ,
          ,          \        P                  ! R^4      4      '       g   Q h\        ^\        ^,          ^\        ,          ,
          ,          \        P
                  ! ^\        4      4      '       g   Q h\        \        ^,          ^\        ^,          ,          ,
          ^\        ,          ,           \        P                  4      '       g   Q h\        \        ^,          ) \        P                  4      '       d   Q h\        \        ^,          \        ,           ^,           \        ^^4      \        4      '       g   Q h\        \        R 4       R# )z0Test whether is_monotonic returns correct value.rA   c                  R    \        \        ^,          \        ,           ^,           4      # )   )r   r!   r"   r<   r*   r'   r(   #test_is_monotonic.<locals>.<lambda>t   s    QTAX\(Br*   N)r   r!   r   r;   r   r:   r   r   r0   r"   r    r1   r<   r*   r'   test_is_monotonicrI   l   s   1a4!A#:hqmQ(GHHHH1a4!A#:c1(=>>>>1a4!A#:q"(=>>>>1qAv!+QWW5555QTE177++++1q1hq!na8888
 BCr*   c                      \        R 4      p V ^,           RV ^,          ,          RV ,          ,           R,           ,          p\        V\        ^^4      V 4      '       g   Q hR# )r!   g?NgMbP)r   r   r   )r!   exprs     r'   test_issue_23401rL   w   sJ    sAEGAqDL3q5(3./Dx!}a0000r*   N)3sympy.core.numbersr   r   r   r   sympy.core.singletonr   sympy.core.symbolr   r	   sympy.core.functionr
   &sympy.functions.elementary.exponentialr   r   (sympy.functions.elementary.trigonometricr   r   %sympy.functions.elementary.hyperbolicr   r   r   r   r   r   (sympy.functions.elementary.miscellaneousr   sympy.calculus.singularitiesr   r   r   r   r   r   
sympy.setsr   r   r   r   sympy.testing.pytestr    	sympy.abcr!   r"   r3   r7   r=   rB   rD   rI   rL   r<   r*   r'   <module>rY      si    4 4 " + & = =O O 9  < ; ' BP^	;ID1r*   