+
    
þÎj]  ã                   óX   € ^ RI Ht ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	  ! R R]	4      t
R# )	é    )ÚIndexed)ÚTuple)ÚDummy)Úsympify)ÚIntegralc                   óL   a a€ ] tR t^t oRtR tV 3R lt]R 4       tRt	Vt
V ;t# )ÚIndexedIntegralaÏ  
Experimental class to test integration by indexed variables.

Usage is analogue to ``Integral``, it simply adds awareness of
integration over indices.

Contraction of non-identical index symbols referring to the same
``IndexedBase`` is not yet supported.

Examples
========

>>> from sympy.sandbox.indexed_integrals import IndexedIntegral
>>> from sympy import IndexedBase, symbols
>>> A = IndexedBase('A')
>>> i, j = symbols('i j', integer=True)
>>> ii = IndexedIntegral(A[i], A[i])
>>> ii
Integral(_A[i], _A[i])
>>> ii.doit()
A[i]**2/2

If the indices are different, indexed objects are considered to be
different variables:

>>> i2 = IndexedIntegral(A[j], A[i])
>>> i2
Integral(A[j], _A[i])
>>> i2.doit()
A[i]*A[j]
c                ó
  € \         P                  V4      w  rB\        V4      pVP                  V4      p\        P
                  ! W.VO5/ VB pWEn        VP                  4        UUu/ uF  w  rgWvbK	  	  uppVn        V# u uppi ©N)	r	   Ú_indexed_process_limitsr   Úxreplacer   Ú__new__Ú_indexed_replÚitemsÚ_indexed_reverse_repl)ÚclsÚfunctionÚlimitsÚassumptionsÚreplÚobjÚkeyÚvals   &&*,    ÚU/opt/data/home/.local/lib/python3.14/site-packages/sympy/sandbox/indexed_integrals.pyr   ÚIndexedIntegral.__new__)   sz   € Ü&×>Ñ>¸vÓF‰ˆÜ˜8Ó$ˆØ×$Ñ$ TÓ*ˆÜ×Ò˜sÐE¨vÒE¸ÑEˆØ ÔØ>B¿j¹j¼lÔ$K¹l±(°# S¢X¹lÒ$KˆÔ!Øˆ
ùó %Ls   Á'A?c                óV   <€ \         SV `  4       pVP                  V P                  4      # r   )ÚsuperÚdoitr   r   )ÚselfÚresÚ	__class__s   & €r   r   ÚIndexedIntegral.doit2   s#   ø€ Ü‰g‰l‹nˆØ�|‰|˜D×6Ñ6Ó7Ð7ó    c                óR  € / p. pV  F›  p\        V\        \        \        34      '       d   V^ ,          pVR,          pMTpRp\        V\        4      '       d:   WA9  d   \        \        V4      4      pWaV&   VP                  X3V,           4       KŠ  VP                  V4       K�  	  W3# )r   :é   NN© )Ú
isinstanceÚtupleÚlistr   r   r   ÚstrÚappend)r   r   Ú	newlimitsÚiÚvÚvrestÚrs   &      r   r   Ú'IndexedIntegral._indexed_process_limits6   s˜   € àˆØˆ	ÛˆAÜ˜!œe¤T¬5Ð1×2Ò2Ø�a•D�Ø˜"�‘à�Ø�Ü˜!œW×%Ò%Ø”=Üœc !›f›�AØ˜‘GØ× Ñ  !  e¥Ö,à× Ñ  Ö#ñ ð ˆÐr#   r&   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   Ústaticmethodr   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r!   Ú__classdict__s   @@r   r	   r	      s.   ù‡ € ñò@õ8ð ñó ÷ð r#   r	   N)Úsympy.tensorr   Úsympy.core.containersr   Úsympy.core.symbolr   Úsympy.core.sympifyr   Úsympy.integrals.integralsr   r	   r&   r#   r   Ú<module>rA      s"   ðÝ  Ý 'Ý #Ý &Ý .ô@�hö @r#   