passagemath-singular 10.6.31rc3__cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of passagemath-singular might be problematic. Click here for more details.

Files changed (490) hide show
  1. PySingular.cpython-314-aarch64-linux-gnu.so +0 -0
  2. passagemath_singular-10.6.31rc3.dist-info/METADATA +183 -0
  3. passagemath_singular-10.6.31rc3.dist-info/RECORD +490 -0
  4. passagemath_singular-10.6.31rc3.dist-info/WHEEL +6 -0
  5. passagemath_singular-10.6.31rc3.dist-info/top_level.txt +3 -0
  6. passagemath_singular.libs/libSingular-4-6a2a8666.4.1.so +0 -0
  7. passagemath_singular.libs/libcddgmp-ac579979.so.0.1.3 +0 -0
  8. passagemath_singular.libs/libfactory-4-66e33516.4.1.so +0 -0
  9. passagemath_singular.libs/libflint-81de1160.so.21.0.0 +0 -0
  10. passagemath_singular.libs/libgf2x-fbd36f80.so.3.0.0 +0 -0
  11. passagemath_singular.libs/libgfortran-e1b7dfc8.so.5.0.0 +0 -0
  12. passagemath_singular.libs/libgmp-93ebf16a.so.10.5.0 +0 -0
  13. passagemath_singular.libs/libgsl-e3525837.so.28.0.0 +0 -0
  14. passagemath_singular.libs/libmpfr-e0f11cf3.so.6.2.1 +0 -0
  15. passagemath_singular.libs/libntl-0043a3a2.so.44.0.1 +0 -0
  16. passagemath_singular.libs/libomalloc-0-06512335.9.6.so +0 -0
  17. passagemath_singular.libs/libopenblasp-r0-4c5b64b1.3.29.so +0 -0
  18. passagemath_singular.libs/libpolys-4-cb7246b5.4.1.so +0 -0
  19. passagemath_singular.libs/libreadline-28330744.so.8.2 +0 -0
  20. passagemath_singular.libs/libsingular_resources-4-8c425241.4.1.so +0 -0
  21. passagemath_singular.libs/libtinfo-f81c2d16.so.6.3 +0 -0
  22. sage/algebras/all__sagemath_singular.py +3 -0
  23. sage/algebras/fusion_rings/all.py +19 -0
  24. sage/algebras/fusion_rings/f_matrix.py +2448 -0
  25. sage/algebras/fusion_rings/fast_parallel_fmats_methods.cpython-314-aarch64-linux-gnu.so +0 -0
  26. sage/algebras/fusion_rings/fast_parallel_fmats_methods.pxd +5 -0
  27. sage/algebras/fusion_rings/fast_parallel_fmats_methods.pyx +538 -0
  28. sage/algebras/fusion_rings/fast_parallel_fusion_ring_braid_repn.cpython-314-aarch64-linux-gnu.so +0 -0
  29. sage/algebras/fusion_rings/fast_parallel_fusion_ring_braid_repn.pxd +3 -0
  30. sage/algebras/fusion_rings/fast_parallel_fusion_ring_braid_repn.pyx +331 -0
  31. sage/algebras/fusion_rings/fusion_double.py +899 -0
  32. sage/algebras/fusion_rings/fusion_ring.py +1580 -0
  33. sage/algebras/fusion_rings/poly_tup_engine.cpython-314-aarch64-linux-gnu.so +0 -0
  34. sage/algebras/fusion_rings/poly_tup_engine.pxd +24 -0
  35. sage/algebras/fusion_rings/poly_tup_engine.pyx +579 -0
  36. sage/algebras/fusion_rings/shm_managers.cpython-314-aarch64-linux-gnu.so +0 -0
  37. sage/algebras/fusion_rings/shm_managers.pxd +24 -0
  38. sage/algebras/fusion_rings/shm_managers.pyx +780 -0
  39. sage/algebras/letterplace/all.py +1 -0
  40. sage/algebras/letterplace/free_algebra_element_letterplace.cpython-314-aarch64-linux-gnu.so +0 -0
  41. sage/algebras/letterplace/free_algebra_element_letterplace.pxd +18 -0
  42. sage/algebras/letterplace/free_algebra_element_letterplace.pyx +755 -0
  43. sage/algebras/letterplace/free_algebra_letterplace.cpython-314-aarch64-linux-gnu.so +0 -0
  44. sage/algebras/letterplace/free_algebra_letterplace.pxd +35 -0
  45. sage/algebras/letterplace/free_algebra_letterplace.pyx +914 -0
  46. sage/algebras/letterplace/letterplace_ideal.cpython-314-aarch64-linux-gnu.so +0 -0
  47. sage/algebras/letterplace/letterplace_ideal.pyx +408 -0
  48. sage/algebras/quatalg/all.py +2 -0
  49. sage/algebras/quatalg/quaternion_algebra.py +4778 -0
  50. sage/algebras/quatalg/quaternion_algebra_cython.cpython-314-aarch64-linux-gnu.so +0 -0
  51. sage/algebras/quatalg/quaternion_algebra_cython.pyx +261 -0
  52. sage/algebras/quatalg/quaternion_algebra_element.cpython-314-aarch64-linux-gnu.so +0 -0
  53. sage/algebras/quatalg/quaternion_algebra_element.pxd +29 -0
  54. sage/algebras/quatalg/quaternion_algebra_element.pyx +2176 -0
  55. sage/all__sagemath_singular.py +11 -0
  56. sage/ext_data/all__sagemath_singular.py +1 -0
  57. sage/ext_data/singular/function_field/core.lib +98 -0
  58. sage/interfaces/all__sagemath_singular.py +1 -0
  59. sage/interfaces/singular.py +2835 -0
  60. sage/libs/all__sagemath_singular.py +1 -0
  61. sage/libs/singular/__init__.py +1 -0
  62. sage/libs/singular/decl.pxd +1168 -0
  63. sage/libs/singular/function.cpython-314-aarch64-linux-gnu.so +0 -0
  64. sage/libs/singular/function.pxd +87 -0
  65. sage/libs/singular/function.pyx +1901 -0
  66. sage/libs/singular/function_factory.py +61 -0
  67. sage/libs/singular/groebner_strategy.cpython-314-aarch64-linux-gnu.so +0 -0
  68. sage/libs/singular/groebner_strategy.pxd +22 -0
  69. sage/libs/singular/groebner_strategy.pyx +582 -0
  70. sage/libs/singular/option.cpython-314-aarch64-linux-gnu.so +0 -0
  71. sage/libs/singular/option.pyx +671 -0
  72. sage/libs/singular/polynomial.cpython-314-aarch64-linux-gnu.so +0 -0
  73. sage/libs/singular/polynomial.pxd +39 -0
  74. sage/libs/singular/polynomial.pyx +661 -0
  75. sage/libs/singular/ring.cpython-314-aarch64-linux-gnu.so +0 -0
  76. sage/libs/singular/ring.pxd +58 -0
  77. sage/libs/singular/ring.pyx +893 -0
  78. sage/libs/singular/singular.cpython-314-aarch64-linux-gnu.so +0 -0
  79. sage/libs/singular/singular.pxd +72 -0
  80. sage/libs/singular/singular.pyx +1944 -0
  81. sage/libs/singular/standard_options.py +145 -0
  82. sage/matrix/all__sagemath_singular.py +1 -0
  83. sage/matrix/matrix_mpolynomial_dense.cpython-314-aarch64-linux-gnu.so +0 -0
  84. sage/matrix/matrix_mpolynomial_dense.pxd +7 -0
  85. sage/matrix/matrix_mpolynomial_dense.pyx +615 -0
  86. sage/rings/all__sagemath_singular.py +1 -0
  87. sage/rings/function_field/all__sagemath_singular.py +1 -0
  88. sage/rings/function_field/derivations_polymod.py +911 -0
  89. sage/rings/function_field/element_polymod.cpython-314-aarch64-linux-gnu.so +0 -0
  90. sage/rings/function_field/element_polymod.pyx +406 -0
  91. sage/rings/function_field/function_field_polymod.py +2611 -0
  92. sage/rings/function_field/ideal_polymod.py +1775 -0
  93. sage/rings/function_field/order_polymod.py +1475 -0
  94. sage/rings/function_field/place_polymod.py +681 -0
  95. sage/rings/polynomial/all__sagemath_singular.py +1 -0
  96. sage/rings/polynomial/multi_polynomial_ideal_libsingular.cpython-314-aarch64-linux-gnu.so +0 -0
  97. sage/rings/polynomial/multi_polynomial_ideal_libsingular.pxd +5 -0
  98. sage/rings/polynomial/multi_polynomial_ideal_libsingular.pyx +339 -0
  99. sage/rings/polynomial/multi_polynomial_libsingular.cpython-314-aarch64-linux-gnu.so +0 -0
  100. sage/rings/polynomial/multi_polynomial_libsingular.pxd +30 -0
  101. sage/rings/polynomial/multi_polynomial_libsingular.pyx +6277 -0
  102. sage/rings/polynomial/plural.cpython-314-aarch64-linux-gnu.so +0 -0
  103. sage/rings/polynomial/plural.pxd +48 -0
  104. sage/rings/polynomial/plural.pyx +3171 -0
  105. sage/symbolic/all__sagemath_singular.py +1 -0
  106. sage/symbolic/comparison_impl.pxi +428 -0
  107. sage/symbolic/constants_c_impl.pxi +178 -0
  108. sage/symbolic/expression.cpython-314-aarch64-linux-gnu.so +0 -0
  109. sage/symbolic/expression.pxd +7 -0
  110. sage/symbolic/expression.pyx +14200 -0
  111. sage/symbolic/getitem_impl.pxi +202 -0
  112. sage/symbolic/pynac.pxi +572 -0
  113. sage/symbolic/pynac_constant_impl.pxi +133 -0
  114. sage/symbolic/pynac_function_impl.pxi +206 -0
  115. sage/symbolic/pynac_impl.pxi +2576 -0
  116. sage/symbolic/pynac_wrap.h +124 -0
  117. sage/symbolic/series_impl.pxi +272 -0
  118. sage/symbolic/substitution_map_impl.pxi +94 -0
  119. sage_wheels/bin/ESingular +0 -0
  120. sage_wheels/bin/Singular +0 -0
  121. sage_wheels/bin/TSingular +0 -0
  122. sage_wheels/lib/singular/MOD/cohomo.la +41 -0
  123. sage_wheels/lib/singular/MOD/cohomo.so +0 -0
  124. sage_wheels/lib/singular/MOD/customstd.la +41 -0
  125. sage_wheels/lib/singular/MOD/customstd.so +0 -0
  126. sage_wheels/lib/singular/MOD/freealgebra.la +41 -0
  127. sage_wheels/lib/singular/MOD/freealgebra.so +0 -0
  128. sage_wheels/lib/singular/MOD/gfanlib.la +41 -0
  129. sage_wheels/lib/singular/MOD/gfanlib.so +0 -0
  130. sage_wheels/lib/singular/MOD/gitfan.la +41 -0
  131. sage_wheels/lib/singular/MOD/gitfan.so +0 -0
  132. sage_wheels/lib/singular/MOD/interval.la +41 -0
  133. sage_wheels/lib/singular/MOD/interval.so +0 -0
  134. sage_wheels/lib/singular/MOD/loctriv.la +41 -0
  135. sage_wheels/lib/singular/MOD/loctriv.so +0 -0
  136. sage_wheels/lib/singular/MOD/machinelearning.la +41 -0
  137. sage_wheels/lib/singular/MOD/machinelearning.so +0 -0
  138. sage_wheels/lib/singular/MOD/p_Procs_FieldGeneral.la +41 -0
  139. sage_wheels/lib/singular/MOD/p_Procs_FieldGeneral.so +0 -0
  140. sage_wheels/lib/singular/MOD/p_Procs_FieldIndep.la +41 -0
  141. sage_wheels/lib/singular/MOD/p_Procs_FieldIndep.so +0 -0
  142. sage_wheels/lib/singular/MOD/p_Procs_FieldQ.la +41 -0
  143. sage_wheels/lib/singular/MOD/p_Procs_FieldQ.so +0 -0
  144. sage_wheels/lib/singular/MOD/p_Procs_FieldZp.la +41 -0
  145. sage_wheels/lib/singular/MOD/p_Procs_FieldZp.so +0 -0
  146. sage_wheels/lib/singular/MOD/partialgb.la +41 -0
  147. sage_wheels/lib/singular/MOD/partialgb.so +0 -0
  148. sage_wheels/lib/singular/MOD/pyobject.la +41 -0
  149. sage_wheels/lib/singular/MOD/pyobject.so +0 -0
  150. sage_wheels/lib/singular/MOD/singmathic.la +41 -0
  151. sage_wheels/lib/singular/MOD/singmathic.so +0 -0
  152. sage_wheels/lib/singular/MOD/sispasm.la +41 -0
  153. sage_wheels/lib/singular/MOD/sispasm.so +0 -0
  154. sage_wheels/lib/singular/MOD/subsets.la +41 -0
  155. sage_wheels/lib/singular/MOD/subsets.so +0 -0
  156. sage_wheels/lib/singular/MOD/systhreads.la +41 -0
  157. sage_wheels/lib/singular/MOD/systhreads.so +0 -0
  158. sage_wheels/lib/singular/MOD/syzextra.la +41 -0
  159. sage_wheels/lib/singular/MOD/syzextra.so +0 -0
  160. sage_wheels/libexec/singular/MOD/change_cost +0 -0
  161. sage_wheels/libexec/singular/MOD/singularsurf +11 -0
  162. sage_wheels/libexec/singular/MOD/singularsurf_jupyter +9 -0
  163. sage_wheels/libexec/singular/MOD/singularsurf_win +10 -0
  164. sage_wheels/libexec/singular/MOD/solve_IP +0 -0
  165. sage_wheels/libexec/singular/MOD/surfex +16 -0
  166. sage_wheels/libexec/singular/MOD/toric_ideal +0 -0
  167. sage_wheels/share/factory/gftables/10201 +342 -0
  168. sage_wheels/share/factory/gftables/1024 +37 -0
  169. sage_wheels/share/factory/gftables/10609 +356 -0
  170. sage_wheels/share/factory/gftables/11449 +384 -0
  171. sage_wheels/share/factory/gftables/11881 +398 -0
  172. sage_wheels/share/factory/gftables/121 +6 -0
  173. sage_wheels/share/factory/gftables/12167 +408 -0
  174. sage_wheels/share/factory/gftables/125 +7 -0
  175. sage_wheels/share/factory/gftables/12769 +428 -0
  176. sage_wheels/share/factory/gftables/128 +7 -0
  177. sage_wheels/share/factory/gftables/1331 +47 -0
  178. sage_wheels/share/factory/gftables/1369 +48 -0
  179. sage_wheels/share/factory/gftables/14641 +490 -0
  180. sage_wheels/share/factory/gftables/15625 +523 -0
  181. sage_wheels/share/factory/gftables/16 +3 -0
  182. sage_wheels/share/factory/gftables/16129 +540 -0
  183. sage_wheels/share/factory/gftables/16384 +549 -0
  184. sage_wheels/share/factory/gftables/16807 +563 -0
  185. sage_wheels/share/factory/gftables/1681 +58 -0
  186. sage_wheels/share/factory/gftables/169 +8 -0
  187. sage_wheels/share/factory/gftables/17161 +574 -0
  188. sage_wheels/share/factory/gftables/1849 +64 -0
  189. sage_wheels/share/factory/gftables/18769 +628 -0
  190. sage_wheels/share/factory/gftables/19321 +646 -0
  191. sage_wheels/share/factory/gftables/19683 +659 -0
  192. sage_wheels/share/factory/gftables/2048 +71 -0
  193. sage_wheels/share/factory/gftables/2187 +75 -0
  194. sage_wheels/share/factory/gftables/2197 +76 -0
  195. sage_wheels/share/factory/gftables/2209 +76 -0
  196. sage_wheels/share/factory/gftables/22201 +742 -0
  197. sage_wheels/share/factory/gftables/22801 +762 -0
  198. sage_wheels/share/factory/gftables/2401 +82 -0
  199. sage_wheels/share/factory/gftables/243 +11 -0
  200. sage_wheels/share/factory/gftables/24389 +815 -0
  201. sage_wheels/share/factory/gftables/24649 +824 -0
  202. sage_wheels/share/factory/gftables/25 +3 -0
  203. sage_wheels/share/factory/gftables/256 +11 -0
  204. sage_wheels/share/factory/gftables/26569 +888 -0
  205. sage_wheels/share/factory/gftables/27 +3 -0
  206. sage_wheels/share/factory/gftables/27889 +932 -0
  207. sage_wheels/share/factory/gftables/2809 +96 -0
  208. sage_wheels/share/factory/gftables/28561 +954 -0
  209. sage_wheels/share/factory/gftables/289 +12 -0
  210. sage_wheels/share/factory/gftables/29791 +995 -0
  211. sage_wheels/share/factory/gftables/29929 +1000 -0
  212. sage_wheels/share/factory/gftables/3125 +107 -0
  213. sage_wheels/share/factory/gftables/32 +4 -0
  214. sage_wheels/share/factory/gftables/32041 +1070 -0
  215. sage_wheels/share/factory/gftables/32761 +1094 -0
  216. sage_wheels/share/factory/gftables/32768 +1095 -0
  217. sage_wheels/share/factory/gftables/343 +14 -0
  218. sage_wheels/share/factory/gftables/3481 +118 -0
  219. sage_wheels/share/factory/gftables/361 +14 -0
  220. sage_wheels/share/factory/gftables/36481 +1218 -0
  221. sage_wheels/share/factory/gftables/3721 +126 -0
  222. sage_wheels/share/factory/gftables/37249 +1244 -0
  223. sage_wheels/share/factory/gftables/38809 +1296 -0
  224. sage_wheels/share/factory/gftables/39601 +1322 -0
  225. sage_wheels/share/factory/gftables/4 +3 -0
  226. sage_wheels/share/factory/gftables/4096 +139 -0
  227. sage_wheels/share/factory/gftables/44521 +1486 -0
  228. sage_wheels/share/factory/gftables/4489 +152 -0
  229. sage_wheels/share/factory/gftables/49 +4 -0
  230. sage_wheels/share/factory/gftables/4913 +166 -0
  231. sage_wheels/share/factory/gftables/49729 +1660 -0
  232. sage_wheels/share/factory/gftables/5041 +170 -0
  233. sage_wheels/share/factory/gftables/50653 +1691 -0
  234. sage_wheels/share/factory/gftables/512 +20 -0
  235. sage_wheels/share/factory/gftables/51529 +1720 -0
  236. sage_wheels/share/factory/gftables/52441 +1750 -0
  237. sage_wheels/share/factory/gftables/529 +20 -0
  238. sage_wheels/share/factory/gftables/5329 +180 -0
  239. sage_wheels/share/factory/gftables/54289 +1812 -0
  240. sage_wheels/share/factory/gftables/57121 +1906 -0
  241. sage_wheels/share/factory/gftables/58081 +1938 -0
  242. sage_wheels/share/factory/gftables/59049 +1971 -0
  243. sage_wheels/share/factory/gftables/6241 +210 -0
  244. sage_wheels/share/factory/gftables/625 +23 -0
  245. sage_wheels/share/factory/gftables/63001 +2102 -0
  246. sage_wheels/share/factory/gftables/64 +5 -0
  247. sage_wheels/share/factory/gftables/6561 +221 -0
  248. sage_wheels/share/factory/gftables/6859 +231 -0
  249. sage_wheels/share/factory/gftables/6889 +232 -0
  250. sage_wheels/share/factory/gftables/729 +27 -0
  251. sage_wheels/share/factory/gftables/7921 +266 -0
  252. sage_wheels/share/factory/gftables/8 +3 -0
  253. sage_wheels/share/factory/gftables/81 +5 -0
  254. sage_wheels/share/factory/gftables/8192 +276 -0
  255. sage_wheels/share/factory/gftables/841 +30 -0
  256. sage_wheels/share/factory/gftables/9 +3 -0
  257. sage_wheels/share/factory/gftables/9409 +316 -0
  258. sage_wheels/share/factory/gftables/961 +34 -0
  259. sage_wheels/share/info/singular.info +191898 -0
  260. sage_wheels/share/singular/LIB/GND.lib +1359 -0
  261. sage_wheels/share/singular/LIB/JMBTest.lib +976 -0
  262. sage_wheels/share/singular/LIB/JMSConst.lib +1363 -0
  263. sage_wheels/share/singular/LIB/KVequiv.lib +699 -0
  264. sage_wheels/share/singular/LIB/SingularityDBM.lib +491 -0
  265. sage_wheels/share/singular/LIB/VecField.lib +1542 -0
  266. sage_wheels/share/singular/LIB/absfact.lib +959 -0
  267. sage_wheels/share/singular/LIB/ainvar.lib +730 -0
  268. sage_wheels/share/singular/LIB/aksaka.lib +419 -0
  269. sage_wheels/share/singular/LIB/alexpoly.lib +2542 -0
  270. sage_wheels/share/singular/LIB/algebra.lib +1193 -0
  271. sage_wheels/share/singular/LIB/all.lib +136 -0
  272. sage_wheels/share/singular/LIB/arcpoint.lib +514 -0
  273. sage_wheels/share/singular/LIB/arnold.lib +4553 -0
  274. sage_wheels/share/singular/LIB/arnoldclassify.lib +2058 -0
  275. sage_wheels/share/singular/LIB/arr.lib +3486 -0
  276. sage_wheels/share/singular/LIB/assprimeszerodim.lib +755 -0
  277. sage_wheels/share/singular/LIB/autgradalg.lib +3361 -0
  278. sage_wheels/share/singular/LIB/bfun.lib +1964 -0
  279. sage_wheels/share/singular/LIB/bimodules.lib +774 -0
  280. sage_wheels/share/singular/LIB/brillnoether.lib +226 -0
  281. sage_wheels/share/singular/LIB/brnoeth.lib +5017 -0
  282. sage_wheels/share/singular/LIB/central.lib +2169 -0
  283. sage_wheels/share/singular/LIB/chern.lib +4162 -0
  284. sage_wheels/share/singular/LIB/cimonom.lib +571 -0
  285. sage_wheels/share/singular/LIB/cisimplicial.lib +1835 -0
  286. sage_wheels/share/singular/LIB/classify.lib +3239 -0
  287. sage_wheels/share/singular/LIB/classify2.lib +1462 -0
  288. sage_wheels/share/singular/LIB/classifyMapGerms.lib +1515 -0
  289. sage_wheels/share/singular/LIB/classify_aeq.lib +3253 -0
  290. sage_wheels/share/singular/LIB/classifyceq.lib +2092 -0
  291. sage_wheels/share/singular/LIB/classifyci.lib +1133 -0
  292. sage_wheels/share/singular/LIB/combinat.lib +91 -0
  293. sage_wheels/share/singular/LIB/compregb.lib +276 -0
  294. sage_wheels/share/singular/LIB/control.lib +1636 -0
  295. sage_wheels/share/singular/LIB/crypto.lib +3795 -0
  296. sage_wheels/share/singular/LIB/curveInv.lib +667 -0
  297. sage_wheels/share/singular/LIB/curvepar.lib +1817 -0
  298. sage_wheels/share/singular/LIB/customstd.lib +100 -0
  299. sage_wheels/share/singular/LIB/deRham.lib +5979 -0
  300. sage_wheels/share/singular/LIB/decodegb.lib +2134 -0
  301. sage_wheels/share/singular/LIB/decomp.lib +1655 -0
  302. sage_wheels/share/singular/LIB/deflation.lib +872 -0
  303. sage_wheels/share/singular/LIB/deform.lib +925 -0
  304. sage_wheels/share/singular/LIB/difform.lib +3055 -0
  305. sage_wheels/share/singular/LIB/divisors.lib +750 -0
  306. sage_wheels/share/singular/LIB/dmod.lib +5817 -0
  307. sage_wheels/share/singular/LIB/dmodapp.lib +3269 -0
  308. sage_wheels/share/singular/LIB/dmodideal.lib +1211 -0
  309. sage_wheels/share/singular/LIB/dmodloc.lib +2645 -0
  310. sage_wheels/share/singular/LIB/dmodvar.lib +818 -0
  311. sage_wheels/share/singular/LIB/dummy.lib +17 -0
  312. sage_wheels/share/singular/LIB/elim.lib +1009 -0
  313. sage_wheels/share/singular/LIB/ellipticcovers.lib +548 -0
  314. sage_wheels/share/singular/LIB/enumpoints.lib +146 -0
  315. sage_wheels/share/singular/LIB/equising.lib +2127 -0
  316. sage_wheels/share/singular/LIB/ffmodstd.lib +2384 -0
  317. sage_wheels/share/singular/LIB/ffsolve.lib +1289 -0
  318. sage_wheels/share/singular/LIB/findifs.lib +778 -0
  319. sage_wheels/share/singular/LIB/finitediff.lib +1768 -0
  320. sage_wheels/share/singular/LIB/finvar.lib +7989 -0
  321. sage_wheels/share/singular/LIB/fpadim.lib +2429 -0
  322. sage_wheels/share/singular/LIB/fpalgebras.lib +1666 -0
  323. sage_wheels/share/singular/LIB/fpaprops.lib +1462 -0
  324. sage_wheels/share/singular/LIB/freegb.lib +3853 -0
  325. sage_wheels/share/singular/LIB/general.lib +1350 -0
  326. sage_wheels/share/singular/LIB/gfan.lib +1768 -0
  327. sage_wheels/share/singular/LIB/gitfan.lib +3130 -0
  328. sage_wheels/share/singular/LIB/gkdim.lib +99 -0
  329. sage_wheels/share/singular/LIB/gmspoly.lib +589 -0
  330. sage_wheels/share/singular/LIB/gmssing.lib +1739 -0
  331. sage_wheels/share/singular/LIB/goettsche.lib +909 -0
  332. sage_wheels/share/singular/LIB/graal.lib +1366 -0
  333. sage_wheels/share/singular/LIB/gradedModules.lib +2541 -0
  334. sage_wheels/share/singular/LIB/graphics.lib +360 -0
  335. sage_wheels/share/singular/LIB/grobcov.lib +7706 -0
  336. sage_wheels/share/singular/LIB/groups.lib +1123 -0
  337. sage_wheels/share/singular/LIB/grwalk.lib +507 -0
  338. sage_wheels/share/singular/LIB/hdepth.lib +194 -0
  339. sage_wheels/share/singular/LIB/help.cnf +57 -0
  340. sage_wheels/share/singular/LIB/hess.lib +1946 -0
  341. sage_wheels/share/singular/LIB/hnoether.lib +4292 -0
  342. sage_wheels/share/singular/LIB/hodge.lib +400 -0
  343. sage_wheels/share/singular/LIB/homolog.lib +1965 -0
  344. sage_wheels/share/singular/LIB/hyperel.lib +975 -0
  345. sage_wheels/share/singular/LIB/inout.lib +679 -0
  346. sage_wheels/share/singular/LIB/integralbasis.lib +6224 -0
  347. sage_wheels/share/singular/LIB/interval.lib +1418 -0
  348. sage_wheels/share/singular/LIB/intprog.lib +778 -0
  349. sage_wheels/share/singular/LIB/invar.lib +443 -0
  350. sage_wheels/share/singular/LIB/involut.lib +980 -0
  351. sage_wheels/share/singular/LIB/jacobson.lib +1215 -0
  352. sage_wheels/share/singular/LIB/kskernel.lib +534 -0
  353. sage_wheels/share/singular/LIB/latex.lib +3146 -0
  354. sage_wheels/share/singular/LIB/lejeune.lib +651 -0
  355. sage_wheels/share/singular/LIB/linalg.lib +2040 -0
  356. sage_wheels/share/singular/LIB/locnormal.lib +212 -0
  357. sage_wheels/share/singular/LIB/lrcalc.lib +526 -0
  358. sage_wheels/share/singular/LIB/makedbm.lib +294 -0
  359. sage_wheels/share/singular/LIB/mathml.lib +813 -0
  360. sage_wheels/share/singular/LIB/matrix.lib +1372 -0
  361. sage_wheels/share/singular/LIB/maxlike.lib +1132 -0
  362. sage_wheels/share/singular/LIB/methods.lib +212 -0
  363. sage_wheels/share/singular/LIB/moddiq.lib +322 -0
  364. sage_wheels/share/singular/LIB/modfinduni.lib +181 -0
  365. sage_wheels/share/singular/LIB/modnormal.lib +218 -0
  366. sage_wheels/share/singular/LIB/modprimdec.lib +1278 -0
  367. sage_wheels/share/singular/LIB/modquotient.lib +269 -0
  368. sage_wheels/share/singular/LIB/modstd.lib +1024 -0
  369. sage_wheels/share/singular/LIB/modular.lib +545 -0
  370. sage_wheels/share/singular/LIB/modules.lib +2561 -0
  371. sage_wheels/share/singular/LIB/modwalk.lib +609 -0
  372. sage_wheels/share/singular/LIB/mondromy.lib +1016 -0
  373. sage_wheels/share/singular/LIB/monomialideal.lib +3851 -0
  374. sage_wheels/share/singular/LIB/mprimdec.lib +2353 -0
  375. sage_wheels/share/singular/LIB/mregular.lib +1863 -0
  376. sage_wheels/share/singular/LIB/multigrading.lib +5629 -0
  377. sage_wheels/share/singular/LIB/ncHilb.lib +777 -0
  378. sage_wheels/share/singular/LIB/ncModslimgb.lib +791 -0
  379. sage_wheels/share/singular/LIB/ncalg.lib +16311 -0
  380. sage_wheels/share/singular/LIB/ncall.lib +31 -0
  381. sage_wheels/share/singular/LIB/ncdecomp.lib +468 -0
  382. sage_wheels/share/singular/LIB/ncfactor.lib +13371 -0
  383. sage_wheels/share/singular/LIB/ncfrac.lib +1023 -0
  384. sage_wheels/share/singular/LIB/nchilbert.lib +448 -0
  385. sage_wheels/share/singular/LIB/nchomolog.lib +759 -0
  386. sage_wheels/share/singular/LIB/ncloc.lib +361 -0
  387. sage_wheels/share/singular/LIB/ncpreim.lib +795 -0
  388. sage_wheels/share/singular/LIB/ncrat.lib +2849 -0
  389. sage_wheels/share/singular/LIB/nctools.lib +1887 -0
  390. sage_wheels/share/singular/LIB/nets.lib +1456 -0
  391. sage_wheels/share/singular/LIB/nfmodstd.lib +1000 -0
  392. sage_wheels/share/singular/LIB/nfmodsyz.lib +732 -0
  393. sage_wheels/share/singular/LIB/noether.lib +1106 -0
  394. sage_wheels/share/singular/LIB/normal.lib +8700 -0
  395. sage_wheels/share/singular/LIB/normaliz.lib +2226 -0
  396. sage_wheels/share/singular/LIB/ntsolve.lib +362 -0
  397. sage_wheels/share/singular/LIB/numerAlg.lib +560 -0
  398. sage_wheels/share/singular/LIB/numerDecom.lib +2261 -0
  399. sage_wheels/share/singular/LIB/olga.lib +1933 -0
  400. sage_wheels/share/singular/LIB/orbitparam.lib +351 -0
  401. sage_wheels/share/singular/LIB/parallel.lib +319 -0
  402. sage_wheels/share/singular/LIB/paraplanecurves.lib +3110 -0
  403. sage_wheels/share/singular/LIB/perron.lib +202 -0
  404. sage_wheels/share/singular/LIB/pfd.lib +2223 -0
  405. sage_wheels/share/singular/LIB/phindex.lib +642 -0
  406. sage_wheels/share/singular/LIB/pointid.lib +673 -0
  407. sage_wheels/share/singular/LIB/polybori.lib +1430 -0
  408. sage_wheels/share/singular/LIB/polyclass.lib +525 -0
  409. sage_wheels/share/singular/LIB/polylib.lib +1174 -0
  410. sage_wheels/share/singular/LIB/polymake.lib +1902 -0
  411. sage_wheels/share/singular/LIB/presolve.lib +1533 -0
  412. sage_wheels/share/singular/LIB/primdec.lib +9576 -0
  413. sage_wheels/share/singular/LIB/primdecint.lib +1782 -0
  414. sage_wheels/share/singular/LIB/primitiv.lib +401 -0
  415. sage_wheels/share/singular/LIB/puiseuxexpansions.lib +1631 -0
  416. sage_wheels/share/singular/LIB/purityfiltration.lib +960 -0
  417. sage_wheels/share/singular/LIB/qhmoduli.lib +1561 -0
  418. sage_wheels/share/singular/LIB/qmatrix.lib +293 -0
  419. sage_wheels/share/singular/LIB/random.lib +455 -0
  420. sage_wheels/share/singular/LIB/ratgb.lib +489 -0
  421. sage_wheels/share/singular/LIB/realclassify.lib +5759 -0
  422. sage_wheels/share/singular/LIB/realizationMatroids.lib +772 -0
  423. sage_wheels/share/singular/LIB/realrad.lib +1197 -0
  424. sage_wheels/share/singular/LIB/recover.lib +2628 -0
  425. sage_wheels/share/singular/LIB/redcgs.lib +3984 -0
  426. sage_wheels/share/singular/LIB/reesclos.lib +465 -0
  427. sage_wheels/share/singular/LIB/resbinomial.lib +2802 -0
  428. sage_wheels/share/singular/LIB/resgraph.lib +789 -0
  429. sage_wheels/share/singular/LIB/resjung.lib +820 -0
  430. sage_wheels/share/singular/LIB/resolve.lib +5110 -0
  431. sage_wheels/share/singular/LIB/resources.lib +170 -0
  432. sage_wheels/share/singular/LIB/reszeta.lib +5473 -0
  433. sage_wheels/share/singular/LIB/ring.lib +1328 -0
  434. sage_wheels/share/singular/LIB/ringgb.lib +343 -0
  435. sage_wheels/share/singular/LIB/rinvar.lib +1153 -0
  436. sage_wheels/share/singular/LIB/rootisolation.lib +1481 -0
  437. sage_wheels/share/singular/LIB/rootsmr.lib +709 -0
  438. sage_wheels/share/singular/LIB/rootsur.lib +886 -0
  439. sage_wheels/share/singular/LIB/rstandard.lib +607 -0
  440. sage_wheels/share/singular/LIB/rwalk.lib +336 -0
  441. sage_wheels/share/singular/LIB/sagbi.lib +1353 -0
  442. sage_wheels/share/singular/LIB/sagbiNormaliz.lib +1622 -0
  443. sage_wheels/share/singular/LIB/sagbiNormaliz0.lib +1498 -0
  444. sage_wheels/share/singular/LIB/sagbigrob.lib +449 -0
  445. sage_wheels/share/singular/LIB/schreyer.lib +321 -0
  446. sage_wheels/share/singular/LIB/schubert.lib +2551 -0
  447. sage_wheels/share/singular/LIB/sets.lib +524 -0
  448. sage_wheels/share/singular/LIB/sheafcoh.lib +1663 -0
  449. sage_wheels/share/singular/LIB/signcond.lib +437 -0
  450. sage_wheels/share/singular/LIB/sing.lib +1094 -0
  451. sage_wheels/share/singular/LIB/sing4ti2.lib +419 -0
  452. sage_wheels/share/singular/LIB/solve.lib +2243 -0
  453. sage_wheels/share/singular/LIB/spcurve.lib +1077 -0
  454. sage_wheels/share/singular/LIB/spectrum.lib +62 -0
  455. sage_wheels/share/singular/LIB/sresext.lib +757 -0
  456. sage_wheels/share/singular/LIB/ssi.lib +143 -0
  457. sage_wheels/share/singular/LIB/standard.lib +2769 -0
  458. sage_wheels/share/singular/LIB/stanleyreisner.lib +473 -0
  459. sage_wheels/share/singular/LIB/stdmodule.lib +547 -0
  460. sage_wheels/share/singular/LIB/stratify.lib +1070 -0
  461. sage_wheels/share/singular/LIB/surf.lib +506 -0
  462. sage_wheels/share/singular/LIB/surf_jupyter.lib +223 -0
  463. sage_wheels/share/singular/LIB/surfacesignature.lib +522 -0
  464. sage_wheels/share/singular/LIB/surfex.lib +1462 -0
  465. sage_wheels/share/singular/LIB/swalk.lib +877 -0
  466. sage_wheels/share/singular/LIB/symodstd.lib +1570 -0
  467. sage_wheels/share/singular/LIB/systhreads.lib +74 -0
  468. sage_wheels/share/singular/LIB/tasks.lib +1324 -0
  469. sage_wheels/share/singular/LIB/tateProdCplxNegGrad.lib +2412 -0
  470. sage_wheels/share/singular/LIB/teachstd.lib +858 -0
  471. sage_wheels/share/singular/LIB/template.lib +116 -0
  472. sage_wheels/share/singular/LIB/toric.lib +1119 -0
  473. sage_wheels/share/singular/LIB/transformation.lib +116 -0
  474. sage_wheels/share/singular/LIB/triang.lib +1197 -0
  475. sage_wheels/share/singular/LIB/tropical.lib +8741 -0
  476. sage_wheels/share/singular/LIB/tropicalEllipticCovers.lib +2922 -0
  477. sage_wheels/share/singular/LIB/tropicalNewton.lib +1128 -0
  478. sage_wheels/share/singular/LIB/tst.lib +1108 -0
  479. sage_wheels/share/singular/LIB/weierstr.lib +241 -0
  480. sage_wheels/share/singular/LIB/zeroset.lib +1478 -0
  481. sage_wheels/share/singular/emacs/.emacs-general +184 -0
  482. sage_wheels/share/singular/emacs/.emacs-singular +234 -0
  483. sage_wheels/share/singular/emacs/COPYING +44 -0
  484. sage_wheels/share/singular/emacs/cmd-cmpl.el +241 -0
  485. sage_wheels/share/singular/emacs/ex-cmpl.el +1681 -0
  486. sage_wheels/share/singular/emacs/hlp-cmpl.el +4318 -0
  487. sage_wheels/share/singular/emacs/lib-cmpl.el +179 -0
  488. sage_wheels/share/singular/emacs/singular.el +4273 -0
  489. sage_wheels/share/singular/emacs/singular.xpm +39 -0
  490. sage_wheels/share/singular/singular.idx +5002 -0
