cvit.rlg 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. Tue Feb 10 12:26:52 2004 run on Linux
  2. % Tests of Cvitanovic Package.
  3. % COPYRIGHT (C) 1990, INSTITUTE OF NUCLEAR PHYSICS, MOSCOW STATE UNIV.
  4. % CVITBUBLE TEST OF CVITANOVIC PACKAGE
  5. % AUTHOR A. KRYUKOV, ARODIONOV, A.TARANOV
  6. % VERSION 1.1
  7. % RELEASE 18-SEP-90
  8. index j1,j2,j3,j4,j5,j6,j7,j8,j9,j0;
  9. vecdim n$
  10. % Tests of the weels with buble
  11. % (Use notation from SIGSAM Bull, 1989, v.23, no.4, pp.15-24)
  12. g(l,j1,j2,j2,j1);
  13. 2
  14. n
  15. g(l,j1,j2)*g(l1,j3,j1,j2,j3);
  16. 2
  17. n
  18. g(l,j1,j2)*g(l1,j3,j1,j3,j2);
  19. n*( - n + 2)
  20. g(l,j1,j2)*g(l1,j3,j3,j2,j1);
  21. 2
  22. n
  23. g(l,j1,j2,j3,j4)*g(l1,j1,j2,j3,j4);
  24. n*(3*n - 2)
  25. g(l,j1,j2)*g(l1,j3,j4,j1,j2,j4,j3);
  26. 3
  27. n
  28. g(l,j1,j2,j3,j4)*g(l1,j1,j4,j2,j3);
  29. n*( - n + 2)
  30. g(l,j1,j2)*g(l1,j3,j4,j1,j4,j3,j2);
  31. 2
  32. n*(n - 4*n + 4)
  33. g(l,j1,j2)*g(l1,j3,j4,j5,j1,j2,j3,j4,j5);
  34. 2 2
  35. n *( - n + 6*n - 4)
  36. g(l,j1,j2,j3,j4)*g(l1,j5,j1,j2,j3,j5,j4);
  37. 2
  38. n*( - 3*n + 8*n - 4)
  39. g(l,j1,j2,j3,j4,j5,j1)*g(l1,j2,j5,j3,j4);
  40. 2
  41. n *( - n + 2)
  42. g(l,j1,j2,j3,j4,j5,j1,j2,j5)*g(l1,j4,j3);
  43. 2 2
  44. n *( - n + 6*n - 4)
  45. g(l,j1,j2)*g(l1,j3,j4,j5,j6,j1,j2,j3,j4,j5,j6);
  46. 2 3 2
  47. n *(n - 12*n + 28*n - 16)
  48. g(l,j1,j2,j3,j4)*g(l1,j5,j6,j1,j2,j3,j4,j6,j5);
  49. 3
  50. n *(3*n - 2)
  51. g(l,j1,j2,j3,j4,j5,j6)*g(l1,j1,j2,j4,j3,j6,j5);
  52. 2
  53. n*(7*n - 22*n + 16)
  54. g(l,j1,j2,j3,j4,j5,j6,j1,j2)*g(l1,j6,j3,j4,j5);
  55. 2 2
  56. n *( - 3*n + 8*n - 4)
  57. g(l,j1,j2,j3,j4,j5,j6,j7,j1,j2,j3,j4,j5)*g(l1,j6,j7);
  58. 2 4 3 2
  59. n *(n - 20*n + 100*n - 160*n + 80)
  60. g(l,j1,j2,j3,j4,j5,j6,j7,j1,j2,j3)*g(l1,j4,j5,j7,j6);
  61. 2 3 2
  62. n *(n - 8*n + 16*n - 8)
  63. g(l,j1,j2,j3,j4,j5,j6,j7,j2)*g(l1,j1,j3,j4,j5,j6,j7);
  64. 3 2
  65. n*( - 15*n + 60*n - 76*n + 32)
  66. % COPYRIGHT (C) 1988,1990, INSTITUTE OF NUCLEAR PHYSICS, MOSCOW STATE U.
  67. % CVITEST Test of CVITANOVIC PACKAGE
  68. % AUTHOR A. KRYUKOV, A.RODIONOV, A.TARANOV
  69. % VERSION 1.2
  70. % RELEASE 11-MAR-90
  71. %
  72. % Test for trace of Dirac matrices.
  73. %
  74. % All tests are the lattices with difference lines
  75. % (Use notation from SIGSAM Bull, 1989, v.4,no.23, pp.15-24)
  76. index m1,m2,m3,m4,m5,m6,m7,m8,m9,m0;
  77. index n1,n2,n3,n4,n5,n6,n7,n8,n9,n0;
  78. vecdim n;
  79. g(l,n1,n1);
  80. n
  81. g(l,n1,m1,n1,m1);
  82. n*( - n + 2)
  83. g(l,n1,n2,n2,n1);
  84. 2
  85. n
  86. g(l,n1,n2,m1,n2,n1,m1);
  87. 2
  88. n*(n - 4*n + 4)
  89. g(l,n1,n2,m1,m2,n2,n1,m2,m1);
  90. 3 2
  91. n*(n - 8*n + 24*n - 16)
  92. g(l,n1,n2,n3,n3,n2,n1);
  93. 3
  94. n
  95. g(l,n1,n2,n3,m1,n3,n2,n1,m1);
  96. 3 2
  97. n*( - n + 6*n - 12*n + 8)
  98. g(l,n1,n2,n3,m1,m2,n3,n2,n1,m2,m1);
  99. 4 3 2
  100. n*(n - 12*n + 60*n - 112*n + 64)
  101. g(l,n1,n2,n3,m1,m2,m3,n3,n2,n1,m3,m2,m1);
  102. 5 4 3 2
  103. n*( - n + 18*n - 144*n + 528*n - 816*n + 416)
  104. g(l,n1,n2,n3,m1,n3,n1,n2,m1);
  105. 3 2
  106. n*(n - 8*n + 16*n - 8)
  107. g(l,n1,n2,n3,m1,m2,n3,n1,n2,m1,m2);
  108. 4 3 2
  109. n*(n - 16*n + 72*n - 120*n + 64)
  110. g(l,n1,n2,n3,m1,m2,m3,n2,n3,n1,m3,m1,m2);
  111. 5 4 3 2
  112. n*( - n + 22*n - 172*n + 584*n - 848*n + 416)
  113. % COPYRIGHT (C) 1988,1990, INSTITUTE OF NUCLEAR PHYSICS, MOSCOW STATE U.
  114. % CVITWEEL TEST OF CVITANOVIC PACKAGE
  115. % AUTHOR A. KRYUKOV, ARODIONOV, A.TARANOV
  116. % VERSION 1.2
  117. % RELEASE 11-MAR-90
  118. index j1,j2,j3,j4,j5,j6,j7,j8,j9,j0;
  119. vecdim n$
  120. % Test of CVITANOVIC PACKAGE
  121. %
  122. % All tests are the weels with defferent spoke
  123. % (Use notation from SIGSAM Bull, 1989, v.23, no.4, pp.15-24)
  124. g(l,j1,j2,j2,j1);
  125. 2
  126. n
  127. g(l,j1,j2,j3,j1,j2,j3);
  128. 2
  129. n*( - n + 6*n - 4)
  130. g(l,j1,j2,j3,j1,j3,j2);
  131. 2
  132. n*(n - 4*n + 4)
  133. g(l,j1,j2,j3,j3,j2,j1);
  134. 3
  135. n
  136. g(l,j1,j2,j3,j4,j1,j2,j3,j4);
  137. 3 2
  138. n*(n - 12*n + 28*n - 16)
  139. g(l,j1,j2,j3,j4,j1,j2,j4,j3);
  140. 3 2
  141. n*( - n + 10*n - 24*n + 16)
  142. g(l,j1,j2,j3,j4,j1,j4,j2,j3);
  143. 3 2
  144. n*(n - 8*n + 16*n - 8)
  145. g(l,j1,j2,j3,j4,j1,j4,j3,j2);
  146. 3 2
  147. n*( - n + 6*n - 12*n + 8)
  148. g(l,j1,j2,j3,j4,j5,j1,j2,j3,j4,j5);
  149. 4 3 2
  150. n*(n - 20*n + 100*n - 160*n + 80)
  151. g(l,j1,j2,j3,j4,j5,j1,j2,j3,j5,j4);
  152. 4 3 2
  153. n*( - n + 18*n - 88*n + 152*n - 80)
  154. g(l,j1,j2,j3,j4,j5,j1,j2,j5,j3,j4);
  155. 4 3 2
  156. n*(n - 16*n + 72*n - 120*n + 64)
  157. g(l,j1,j2,j3,j4,j5,j1,j2,j5,j4,j3);
  158. 4 3 2
  159. n*( - n + 14*n - 60*n + 112*n - 64)
  160. g(l,j1,j2,j3,j4,j5,j6,j1,j2,j3,j4,j5,j6);
  161. 5 4 3 2
  162. n*( - n + 30*n - 260*n + 840*n - 1120*n + 512)
  163. g(l,j1,j2,j3,j4,j5,j6,j1,j2,j3,j4,j6,j5);
  164. 5 4 3 2
  165. n*(n - 28*n + 236*n - 784*n + 1088*n - 512)
  166. g(l,j1,j2,j3,j4,j5,j6,j1,j2,j4,j3,j6,j5);
  167. 5 4 3 2
  168. n*( - n + 26*n - 216*n + 736*n - 1056*n + 512)
  169. g(l,j1,j2,j3,j4,j5,j6,j1,j2,j6,j3,j4,j5);
  170. 5 4 3 2
  171. n*(n - 24*n + 176*n - 536*n + 704*n - 320)
  172. g(l,j1,j2,j3,j4,j5,j6,j7,j1,j2,j3,j4,j5,j6,j7);
  173. 6 5 4 3 2
  174. n*( - n + 42*n - 560*n + 3080*n - 7840*n + 9184*n - 3904)
  175. g(l,j1,j2,j3,j4,j5,j6,j7,j1,j2,j3,j4,j5,j7,j6);
  176. 6 5 4 3 2
  177. n*(n - 40*n + 520*n - 2880*n + 7520*n - 9024*n + 3904)
  178. g(l,j1,j2,j3,j4,j5,j6,j7,j2,j1,j3,j4,j5,j6,j7);
  179. 6 5 4 3 2
  180. n*(n - 40*n + 520*n - 2880*n + 7520*n - 9024*n + 3904)
  181. % Test of example that calculated incorrectly in earlier package.
  182. index ix,iy,iz;
  183. mass p1=mm, p2=mm, p3=mm, p4=mm, k1=0;
  184. mshell p1,p2,p3,p4,k1;
  185. vector q1,q2;
  186. operator ga,gb;
  187. for all p let ga(p)=g(la,p) + mm,
  188. gb(p)=g(lb,p) + mm;
  189. xx := g(la,ix)*g(la,iy)*(g(lb,ix)*gb(p1)*g(lb,iy)*gb(q2) +
  190. gb(p3)*g(lb,ix)*g(lb,iy));
  191. 2
  192. xx := - p1.q2*n + 2*p1.q2 + mm *n + mm*n
  193. let q1=p1-k1, q2=p3+k1;
  194. xx;
  195. 2
  196. - k1.p1*n + 2*k1.p1 - p1.p3*n + 2*p1.p3 + mm *n + mm*n
  197. end;
  198. Time for test: 70 ms, plus GC time: 10 ms