+
    iT                         ^ RI Ht ^ RIHt ^ RIHtHtHtH	t	H
t
HtHt ^ RIHt ^ RIHt ^ RIHt ]P&                  tR tR tR	# )
    )symbols)	FiniteSet)
Polyhedrontetrahedroncube
octahedrondodecahedronicosahedron
cube_faces)Permutation)PermutationGroup)raisesc                    a	 \        \        R  4       \        . RO. RO.4      \        . RO. RO.4      \        . R	O. R
O.4      \        . RO. RO^.^..4      \        . RO. RO^.^ ..4      \        . RO. RO^.^..4      \        . RO. RO^.^..4      \        ^^.^ ^.^^.^^..4      \        ^^.^^.^^.^ ^..4      \        ^^.^^.^ ^.^^..4      \        ^^.^^ .^^.^^..4      \        ^^.^ ^.^^.^^..4      \        ^^.^^.^ ^.^^..4      \        . RO4      .p \        \	        R4      4      p\
        p\        WV 4      o	S	P                  \        R!  8X  g   Q h\        ^4       F,  pS	P                  S	P                  V,          ^,          4       K.  	  S	P                  V8X  g   Q h\        ^^4       F,  pS	P                  S	P                  V,          ^,          4       K.  	  S	P                  V8X  g   Q hS	P                  ^4       \        \        V	3R l4       S	P                  V8w  g   Q hS	P                  . RO8X  g   Q hS	P                  . RO. RO.8X  g   Q hS	P                  4        S	P                  V8X  g   Q hR p\!        \"        \$        \&        \(        \*        3RRR4       F  w  rVrxV! WVWx4       K  	  R# )c                  D    \        \        R 4      \        ^ .4      .R7      # )ab)pgroup)r   listr        g/var/www/html/photoedit/myenv/lib/python3.14/site-packages/sympy/combinatorics/tests/test_polyhedron.py<lambda>!test_polyhedron.<locals>.<lambda>   s    z$t*QC ! #r   zA:Hc                  <   < S P                  \        ^ ^.4      4      # )r   )rotater   )r   s   r   r   r   0   s    t{{;1v+>?r   c                    \        V P                  4      \        V P                  4      ,           \        V P                  4      ,
          ^8X  g   Q hV P                  V8X  g   Q h\        4       pV P                   EF  pV P                  4       pVP                  p\        V4       F'  pVP                  V4       VP                  V8X  g   K'   M	  \        RVP                  4       \        V4       F  pVP                  V4       VP                  \        VP                  4      4       VP                  p	VP                   U
Uu. uF  q Uu. uF  qV,          NK  	  upNK  	  upp
p
V P                  \        W4      P                  8X  d   K  Q h	  EK  	  \        V4      V8X  g   Q h\!        V Uu. uF  p\#        V4      NK  	  up4      P$                  '       g   Q hR# u upi u upp
i u upi )   zerror in permutationN)lenfacesverticesedgessizesetr   copycornersranger   print
array_formaddtupler   r   r   is_group)hr!   rpttargetgotpPhiticfgs   &&&&        r   checktest_polyhedron.<locals>.check7   sn   177|c!**o-AGG<AAAvv~~eAA))C3Z99#  
 ,all;3Zaii()II0181A&AqddA&8ww*Q"2"8"8888     3x6!!! =AQ =>GGGGG '8 !>s   G&
G!G&
2G,!G&
N)r      r      )            )r   r8   r;   r:   )r9   r   r<   r=   )r=   r:   r   r9   )r<   r;   r8   r   )r8   r<   r9   )r;   r=   r   )r;   r=   r   )r8   r:   r9   )r<   r8   r:   )r   r   r=   )r;   r   r   )r<   r9   r:   )r   r;   r   r=   r<   r9   r:   r8   ))r   r;   )r:   r8   )r;   r   )r9   r:   )r   r=   )r   r=   )r<   r8   )r<   r9   )r=   r8   )r;   r9   )r   r<   )r   r:   )r8   r:   r<   r9   r=   r   r   r;   )r   r<   r=   r9   )r<      r:         )r=   r<   r<   r9   r9   )r@      rA   <   rB   )r   
ValueErrorr   r)   r   r   r   r    r   r%   r   r   r$   r'   cyclic_formresetzipr   squarer   r	   r
   )
r   r$   r   r2   r6   r+   r!   r,   r-   r   s
            @r   test_polyhedronrH      s   
: # $<67<67<679i!qc:;9i!qc:;9i!qc:;9i!qc:;Aq6Aq6Aq6Aq6:;Aq6Aq6Aq6Aq6:;Aq6Aq6Aq6Aq6:;Aq6Aq6Aq6Aq6:;Aq6Aq6Aq6Aq6:;Aq6Aq6Aq6Aq6:;235F GEN#GEgf-D:: %8 9 9 9 9 1XDKKNA%&  <<7"""1a[DKKNA%&  <<7"""KKN
:?@<<7"""??6666l;;;;JJL<<7"""H2 !$	fj,D 	!"
 	as#!"r   c            
         ^ RI Hp HpHpHpHp ^ RI Hp V! 4       w
  rgrp
rpr\        V8X  g   Q hW8X  g   Q h\        V8X  g   Q h\        V	8X  g   Q h\        V
8X  g   Q h\        \        \        V4      4      \        \        \        V4      4      8X  g   Q h\        \        4      \        V4      8X  g   Q h\        V4      \        V4      8X  g   Q h\        V4      \        V4      8X  g   Q h\        V4      \        V4      8X  g   Q hR# )r   )r   tetrahedron_facesoctahedron_facesdodecahedron_facesicosahedron_faces)_pgroup_calcsN)sympy.combinatorics.polyhedronr   rJ   rK   rL   rM   rN   r   r   r	   r
   sortedmapr   )r   rJ   rK   rL   rM   rN   tetrahedron2cube2octahedron2dodecahedron2icosahedron2tetrahedron_faces2cube_faces2octahedron_faces2dodecahedron_faces2icosahedron_faces2s                   r   test_pgroupsr\   X   s    E E< 1>.\+l&7,&&&==$$$=(((,&&&#f/01VCHZ<[5\\\\*!4444"#v.?'@@@@$%0C)DDDD#$/A(BBBBr   N)sympy.core.symbolr   sympy.sets.setsr   rO   r   r   r   rG   r   r	   r
   r    sympy.combinatorics.permutationsr   sympy.combinatorics.perm_groupsr   sympy.testing.pytestr   rmulrH   r\   r   r   r   <module>rc      s=    % %   9 < 'H$VCr   