@@ -0,0 +1,548 @@
1
+ ///////////////////////////////////////////////////////////////////////////////
2
+ version="version ellipticcovers.lib 4.1.2.0 Feb_2019 ";
3
+ category="Commutative algebra";
4
+ info="
5
+ LIBRARY: ellipticCovers.lib Gromov-Witten numbers of elliptic curves
6
+
7
+ AUTHORS: J. Boehm, boehm @ mathematik.uni-kl.de
8
+ A. Buchholz, buchholz @ math.uni-sb.de
9
+ H. Markwig hannah @ math.uni-sb.de
10
+
11
+ OVERVIEW:
12
+
13
+ We implement a formula for computing the number of covers of elliptic curves.
14
+ It has been obtained by proving mirror symmetry
15
+ for arbitrary genus by tropical methods in [BBM]. A Feynman graph of genus
16
+ g is a trivalent, connected graph of genus g (with 2g-2 vertices
17
+ and 3g-3 edges). The branch type b=(b_1,...,b_(3g-3)) of a stable map is the
18
+ multiplicity of the the edge i over a fixed base point.
19
+
20
+ Given a Feynman graph G and a branch type b, we obtain the number
21
+ N_(G,b) of stable maps of branch type b from a genus g curve of topological type G
22
+ to the elliptic curve by computing a path integral
23
+ over a rational function. The path integral is computed as a residue.
24
+
25
+ The sum of N_(G,b) over all branch types b of sum d gives N_(G,d)*|Aut(G)|, with the
26
+ Gromov-Witten invariant N_(G,d) of degree d stable maps from a genus g curve
27
+ of topological type G to the elliptic curve.
28
+
29
+ The sum of N_(G,d) over all such graphs gives the usual Gromov-Witten invariant N_(g,d)
30
+ of degree d stable maps from a genus g curve to the elliptic curve.
31
+
32
+ The key function computing the numbers N_(G,b) and N_(G,d) is gromovWitten.
33
+
34
+ REFERENCES:
35
+
36
+ [BBM] J. Boehm, A. Buchholz, H. Markwig: Tropical mirror symmetry for elliptic curves, arXiv:1309.5893 (2013).
37
+
38
+ KEYWORDS:
39
+ tropical geometry; mirror symmetry; tropical mirror symmetry; Gromov-Witten invariants; elliptic curves; propagator; Feynman graph; path integral
40
+
41
+ TYPES:
42
+
43
+ graph
44
+
45
+ PROCEDURES:
46
+
47
+ makeGraph(list, list) generate a graph from a list of vertices and a list of edges
48
+ printGraph(graph) print procedure for graphs
49
+ propagator(list,int) propagator factor of degree d in the quotient of two variables, or
50
+ propagator for fixed graph and branch type
51
+ computeConstant(number, number) constant coefficient in the Laurent series expansion of a rational function in a given variable
52
+ evaluateIntegral(number, list) path integral for a given propagator and ordered sequence of variables
53
+ gromovWitten(number) sum of path integrals for a given propagator over all orderings of the variables, or
54
+ Gromov Witten invariant for a given graph and a fixed branch type, or
55
+ list of Gromov Witten invariants for a given graph and all branch types
56
+ computeGromovWitten(graph, int, int) compute the Gromov Witten invariants for a given graph and some branch types
57
+ generatingFunction (graph, int) multivariate generating function for the Gromov Witten invariants of a graph up to fixed degree
58
+
59
+ partitions(int, int) partitions of an integer into a fixed number of summands
60
+ permute(list) all permutations of a list
61
+ lsum(list) sum of the elements of a list
62
+
63
+ ";
64
+
65
+
66
+ LIB "parallel.lib";
67
+
68
+
69
+ static proc mod_init()
70
+ {
71
+ newstruct("graph","list vertices, list edges");
72
+ newstruct("Net","list rows");
73
+
74
+ system("install","graph","print",printGraph,1);
75
+ system("install","Net","print",printNet,1);
76
+ system("install","Net","+",catNet,2);
77
+ }
78
+
79
+ static proc catNet(Net N, Net M)
80
+ {
81
+ list L;
82
+ list LN=N.rows;
83
+ list LM=M.rows;
84
+ int widthN=size(LN[1]);
85
+ int widthM=size(LM[1]);
86
+ int nm=max(size(LN),size(LM));
87
+ for (int j=1; j<=nm; j++)
88
+ {
89
+ if (j>size(LN)){LN[j]=emptyString(widthN);}
90
+ if (j>size(LM)){LM[j]=emptyString(widthM);}
91
+ L[j]=LN[j]+LM[j];
92
+ }
93
+ Net NM;
94
+ NM.rows=L;
95
+ return(NM);
96
+ }
97
+
98
+
99
+ static proc netList(list L1)
100
+ {
101
+ Net N=net("[");
102
+ for (int j=1; j<=size(L1)-1; j++)
103
+ {
104
+ N=N+net(L1[j])+net(", ");
105
+ }
106
+ N=N+net(L1[size(L1)])+net("]");
107
+ return(N);
108
+ }
109
+
110
+ static proc printNet(Net N)
111
+ {
112
+ list L = N.rows;
113
+ for (int j=1; j<=size(L); j++)
114
+ {
115
+ print(L[j]);
116
+ }
117
+ }
118
+
119
+ static proc net(def M)
120
+ {
121
+ if (typeof(M)=="list")
122
+ {
123
+ return(netList(M));
124
+ }
125
+ Net N;
126
+ list L;
127
+ L[1]=string(M);
128
+ N.rows=L;
129
+ return(N);
130
+ }
131
+
132
+
133
+
134
+ proc printGraph(graph G)
135
+ "USAGE: printGraph(G); G graph@*
136
+ ASSUME: G is a graph.
137
+ THEORY: This is the print function used by Singular to print a graph.
138
+ KEYWORDS: graph
139
+ EXAMPLE: example printGraph; shows an example
140
+ "
141
+ {
142
+ print(netList(G.edges));
143
+ print("Graph with "+string(size(G.vertices))+" vertices and "+string(size(G.edges))+" edges")
144
+ }
145
+ example
146
+ { "EXAMPLE:"; echo=2;
147
+ ring R=(0,x1,x2,x3,x4),(q1,q2,q3,q4,q5,q6),dp;
148
+ graph G = makeGraph(list(1,2,3,4),list(list(1,3),list(1,2),list(1,2),list(2,4),list(3,4),list(3,4)));
149
+ G;
150
+ }
151
+
152
+ proc makeGraph(list v, list e)
153
+ "USAGE: makeGraph(v,e); v list, e list@*
154
+ ASSUME: v is a list of integers, e is a list of two element lists of v.
155
+ RETURN: graph with vertices v and edges e
156
+ THEORY: Creates a graph from a list of vertices and edges. The vertices can be any type.
157
+ KEYWORDS: graph
158
+ EXAMPLE: example printGraph; shows an example
159
+ "
160
+ {
161
+ graph G;
162
+ G.vertices = v;
163
+ G.edges = e;
164
+ return(G);
165
+ }
166
+ example
167
+ { "EXAMPLE:"; echo=2;
168
+ ring R=(0,x1,x2,x3,x4),(q1,q2,q3,q4,q5,q6),dp;
169
+ graph G = makeGraph(list(1,2,3,4),list(list(1,3),list(1,2),list(1,2),list(2,4),list(3,4),list(3,4)));
170
+ G;
171
+ }
172
+
173
+ proc propagator(def xy, def d)
174
+ "USAGE: propagator(xy,d); xy list, d int@*
175
+ propagator(G,b); G graph, b list@*
176
+ ASSUME: xy is a list of two numbers x and y in a rational function field, d non-negative integer.@*
177
+ G is a Feynman graph, a is a list of integers of length equal to the number of edges of G.@*
178
+ We assume that the coefficient ring has one rational variable for each vertex of G.
179
+ RETURN: number, the propagator associated to the input data.
180
+ THEORY: If xy and d are specified, then the function returns x^2*y^2/(x^2-y^2)^2) for d=0, which
181
+ is a associated to an edge with vertices x and y not passing above the base point.
182
+ For d>0 it returns the sum of (j*x^(4*j)+j*y^(4*j))/(x*y)^(2*j) over all divisors j of d,
183
+ which is associated to an edge with vertices x and y passing with multiplicity d above the base point.
184
+
185
+ Essentially the variables x and y stand for the position of the base points.
186
+
187
+ In the second way of using this function, G is a Feynman graph and b is a branch type
188
+ over a fixed base point of a cover with source G and target an elliptic curve. It returns the
189
+ product of propagator(list(v[i],w[i]),b[i]) over all edges i with multiplicity b[i] over the base point
190
+ and vertices v[i] and w[i].
191
+
192
+ KEYWORDS: elliptic curve
193
+ EXAMPLE: example propagator; shows an example
194
+ "
195
+ {
196
+ if ((typeof(xy)=="list")||(typeof(d)=="int"))
197
+ {
198
+ number x = xy[1];
199
+ number y = xy[2];
200
+ if (d<0) {ERROR("expected non-negative degree");}
201
+ if (d==0) {return(x^2*y^2/(x^2-y^2)^2);}
202
+ number p=0;
203
+ for (int j=1; j<=d; j++)
204
+ {
205
+ if (d%j==0){p=p+(j*x^(4*j)+j*y^(4*j))/(x*y)^(2*j);}
206
+ }
207
+ return(p);
208
+ }
209
+ if ((typeof(xy)=="graph")||(typeof(d)=="list"))
210
+ {
211
+ list xl = ringlist(basering)[1][2];
212
+ list ed = xy.edges;
213
+ number f=1;
214
+ for (int j=1; j<=size(ed); j++)
215
+ {
216
+ execute("number xx1 = "+xl[ed[j][1]]);
217
+ execute("number xx2 = "+xl[ed[j][2]]);
218
+ f=f*propagator(list(xx1,xx2),d[j]);
219
+ kill xx1;
220
+ kill xx2;
221
+ }
222
+ return(f);
223
+ }
224
+ if ((typeof(xy)=="graph")||(typeof(d)=="int"))
225
+ {
226
+ }
227
+ ERROR("wrong input type");
228
+ }
229
+ example
230
+ { "EXAMPLE:"; echo=2;
231
+ ring R=(0,x1,x2,x3,x4),(q1,q2,q3,q4,q5,q6),dp;
232
+ graph G = makeGraph(list(1,2,3,4),list(list(1,3),list(1,2),list(1,2),list(2,4),list(3,4),list(3,4)));
233
+ propagator(list(x1,x2),0);
234
+ propagator(list(x1,x2),2);
235
+ propagator(G,list(1,1,1,0,0,0));
236
+ }
237
+
238
+ proc computeConstant(number f,number xx)
239
+ "USAGE: computeConstant(f,x); f number, x number@*
240
+ ASSUME: f is a number in a rational function field, x is a variable of the field.@*
241
+ RETURN: number, the constant coefficient of the Laurent series of f in the variable x.
242
+ THEORY: Computes the constant coefficient of the Laurent series by iterative differentiation.
243
+ KEYWORDS: Laurent series
244
+ EXAMPLE: example computeConstant; shows an example
245
+ "
246
+ {
247
+ int tst=0;
248
+ number ff=f;
249
+ int k;
250
+ int j;
251
+ poly de;
252
+ while (tst==0)
253
+ {
254
+ ff=f*xx^k;
255
+ for (j=1; j<=k; j++)
256
+ {
257
+ ff=diff(ff,xx)/j;
258
+ }
259
+ de = subst(denominator(ff),xx,0);
260
+ if (de!=0)
261
+ {
262
+ poly nu = subst(numerator(ff),xx,0);
263
+ return(number(nu/de));
264
+ }
265
+ k++;
266
+ }
267
+ ERROR("error in computeConstant");
268
+ }
269
+ example
270
+ { "EXAMPLE:"; echo=2;
271
+ ring R=(0,x1,x2,x3,x4),(q1,q2,q3,q4,q5,q6),dp;
272
+ graph G = makeGraph(list(1,2,3,4),list(list(1,3),list(1,2),list(1,2),list(2,4),list(3,4),list(3,4)));
273
+ number P = propagator(G,list(1,1,1,0,0,0));
274
+ computeConstant(P,x2);
275
+ }
276
+
277
+ proc evaluateIntegral(number P, list xL)
278
+ "USAGE: evaluateIntegral(P,xx); P number, xx list@*
279
+ ASSUME: P is a number in a rational function field, xx is a list of variables of the field@*
280
+ RETURN: number, the constant coefficient of the Laurent series of f in the variables in the list xx.
281
+ THEORY: Computes the constant coefficient of the Laurent series iteratively for the elements of xx.
282
+
283
+ In the setting of covers of elliptic curves this is the path integral over the
284
+ propagator divided by the product of all variables (corresponding to the vertices)
285
+ computed as a residue.
286
+
287
+ KEYWORDS: residue; Laurent series
288
+ EXAMPLE: example evaluateIntegral; shows an example
289
+ "
290
+ {
291
+ number p = P;
292
+ for(int j=1; j<=size(xL); j++)
293
+ {
294
+ p=computeConstant(p,xL[j]);
295
+ }
296
+ return(p);
297
+ }
298
+ example
299
+ { "EXAMPLE:"; echo=2;
300
+ ring R=(0,x1,x2,x3,x4),(q1,q2,q3,q4,q5,q6),dp;
301
+ graph G = makeGraph(list(1,2,3,4),list(list(1,3),list(1,2),list(1,2),list(2,4),list(3,4),list(3,4)));
302
+ number p = propagator(G,list(0,2,1,0,0,1));
303
+ evaluateIntegral(p,list(x1,x3,x4,x2));
304
+ }
305
+
306
+ proc permute (list N)
307
+ "USAGE: permute(N); N list@*
308
+ ASSUME: N is a list@*
309
+ RETURN: list with all permutations of N.
310
+ THEORY: Computes all permutations of N.
311
+
312
+ This will eventually be deleted and become a more efficient kernel function.
313
+
314
+ KEYWORDS: permutations
315
+ EXAMPLE: example permute; shows an example
316
+ "
317
+ {
318
+ int i,j,k;
319
+ list L,L1;
320
+ if (size(N)==1)
321
+ {
322
+ return(list(N));
323
+ }
324
+ else
325
+ {
326
+ k=1;
327
+ for (i=1; i<=size(N); i++)
328
+ {
329
+ L=permute(delete(N,i));
330
+ for (j=1; j<=size(L); j++)
331
+ {
332
+ L1[k]=L[j]+list(N[i]);
333
+ k=k+1;
334
+ }
335
+ }
336
+ }
337
+ return(L1);
338
+ }
339
+ example
340
+ { "EXAMPLE:"; echo=2;
341
+ ring R=(0,x1,x2,x3,x4),(q),dp;
342
+ permute(list(x1,x2,x3,x4));
343
+ }
344
+
345
+
346
+
347
+ proc partitions(int n, int a)
348
+ "USAGE: partitions(n,a); n int, a int@*
349
+ ASSUME: n and a are positive integers@*
350
+ RETURN: list of all partitions of a into n summands.
351
+ THEORY: Computes all partitions of a into n summands.
352
+
353
+ This may eventually be deleted and become a more efficient kernel function.
354
+
355
+ KEYWORDS: partitions
356
+ EXAMPLE: example partitions; shows an example
357
+ "
358
+ {
359
+ ring R = 2,(x(1..n)),dp;
360
+ ideal I = maxideal(a);
361
+ list L;
362
+ for (int j=1;j<=size(I);j++)
363
+ {
364
+ L[j]=leadexp(I[j]);
365
+ }
366
+ return(L);
367
+ }
368
+ example
369
+ { "EXAMPLE:"; echo=2;
370
+ partitions(3,7);
371
+ }
372
+
373
+ proc gromovWitten(def P,list #)
374
+ "USAGE: gromovWitten(P); P number@*
375
+ gromovWitten(G,d); G graph, d int@*
376
+ gromovWitten(G,b); G graph, b list@*
377
+ ASSUME: P is a propagator, or @*
378
+ G is a Feynman graph and d a non-negative integer, or@*
379
+ G is a Feynman graph and b is a list of integers of length equal to the number of edges of G@*
380
+ We assume that the coefficient ring has one rational variable for each vertex of G.@*
381
+ RETURN: Gromov-Witten invariant.
382
+ THEORY: Computes @*
383
+
384
+ - the Gromov-Witten invariant of a given propagator P, or @*
385
+
386
+ - the invariant N_(G,d)*|Aut(G)| where d is the degree of the covering, or @*
387
+
388
+ - the number N_(G,b) of coverings with source G and target an elliptic curves with branch type a over a
389
+ fixed base point (that is, the i-th edge passes over the base point with multiplicity b[i]).@*
390
+
391
+ KEYWORDS: Gromov-Witten invariants; elliptic curves; coverings; Hurwitz numbers
392
+ EXAMPLE: example gromovWitten; shows an example
393
+ "
394
+ {
395
+ if (typeof(P)=="number")
396
+ {
397
+ list xl = ringlist(basering)[1][2];
398
+ int j;
399
+ for(j=1; j<=size(xl); j++)
400
+ {
401
+ execute("number n= "+xl[j]);
402
+ xl[j]=n;
403
+ kill n;
404
+ }
405
+ list pxl = permute(xl);
406
+ number p = 0;
407
+ for(j=1; j<=size(pxl); j++)
408
+ {
409
+ p=p+evaluateIntegral(P,pxl[j]);
410
+ }
411
+ return(p);
412
+ }
413
+ if (typeof(P)=="graph")
414
+ {
415
+ if (size(#)>1)
416
+ {
417
+ return(gromovWitten(propagator(P,#)));
418
+ }
419
+ else
420
+ {
421
+ int d =#[1];
422
+ list pa = partitions(size(P.edges),d);
423
+ list re;
424
+ int ti;
425
+ for (int j=1; j<=size(pa); j++)
426
+ {
427
+ ti=timer;
428
+ re[j]=gromovWitten(propagator(P,pa[j]));
429
+ ti=timer-ti;
430
+ //print(string(j)+" / "+string(size(pa))+" "+string(pa[j])+" "+string(re[j])+" "+string(sum(re))+" "+string(ti));
431
+ }
432
+ return(lsum(re));
433
+ }
434
+ }
435
+ }
436
+ example
437
+ { "EXAMPLE:"; echo=2;
438
+ ring R=(0,x1,x2,x3,x4),(q1,q2,q3,q4,q5,q6),dp;
439
+ graph G = makeGraph(list(1,2,3,4),list(list(1,3),list(1,2),list(1,2),list(2,4),list(3,4),list(3,4)));
440
+ number P = propagator(G,list(0,2,1,0,0,1));
441
+ gromovWitten(P);
442
+ gromovWitten(G,list(0,2,1,0,0,1));
443
+ gromovWitten(G,2);
444
+ }
445
+
446
+ proc computeGromovWitten(graph P,int d, int st, int en, list #)
447
+ "USAGE: computeGromovWitten(G, d, st, en [, vb] ); G graph, d int, st int, en int, optional: vb int@*
448
+ ASSUME: G is a Feynman graph, d a non-negative integer, st specified the start- and en the end partition
449
+ in the list pa = partition(d). Specifying a positive optional integer vb leads to intermediate printout.@*
450
+ We assume that the coefficient ring has one rational variable for each vertex of G.@*
451
+ RETURN: list L, where L[i] is gromovWitten(G,pa[i]) and all others are zero.
452
+ THEORY: This function does essentially the same as the function gromovWitten, but is designed for handling complicated examples.
453
+ Eventually it will also run in parallel.@*
454
+
455
+ KEYWORDS: Gromov-Witten invariants; elliptic curves; coverings; Hurwitz numbers
456
+ EXAMPLE: example computeGromovWitten; shows an example
457
+ "
458
+ {
459
+ number s =0;
460
+ list pararg;
461
+ list re;
462
+ list pa = partitions(size(P.edges),d);
463
+ int vb=0;
464
+ if (size(#)>0){vb=#[1];}
465
+ int ti;
466
+ if (vb>0){print(size(pa));}
467
+ for (int j=1; j<=size(pa); j++)
468
+ {
469
+ if ((j>=st)&(j<=en))
470
+ {
471
+ ti=timer;
472
+ //pararg[j]=list(propagator(G,pa[j]));
473
+ re[j]=gromovWitten(propagator(P,pa[j]));
474
+ ti=timer-ti;
475
+ if (vb>0){print(string(j)+" / "+string(size(pa))+" "+string(pa[j])+" "+string(re[j])+" "+string(lsum(re))+" "+string(ti));}
476
+ }
477
+ else
478
+ {re[j]=s;}
479
+ }
480
+ //list re = parallelWaitAll("gromovWitten", pararg, list(list(list(2))));
481
+ return(re);
482
+ }
483
+ example
484
+ { "EXAMPLE:"; echo=2;
485
+ ring R=(0,x1,x2,x3,x4),(q1,q2,q3,q4,q5,q6),dp;
486
+ graph G = makeGraph(list(1,2,3,4),list(list(1,3),list(1,2),list(1,2),list(2,4),list(3,4),list(3,4)));
487
+ partitions(6,2);
488
+ computeGromovWitten(G,2,3,7);
489
+ computeGromovWitten(G,2,3,7,1);
490
+ }
491
+
492
+ proc lsum(list L)
493
+ "USAGE: lsum(L); L list@*
494
+ ASSUME: L is a list of things with the binary operator + defined.@*
495
+ RETURN: The sum of the elements of L.
496
+ THEORY: Sums the elements of a list.
497
+
498
+ Eventually this will be deleted and become a more efficient kernel function.@*
499
+
500
+ EXAMPLE: example lsum; shows an example
501
+ "
502
+ {
503
+ execute(typeof(L[1])+" s");
504
+ for(int j=1; j<=size(L); j++)
505
+ {
506
+ s=s+L[j];
507
+ }
508
+ return(s);
509
+ }
510
+ example
511
+ { "EXAMPLE:"; echo=2;
512
+ list L = 1,2,3,4,5;
513
+ lsum(L);
514
+ }
515
+
516
+ proc generatingFunction(graph G, int d)
517
+ "USAGE: generatingFunction(G, d); G graph, d int@*
518
+ ASSUME: G is a Feynman graph, d a non-negative integer. The basering has one polynomial variable for each
519
+ edge, and the coefficient ring has one rational variable for each vertex.@*
520
+ RETURN: poly.
521
+ THEORY: This function compute the multivariate generating function of all Gromov-Witten invariants up to
522
+ degree d, that is, the sum of all gromovWitten(G,b)*q^b.@*
523
+
524
+ KEYWORDS: generating function; Gromov-Witten invariants; elliptic curves; coverings; Hurwitz numbers
525
+ EXAMPLE: example generatingFunction; shows an example
526
+ "
527
+ {
528
+ poly s =0;
529
+ int j,jj;
530
+ list pa,L;
531
+ for (j=1; j<=d; j++)
532
+ {
533
+ pa = partitions(size(G.edges),j);
534
+ L = computeGromovWitten(G,j,1,size(pa));
535
+ for (jj=1; jj<=size(pa); jj++)
536
+ {
537
+ s=s+L[jj]*monomial(pa[jj]);
538
+ }
539
+ }
540
+ return(s);
541
+ }
542
+ example
543
+ { "EXAMPLE:"; echo=2;
544
+ ring R=(0,x1,x2),(q1,q2,q3),dp;
545
+ graph G = makeGraph(list(1,2),list(list(1,2),list(1,2),list(1,2)));
546
+ generatingFunction(G,3);
547
+ }
548
+
@@ -0,0 +1,146 @@
1
+ ///////////////////////////////////////////////////////////////////////////////
2
+ version="version enumpoints.lib 4.3.0.0 Jan_2022 "; // $Id: 97d1ede4878f36c0f90ebc61a7ecc2aba1038c68 $
3
+
4
+ category="General purpose";
5
+ info="
6
+ LIBRARY: enumpoints.lib enumerating rational points
7
+ AUTHOR: Jieao Song (8d1h)
8
+ KEYWORDS: multivariate equations; finite field
9
+
10
+ PROCEDURES:
11
+ points(ideal I) points in the zero set of I
12
+ projPoints(ideal I) projective points in the zero set of the homogeneous I
13
+ ";
14
+ ///////////////////////////////////////////////////////////////////////////////
15
+ // utility function that lists all elements in the ground field
16
+ static proc listFieldElements()
17
+ {
18
+ int k;
19
+ int ch = char(basering);
20
+ list els = list();
21
+ if (npars(basering)==0) { // Fp for p prime
22
+ for (k=ch-1;k>=0;k--) { els[k+1]=k; }
23
+ }
24
+ else
25
+ { // Fq defined by a minpoly
26
+ ideal fct = factorize(var(1)^(ch^pardeg(minpoly))-var(1),1);
27
+ for (k=size(fct);k>0;k--)
28
+ {
29
+ els[k]= -coeffs(fct[k],var(1))[1][1];
30
+ }
31
+ }
32
+ return(els);
33
+ }
34
+ ///////////////////////////////////////////////////////////////////////////////
35
+ // enumerate points coordinate by coordinate using elimination
36
+ // i: the current coordinate to enumerate
37
+ // part: partially determined coordinates
38
+ // els: elements of the field
39
+ static proc enumPoints(ideal I,int i,list part,list els)
40
+ {
41
+ int k; ideal I1; list part1;
42
+ list ans = list();
43
+ int n = nvars(basering);
44
+ poly rest = 1;
45
+ for (k=i+1;k<=n;k++) { rest = rest*var(k); }
46
+ poly g = eliminate(I,rest)[1];
47
+ if (g!=0)
48
+ { // when the eliminant is non-trivial, only enumerate its zeros
49
+ vector cc; poly v;
50
+ ideal fct = factorize(g,1);
51
+ for (k=1;k<=ncols(fct);k++)
52
+ {
53
+ if (deg(fct[k])==1)
54
+ {
55
+ cc = coeffs(fct[k],var(i))[1];
56
+ part1 = part + list(-cc[1]/cc[2]);
57
+ if (i==n) { ans[size(ans)+1]=part1; }
58
+ else
59
+ {
60
+ I1 = std(reduce(I,fct[k]));
61
+ ans = ans + enumPoints(I1,i+1,part1,els);
62
+ }
63
+ }
64
+ // this can help find the splitting field
65
+ // else { printf(" // %p", fct[k]); }
66
+ }
67
+ }
68
+ else
69
+ { // otherwise enumerate over the entire field
70
+ for (k=1;k<=size(els);k++)
71
+ {
72
+ I1 = std(subst(I,var(i),els[k]));
73
+ if (dim(I1)>-1)
74
+ {
75
+ part1 = part + list(els[k]);
76
+ if (i==n) { ans[size(ans)+1]=part1; }
77
+ else { ans = ans + enumPoints(I1,i+1,part1,els); }
78
+ }
79
+ }
80
+ }
81
+ return(ans);
82
+ }
83
+ ///////////////////////////////////////////////////////////////////////////////
84
+ // enumerate points on a homogeneous ideal
85
+ static proc enumProjPoints(ideal I,int i,list part,list els)
86
+ {
87
+ int j; int k; ideal I1; list part1;
88
+ list ans = list();
89
+ int n = nvars(basering);
90
+ for (k=i;k<=n;k++)
91
+ { // find points of the form (1,..), (0,1,..), etc.
92
+ I1 = I;
93
+ part1 = part;
94
+ for (j=i;j<k;j++)
95
+ {
96
+ part1 = part1 + list(0);
97
+ I1 = subst(I1,var(j),0);
98
+ }
99
+ part1 = part1 + list(1);
100
+ I1 = std(subst(I1,var(k),1));
101
+ if (dim(I1)>-1)
102
+ {
103
+ if (k==n) { ans = ans + list(part1); }
104
+ else { ans = ans + enumPoints(I1,k+1,part1,els); }
105
+ }
106
+ }
107
+ return(ans);
108
+ }
109
+ ///////////////////////////////////////////////////////////////////////////////
110
+ // main interface
111
+ proc points(ideal I)
112
+ "USAGE: points(I); I homogeneous ideal
113
+ RETURN: list of coordinates of points on the zero set of I
114
+ ASSUMES: dim(I)==0
115
+ "
116
+ {
117
+ if (char(basering)==0 and dim(I) > 0) { ERROR("over number fields the ideal must be 0-dimensional")};
118
+ return(enumPoints(I,1,list(),listFieldElements()));
119
+ }
120
+ ///////////////////////////////////////////////////////////////////////////////
121
+ proc projPoints(ideal I)
122
+ // enumerate points on a homogeneous ideal
123
+ "USAGE: projPoints(I); I homogeneous ideal
124
+ RETURN: list of coordinates of points on the zero set of I
125
+ ASSUMES: dim(I)==0
126
+ "
127
+ {
128
+ if (!homog(I)) { ERROR("the ideal is not homogeneous"); }
129
+ if (char(basering)==0 and dim(I) > 1) { ERROR("over number fields the ideal must be 0-dimensional")};
130
+ return(enumProjPoints(I,1,list(),listFieldElements()));
131
+ }
132
+ example
133
+ {
134
+ // The set of nodes is a 0-dimensional variety over a number field.
135
+ ring R2 = (0,q),(x,y,z,w),dp;
136
+ minpoly = q16-q12+q8-q4+1;
137
+ poly s = 2q13-q9-q7+q5-q3-q;
138
+ ideal Togliatti = 64*(x-w)*(x^4 -4*x^3*w -10*x^2*y^2 -4*x^2*w^2 +16*x*w^3 -20*x*y^2*w+5*y^4 +16*w^4 -20*y^2*w^2) -5*s*(2*z -s*w)*(4*(x^2+y^2-z^2) +(1+3*(5-s^2))*w^2)^2;
139
+ matrix Jac = jacob(Togliatti);
140
+ ideal I2 = Togliatti+Jac;
141
+ list L=projPoints(std(I2));
142
+ L[1];
143
+ size(L);
144
+ }
145
+ ///////////////////////////////////////////////////////////////////////////////
146
+