mathematical 1.6.17 → 1.6.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1183) hide show
  1. checksums.yaml +4 -4
  2. data/ext/mathematical/lasem/COPYING +502 -0
  3. data/ext/mathematical/lasem/NEWS.md +146 -0
  4. data/ext/mathematical/lasem/README.md +65 -0
  5. data/ext/mathematical/lasem/TODO +50 -0
  6. data/ext/mathematical/lasem/docs/lasem-render-0.6.1 +106 -0
  7. data/ext/mathematical/lasem/docs/meson.build +3 -0
  8. data/ext/mathematical/lasem/docs/reference/lasem/building.md +32 -0
  9. data/ext/mathematical/lasem/docs/reference/lasem/lasem.toml.in +47 -0
  10. data/ext/mathematical/lasem/docs/reference/lasem/meson.build +44 -0
  11. data/ext/mathematical/lasem/docs/reference/lasem/overview.md +24 -0
  12. data/ext/mathematical/lasem/docs/reference/lasem/urlmap.js +5 -0
  13. data/ext/mathematical/lasem/itex2mml/COPYING.itex2MML +3 -0
  14. data/ext/mathematical/lasem/itex2mml/README.itex2MML +16 -0
  15. data/ext/mathematical/lasem/itex2mml/itex2MML.h +63 -0
  16. data/ext/mathematical/lasem/itex2mml/itex2MML.l +1183 -0
  17. data/ext/mathematical/lasem/itex2mml/itex2MML.y +2108 -0
  18. data/ext/mathematical/lasem/itex2mml/meson.build +17 -0
  19. data/ext/mathematical/lasem/lasem.doap +21 -0
  20. data/ext/mathematical/lasem/meson.build +46 -0
  21. data/ext/mathematical/lasem/meson_options.txt +5 -0
  22. data/ext/mathematical/lasem/org.lasem.Viewer.json +41 -0
  23. data/ext/mathematical/lasem/po/LINGUAS +31 -0
  24. data/ext/mathematical/lasem/po/POTFILES.in +195 -0
  25. data/ext/mathematical/lasem/po/POTFILES.skip +1 -0
  26. data/ext/mathematical/lasem/po/bs.po +65 -0
  27. data/ext/mathematical/lasem/po/cs.po +102 -0
  28. data/ext/mathematical/lasem/po/da.po +99 -0
  29. data/ext/mathematical/lasem/po/de.po +104 -0
  30. data/ext/mathematical/lasem/po/el.po +73 -0
  31. data/ext/mathematical/lasem/po/es.po +107 -0
  32. data/ext/mathematical/lasem/po/eu.po +66 -0
  33. data/ext/mathematical/lasem/po/fr.po +65 -0
  34. data/ext/mathematical/lasem/po/fur.po +101 -0
  35. data/ext/mathematical/lasem/po/gl.po +64 -0
  36. data/ext/mathematical/lasem/po/hu.po +105 -0
  37. data/ext/mathematical/lasem/po/id.po +102 -0
  38. data/ext/mathematical/lasem/po/it.po +104 -0
  39. data/ext/mathematical/lasem/po/lt.po +106 -0
  40. data/ext/mathematical/lasem/po/lv.po +109 -0
  41. data/ext/mathematical/lasem/po/meson.build +4 -0
  42. data/ext/mathematical/lasem/po/nb.po +62 -0
  43. data/ext/mathematical/lasem/po/nl.po +102 -0
  44. data/ext/mathematical/lasem/po/oc.po +65 -0
  45. data/ext/mathematical/lasem/po/pl.po +102 -0
  46. data/ext/mathematical/lasem/po/pt.po +77 -0
  47. data/ext/mathematical/lasem/po/pt_BR.po +105 -0
  48. data/ext/mathematical/lasem/po/ru.po +66 -0
  49. data/ext/mathematical/lasem/po/sl.po +117 -0
  50. data/ext/mathematical/lasem/po/sr.po +105 -0
  51. data/ext/mathematical/lasem/po/sr@latin.po +105 -0
  52. data/ext/mathematical/lasem/po/sv.po +105 -0
  53. data/ext/mathematical/lasem/po/tg.po +64 -0
  54. data/ext/mathematical/lasem/po/tr.po +105 -0
  55. data/ext/mathematical/lasem/po/zh_CN.po +100 -0
  56. data/ext/mathematical/lasem/src/lasemrender.c +357 -0
  57. data/ext/mathematical/lasem/src/lsm.c +33 -0
  58. data/ext/mathematical/lasem/src/lsm.h +39 -0
  59. data/ext/mathematical/lasem/src/lsmattributes.c +276 -0
  60. data/ext/mathematical/lasem/src/lsmattributes.h +75 -0
  61. data/ext/mathematical/lasem/src/lsmcairo.c +598 -0
  62. data/ext/mathematical/lasem/src/lsmcairo.h +51 -0
  63. data/ext/mathematical/lasem/src/lsmdebug.c +185 -0
  64. data/ext/mathematical/lasem/src/lsmdebug.h +73 -0
  65. data/ext/mathematical/lasem/src/lsmdom.h +43 -0
  66. data/ext/mathematical/lasem/src/lsmdomcharacterdata.c +131 -0
  67. data/ext/mathematical/lasem/src/lsmdomcharacterdata.h +59 -0
  68. data/ext/mathematical/lasem/src/lsmdomdocument.c +272 -0
  69. data/ext/mathematical/lasem/src/lsmdomdocument.h +75 -0
  70. data/ext/mathematical/lasem/src/lsmdomdocumentfragment.c +81 -0
  71. data/ext/mathematical/lasem/src/lsmdomdocumentfragment.h +55 -0
  72. data/ext/mathematical/lasem/src/lsmdomelement.c +148 -0
  73. data/ext/mathematical/lasem/src/lsmdomelement.h +62 -0
  74. data/ext/mathematical/lasem/src/lsmdomentities.c +2166 -0
  75. data/ext/mathematical/lasem/src/lsmdomentities.h +35 -0
  76. data/ext/mathematical/lasem/src/lsmdomimplementation.c +82 -0
  77. data/ext/mathematical/lasem/src/lsmdomimplementation.h +41 -0
  78. data/ext/mathematical/lasem/src/lsmdomnamednodemap.c +118 -0
  79. data/ext/mathematical/lasem/src/lsmdomnamednodemap.h +64 -0
  80. data/ext/mathematical/lasem/src/lsmdomnode.c +737 -0
  81. data/ext/mathematical/lasem/src/lsmdomnode.h +122 -0
  82. data/ext/mathematical/lasem/src/lsmdomnodelist.c +70 -0
  83. data/ext/mathematical/lasem/src/lsmdomnodelist.h +58 -0
  84. data/ext/mathematical/lasem/src/lsmdomparser.c +523 -0
  85. data/ext/mathematical/lasem/src/lsmdomparser.h +54 -0
  86. data/ext/mathematical/lasem/src/lsmdomtext.c +82 -0
  87. data/ext/mathematical/lasem/src/lsmdomtext.h +55 -0
  88. data/ext/mathematical/lasem/src/lsmdomtypes.h +44 -0
  89. data/ext/mathematical/lasem/src/lsmdomview.c +423 -0
  90. data/ext/mathematical/lasem/src/lsmdomview.h +94 -0
  91. data/ext/mathematical/lasem/src/lsmitex.c +79 -0
  92. data/ext/mathematical/lasem/src/lsmitex.h +36 -0
  93. data/ext/mathematical/lasem/src/lsmmathml.h +66 -0
  94. data/ext/mathematical/lasem/src/lsmmathmlactionelement.c +93 -0
  95. data/ext/mathematical/lasem/src/lsmmathmlactionelement.h +57 -0
  96. data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.c +102 -0
  97. data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.h +56 -0
  98. data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.c +102 -0
  99. data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.h +56 -0
  100. data/ext/mathematical/lasem/src/lsmmathmlattributes.c +219 -0
  101. data/ext/mathematical/lasem/src/lsmmathmlattributes.h +126 -0
  102. data/ext/mathematical/lasem/src/lsmmathmldocument.c +307 -0
  103. data/ext/mathematical/lasem/src/lsmmathmldocument.h +61 -0
  104. data/ext/mathematical/lasem/src/lsmmathmlelement.c +491 -0
  105. data/ext/mathematical/lasem/src/lsmmathmlelement.h +107 -0
  106. data/ext/mathematical/lasem/src/lsmmathmlencloseelement.c +142 -0
  107. data/ext/mathematical/lasem/src/lsmmathmlencloseelement.h +64 -0
  108. data/ext/mathematical/lasem/src/lsmmathmlenums.c +500 -0
  109. data/ext/mathematical/lasem/src/lsmmathmlenums.h +224 -0
  110. data/ext/mathematical/lasem/src/lsmmathmlerrorelement.c +58 -0
  111. data/ext/mathematical/lasem/src/lsmmathmlerrorelement.h +56 -0
  112. data/ext/mathematical/lasem/src/lsmmathmlfencedelement.c +180 -0
  113. data/ext/mathematical/lasem/src/lsmmathmlfencedelement.h +65 -0
  114. data/ext/mathematical/lasem/src/lsmmathmlfractionelement.c +253 -0
  115. data/ext/mathematical/lasem/src/lsmmathmlfractionelement.h +62 -0
  116. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +661 -0
  117. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.h +45 -0
  118. data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +189 -0
  119. data/ext/mathematical/lasem/src/lsmmathmlitexelement.h +60 -0
  120. data/ext/mathematical/lasem/src/lsmmathmllayoututils.c +191 -0
  121. data/ext/mathematical/lasem/src/lsmmathmllayoututils.h +58 -0
  122. data/ext/mathematical/lasem/src/lsmmathmlmathelement.c +212 -0
  123. data/ext/mathematical/lasem/src/lsmmathmlmathelement.h +81 -0
  124. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +3342 -0
  125. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +55 -0
  126. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +314 -0
  127. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.h +73 -0
  128. data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.c +137 -0
  129. data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.h +61 -0
  130. data/ext/mathematical/lasem/src/lsmmathmlphantomelement.c +71 -0
  131. data/ext/mathematical/lasem/src/lsmmathmlphantomelement.h +56 -0
  132. data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.c +43 -0
  133. data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.h +54 -0
  134. data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.c +303 -0
  135. data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.h +83 -0
  136. data/ext/mathematical/lasem/src/lsmmathmlradicalelement.c +266 -0
  137. data/ext/mathematical/lasem/src/lsmmathmlradicalelement.h +71 -0
  138. data/ext/mathematical/lasem/src/lsmmathmlrowelement.c +58 -0
  139. data/ext/mathematical/lasem/src/lsmmathmlrowelement.h +56 -0
  140. data/ext/mathematical/lasem/src/lsmmathmlscriptelement.c +282 -0
  141. data/ext/mathematical/lasem/src/lsmmathmlscriptelement.h +78 -0
  142. data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.c +84 -0
  143. data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.h +56 -0
  144. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +156 -0
  145. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +60 -0
  146. data/ext/mathematical/lasem/src/lsmmathmlstringelement.c +123 -0
  147. data/ext/mathematical/lasem/src/lsmmathmlstringelement.h +58 -0
  148. data/ext/mathematical/lasem/src/lsmmathmlstyle.c +130 -0
  149. data/ext/mathematical/lasem/src/lsmmathmlstyle.h +89 -0
  150. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.c +391 -0
  151. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.h +94 -0
  152. data/ext/mathematical/lasem/src/lsmmathmltablecellelement.c +122 -0
  153. data/ext/mathematical/lasem/src/lsmmathmltablecellelement.h +62 -0
  154. data/ext/mathematical/lasem/src/lsmmathmltableelement.c +572 -0
  155. data/ext/mathematical/lasem/src/lsmmathmltableelement.h +78 -0
  156. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.c +120 -0
  157. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.h +64 -0
  158. data/ext/mathematical/lasem/src/lsmmathmltraits.c +867 -0
  159. data/ext/mathematical/lasem/src/lsmmathmltraits.h +129 -0
  160. data/ext/mathematical/lasem/src/lsmmathmltypes.h +67 -0
  161. data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.c +485 -0
  162. data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.h +82 -0
  163. data/ext/mathematical/lasem/src/lsmmathmlutils.c +170 -0
  164. data/ext/mathematical/lasem/src/lsmmathmlutils.h +57 -0
  165. data/ext/mathematical/lasem/src/lsmmathmlview.c +1343 -0
  166. data/ext/mathematical/lasem/src/lsmmathmlview.h +179 -0
  167. data/ext/mathematical/lasem/src/lsmmisc.c +15 -0
  168. data/ext/mathematical/lasem/src/lsmmisc.h +32 -0
  169. data/ext/mathematical/lasem/src/lsmproperties.c +415 -0
  170. data/ext/mathematical/lasem/src/lsmproperties.h +85 -0
  171. data/ext/mathematical/lasem/src/lsmstr.c +231 -0
  172. data/ext/mathematical/lasem/src/lsmstr.h +114 -0
  173. data/ext/mathematical/lasem/src/lsmsvg.h +67 -0
  174. data/ext/mathematical/lasem/src/lsmsvgaelement.c +73 -0
  175. data/ext/mathematical/lasem/src/lsmsvgaelement.h +55 -0
  176. data/ext/mathematical/lasem/src/lsmsvgattributes.h +168 -0
  177. data/ext/mathematical/lasem/src/lsmsvgcircleelement.c +153 -0
  178. data/ext/mathematical/lasem/src/lsmsvgcircleelement.h +59 -0
  179. data/ext/mathematical/lasem/src/lsmsvgclippathelement.c +134 -0
  180. data/ext/mathematical/lasem/src/lsmsvgclippathelement.h +59 -0
  181. data/ext/mathematical/lasem/src/lsmsvgcolors.c +212 -0
  182. data/ext/mathematical/lasem/src/lsmsvgcolors.h +39 -0
  183. data/ext/mathematical/lasem/src/lsmsvgdefselement.c +74 -0
  184. data/ext/mathematical/lasem/src/lsmsvgdefselement.h +55 -0
  185. data/ext/mathematical/lasem/src/lsmsvgdocument.c +306 -0
  186. data/ext/mathematical/lasem/src/lsmsvgdocument.h +64 -0
  187. data/ext/mathematical/lasem/src/lsmsvgelement.c +371 -0
  188. data/ext/mathematical/lasem/src/lsmsvgelement.h +80 -0
  189. data/ext/mathematical/lasem/src/lsmsvgellipseelement.c +158 -0
  190. data/ext/mathematical/lasem/src/lsmsvgellipseelement.h +60 -0
  191. data/ext/mathematical/lasem/src/lsmsvgenums.c +674 -0
  192. data/ext/mathematical/lasem/src/lsmsvgenums.h +416 -0
  193. data/ext/mathematical/lasem/src/lsmsvgfilterblend.c +105 -0
  194. data/ext/mathematical/lasem/src/lsmsvgfilterblend.h +58 -0
  195. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +115 -0
  196. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +58 -0
  197. data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.c +109 -0
  198. data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.h +58 -0
  199. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +206 -0
  200. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +64 -0
  201. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +124 -0
  202. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +60 -0
  203. data/ext/mathematical/lasem/src/lsmsvgfilterelement.c +266 -0
  204. data/ext/mathematical/lasem/src/lsmsvgfilterelement.h +66 -0
  205. data/ext/mathematical/lasem/src/lsmsvgfilterflood.c +86 -0
  206. data/ext/mathematical/lasem/src/lsmsvgfilterflood.h +55 -0
  207. data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.c +114 -0
  208. data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.h +57 -0
  209. data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +169 -0
  210. data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +61 -0
  211. data/ext/mathematical/lasem/src/lsmsvgfiltermerge.c +98 -0
  212. data/ext/mathematical/lasem/src/lsmsvgfiltermerge.h +55 -0
  213. data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.c +87 -0
  214. data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.h +57 -0
  215. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +116 -0
  216. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +58 -0
  217. data/ext/mathematical/lasem/src/lsmsvgfilteroffset.c +112 -0
  218. data/ext/mathematical/lasem/src/lsmsvgfilteroffset.h +58 -0
  219. data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.c +168 -0
  220. data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.h +66 -0
  221. data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +134 -0
  222. data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.h +60 -0
  223. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +1540 -0
  224. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +92 -0
  225. data/ext/mathematical/lasem/src/lsmsvgfiltertile.c +102 -0
  226. data/ext/mathematical/lasem/src/lsmsvgfiltertile.h +57 -0
  227. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +142 -0
  228. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +61 -0
  229. data/ext/mathematical/lasem/src/lsmsvggelement.c +73 -0
  230. data/ext/mathematical/lasem/src/lsmsvggelement.h +55 -0
  231. data/ext/mathematical/lasem/src/lsmsvggradientelement.c +151 -0
  232. data/ext/mathematical/lasem/src/lsmsvggradientelement.h +68 -0
  233. data/ext/mathematical/lasem/src/lsmsvgimageelement.c +261 -0
  234. data/ext/mathematical/lasem/src/lsmsvgimageelement.h +67 -0
  235. data/ext/mathematical/lasem/src/lsmsvglength.c +152 -0
  236. data/ext/mathematical/lasem/src/lsmsvglength.h +65 -0
  237. data/ext/mathematical/lasem/src/lsmsvglineargradientelement.c +271 -0
  238. data/ext/mathematical/lasem/src/lsmsvglineargradientelement.h +60 -0
  239. data/ext/mathematical/lasem/src/lsmsvglineelement.c +153 -0
  240. data/ext/mathematical/lasem/src/lsmsvglineelement.h +60 -0
  241. data/ext/mathematical/lasem/src/lsmsvgmarkerelement.c +266 -0
  242. data/ext/mathematical/lasem/src/lsmsvgmarkerelement.h +74 -0
  243. data/ext/mathematical/lasem/src/lsmsvgmaskelement.c +232 -0
  244. data/ext/mathematical/lasem/src/lsmsvgmaskelement.h +64 -0
  245. data/ext/mathematical/lasem/src/lsmsvgmatrix.c +221 -0
  246. data/ext/mathematical/lasem/src/lsmsvgmatrix.h +60 -0
  247. data/ext/mathematical/lasem/src/lsmsvgpathelement.c +115 -0
  248. data/ext/mathematical/lasem/src/lsmsvgpathelement.h +59 -0
  249. data/ext/mathematical/lasem/src/lsmsvgpatternelement.c +398 -0
  250. data/ext/mathematical/lasem/src/lsmsvgpatternelement.h +69 -0
  251. data/ext/mathematical/lasem/src/lsmsvgpolygonelement.c +106 -0
  252. data/ext/mathematical/lasem/src/lsmsvgpolygonelement.h +57 -0
  253. data/ext/mathematical/lasem/src/lsmsvgpolylineelement.c +106 -0
  254. data/ext/mathematical/lasem/src/lsmsvgpolylineelement.h +57 -0
  255. data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.c +323 -0
  256. data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.h +61 -0
  257. data/ext/mathematical/lasem/src/lsmsvgrectelement.c +184 -0
  258. data/ext/mathematical/lasem/src/lsmsvgrectelement.h +62 -0
  259. data/ext/mathematical/lasem/src/lsmsvgstopelement.c +106 -0
  260. data/ext/mathematical/lasem/src/lsmsvgstopelement.h +57 -0
  261. data/ext/mathematical/lasem/src/lsmsvgstyle.c +546 -0
  262. data/ext/mathematical/lasem/src/lsmsvgstyle.h +217 -0
  263. data/ext/mathematical/lasem/src/lsmsvgsvgelement.c +266 -0
  264. data/ext/mathematical/lasem/src/lsmsvgsvgelement.h +71 -0
  265. data/ext/mathematical/lasem/src/lsmsvgswitchelement.c +103 -0
  266. data/ext/mathematical/lasem/src/lsmsvgswitchelement.h +55 -0
  267. data/ext/mathematical/lasem/src/lsmsvgsymbolelement.c +148 -0
  268. data/ext/mathematical/lasem/src/lsmsvgsymbolelement.h +58 -0
  269. data/ext/mathematical/lasem/src/lsmsvgtextelement.c +203 -0
  270. data/ext/mathematical/lasem/src/lsmsvgtextelement.h +60 -0
  271. data/ext/mathematical/lasem/src/lsmsvgtraits.c +1490 -0
  272. data/ext/mathematical/lasem/src/lsmsvgtraits.h +122 -0
  273. data/ext/mathematical/lasem/src/lsmsvgtransformable.c +106 -0
  274. data/ext/mathematical/lasem/src/lsmsvgtransformable.h +54 -0
  275. data/ext/mathematical/lasem/src/lsmsvgtspanelement.c +174 -0
  276. data/ext/mathematical/lasem/src/lsmsvgtspanelement.h +60 -0
  277. data/ext/mathematical/lasem/src/lsmsvgtypes.h +83 -0
  278. data/ext/mathematical/lasem/src/lsmsvguseelement.c +238 -0
  279. data/ext/mathematical/lasem/src/lsmsvguseelement.h +69 -0
  280. data/ext/mathematical/lasem/src/lsmsvgview.c +2797 -0
  281. data/ext/mathematical/lasem/src/lsmsvgview.h +203 -0
  282. data/ext/mathematical/lasem/src/lsmtraits.c +171 -0
  283. data/ext/mathematical/lasem/src/lsmtraits.h +51 -0
  284. data/ext/mathematical/lasem/src/lsmtypes.h +36 -0
  285. data/ext/mathematical/lasem/src/lsmutils.c +54 -0
  286. data/ext/mathematical/lasem/src/lsmutils.h +56 -0
  287. data/ext/mathematical/lasem/src/meson.build +321 -0
  288. data/ext/mathematical/lasem/subprojects/gi-docgen.wrap +6 -0
  289. data/ext/mathematical/lasem/tests/data/mathml/gtkmathview/README +5 -0
  290. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-02.tex +1 -0
  291. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-03-inline.tex +1 -0
  292. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-03.tex +1 -0
  293. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction.tex +1 -0
  294. data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/closed.tex +1 -0
  295. data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/multiples.tex +1 -0
  296. data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/standard.tex +1 -0
  297. data/ext/mathematical/lasem/tests/data/mathml/tex/matrices/matrix-01.tex +5 -0
  298. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/array.tex +3 -0
  299. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases-cr.tex +7 -0
  300. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases-space.tex +7 -0
  301. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases.tex +7 -0
  302. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/color.tex +1 -0
  303. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex-2.tex +1 -0
  304. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex-inline.tex +7 -0
  305. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex.tex +7 -0
  306. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/quadratic-inline.tex +1 -0
  307. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/quadratic.tex +1 -0
  308. data/ext/mathematical/lasem/tests/data/mathml/tex/radicals/radical-01.tex +1 -0
  309. data/ext/mathematical/lasem/tests/data/mathml/tex/radicals/radical-02.tex +1 -0
  310. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/accents.tex +1 -0
  311. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/script.tex +1 -0
  312. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/stack.tex +1 -0
  313. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/subscript.tex +1 -0
  314. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/sums-inline.tex +1 -0
  315. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/sums.tex +1 -0
  316. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/superscript-inline.tex +1 -0
  317. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/superscript.tex +1 -0
  318. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/bmpCursor.bmp +0 -0
  319. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/brushedMetal.jpg +0 -0
  320. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/jpeg.jpg +0 -0
  321. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/jpegCursor.jpg +0 -0
  322. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaBridge.jpg +0 -0
  323. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaSteps.jpg +0 -0
  324. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaWalk.jpg +0 -0
  325. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors.tif +0 -0
  326. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_pb.tif +0 -0
  327. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_pb_tile.tif +0 -0
  328. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_tile.tif +0 -0
  329. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/tde.jpg +0 -0
  330. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/tiffCursor.tif +0 -0
  331. data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/image1.jpg +0 -0
  332. data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/struct-image-01.jpg +0 -0
  333. data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/struct-image-02.jpg +0 -0
  334. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/CNN.3gp +0 -0
  335. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/SVG-1.1-monolithic-fixed.dtd +1622 -0
  336. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/TraitAccess.common.es +672 -0
  337. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/advice.wav +0 -0
  338. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/beep.wav +0 -0
  339. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/boing_x.wav +0 -0
  340. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/clock.mp4 +0 -0
  341. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud-ps411q4app.jpg +0 -0
  342. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q25s.jpg +0 -0
  343. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q65float.jpg +0 -0
  344. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75o.jpg +0 -0
  345. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75p.jpg +0 -0
  346. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75s.jpg +0 -0
  347. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud444q65o.jpg +0 -0
  348. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudgsq75s.jpg +0 -0
  349. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudoddq65o.jpg +0 -0
  350. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudqllo.jpg +0 -0
  351. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/copyright-documents-19990405.html +89 -0
  352. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/disco.jpg +0 -0
  353. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.3gp +0 -0
  354. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.jpg +0 -0
  355. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.mov +0 -0
  356. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/duckfeeding.3gp +0 -0
  357. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/duckfeeding.mov +0 -0
  358. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/excuse_me.wav +0 -0
  359. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/externalscript.js +1 -0
  360. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton.jpg +0 -0
  361. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton1.jpg +0 -0
  362. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton2.jpg +0 -0
  363. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton3.jpg +0 -0
  364. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton4.jpg +0 -0
  365. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/heroesLanding.3gp +0 -0
  366. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/image1.jpg +0 -0
  367. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/image2_b.jpg +0 -0
  368. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/myimage.jpg +0 -0
  369. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pacman.wav +0 -0
  370. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/plant.jpg +0 -0
  371. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image0.jpg +0 -0
  372. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image1.jpg +0 -0
  373. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image2.jpg +0 -0
  374. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image3.jpg +0 -0
  375. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image4.jpg +0 -0
  376. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image5.jpg +0 -0
  377. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image6.jpg +0 -0
  378. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image7.jpg +0 -0
  379. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image8.jpg +0 -0
  380. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image9.jpg +0 -0
  381. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script1.js +1 -0
  382. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script10.js +1 -0
  383. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script2.js +1 -0
  384. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script3.js +1 -0
  385. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script4.js +1 -0
  386. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script5.js +1 -0
  387. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script6.js +1 -0
  388. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script7.js +1 -0
  389. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script8.js +1 -0
  390. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script9.js +1 -0
  391. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/skier.3gp +0 -0
  392. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/skier.jpg +0 -0
  393. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/struct-image-01.jpg +0 -0
  394. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/struct-image-02.jpg +0 -0
  395. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/svgRef4.css +4 -0
  396. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/welcome.wav +0 -0
  397. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/xmltree.xml +4 -0
  398. data/ext/mathematical/lasem/tests/dom.c +266 -0
  399. data/ext/mathematical/lasem/tests/filter.c +153 -0
  400. data/ext/mathematical/lasem/tests/fuzztest.sh +12 -0
  401. data/ext/mathematical/lasem/tests/lasem.supp +185 -0
  402. data/ext/mathematical/lasem/tests/lsmtest.c +592 -0
  403. data/ext/mathematical/lasem/tests/meson.build +39 -0
  404. data/ext/mathematical/lasem/tests/str.c +44 -0
  405. data/ext/mathematical/lasem/tests/suite.c +140 -0
  406. data/ext/mathematical/lasem/tests/suite.ini +27 -0
  407. data/ext/mathematical/lasem/tools/change-license +3 -0
  408. data/ext/mathematical/lasem/tools/charlist.dtd +73 -0
  409. data/ext/mathematical/lasem/tools/entities-to-c.xsl +1067 -0
  410. data/ext/mathematical/lasem/tools/fuzzxml +243 -0
  411. data/ext/mathematical/lasem/tools/generate-entity-array.c +2136 -0
  412. data/ext/mathematical/lasem/tools/unicode.xml +44303 -0
  413. data/ext/mathematical/lasem/viewer/meson.build +17 -0
  414. data/ext/mathematical/lasem/viewer/viewer.c +248 -0
  415. data/ext/mathematical/mtex2MML/CMakeLists.txt +255 -0
  416. data/ext/mathematical/mtex2MML/CONTRIBUTING.md +22 -0
  417. data/ext/mathematical/mtex2MML/README.md +143 -0
  418. data/ext/mathematical/mtex2MML/SUPPORTED.md +1216 -0
  419. data/ext/mathematical/mtex2MML/appveyor.yml +35 -0
  420. data/ext/mathematical/mtex2MML/cmake/Modules/astyle.cmake +12 -0
  421. data/ext/mathematical/mtex2MML/deps/uthash/package.json +27 -0
  422. data/ext/mathematical/mtex2MML/deps/uthash/utarray.h +239 -0
  423. data/ext/mathematical/mtex2MML/deps/uthash/uthash.h +1074 -0
  424. data/ext/mathematical/mtex2MML/deps/uthash/utlist.h +895 -0
  425. data/ext/mathematical/mtex2MML/deps/uthash/utringbuffer.h +108 -0
  426. data/ext/mathematical/mtex2MML/deps/uthash/utstring.h +398 -0
  427. data/ext/mathematical/mtex2MML/script/bootstrap +39 -0
  428. data/ext/mathematical/mtex2MML/script/cibuild +58 -0
  429. data/ext/mathematical/mtex2MML/script/tag +28 -0
  430. data/ext/mathematical/mtex2MML/src/colors.c +44 -0
  431. data/ext/mathematical/mtex2MML/src/colors.h +23 -0
  432. data/ext/mathematical/mtex2MML/src/em.c +99 -0
  433. data/ext/mathematical/mtex2MML/src/em.h +31 -0
  434. data/ext/mathematical/mtex2MML/src/environment.c +515 -0
  435. data/ext/mathematical/mtex2MML/src/environment.h +85 -0
  436. data/ext/mathematical/mtex2MML/src/lexer.l +1594 -0
  437. data/ext/mathematical/mtex2MML/src/libmtex2MML.pc.in +10 -0
  438. data/ext/mathematical/mtex2MML/src/main.c +187 -0
  439. data/ext/mathematical/mtex2MML/src/mtex2MML.h +89 -0
  440. data/ext/mathematical/mtex2MML/src/parser.y +3817 -0
  441. data/ext/mathematical/mtex2MML/src/string_dup.c +23 -0
  442. data/ext/mathematical/mtex2MML/src/string_dup.h +23 -0
  443. data/ext/mathematical/mtex2MML/src/string_extras.c +47 -0
  444. data/ext/mathematical/mtex2MML/src/string_extras.h +30 -0
  445. data/ext/mathematical/mtex2MML/src/win32-shims/unistd.h +51 -0
  446. data/ext/mathematical/mtex2MML/tests/array.c +127 -0
  447. data/ext/mathematical/mtex2MML/tests/basic.c +96 -0
  448. data/ext/mathematical/mtex2MML/tests/clar/fixtures.h +38 -0
  449. data/ext/mathematical/mtex2MML/tests/clar/fs.h +335 -0
  450. data/ext/mathematical/mtex2MML/tests/clar/print.h +66 -0
  451. data/ext/mathematical/mtex2MML/tests/clar/sandbox.h +141 -0
  452. data/ext/mathematical/mtex2MML/tests/clar.c +644 -0
  453. data/ext/mathematical/mtex2MML/tests/clar.h +163 -0
  454. data/ext/mathematical/mtex2MML/tests/clar_test.h +20 -0
  455. data/ext/mathematical/mtex2MML/tests/cornercases.c +46 -0
  456. data/ext/mathematical/mtex2MML/tests/debug/mtex2MML_debug.cc +21 -0
  457. data/ext/mathematical/mtex2MML/tests/delimiters.c +242 -0
  458. data/ext/mathematical/mtex2MML/tests/deps/file2str/file2str.c +62 -0
  459. data/ext/mathematical/mtex2MML/tests/deps/file2str/file2str.h +12 -0
  460. data/ext/mathematical/mtex2MML/tests/deps/file2str/package.json +9 -0
  461. data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.c +151 -0
  462. data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.h +10 -0
  463. data/ext/mathematical/mtex2MML/tests/deps/trim/package.json +7 -0
  464. data/ext/mathematical/mtex2MML/tests/deps/trim/trim.c +27 -0
  465. data/ext/mathematical/mtex2MML/tests/deps/trim/trim.h +7 -0
  466. data/ext/mathematical/mtex2MML/tests/env.c +334 -0
  467. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-1.html +86 -0
  468. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-2.html +148 -0
  469. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-3.html +188 -0
  470. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/arrows-2.html +156 -0
  471. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/min-1.html +45 -0
  472. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/min-2.html +35 -0
  473. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-1.html +16 -0
  474. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-2.html +3 -0
  475. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-3.html +5 -0
  476. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/buildrel-1.html +3 -0
  477. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue490.html +0 -0
  478. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue877.html +3 -0
  479. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue937.html +3 -0
  480. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbrace-1.html +3 -0
  481. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbracket-1.html +3 -0
  482. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overset-1.html +3 -0
  483. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/sideset-1.html +5 -0
  484. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/stackrel-1.html +3 -0
  485. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/subarray-1.html +1 -0
  486. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/substack-1.html +3 -0
  487. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underbrace-1.html +3 -0
  488. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underbracket-1.html +3 -0
  489. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underset-1.html +3 -0
  490. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/mathtip-1.html +6 -0
  491. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/texttip-1.html +6 -0
  492. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/toggle-1.html +7 -0
  493. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/Newextarrow-1.html +10 -0
  494. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-1.html +34 -0
  495. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-2.html +30 -0
  496. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-3.html +9 -0
  497. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-4.html +13 -0
  498. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-5.html +7 -0
  499. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathbin-1.html +7 -0
  500. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathinner-1.html +3 -0
  501. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-1a.html +3 -0
  502. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-1b.html +5 -0
  503. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-2.html +5 -0
  504. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathopenclose-1.html +3 -0
  505. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathord-1.html +3 -0
  506. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathpunct-1.html +3 -0
  507. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathrel-1.html +3 -0
  508. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/backslashed-1.html +16 -0
  509. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/basic-operators-1.html +3 -0
  510. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/basic-operators-2.html +25 -0
  511. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/remap-1.html +5 -0
  512. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/color-1.html +3 -0
  513. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/colorbox-1.html +3 -0
  514. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/definecolor-1.html +37 -0
  515. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/definecolor-2.html +79 -0
  516. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/fcolorbox-1.html +7 -0
  517. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/issue446.html +5 -0
  518. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/namedcolors-1.html +70 -0
  519. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-1.html +3 -0
  520. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-2.html +3 -0
  521. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-3.html +3 -0
  522. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/delimiters-1.html +3 -0
  523. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/delimiters-2.html +4 -0
  524. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue775.html +3 -0
  525. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-1a.html +6 -0
  526. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-1b.html +6 -0
  527. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-2.html +6 -0
  528. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-3.html +6 -0
  529. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-4.html +6 -0
  530. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-5.html +6 -0
  531. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/left-right-1.html +3 -0
  532. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/align-1a.html +7 -0
  533. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/align-1b.html +7 -0
  534. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignat-1a.html +6 -0
  535. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignat-1b.html +6 -0
  536. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/aligned-1.html +9 -0
  537. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/aligned-2.html +14 -0
  538. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignedat-1.html +8 -0
  539. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqalign-1.html +8 -0
  540. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqalignno-1.html +8 -0
  541. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-1a.html +7 -0
  542. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-1b.html +7 -0
  543. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-2.html +64 -0
  544. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/equation-1.html +5 -0
  545. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/equation-2.html +5 -0
  546. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gather-1a.html +7 -0
  547. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gather-1b.html +7 -0
  548. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gathered-1.html +7 -0
  549. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gathered-2.html +12 -0
  550. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-1a.html +5 -0
  551. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-1b.html +5 -0
  552. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-2a.html +5 -0
  553. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-2b.html +5 -0
  554. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-3a.html +5 -0
  555. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-3b.html +5 -0
  556. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/leqalignno-1.html +11 -0
  557. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/multline-1a.html +7 -0
  558. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/multline-1b.html +7 -0
  559. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/split-1.html +9 -0
  560. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/errors/noErrors-1.html +5 -0
  561. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/errors/noUndefined-1.html +3 -0
  562. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/above-1.html +3 -0
  563. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/abovewithdelims-1.html +3 -0
  564. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/atop-1.html +3 -0
  565. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/atopwithdelims-1.html +3 -0
  566. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/binom-1.html +3 -0
  567. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/brace-1.html +3 -0
  568. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/brack-1.html +3 -0
  569. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/cfrac-1.html +3 -0
  570. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/choose-1.html +3 -0
  571. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/dbinom-1.html +3 -0
  572. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/dfrac-1.html +3 -0
  573. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/frac-1a.html +3 -0
  574. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/frac-1b.html +3 -0
  575. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/genfrac-1.html +3 -0
  576. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/issue969.html +3 -0
  577. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/overwithdelims-1.html +3 -0
  578. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/tbinom-1.html +3 -0
  579. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/tfrac-1.html +3 -0
  580. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue1152-1.html +1 -0
  581. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue1152-2.html +4 -0
  582. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue375.html +3 -0
  583. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue856.html +3 -0
  584. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1a.html +5 -0
  585. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1b.html +5 -0
  586. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1c.html +5 -0
  587. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1d.html +5 -0
  588. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/boxes-1.html +5 -0
  589. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/kern-1a.html +3 -0
  590. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/kern-1b.html +3 -0
  591. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/llap-1.html +3 -0
  592. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/lower-1.html +4 -0
  593. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/mathstrut-1.html +3 -0
  594. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/moveleft-1.html +3 -0
  595. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/moveright-1.html +3 -0
  596. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/newline-1.html +3 -0
  597. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/phantom-1.html +4 -0
  598. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/raise-1.html +3 -0
  599. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/rlap-1.html +3 -0
  600. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/shove-1.html +19 -0
  601. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/skip-1a.html +3 -0
  602. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/skip-1b.html +3 -0
  603. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/smash-1.html +3 -0
  604. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/spaces-1.html +18 -0
  605. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/strut-1.html +3 -0
  606. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/vcenter-1.html +3 -0
  607. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-1.html +32 -0
  608. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-2.html +13 -0
  609. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-3.html +6 -0
  610. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-4.html +13 -0
  611. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/hebrew-1.html +6 -0
  612. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/begingroup-1.html +15 -0
  613. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/def-1.html +5 -0
  614. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/let-1.html +14 -0
  615. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-1.html +7 -0
  616. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-2.html +25 -0
  617. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-3.html +50 -0
  618. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-5.html +5 -0
  619. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-6.html +7 -0
  620. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-7.html +7 -0
  621. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/Bbb-1.html +3 -0
  622. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/bf-1.html +3 -0
  623. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/boldsymbol-1.html +9 -0
  624. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/cal-1.html +3 -0
  625. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/frak-1.html +3 -0
  626. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/it-1.html +3 -0
  627. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbb-1.html +3 -0
  628. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-1a.html +3 -0
  629. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-1b.html +3 -0
  630. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-2.html +3 -0
  631. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathcal-1.html +3 -0
  632. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathfrak-1.html +3 -0
  633. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathit-1.html +3 -0
  634. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathrm-1.html +3 -0
  635. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathscr-1.html +3 -0
  636. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathsf-1.html +3 -0
  637. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathtt-1.html +3 -0
  638. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mit-1.html +3 -0
  639. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/pmb-1.html +3 -0
  640. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/rm-1.html +3 -0
  641. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/scr-1.html +3 -0
  642. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/sf-1.html +3 -0
  643. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/text-1.html +3 -0
  644. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textbf-1.html +3 -0
  645. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textit-1.html +3 -0
  646. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textrm-1.html +3 -0
  647. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textsf-1.html +3 -0
  648. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/texttt-1.html +3 -0
  649. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/tt-1.html +3 -0
  650. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-1a.html +7 -0
  651. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-1b.html +7 -0
  652. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-2.html +3 -0
  653. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-3.html +3 -0
  654. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/bmatrix-1.html +7 -0
  655. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/bmatrix-2.html +7 -0
  656. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/matrix-1.html +7 -0
  657. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/matrix-2.html +7 -0
  658. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/pmatrix-1.html +7 -0
  659. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/pmatrix-2.html +8 -0
  660. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/smallmatrix-1.html +3 -0
  661. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/vmatrix-1.html +7 -0
  662. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/vmatrix-2.html +7 -0
  663. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-1.html +120 -0
  664. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-2.html +35 -0
  665. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-3.html +138 -0
  666. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/amounts-1.html +46 -0
  667. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/arrows-1.html +235 -0
  668. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/arrows-2.html +159 -0
  669. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/basics-1.html +139 -0
  670. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/bonds-1.html +256 -0
  671. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/environments-1.html +81 -0
  672. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/isotopes-1.html +30 -0
  673. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/math-1.html +101 -0
  674. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/special_symbols-1.html +176 -0
  675. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/Rule-1.html +5 -0
  676. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/Tiny-1.html +3 -0
  677. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/class-1.html +3 -0
  678. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/cssId-1.html +3 -0
  679. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/href-1.html +3 -0
  680. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/href-2.html +3 -0
  681. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/require-1.html +3 -0
  682. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/style-1.html +3 -0
  683. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/unicode-1.html +8 -0
  684. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/LaTeX-1.html +4 -0
  685. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/bbox-1.html +6 -0
  686. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/boxed-1.html +3 -0
  687. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/cancel-1.html +6 -0
  688. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/cases-1.html +3 -0
  689. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/displaylines-1.html +7 -0
  690. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/enclose-1.html +8 -0
  691. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/functions-1.html +34 -0
  692. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-1.html +5 -0
  693. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-2.html +8 -0
  694. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-3.html +3 -0
  695. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/mathsize-1.html +11 -0
  696. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/mod-1.html +5 -0
  697. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/not-1.html +5 -0
  698. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/pod-1.html +3 -0
  699. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-1.html +8 -0
  700. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-2.html +4 -0
  701. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-3.html +3 -0
  702. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/style-1.html +7 -0
  703. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/style-2.html +0 -0
  704. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/verb-1.html +3 -0
  705. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/verb-2.html +3 -0
  706. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/eqref-1.html +5 -0
  707. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/label-1.html +7 -0
  708. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/label-2.html +1 -0
  709. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/notag-1.html +5 -0
  710. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-1.html +5 -0
  711. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-2.html +5 -0
  712. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-3.html +5 -0
  713. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-1.html +3 -0
  714. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-2.html +3 -0
  715. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-3.html +3 -0
  716. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/sqrt-1.html +3 -0
  717. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/sqrt-2.html +3 -0
  718. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/binaryops-1.html +32 -0
  719. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/dots-1.html +26 -0
  720. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/largeops-1.html +4 -0
  721. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/largeops-2.html +3 -0
  722. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/relations-1.html +39 -0
  723. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-1.html +25 -0
  724. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-2.html +31 -0
  725. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-3.html +40 -0
  726. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-4.html +39 -0
  727. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-5.html +56 -0
  728. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-6.html +49 -0
  729. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-1.no_tex +8 -0
  730. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-2.no_tex +13 -0
  731. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-3.no_tex +23 -0
  732. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/arrows-1.no_tex +23 -0
  733. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/arrows-2.no_tex +26 -0
  734. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/min-1.no_tex +14 -0
  735. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/min-2.no_tex +14 -0
  736. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-1.txt +16 -0
  737. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-2.txt +3 -0
  738. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-3.txt +5 -0
  739. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/buildrel-1.txt +3 -0
  740. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue490.no_tex +3 -0
  741. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue877.txt +3 -0
  742. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue937.txt +3 -0
  743. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overbrace-1.txt +3 -0
  744. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overbracket-1.txt +3 -0
  745. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overset-1.txt +3 -0
  746. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/sideset-1.txt +6 -0
  747. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/stackrel-1.txt +3 -0
  748. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/subarray-1.txt +1 -0
  749. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/substack-1.txt +3 -0
  750. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underbrace-1.txt +3 -0
  751. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underbracket-1.txt +3 -0
  752. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underset-1.txt +3 -0
  753. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/mathtip-1.no_tex +2 -0
  754. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/texttip-1.no_tex +2 -0
  755. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/toggle-1.no_tex +3 -0
  756. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/Newextarrow-1.xtex +4 -0
  757. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-1.txt +34 -0
  758. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-2.txt +30 -0
  759. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-3.txt +9 -0
  760. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-4.txt +13 -0
  761. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-5.txt +7 -0
  762. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathbin-1.no_tex +3 -0
  763. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathinner-1.txt +3 -0
  764. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-1a.txt +3 -0
  765. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-1b.txt +5 -0
  766. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-2.xtex +3 -0
  767. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathopenclose-1.txt +3 -0
  768. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathord-1.txt +3 -0
  769. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathpunct-1.txt +3 -0
  770. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathrel-1.txt +3 -0
  771. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/backslashed-1.txt +16 -0
  772. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/basic-operators-1.txt +3 -0
  773. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/basic-operators-2.xtex +5 -0
  774. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/remap-1.txt +5 -0
  775. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/color-1.txt +3 -0
  776. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/colorbox-1.txt +3 -0
  777. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1a.xtex +7 -0
  778. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1b.xtex +7 -0
  779. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1c.xtex +7 -0
  780. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-2.xtex +13 -0
  781. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/fcolorbox-1.xtex +3 -0
  782. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/issue446.xtex +5 -0
  783. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/namedcolors-1.txt +70 -0
  784. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-1.txt +3 -0
  785. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-2.txt +3 -0
  786. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-3.txt +3 -0
  787. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/delimiters-1.txt +3 -0
  788. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/delimiters-2.txt +4 -0
  789. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue775.txt +3 -0
  790. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-1a.txt +6 -0
  791. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-1b.txt +6 -0
  792. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-2.txt +6 -0
  793. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-3.txt +6 -0
  794. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-4.txt +6 -0
  795. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-5.txt +6 -0
  796. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/left-right-1.txt +3 -0
  797. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/align-1a.txt +7 -0
  798. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/align-1b.txt +7 -0
  799. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignat-1a.txt +6 -0
  800. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignat-1b.txt +6 -0
  801. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/aligned-1.txt +9 -0
  802. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/aligned-2.txt +14 -0
  803. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignedat-1.txt +8 -0
  804. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqalign-1.txt +8 -0
  805. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqalignno-1.txt +8 -0
  806. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1a.txt +7 -0
  807. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1b.txt +7 -0
  808. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1c.no_tex +7 -0
  809. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-2a.no_tex +8 -0
  810. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/equation-1.txt +5 -0
  811. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/equation-2.txt +5 -0
  812. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gather-1a.txt +7 -0
  813. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gather-1b.txt +7 -0
  814. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gathered-1.txt +7 -0
  815. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gathered-2.txt +12 -0
  816. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-1a.txt +5 -0
  817. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-1b.txt +5 -0
  818. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-2a.txt +5 -0
  819. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-2b.txt +5 -0
  820. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-3a.txt +5 -0
  821. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-3b.txt +5 -0
  822. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/leqalignno-1.xtex +8 -0
  823. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/multline-1a.txt +7 -0
  824. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/multline-1b.txt +7 -0
  825. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/split-1.txt +9 -0
  826. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/errors/noErrors-1.no_tex +3 -0
  827. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/errors/noUndefined-1.no_tex +2 -0
  828. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/above-1.txt +3 -0
  829. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/abovewithdelims-1.txt +3 -0
  830. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/atop-1.txt +3 -0
  831. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/atopwithdelims-1.txt +3 -0
  832. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/binom-1.txt +3 -0
  833. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/brace-1.txt +3 -0
  834. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/brack-1.txt +3 -0
  835. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/cfrac-1.txt +3 -0
  836. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/choose-1.txt +3 -0
  837. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/dbinom-1.txt +3 -0
  838. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/dfrac-1.txt +3 -0
  839. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/frac-1a.txt +3 -0
  840. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/frac-1b.txt +3 -0
  841. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/genfrac-1.txt +3 -0
  842. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/issue969.txt +3 -0
  843. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/overwithdelims-1.txt +3 -0
  844. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/tbinom-1.txt +3 -0
  845. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/tfrac-1.txt +3 -0
  846. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1151.no_tex +3 -0
  847. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1152-1.xtex +1 -0
  848. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1152-2.txt +4 -0
  849. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue375.txt +3 -0
  850. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue856.txt +3 -0
  851. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1a.txt +5 -0
  852. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1b.txt +5 -0
  853. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1c.txt +5 -0
  854. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1d.txt +5 -0
  855. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue903-1.xtex +6 -0
  856. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue903-2.xtex +16 -0
  857. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/boxes-1.txt +5 -0
  858. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/kern-1a.txt +3 -0
  859. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/kern-1b.txt +3 -0
  860. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/llap-1.txt +3 -0
  861. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/lower-1.txt +4 -0
  862. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/mathstrut-1.txt +3 -0
  863. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/moveleft-1.txt +3 -0
  864. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/moveright-1.txt +3 -0
  865. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/newline-1.txt +3 -0
  866. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/phantom-1.txt +4 -0
  867. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/raise-1.txt +3 -0
  868. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/rlap-1.txt +3 -0
  869. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/shove-1.xtex +7 -0
  870. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/skip-1a.txt +3 -0
  871. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/skip-1b.txt +3 -0
  872. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/smash-1.txt +3 -0
  873. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/spaces-1.txt +18 -0
  874. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/strut-1.txt +3 -0
  875. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/vcenter-1.txt +3 -0
  876. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-1.txt +32 -0
  877. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-2.txt +13 -0
  878. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-3.txt +6 -0
  879. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-4.txt +13 -0
  880. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/hebrew-1.txt +6 -0
  881. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/begingroup-1.no_tex +8 -0
  882. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/def-1.no_tex +4 -0
  883. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/let-1.no_tex +5 -0
  884. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-1a.no_tex +3 -0
  885. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-1b.no_tex +3 -0
  886. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-2.no_tex +3 -0
  887. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-3.no_tex +5 -0
  888. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-5.no_tex +3 -0
  889. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-6.no_tex +5 -0
  890. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-7.no_tex +11 -0
  891. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/Bbb-1.txt +3 -0
  892. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/bf-1.txt +3 -0
  893. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/boldsymbol-1.txt +9 -0
  894. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/cal-1.txt +3 -0
  895. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/frak-1.txt +3 -0
  896. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/it-1.txt +3 -0
  897. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbb-1.txt +3 -0
  898. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1a.txt +3 -0
  899. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1b.txt +3 -0
  900. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-2.txt +3 -0
  901. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathcal-1.txt +3 -0
  902. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathfrak-1.txt +3 -0
  903. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathit-1.txt +3 -0
  904. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathrm-1.txt +3 -0
  905. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathscr-1.txt +3 -0
  906. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathsf-1.txt +3 -0
  907. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathtt-1.txt +3 -0
  908. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mit-1.txt +3 -0
  909. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/pmb-1.txt +3 -0
  910. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/rm-1.txt +3 -0
  911. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/scr-1.txt +3 -0
  912. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/sf-1.txt +3 -0
  913. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/text-1.txt +3 -0
  914. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textbf-1.txt +3 -0
  915. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textit-1.txt +3 -0
  916. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textrm-1.txt +3 -0
  917. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textsf-1.txt +3 -0
  918. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/texttt-1.txt +3 -0
  919. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/tt-1.txt +3 -0
  920. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-1a.txt +7 -0
  921. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-1b.txt +7 -0
  922. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-2.txt +3 -0
  923. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-3.txt +3 -0
  924. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/bmatrix-1.txt +7 -0
  925. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/bmatrix-2.txt +7 -0
  926. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/matrix-1.txt +7 -0
  927. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/matrix-2.txt +7 -0
  928. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/pmatrix-1.txt +7 -0
  929. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/pmatrix-2.txt +8 -0
  930. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/smallmatrix-1.txt +3 -0
  931. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/vmatrix-1.txt +7 -0
  932. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/vmatrix-2.txt +7 -0
  933. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-1.no_tex +8 -0
  934. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-2.no_tex +3 -0
  935. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-3.no_tex +7 -0
  936. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/amounts-1.no_tex +4 -0
  937. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/arrows-1.no_tex +10 -0
  938. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/arrows-2.no_tex +9 -0
  939. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/basics-1.no_tex +13 -0
  940. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/bonds-1.no_tex +11 -0
  941. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/environments-1.no_tex +6 -0
  942. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/isotopes-1.no_tex +3 -0
  943. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/math-1.no_tex +4 -0
  944. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/special_symbols-1.no_tex +7 -0
  945. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/Rule-1.no_tex +3 -0
  946. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/Tiny-1.txt +3 -0
  947. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/class-1.no_tex +3 -0
  948. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/cssId-1.no_tex +3 -0
  949. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/href-1.no_tex +3 -0
  950. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/href-2.no_tex +3 -0
  951. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/require-1.no_tex +5 -0
  952. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/style-1.no_tex +3 -0
  953. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/unicode-1.no_tex +3 -0
  954. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/LaTeX-1.txt +4 -0
  955. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/bbox-1.txt +6 -0
  956. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/boxed-1.txt +3 -0
  957. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/cancel-1.txt +6 -0
  958. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/cases-1.txt +3 -0
  959. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/displaylines-1.xtex +8 -0
  960. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/enclose-1.txt +8 -0
  961. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/functions-1.txt +34 -0
  962. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-1.txt +7 -0
  963. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-2.txt +8 -0
  964. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-3.txt +3 -0
  965. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/mathsize-1.txt +11 -0
  966. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/mod-1.txt +5 -0
  967. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/not-1.txt +5 -0
  968. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/pod-1.txt +3 -0
  969. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-1.txt +8 -0
  970. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-2.txt +4 -0
  971. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-3.txt +3 -0
  972. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/style-1.txt +7 -0
  973. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/style-2.no_tex +10 -0
  974. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/verb-1.txt +3 -0
  975. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/verb-2.txt +3 -0
  976. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/eqref-1.no_tex +7 -0
  977. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/label-1.no_tex +3 -0
  978. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/label-2.no_tex +2 -0
  979. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/notag-1.txt +5 -0
  980. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-1a.no_tex +2 -0
  981. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-1b.no_tex +2 -0
  982. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-2.no_tex +2 -0
  983. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-3.no_tex +2 -0
  984. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-1.no_tex +1 -0
  985. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-2.no_tex +1 -0
  986. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-3.no_tex +3 -0
  987. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-4.no_tex +3 -0
  988. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-1.txt +3 -0
  989. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-2.txt +3 -0
  990. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-3.txt +3 -0
  991. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/sqrt-1.txt +3 -0
  992. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/sqrt-2.txt +3 -0
  993. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/binaryops-1.txt +32 -0
  994. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/dots-1.txt +26 -0
  995. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/largeops-1.txt +4 -0
  996. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/largeops-2.txt +3 -0
  997. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/relations-1.txt +39 -0
  998. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-1.txt +25 -0
  999. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-2.txt +31 -0
  1000. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-3.txt +40 -0
  1001. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-4.txt +39 -0
  1002. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-5.txt +56 -0
  1003. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-6.txt +49 -0
  1004. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/TODO.md +3 -0
  1005. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_nesting.html +32 -0
  1006. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_nesting.txt +32 -0
  1007. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment.html +8 -0
  1008. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment.txt +8 -0
  1009. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment_with_hline.html +12 -0
  1010. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment_with_hline.txt +12 -0
  1011. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column.html +5 -0
  1012. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column.txt +5 -0
  1013. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column_with_align.html +5 -0
  1014. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column_with_align.txt +5 -0
  1015. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline.html +9 -0
  1016. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline.txt +9 -0
  1017. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline_and_hdashline.html +10 -0
  1018. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline_and_hdashline.txt +10 -0
  1019. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_vertical_and_horizontal_dashes.html +10 -0
  1020. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_vertical_and_horizontal_dashes.txt +10 -0
  1021. data/ext/mathematical/mtex2MML/tests/fixtures/array/augmented_matrix.html +6 -0
  1022. data/ext/mathematical/mtex2MML/tests/fixtures/array/augmented_matrix.txt +6 -0
  1023. data/ext/mathematical/mtex2MML/tests/fixtures/array/basic_array.html +5 -0
  1024. data/ext/mathematical/mtex2MML/tests/fixtures/array/basic_array.txt +5 -0
  1025. data/ext/mathematical/mtex2MML/tests/fixtures/array/strip_excess_whitespace_in_array_attributes.html +7 -0
  1026. data/ext/mathematical/mtex2MML/tests/fixtures/array/strip_excess_whitespace_in_array_attributes.txt +8 -0
  1027. data/ext/mathematical/mtex2MML/tests/fixtures/basic/block.html +1 -0
  1028. data/ext/mathematical/mtex2MML/tests/fixtures/basic/block.txt +1 -0
  1029. data/ext/mathematical/mtex2MML/tests/fixtures/basic/comments.html +6 -0
  1030. data/ext/mathematical/mtex2MML/tests/fixtures/basic/comments.txt +6 -0
  1031. data/ext/mathematical/mtex2MML/tests/fixtures/basic/filter.html +1 -0
  1032. data/ext/mathematical/mtex2MML/tests/fixtures/basic/filter.txt +3 -0
  1033. data/ext/mathematical/mtex2MML/tests/fixtures/basic/inline.html +1 -0
  1034. data/ext/mathematical/mtex2MML/tests/fixtures/basic/inline.txt +1 -0
  1035. data/ext/mathematical/mtex2MML/tests/fixtures/basic/strict_filter.html +3 -0
  1036. data/ext/mathematical/mtex2MML/tests/fixtures/basic/strict_filter.txt +3 -0
  1037. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_filter.html +3 -0
  1038. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_filter.txt +3 -0
  1039. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.html +23 -0
  1040. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.txt +23 -0
  1041. data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/broken_up_inline_env.html +3 -0
  1042. data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/broken_up_inline_env.txt +3 -0
  1043. data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/some_crazy_alignment.html +24 -0
  1044. data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/some_crazy_alignment.txt +24 -0
  1045. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.html +1 -0
  1046. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.txt +3 -0
  1047. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.html +1 -0
  1048. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.txt +4 -0
  1049. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.html +1 -0
  1050. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.txt +4 -0
  1051. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.html +1 -0
  1052. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.txt +3 -0
  1053. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/brackets.html +1 -0
  1054. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_filter.html +2 -0
  1055. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_filter.txt +27 -0
  1056. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_text_filter.html +27 -0
  1057. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_text_filter.txt +27 -0
  1058. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/double_dollar.html +1 -0
  1059. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping.txt +35 -0
  1060. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_brackets.html +35 -0
  1061. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_dollars.html +35 -0
  1062. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_parens.html +35 -0
  1063. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed.html +1 -0
  1064. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.html +8 -0
  1065. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.txt +11 -0
  1066. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/parens.html +1 -0
  1067. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_dollar.html +1 -0
  1068. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_equation.html +1 -0
  1069. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_equation.txt +3 -0
  1070. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_ex_spacing.html +6 -0
  1071. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_ex_spacing.txt +6 -0
  1072. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_ex_spacing.html +6 -0
  1073. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_ex_spacing.txt +6 -0
  1074. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_lines.html +5 -0
  1075. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_lines.txt +5 -0
  1076. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_ex_spacing.html +5 -0
  1077. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_ex_spacing.txt +5 -0
  1078. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_ex_spacing.html +5 -0
  1079. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_ex_spacing.txt +5 -0
  1080. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_lines.html +4 -0
  1081. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_lines.txt +4 -0
  1082. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_ex_spacing.html +5 -0
  1083. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_ex_spacing.txt +5 -0
  1084. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_ex_spacing.html +5 -0
  1085. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_ex_spacing.txt +5 -0
  1086. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_lines.html +4 -0
  1087. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_lines.txt +4 -0
  1088. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_ex_spacing.html +7 -0
  1089. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_ex_spacing.txt +7 -0
  1090. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_ex_spacing.html +7 -0
  1091. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_ex_spacing.txt +7 -0
  1092. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_lines.html +6 -0
  1093. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_lines.txt +6 -0
  1094. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_ex_spacing.html +6 -0
  1095. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_ex_spacing.txt +6 -0
  1096. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_ex_spacing.html +6 -0
  1097. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_ex_spacing.txt +6 -0
  1098. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_lines.html +5 -0
  1099. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_lines.txt +5 -0
  1100. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_ex_spacing.html +7 -0
  1101. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_ex_spacing.txt +7 -0
  1102. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_ex_spacing.html +7 -0
  1103. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_ex_spacing.txt +7 -0
  1104. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_lines.html +6 -0
  1105. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_lines.txt +6 -0
  1106. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_ex_spacing.html +5 -0
  1107. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_ex_spacing.txt +5 -0
  1108. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_ex_spacing.html +5 -0
  1109. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_ex_spacing.txt +5 -0
  1110. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_lines.html +4 -0
  1111. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_lines.txt +4 -0
  1112. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_ex_spacing.html +8 -0
  1113. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_ex_spacing.txt +8 -0
  1114. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_ex_spacing.html +7 -0
  1115. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_ex_spacing.txt +7 -0
  1116. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_lines.html +5 -0
  1117. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_lines.txt +5 -0
  1118. data/ext/mathematical/mtex2MML/tests/fixtures/env/spaces_after_rowsep.html +7 -0
  1119. data/ext/mathematical/mtex2MML/tests/fixtures/env/spaces_after_rowsep.txt +7 -0
  1120. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_ex_spacing.html +6 -0
  1121. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_ex_spacing.txt +6 -0
  1122. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_ex_spacing.html +6 -0
  1123. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_ex_spacing.txt +6 -0
  1124. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_lines.html +5 -0
  1125. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_lines.txt +5 -0
  1126. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_ex_spacing.html +5 -0
  1127. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_ex_spacing.txt +5 -0
  1128. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_ex_spacing.html +5 -0
  1129. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_ex_spacing.txt +5 -0
  1130. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_lines.html +4 -0
  1131. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_lines.txt +4 -0
  1132. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_ex_spacing.html +6 -0
  1133. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_ex_spacing.txt +6 -0
  1134. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_ex_spacing.html +6 -0
  1135. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_ex_spacing.txt +6 -0
  1136. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_lines.html +5 -0
  1137. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_lines.txt +5 -0
  1138. data/ext/mathematical/mtex2MML/tests/fixtures/functions/max_limits.html +1 -0
  1139. data/ext/mathematical/mtex2MML/tests/fixtures/functions/max_limits.txt +1 -0
  1140. data/ext/mathematical/mtex2MML/tests/fixtures/functions/min_limits.html +1 -0
  1141. data/ext/mathematical/mtex2MML/tests/fixtures/functions/min_limits.txt +1 -0
  1142. data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.html +1 -0
  1143. data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.txt +1 -0
  1144. data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/excess_parsing.txt +1 -0
  1145. data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/just_enough_parsing.html +1 -0
  1146. data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/just_enough_parsing.txt +1 -0
  1147. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_equations.html +11 -0
  1148. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_equations.txt +13 -0
  1149. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_notag_nonumber.html +7 -0
  1150. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_notag_nonumber.txt +7 -0
  1151. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_equation.html +5 -0
  1152. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_equation.txt +5 -0
  1153. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_nonumber.html +6 -0
  1154. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_nonumber.txt +6 -0
  1155. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_notag.html +6 -0
  1156. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_notag.txt +6 -0
  1157. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_label.html +3 -0
  1158. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_label.txt +3 -0
  1159. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_tag.html +3 -0
  1160. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_tag.txt +3 -0
  1161. data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.html +12 -0
  1162. data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.txt +1755 -0
  1163. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.html +1 -0
  1164. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.txt +1 -0
  1165. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.html +1 -0
  1166. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.txt +1 -0
  1167. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.html +1 -0
  1168. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.txt +1 -0
  1169. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.html +1 -0
  1170. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.txt +1 -0
  1171. data/ext/mathematical/mtex2MML/tests/functions.c +55 -0
  1172. data/ext/mathematical/mtex2MML/tests/generate.py +244 -0
  1173. data/ext/mathematical/mtex2MML/tests/helpers.c +29 -0
  1174. data/ext/mathematical/mtex2MML/tests/helpers.h +8 -0
  1175. data/ext/mathematical/mtex2MML/tests/main.c +35 -0
  1176. data/ext/mathematical/mtex2MML/tests/maliciousness.c +107 -0
  1177. data/ext/mathematical/mtex2MML/tests/mathjax.c +2040 -0
  1178. data/ext/mathematical/mtex2MML/tests/mathjax_generate.py +72 -0
  1179. data/ext/mathematical/mtex2MML/tests/numbered_equations.c +92 -0
  1180. data/ext/mathematical/mtex2MML/tests/performance.c +39 -0
  1181. data/ext/mathematical/mtex2MML/tests/symbols.c +69 -0
  1182. data/lib/mathematical/version.rb +1 -1
  1183. metadata +1181 -1
@@ -0,0 +1,1755 @@
1
+ In a series of papers \cite{FM1,FMcoeff,FMres,FMspec} we have been studying the geometric theta correspondence (see below) for non-compact arithmetic quotients of symmetric spaces associated to orthogonal groups. It is our overall goal to develop a general theory of geometric theta liftings in the context of the real differential geometry/topology of non-compact locally symmetric spaces of orthogonal and unitary groups which generalizes the theory of Kudla-Millson in the compact case, see \cite{KM90}.
2
+
3
+ In this paper we study in detail the geometric theta lift for Hilbert modular surfaces. In particular, we will give a new proof and an extension (to all finite index subgroups of the Hilbert modular group) of the celebrated theorem of Hirzebruch and Zagier \cite{HZ} that the generating function for the intersection numbers of the Hirzebruch-Zagier cycles is a classical modular form of weight $2$.\footnote{Eichler, \cite{HZ} p.104, proposed a proof using ``Siegel's work on indefinite theta functions''. This is what our proof is, though with perhaps more differential geometry than Eichler had in mind.} In our approach we replace Hirzebuch's smooth complex analytic compactification $\tilde{X}$ of the Hilbert modular surface $X$ with the (real) Borel-Serre compactification $\overline{X}$. The various algebro-geometric quantities that occur in \cite{HZ} are then replaced by topological quantities associated to $4$-manifolds with boundary. In particular, the ``boundary contribution'' in \cite{HZ} is replaced by sums of linking numbers of circles (the boundaries of the cycles) in the $3$-manifolds of type Sol (torus bundle over a circle) which comprise the Borel-Serre boundary.
4
+
5
+
6
+
7
+ %
8
+
9
+ \subsubsection*{The geometric theta correspondence}
10
+
11
+ We first explain the term ``geometric theta correspondence''. The Weil (or oscillator) representation gives us a method to construct closed differential forms on locally
12
+ symmetric spaces associated to groups which belong to dual pairs. Let $V$ be a rational quadratic space of signature $(p,q)$ with for simplicity even dimension. Then the Weil representation induces an action of $SL_2(R) \times Orth(V_R)$ on $\mathcal{S}(V_R)$, the Schwartz functions on $V_R$. Let $G = \SO_0(V_R)$ and let $K$ be a maximal compact subgroup. We let $\mathfrak{g}$ and $\mathfrak{k}$ be their respective Lie algebras and let $\mathfrak{g} = \mathfrak{p} \oplus \mathfrak{k}$ be the associated Cartan decomposition. Suppose
13
+ \[
14
+ \varphi\in (\mathcal{S}(V_R) \otimes \wedge^r \mathfrak{p}^{\ast})^{K}
15
+ \]
16
+ %\pagebreak
17
+ is a cocycle in the relative
18
+ Lie algebra complex for $G$ with values in $\mathcal{S}(V)$. Then $\varphi$ corresponds to a closed differential $r$-form $\tilde{\varphi}$ on the symmetric space $D= G/K$ of dimension $pq$ with values in $\mathcal{S}(V)$.
19
+ For a coset of a lattice $\mathcal{L}$ in $V$, we define the theta distribution $\Theta=\Theta_{\mathcal{L}}$ by $\Theta = \sum_{\ell \in \mathcal{L}} \delta_{\ell}$, where $ \delta_{\ell}$ is the delta measure concentrated at $\ell$. It is obvious that $\Theta$ is invariant under $\G = \Stab(\mathcal{L}) \subset G$. There is also a congruence subgroup $\Gamma'$ of $SL(2,\Z)$) such that $\Theta$ is also invariant under $\Gamma'$. Hence we can apply the theta distribution to $\tilde{\varphi}$ to obtain a closed $r$-form $\theta_{\varphi}$ on $X = \Gamma \backslash D$ given by
20
+ \[
21
+ \theta_{\varphi}(\mathcal{L})= \langle \Theta_{\mathcal{L}}, \tilde{\varphi} \rangle.
22
+ \]
23
+ Assume now in addition that $\varphi$ has weight $k$ under the maximal compact subgroup $\SO(2) \subset SL_2(R)$. Then $\theta_{\varphi}$ also gives rise to a (in general) non-holomorphic function on the upper half place $\h$ which is modular of weight $k$ for $\G'$. We may then use $\theta_{\varphi}$ as the kernel of a pairing of modular forms $f$ with (closed) differential $(pq-r)$-forms $\eta$ or $r$-chains (cycles) $C$ in $X$. The resulting pairing in $f$, $\eta$ (or $C$), and $\varphi$ as these objects vary, we call the {\bf geometric theta correspondence}.
24
+
25
+
26
+ \subsubsection*{The cocycle of Kudla-Millson}
27
+
28
+ The key point of the work of Kudla and Millson \cite{KM1,KM2} is that they found (in greater generality) a family of cocycles $\varphi^V_{q}$ in $(\mathcal{S}(V) \otimes \wedge^q \mathfrak{p}^{\ast})^K$ with weight $(p+q)/2$ for $SL_2$. Moreover, these cocycles give rise to Poincar\'e dual forms for certain totally geodesic, ``special'' cycles in $X$. Recently, it has now been shown, first \cite{HoffmanHe} for $\SO(3,2)$, and then \cite{BMM} for all $\SO(p,q)$ and $p+q>6$ (with $p \geq q$) in the cocompact (standard arithmetic) case that the geometric theta correspondence specialized to $\varphi_q^V$ induces on the adelic level an {\it isomorphism} from the appropriate space of classical modular forms to $H^q(X)$. In particular, for any congruence quotient, the dual homology groups are spanned by special cycles. This gives further justification to the term geometric theta correspondence and highlights the significance of these cocycles. In \cite{FMcoeff} we generalize $\varphi^V_{q}$ to allow suitable non-trivial coefficient systems (and one has an analogous isomorphism in \cite{BMM}).
29
+
30
+
31
+ \subsubsection*{The main results}
32
+
33
+ In the present paper, we consider the case when $V$ has signature $(2,2)$ with $\Q$-rank $1$. Then $D \simeq \h \times \h$, and $X$ is a Hilbert modular surface. We let $\overline{X}$ be the Borel-Serre compactification of $X$ which is obtained by replacing each isolated cusp associated to a rational parabolic $P$ with a boundary face $e'(P)$ which turns out to be a torus bundle over a circle, a $3$-manifold of type Sol. This makes $\overline{X}$ a $4$-manifold with boundary. For simplicity, we assume that $X$ has only one cusp so that $\partial \overline{X} = e'(P)$, and we write $k: \partial \overline{X} \hookrightarrow \overline{X}$ for the inclusion. The special cycles $C_n$\footnote{We distinguish the relative cycles $C_n$ in $X$ from the Hirzebruch-Zagier cycles $T_n$ in $\tilde{X}$, see below.} in question are now embedded modular and Shimura curves, and are parameterized by $n \in \N$. They define relative homology classes in $H_2(X, \partial X,\Q)$.
34
+
35
+ The geometric theta correspondence of Kudla-Millson \cite{KM90} for the cocycle $\varphi^V_{2}$ in this situation takes the following shape. For a {\it compact} cycle $C$ in $X$, we have that
36
+ \begin{equation}\label{KM-id}
37
+ \langle \theta_{\varphi^V_{2}}, C \rangle = \int_C \theta_{\varphi^V_{2}}= \sum_{n \geq 0} (C_n \cdot C) q^n
38
+ \end{equation}
39
+ is a holomorphic modular form of weight $2$ and is equal to the generating series of the intersection numbers with $C_n$. Here $q = e^{2\pi i \tau}$ with $\tau \in \h$.
40
+ (There is a similar statement for the pairing of $\theta_{\varphi^V_{2}}$ with a closed {\it compactly supported} differential $2$-form on ${X}$ representing a class in $H^2_c(X)$, see Theorem~\ref{KM90}). Our first result is
41
+
42
+ \begin{theorem}\label{FM-boundaryexact} (Theorem~\ref{globalexact})
43
+ The differential form $\theta_{\varphi^V_{2}}$ on $X$ extends to a form on $\overline{X}$, and the restriction $k^{\ast}$ of $\theta_{\varphi^V_{2}}$ to $\partial \overline{X}$ gives an {\it exact} differential form on $\partial\overline{X}$. Moreover, there exists a theta series $\theta_{\phi_1^W}$ for a space $W$ of signature $(1,1)$ of weight $2$ with values in the $1$-forms on $\partial \overline{X}$ such that $\theta_{\phi_1^W}$ is a primitive for $k^{\ast} \theta_{\varphi^V_{2}}$:
44
+ \[
45
+ d (\theta_{\phi_1^W}) = k^{\ast} \theta_{\varphi^V_{2}}.
46
+ \]
47
+ \end{theorem}
48
+
49
+ Considering the mapping cone for the inclusion $k: \partial \overline{X} \hookrightarrow \overline{X}$ (see Section~\ref{mappingconesection}) we then view the pair $[\theta_{\varphi^V_{2}}, \theta_{\phi_1^W}]$ as an element of the compactly supported cohomology $H^2_c(X)$. Explictly, let $C$ be a relative cycle in $\overline{X}$ representing a class in $H_2({X},\partial {X},\Z)$. Then the Kronecker pairing between $[\theta_{\varphi^V_{2}}, \theta_{\phi_1^W}]$ and $C$ is given by
50
+ \begin{equation}\label{mappingconelift}
51
+ \langle [\theta_{\varphi^V_{2}}, \theta_{\phi_1^W}], C \rangle = \int_C \theta_{\varphi^V_{2}}
52
+ - \int_{\partial C} \theta_{\phi_1^W}.
53
+ \end{equation}
54
+ In this way, we obtain an extension of the geometric theta lift which captures the non-compact situation.
55
+
56
+ To describe the geometric interpretation of this extension, we study the cycle $C_n$ at the boundary $\partial \overline{X}$ (Section~\ref{capped-cycles}). The intersection of $C_n$ with $\partial \overline{X}$ is a union of circles contained in the torus fibers of Sol. But rationally such circles are homologically trivial. Hence we can find a (suitably normalized) rational $2$-chain $A_n$ in $\partial \overline{X}$ whose boundary is the boundary of $C_n$ in $\partial \overline{X}$. ``Capping'' off $C_n$ by $A_n$, we obtain a {\it closed} cycle $C_n^c$ in $\overline{X}$ defining a class in $H_2({X},\Q)$. Our main result is the extension of \eqref{KM-id}:
57
+ \begin{theorem}\label{FMHZ-main} (Theorem~\ref{FM-main-th})
58
+ Let $C$ be a relative cycle in $\overline{X}$. Then
59
+ \[
60
+ \langle [\theta_{\varphi^V_{2}}, \theta_{\phi_1^W}], C \rangle = \sum_{n \geq 0} (C_n^c \cdot C)q^n
61
+ \]
62
+ is a holomorphic modular form of weight $2$ and is equal to the generating series of the intersection numbers with the capped cycles $C^c_n$. (Similarly for the pairing with an arbitrary closed $2$-form on $\overline{X}$ representing a class in $H^2(X)$).
63
+ \end{theorem}
64
+
65
+ Note that in view of \eqref{mappingconelift} the lift of classes of $H_2({X}, \partial {X})$ or $H^2(X)$ is the sum of two in general non-holomorphic modular forms (see below).
66
+
67
+ In \cite{FMres} we systematically study for $Orth(p,q)$ the restriction of the classes $\theta_{\varphi^V_{q}}$ (also with non-trivial coefficients) to the Borel-Serre boundary. Whenever the restriction vanishes cohomologically, we can expect that a similar analysis to the one given in this paper will give analogous extensions of the geometric theta correspondence. In fact, aside from this paper we have at present managed to do this for several other cases, namely for modular curves with non-trivial coefficients \cite{FMspec} generalizing work of Shintani \cite{Shintani} and for Picard modular surfaces \cite{FM-Cogdell} generalizing work of Cogdell \cite{Cogdell}.
68
+
69
+
70
+
71
+ \subsubsection*{Linking numbers in $3$-manifolds of type Sol}
72
+
73
+ The theta series $\theta_{\phi_1^W}$ at the boundary is of independent interest and has geometric meaning in its own right. Recall that for two disjoint (rationally) homological trivial $1$-cycles $a$ and $b$ in a $3$-manifold $M$ we can define the {\it linking number} of $a$ and $b$ as the intersection number
74
+ \[
75
+ \Lk(a,b) = A \cdot b
76
+ \]
77
+ of (rational) chains in $M$. Here $A$ is a $2$-chain in $M$ with boundary $a$. We show
78
+
79
+ \begin{theorem}\label{FM-linking} (Theorem~\ref{xi'-integralP})
80
+ Let $c$ be homologically trivial $1$-cycle in $\partial \overline{X}$ which
81
+ is disjoint from the torus fibers containing components of $\partial C_n$. Then the holomorphic part of the weight $2$ non-holomorphic modular form $\int_c \theta_{\phi_1^W}$ is given by the generating series of the linking numbers $\sum_{n>0}\Lk(\partial C_n,c) q^n$.
82
+ \end{theorem}
83
+
84
+ We also give a simple formula in Theorem~\ref{linkSol} for the linking number of two circles contained in the fiber of a $3$-manifold $M$ of type Sol in terms of the glueing homeomorphism for the bundle.
85
+
86
+ One can reformulate the previous theorem stating that $\sum_{n>0}\Lk(\partial C_n,c) q^n$ is a ``mixed Mock modular form'' of weight $2$; it is the product of a Mock modular form of weight $3/2$ with a unary theta series. Such forms, which originate with the famous Ramanujan Mock theta functions, have recently generated great interest.
87
+
88
+ Theorem~\ref{FM-linking} (and its analogues for the Borel-Serre boundary of modular curves with non-trivial coefficients and Picard modular surfaces) suggest that there is a more general connection between modular forms and linking numbers of nilmanifold subbundles over special cycles in nilmanifold bundles over locally symmetric spaces.
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ \subsubsection*{Relation to the work of Hirzebruch and Zagier}
99
+
100
+ In their seminal paper \cite{HZ}, Hirzebruch-Zagier provided a map from the second homology of the smooth compactification of certain Hilbert modular surfaces $j:X \hookrightarrow \tilde{X}$ to modular forms. They introduced the Hirzebruch-Zagier curves $T_n$ in $X$, which are given by the closure of the cycles $C_n$ in $\tilde{X}$. They then defined ``truncated'' cycles $T_n^c$ as the
101
+ projections of $T_n$ orthogonal to the subspace of $H_2(\tilde{X},\Q)$ spanned by the
102
+ compactifying divisors of $\tilde{X}$. The principal result of \cite{HZ} was that $\sum_{n \geq 0} [T_n^c] q^n$ defines a holomorphic modular form of weight $2$ with values in $H_2(\tilde{X},\Q)$.
103
+ We show $j_{\ast} C_n^c = T_n^c$ (Proposition~\ref{CnTn}), and hence the Hirzebruch-Zagier theorem follows easily from Theorem~\ref{FMHZ-main} above, see Theorem~\ref{HZTheorem}.
104
+
105
+ The main work in \cite{HZ} was to show that the generating function
106
+
107
+
108
+ for the intersection numbers in $\tilde{X}$ of $T^c_n$ with a fixed $T_m$ is a modular form of weight $2$. The Hirzebruch-Zagier proof of the modularity of $F$ was a remarkable synthesis of algebraic geometry, combinatorics, and modular forms. They explicitly computed the intersection numbers $T_n^c \cdot T_m$ as the sum of two terms, $T_n^c \cdot T_m = (T_n \cdot T_m)_X + ({T}_n \cdot {T}_m)_{\infty}$, where $(T_n \cdot T_m)_X $ is the geometric intersection number of $T_n$ and $T_m$ in the interior of $X$ and $({T}_n \cdot {T}_m)_{\infty}$ which they called the ``contribution from infinity''. They then proved both generating functions $\sum_{n=0}^{\infty} (T_n \cdot T_m)_X q^n$ and $\sum_{n=0}^{\infty} (T_n \cdot T_m)_{\infty} q^n$ are the holomorphic parts of two non-holomorphic forms $F_X$ and $F_{\infty}$ with the {\it same} non-holomorphic part (with opposite signs). Hence combining these two forms gives $F(\tau)$.
109
+
110
+ We recover this feature of the original Hirzebruch-Zagier proof via \eqref{mappingconelift} with $C=C_m$. The first term on the right hand side of \eqref{mappingconelift} was studied in the thesis of the first author of this paper \cite{FCompo} and gives the interior intersections $(T_n \cdot T_m)_X$ encoded in $F_X$. So via Theorem~\ref{FMHZ-main} the second term on the right hand side of \eqref{mappingconelift} must match the boundary contribution $F_{\infty}$ in \cite{HZ}, that is, we obtain
111
+ \begin{theorem}
112
+ \[
113
+ ({T}_n \cdot {T}_m)_{\infty} = \Lk( \partial C_n, \partial C_m).
114
+ \]
115
+ \end{theorem}
116
+ Hence we give an interpretation for the boundary contribution in \cite{HZ} in terms of linking numbers in $\partial \overline{X}$. In fact, the construction of $\theta_{\phi_1^W}$ owes a great deal to Section~2.3 in \cite{HZ}, where a scalar-valued version of $\theta_{\phi_1^W}$ is introduced, see also Example~\ref{HZbeta}. Using Theorem~\ref{LinkCnCm} one can also make the connection between our linking numbers and the formulas of the boundary contribution in \cite{HZ} explicit.
117
+
118
+ To summarize, we start with the difference of theta integrals \eqref{mappingconelift} (which we know a priori is a holomorphic modular form), then by functorial differential topological computations we relate its Fourier coefficients to intersection/linking numbers, and by direct computation of the integrals involved we obtain the explicit formulas of Hirzebruch-Zagier and a ``closed form'' for their generating function.
119
+
120
+ Note that Bruinier \cite{B-123} and Oda \cite{Oda} use related theta series to consider \cite{HZ}, but their overall approach is different.
121
+
122
+
123
+ \subsubsection*{Currents}
124
+
125
+ One of the key properties of the cocycle $\varphi^V_2$ is that the $n$-th Fourier coefficients of $\theta_{\varphi^V_{2}}$ represents the Poincar\' e dual class for the cycle $C_n$. Kudla-Millson establish this by showing that $\varphi^V_2$ gives rise to a Thom form for the normal bundle of each of the components of $C_n$. To prove our main result, Theorem~\ref{FMHZ-main}, we follow a different approach using currents which is implicit in \cite{BFDuke} and is closely related to the Green's function $\Xi(n)$ for the divisors $C_n$ constructed by Kudla \cite{KAnn97,KBforms}. This function plays an important role in the Kudla program (see eg \cite{Kmsri}) which considers the analogous generating series for the special cycles in arithmetic geometry. In the non-compact situation however, one needs to modify $\Xi(n)$ to obtain a Green's function for the cycle $T_n^c$ in $\tilde{X}$. Discussions with U. K\"uhn suggest that the constructions in this paper indeed give rise to such a modification of $\Xi(n)$, see Remark~\ref{Kudla-modification}.
126
+
127
+
128
+ \vskip.5cm
129
+
130
+
131
+
132
+ We would like to thank Rolf Berndt, Jan Bruinier, Jose Burgos, Misha Kapovich, and Ulf K\"uhn for fruitful and extensive discussions on the constructions and results of this paper. As always it is a great pleasure to thank Steve Kudla for his interest and encouragement. Each of us began the work of relating theta lifts and special cycles with him.
133
+
134
+ We dedicate this paper to the memory of Gretchen Taylor Millson, beloved wife of the second author.
135
+
136
+
137
+
138
+
139
+
140
+ \section{The Hilbert modular surface and its Borel-Serre compactification}
141
+
142
+
143
+ \subsection{The symmetric space and its arithmetic quotient}
144
+
145
+ \subsubsection{The orthogonal group and its symmetric space}
146
+
147
+
148
+ Let $V$ be a rational vector space of dimension $4$ with a
149
+ non-degenerate symmetric bilinear form $(\,,\,)$ of signature
150
+ $(2,2)$.
151
+ We let $\underline{G} = \SO(V)$, viewed as an algebraic group over $\Q$.
152
+ We let $G=\underline{G}_0(R) \simeq \SO_0(2,2)$ be the connected component of the identity of the real points of $\underline{G}$.
153
+ It is most convenient to identify the associated symmetric space $D= D_V$ with the
154
+ space of negative $2$-planes in $V(R)$ on which the bilinear form $(\,,\,)$ is
155
+ negative definite:
156
+ \[
157
+ D = \{z \subset V_{R} ; \;\text{$\dim z =2$ and $(\,,\,)|_z < 0$}
158
+ \}.
159
+ \]
160
+ We pick an orthogonal basis $\{e_1,e_2,e_3,e_4\}$ of $V_{R}$ with $(e_1,e_1)=(e_2,e_2)=1$ and $(e_3,e_3)=(e_4,e_4)=-1$. We denote the coordinates of a vector $x$ with respect to this basis by $x_i$. We pick as base point of $D$ the plane $z_0=[e_3,e_4]$ spanned by $e_3$ and $e_4$, and we let $K \simeq \SO(2)\times \SO(2)$ be the maximal compact subgroup of $G$ stabilizing $z_0$. Thus $D \simeq G/K$. Of course, $D \simeq \H \times \h$, the product of two upper half planes.
161
+
162
+
163
+ We let $\underline{P}$ be a rational parabolic subgroup stabilizing a rational isotropic line $\ell$ and define $P= \underline{P}_0(R)$ as before. We let $\underline{N}$ be its unipotent subgroup and $N = \underline{N}(R)$.
164
+ We let $u =(e_1+e_4)/\sqrt{2}$ and $u' =(e_1-e_4)/\sqrt{2}$ be two isotropic vectors so that $(u,u')=1$. We assume that $u,u'$ are defined over $\Q$ and obtain a rational Witt decomposition
165
+ \[
166
+ V = \ell \oplus W \oplus \ell'
167
+ \]
168
+ with $\ell = \Q u$, $\ell'=\Q u'$, and a subspace $W = \ell^{\perp} \cap {\ell'}^{\perp}$ such that $W_{R} = \Span_{R}(e_2,e_3)$. The choice of $u'$ gives a Levi splitting of $\underline{P}$, and we write
169
+ \[
170
+ P =NAM
171
+ \]
172
+ for the Langlands decomposition. Here, with respect to the basis $u,e_2,e_3,u'$, we have
173
+ \begin{align*}
174
+ {N} &=
175
+ \left\{ n(w) = \left(
176
+ \begin{smallmatrix}
177
+ 1&(\cdot,w)& -(w,w)/2 \\
178
+ & 1_W & -w \\
179
+ & & 1 \\
180
+ \end{smallmatrix} \right)
181
+ ; \; w \in W_{R} \right\}, \\
182
+ {A} &= \left\{ a(t) =
183
+ \left( \begin{smallmatrix}
184
+ t& & \\
185
+ & 1_W & \\
186
+ & & t^{-1}\\
187
+ \end{smallmatrix} \right); \, t \in R_+
188
+ \right\}, \\
189
+ {M} & =
190
+ \left\{ m(s) =
191
+ \left( \begin{smallmatrix}
192
+ 1& & \\
193
+ & \begin{smallmatrix} \cosh(s) & \sinh(s) \\ \sinh(s) & \cosh(s)
194
+ \end{smallmatrix} & \\\
195
+ & & 1 \\
196
+ \end{smallmatrix} \right)
197
+ ; \; s \in R \right\}.
198
+ \end{align*}
199
+ Note $N \simeq W_{R}$. We obtain coordinates for $D$ by $z=z(t,s,w)$ where $z$ is the negative two-plane in $V_{R}$ with $z=[n(w)a(t)m(s)e_3,n(w)a(t)m(s)e_4]$.
200
+
201
+
202
+ \begin{comment}
203
+
204
+ We can also realize $M$ in terms of an isotropic basis $u_2,u_2'$ of $W_{R}$ as
205
+ \[
206
+ {M} =
207
+ \left\{ m'(s)=
208
+ \begin{pmatrix}
209
+ 1& & \\
210
+ & \begin{smallmatrix} s & \\ & s^{-1}
211
+ \end{smallmatrix} & \\
212
+ & & 1\\
213
+ \end{pmatrix}; \, s \in R_+
214
+ \right\},
215
+ \]
216
+ so that $m(s) = m'(e^s)$. Note $M \simeq \SO_0(W_{R})$. We write $\frak{n},\frak{a},\frak{m}$ for their Lie algebras.
217
+
218
+
219
+
220
+
221
+ The $P$-invariant extensions of the pullback of the $\omega_{\alpha\mu}$'s under the natural map $\sigma: \frak{n}\frak{a}\frak{m} \to \frak{g} \to \frak{g}/\frak{k} \simeq \frak{p}$ are given by
222
+ \begin{align*}
223
+ \sigma^{\ast} \omega_{13} = \frac12\left( - \frac{dw}{s't} + \frac{dw'}{t/s'}\right), \quad \sigma^{\ast} \omega_{14} = \frac{dt}{t}, \quad
224
+ \sigma^{\ast} \omega_{24} = \frac12\left( \frac{dw}{s't} + \frac{dw'}{t/s'}\right), \quad \sigma^{\ast} \omega_{23}= \frac{ds'}{s'}.
225
+ \end{align*}
226
+ Here we picked coordinates for $W_{R}$ by setting $w= wu_2+w'u_2'$.
227
+
228
+
229
+
230
+
231
+ Of course, it is very well known that $D \simeq \h \times \h$, the product of two upper half planes. To see this in our setting, we choose an isomorphism $V_{R} \simeq M_2(R)$ such that $u = \kzxz{1}{0}{0}{0}$ and $u' = \kzxz{0}{0}{0}{1}$ and such that the quadratic form $q(x) = (x,x)/2$ for $ x \in M_2(R)$ is given by $q(x) = \det(x)$. Note that in this model, we can pick in addition $e_2= \tfrac1{\sqrt{2}}\kzxz{0}{1}{-1}{0}$ and $e_3= \tfrac1{\sqrt{2}}\kzxz{0}{1}{1}{0}$.
232
+ Then $SL_2(R) \times SL_2(R)$ acts on $M_2(R)$ by $(g_1,g_2)x = g_1x\, {^{t}g_2}$ as isometries, and this realizes the isomorphism $\Spin(2,2) \simeq SL_2{R} \times SL_2(R)$. Under this isomorphism, we have
233
+ \begin{align*}
234
+ a(t) \leftrightarrow \left( \kzxz{\sqrt{t}}{}{}{\sqrt{t}^{-1}}, \kzxz{\sqrt{t}}{}{}{\sqrt{t}^{-1}} \right)&, \qquad \qquad
235
+ m'(s) \leftrightarrow \left( \kzxz{\sqrt{s}}{}{}{\sqrt{s}^{-1}}, \kzxz{\sqrt{s}^{-1}}{}{}{\sqrt{s}} \right) \\
236
+ n(w,w') &\leftrightarrow \left( \kzxz{1}{-w}{}{1}, \kzxz{1}{w'}{}{1} \right)
237
+ \end{align*}
238
+ This makes the isomorphism $D \simeq \h \times \h$ explicit. Namely, for $(z_1,z_2)= (x_1+iy_1,x_2+iy_2) \in \h \times \h$ we have
239
+ \[
240
+ y_1= st ,\qquad y_2=t/s, \qquad x_1=-w, \qquad x_2 = w'.
241
+ \]
242
+
243
+ \end{comment}
244
+
245
+ \subsubsection{Arithmetic Quotient}
246
+
247
+
248
+ We let $L$ be an even lattice in $V$ of level $N$, that is $L \subseteq L^{\#}$, the dual lattice, $(x,x) \in 2 \Z$ for $x \in L$, and $q(L^{\#}) \Z = \tfrac1{N}\Z$. We fix $h \in L^{\#}$ and let $\Gamma \subseteq \Stab{L}$ be a subgroup of finite index of the stabilizer of $\mathcal{L}:=L+h$ in $G$. For each isotropic line $\ell =\Q u$, we assume that $u$ is primitive in the lattice $L$ in $V$. We will throughout assume that the $\Q$-rank of $\underline{G}$ is $1$, that is, $V$ splits exactly one hyperbolic plane over $\Q$. Then we define the Hilbert modular surface
249
+ \[
250
+ X = \G \back D.
251
+ \]
252
+
253
+ \begin{example}\label{HZex}
254
+
255
+ An important example is the following. Let $d>0$ be the discriminant of the real quadratic field $K = \Q(\sqrt{d})$ over $\Q$, $\mathcal{O}_K$ its ring of integers. We denote by $x \mapsto x'$
256
+ the Galois involution on $K$. We let $V \subset M_2(K)$ be the space
257
+ of skew-hermitian matrices in $M_2(K)$, i.e., which satisfy $^tx' =-x$. Then the determinant on $M_2(K)$ gives $V$ the structure of a non-degenerate rational quadratic space of signature $(2,2)$ and $\Q$-rank $1$. We define the integral skew-hermitian matrices by
258
+ \begin{equation*}
259
+ L = \left\{ x = \left( \begin{smallmatrix} a\sqrt{d}&\lambda\\-\lambda'&b\sqrt{d}
260
+ \end{smallmatrix} \right) \; : \; a,b \in \Z, \; \lambda \in
261
+ \mathcal{O}_K \right\}.
262
+ \end{equation*}
263
+ Then $L$ is a lattice of level $d$. We embed $SL_2(K)$ into $SL_2{R} \times SL_2(R)$ by $g \mapsto (g,g')$ so that $SL_2(\mathcal{O}_K)$ acts on $L$ by $\g.x = \g x{^t\g'}$ as isometries. Hirzebruch and Zagier actually considered this case for $d \equiv 1 \pmod{4}$ a prime.
264
+ \end{example}
265
+
266
+ The quotient space $X$ is in general an oriented uniformizable orbifold with isolated singularities. We will treat $X$ as a manifold - we will use Stokes' Theorem and Poincar\'e duality over $\Q$ on $X$. This is justified because in each instance we can pass to a finite normal cover $Y$ of $X$ with $Y$ a manifold. Hence, the formulas we want hold on $Y$.
267
+ We then then go back to the quotient by taking invariants or summing over the group $\Phi$ of covering transformations. The point is that the de Rham complex of $X$ is the algebra of $\Phi$-invariants in the one of $Y$ and the {\it rational} homology (cohomology) groups of $X$ are the groups of $\Phi$-coinvariants (invariants) of those
268
+ of $Y$.
269
+
270
+
271
+ \subsection{Compactifications}
272
+
273
+
274
+
275
+ \subsubsection{Admissible Levi decompositions of $P$}
276
+
277
+ We let $\G_P = \G \cap P$ and $\G_N = \G_P \cap N$. Then the quotient $\G_P/\G_N$ is a non-trivial arithmetic subgroup of $\underline{P}/\underline{N}$ and lies inside the connected component of the identity of the real points of $\underline{P}/\underline{N}$. Furthermore, $\G_P/\G_N$ acts as isometries of spinor norm $1$ on the anisotropic quadratic space $\ell^{\perp}/\ell$ of signature $(1,1)$. Hence $\G_P/\G_N \simeq \Z$ is infinite cyclic. Therefore the exact sequence
278
+ \begin{equation*} \label{exactsequence}
279
+ 1 \to \G_N \to \G_P \to \G_P/\G_N \to 1
280
+ \end{equation*}
281
+ splits. We fix $g \in \G_P$ such that its image $\bar{g}$ generates $\G_P/\G_N$. Then $g$ defines a Levi subgroup $M$. In fact, the element $g$ generates $\G_M :=\G_P \cap M$. Hence
282
+ \[
283
+ \G_P = \G_M \ltimes \G_N.
284
+ \]
285
+ We will say a Levi decomposition $P = NAM$ is admissible if $
286
+ \G_P = (M \cap \G_P) \ltimes \G_N$. In the following we assume that we have picked an admissible Levi decomposition for each rational parabolic.
287
+
288
+
289
+ \subsubsection{Borel-Serre compactification}\label{BScomp}
290
+
291
+
292
+ We let $\overline{D}$ be the (rational) Borel-Serre enlargement of $D$, see \cite{BorelSerre} or \cite{BJ}, III.9. For any parabolic $\underline{P}$ as before with admissible Levi decomposition $P=NAM$, we define the boundary component
293
+ \begin{equation*}
294
+ e({P}) = MN \simeq D_W \times W.
295
+ \end{equation*}
296
+ Here $D_W \simeq M \simeq R$ is the symmetric space associated to the orthogonal group of $W$. Then $\overline{D}$ is given by
297
+ \begin{equation*}
298
+ \overline{D} = D \cup \coprod_{\underline{P}} e({P}),
299
+ \end{equation*}
300
+ where $\underline{P}$ varies over all rational parabolics. The action of $\G$ on $D$ extends to $\overline{D}$ in a natural way, and we let
301
+ \begin{equation*}
302
+ \overline{X}:= \G \back \overline{D}
303
+ \end{equation*}
304
+ be the Borel-Serre compactification of $X = \G \back D$. This makes $\overline{X}$ a manifold with boundary such that
305
+ \[
306
+ \partial \overline{X} = \coprod_{[\underline{P}]} e'({P}),
307
+ \]
308
+ where for each cusp, the corresponding boundary component is given by
309
+ \[
310
+ e'(P) = \G_P \back e(P).
311
+ \]
312
+ Here $[\underline{P}]$ runs over all $\G$-conjugacy classes. The space $X_W := \G_M \back D_W$ is a circle. Hence $e'(P)$ is a torus bundle over the circle, where the torus $T^2$ is given by $\G_N \back N$. That is, $
313
+ e'(P) = X_W \times T^2$, and we have the natural map $\kappa: e'(P) \to X_W$. We have a natural product neighborhood of $e(P)$ in $\overline{D}$ and hence for $e'(P)$ in $\overline{X}$ given by $[(T,\infty] \times e'(P)]$ for $T$ sufficiently large given by $z(t,s,w)$ with $t>T$. We let $i: X \hookrightarrow \overline{X}$ and $i_P: e'(P)\hookrightarrow \overline{X} $ be the natural inclusions.
314
+
315
+ It is one of the fundamental properties of the Borel-Serre compactification $\overline{X}$ that it is homotopic equivalent to $X$ itself. Hence their (co)homology groups coincide.
316
+
317
+
318
+
319
+ \subsubsection{Hirzebruch's smooth compactification}\label{H-compact}
320
+
321
+ We let $X'$ be the Baily-Borel compactifciation of $X$, which is obtained by collapsing in $\overline{X}$ each boundary component $e'(P)$ to a single point or topologically by taking a cone on each component of the Borel-Serre boundary. It is well known that $X'$ is a projective algebraic variety. We let $\tilde{X}$ be Hirzebruch's smooth resolution of the cusp singularities and $\pi:\tilde{X} \to X'$ be the natural map collapsing the compactifying divisors for each cusp. We let $j:X \hookrightarrow \tilde{X}$ be the natural embedding. Note that the Borel-Serre boundary separates $\tilde{X}$ into two pieces, the (connected) inside $X^{in}$, which is isomorphic to $X$ and the (disconnected) outside $X^{out}$, which for each cusp is a neighborhood of the compactifying divisors. Note that we can view $e'(P)$ as lying in both $X^{in}$ and $X^{out}$ since the intersection $X^{in} \cap X^{out}$ is equal to $ \coprod_{\underline{P}} e({P})$.
322
+
323
+
324
+
325
+
326
+ \section{(Co)homology}
327
+
328
+ In this section we describe the relationship between the (co)homology of the various
329
+ compactifications.
330
+
331
+ \subsection{The homology of the boundary components}\label{boundaryhom}
332
+
333
+
334
+ Every element of $\Gamma_N =\pi_1(T^2)$ is a rational multiple of a commutator in $\Gamma_P$ and accordingly the image of $H_1(T^2,\Q)$ in $H_1(e'(P),\Q)$ is trivial.
335
+ Let $a_P \in H_1(e'(P),\Z)$ be the class of the identity section of $\kappa:e'(P) \to X_W$ and $b_P \in H_2(e'(P),\Z)$ be the class of the torus fiber of $\kappa$. It is clear that the intersection number of $a_P$ and $b_P$ is $1$ (up to sign) whence $a_P$ and $b_P$ are nontrivial primitive classes. Furthermore, $a_P$ generates $H_1(e'(P),\Q)$ and $ H_2(e'(P),\Z) \cong \Z$, generated by $b_P$. So
336
+
337
+ \begin{lemma}\label{ePhomology}
338
+
339
+ \begin{enumerate}
340
+ \item[(i)] The first rational homology group of $e'(P)$ is generated by $a_P$.
341
+ \item[(ii)] The second homology group of $e'(P)$ is generated by $b_P$.
342
+ \end{enumerate}
343
+ \end{lemma}
344
+ \begin{remark} To compute the homology over $\Z$ one has only to use the Wang sequence for a fiber bundle over a circle, see \cite{Milnor}, page 67.
345
+ \end{remark}
346
+
347
+ Let $\Omega_P$ be the unique $P$-invariant $2$-form on $e'(P)$ such that
348
+ \begin{equation}\label{areaform}
349
+ \int_{b_P} \Omega_P = 1.
350
+ \end{equation}
351
+ Since $b_P$ is the image of the fundamental class of $T^2$ inside $H_2(e'(P),\Z)$, we see that that the restriction of $\Omega_P$ to $T^2$ lifts to the area form on $W_{R} \simeq N$ normalized such that $T^2=\G_N \back N$ has area $1$.
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+ \subsection{Homology and cohomology of $X$ and $\tilde{X}$}
361
+
362
+ Accordingly to the discussion in Section~\ref{H-compact} we have the Mayer-Vietoris sequence
363
+ \[
364
+ 0 \to \oplus_P H_2(e'(P)) \to H_2(X) \oplus (\oplus_P S_P) \to H_2(\tilde{X}) \to 0.
365
+ \]
366
+ Here $S_{P}$ denotes the span of the classes defined by compactifying divisors at the cusp associated to $P$. The zero on the left comes from $H_3(\tilde{X}) =0$ and the zero on the right comes from the fact that for each $P$ the class $a_P$ injects into $H_1(X^{out})$, see \cite{vGeer}, II.3. Since the generator $b_P$ has trivial intersection with each of the compactifying divisors, $b_P$ bounds on the outside so a fortiori it bounds in $\tilde{X}$. Thus the above short exact sequence is the sum
367
+ of the two short exact sequences $\oplus_P H_2(e'(P)) \to H_2(X) \to j_{\ast} H_2(X)$ and
368
+ $ 0 \to \oplus_P S_P \to \oplus_P S_P $. By adding the third terms of the two sequences and equating them to $H_2(\tilde{X})$ we obtain the orthogonal splittings (for the intersection pairing) - see also \cite{vGeer}, p.123,
369
+ \begin{align*}\label{vdG2}
370
+ H_2(\tilde{X}) = j_{\ast} H_2(X) \oplus \left( \oplus_{[P]} S_{P} \right), \qquad \qquad
371
+ H^2(\tilde{X}) = j_{\#} H_c^2(X) \oplus \left(\oplus_{[P]} S^{\vee}_{P}\right).
372
+ \end{align*}
373
+ Here $j_{\#}$ is the push-forward map. Furthermore, the pairings on each summand are non-degenerate. Considering $\oplus_P H_2(e'(P)) \to H_2(X) \to j_{\ast} H_2(X)$ we also obtain
374
+ \begin{proposition}\label{intersectionhom}
375
+ $H_2(\partial \overline{X})$ is the kernel of $j_{\ast}$ so that
376
+ \[
377
+ j_{\ast} H_2(X) \simeq H_2(X)/ \sum_{[P]} H_2(e'(P)).
378
+ \]
379
+ \end{proposition}
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+
390
+ \subsection{Compactly supported cohomology and the cohomology of the mapping cone}\label{mappingconesection}
391
+
392
+ We briefly review the mapping-cone-complex realization of the cohomology of compact supports of $X$. For a more detailed discussion, see \cite{FMspec}, section~5.
393
+
394
+ We let $A_c^{\bullet}(X)$ be the complex of compactly supported differential forms on $X$ which gives rise to $H_c^{\bullet}(X)$, the cohomology of compact supports. We now represent the compactly-supported cohomology of $X$ by the cohomology of the mapping cone $C^{\bullet}$ of $i^*$, see \cite{Weibel}, p.19, where as before $i: X \hookrightarrow \overline{X}$. However, we will change the sign of the differential on $C^{\bullet}$ and shift the grading down by one. Thus we have
395
+
396
+ with $d(a,b) = (da, i^*a - db)$.
397
+ If $(a,b)$ is a cocycle in $C^{\bullet}$ we will use $[[a,b]]$ to denote its cohomology class. We have
398
+ \begin{proposition} \label{quasiiso}
399
+ The cochain map $A_c^{\bullet}(X) \to C^{\bullet}$ given by $c \mapsto (c,0)$ is a quasi-isomorphism.
400
+ \end{proposition}
401
+
402
+ We now give a cochain map from $C^{\bullet}$ to $ A_c^{\bullet}(X)$ which induces the inverse to the above isomorphism. We let $V$ be a product neighborhood of $\partial \overline{X}$ as in Section~\ref{BScomp}, and we let $\pi:V \to \partial \overline{X}$ be the projection. If $b$ is a form on $\partial \overline{X}$ we obtain a form $\pi^{\ast} b$ on V. Let $f$ be a smooth function of the geodesic flow coordinate $t$ which is $1$ near $t=\infty$ and zero for $t \leq T$
403
+ for some sufficiently large $T$. We may regard $f$ as a function on $V$ by making it constant on the $\partial \overline{X}$ factor. We extend $f$ to all of $ \overline{X}$ by making it zero off of $V$. Let $(a,b)$ be a cocycle in $C^i$. Then there exist a compactly supported closed form $\alpha $ and a form $\mu$ which vanishes on $\partial \overline{X}$ such that
404
+ \[
405
+ a - d(f \pi^{\ast}b ) = \alpha + d\mu.
406
+ \]
407
+ We define the cohomology class $[a,b]$ in the compactly supported cohomology $H^i_c(X)$ to be the class of $\alpha$, and the assignment $[[a,b]] \mapsto [a,b]$ gives the desired inverse. From this we obtain the following integral formulas for the Kronecker pairings with $[a,b]$.
408
+
409
+ \begin{lemma}\label{integralformula}
410
+ Let $\eta$ be a closed form on $\overline{X}$ and $C$ a relative cycle in $\overline{X}$ of appropriate degree. Then
411
+ $$
412
+ \langle[a, b], [\eta]\rangle
413
+ = \int_{\overline{X}}a\wedge \eta - \int_{\partial \overline{X}} b \wedge i^*\eta, \ \text{and} \ \
414
+ \langle [a,b],C \rangle = \int_{C}a - \int_{\partial C} b.$$
415
+ \end{lemma}
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+ \section{Capped special cycles and linking numbers in Sol}\label{capped-cycles}
424
+
425
+ For $x \in V$ such that $(x,x)>0$, we define
426
+ \[
427
+ D_x =\{ z \in D; \, z \perp x \}.
428
+ \]
429
+ Then $D_x$ is an embedded upper half plane in $D$. We let $\G_x \subset \G$ be the stabilizer of $x$ and define the special or Hirzebruch-Zagier cycle by
430
+ \[
431
+ C_x = \G_x \back D_x,
432
+ \]
433
+ and by slight abuse identify $C_x$ with its image in $X$. These are modular or Shimura curves. For positive $n \in \Q$, we write $\calL_n = \{ x \in \mathcal{L}; \, \tfrac12(x,x)= n\}$. Then the composite cycles $C_n$ are given by
434
+ \[
435
+ C_n= \sum_{x \in \G \back \calL_n} C_x.
436
+ \]
437
+ Since the divisors define in general relative cycles, we take the sum in $H_2(X,\partial X,\Z)$.
438
+
439
+
440
+
441
+
442
+
443
+
444
+ \subsection{The closure of special cycles in the Borel-Serre boundary and the capped cycle $C_x^c$}
445
+
446
+ We now study the closure of $C_x$ in $\partial \overline{X}$, which is the same as the intersection of $\overline{C}_x$ or $\partial C_x$ with the union of the hypersurfaces $e'(P)$. A straightforward calculation gives
447
+
448
+ \begin{proposition}\label{boundaryofC}
449
+ If $(x,u) \neq 0$ then there exists a neighborhood $U_{\infty}$ of $e(P)$ such that
450
+ $$
451
+ D_x \cap U_{\infty} = \emptyset.
452
+ $$
453
+ If $(x,u) = 0$, then $\overline{D}_x \cap e(P)$ is contained in the fiber of $p$ over $s(x)$, where $s(x)$ is the unique element of $R$ satifying
454
+ \[
455
+ (x, m(s(x)) e_3) = 0.
456
+ \]
457
+ At $s(x)$ the intersection $\overline{D}_x \cap e(P)$ is the affine line in $W$ given by
458
+ \[
459
+ \{ w \in W: (x,w) = (u',x)\}.
460
+ \]
461
+ \end{proposition}
462
+
463
+ We define $c_x \subset \partial C_x$ to be the closed geodesic in the fiber over $s(x)$ which is the image of $\overline{D}_x \cap e(P)$ under the covering $e(P) \to e'(P)$. We have
464
+
465
+ \begin{proposition}\label{TnBS}
466
+ \begin{enumerate}
467
+ \item[(i)] The $1$-cycle $\partial C_x$ is a finite union of circles.
468
+ \item[(ii)] At a cusp associated to $P$, each circle is contained in a fiber of the map $\kappa: e'(P) \to X_W$ and hence is a rational boundary (by Lemma~\ref{ePhomology}).
469
+ \item[(iii)] Two boundary circles $c_x$ and $c_y$ are parallel if they are contained in the same fiber. In particular,
470
+ $
471
+ c_x \cap c_y \neq \emptyset \iff c_x= c_y.
472
+ $
473
+ \end{enumerate}
474
+ \end{proposition}
475
+
476
+ We now describe the intersection of $\overline{C}_n$ or $\partial C_n$ with $e'(P)$. For $\calL_V=\calL = L +h$ we can write
477
+ \begin{equation*}
478
+ {\calL}_W= {\calL}_{W_P}= (\calL \cap u^{\perp}) / (\calL \cap u) \simeq \coprod_k \left(L_{W,k} +
479
+ h_{W,k}\right)
480
+ \end{equation*}
481
+ for some lattices $L_{W,k} \subset W$ and vectors $h_{W,k} \in L^{\#}_{W,k}$.
482
+
483
+ Via the isomorphism $W \simeq N$, we can identify $\G_N = N \cap \G$ with a lattice $\Lambda_W$ in $W$. Since $u$ is primitive in $L $ and $n(w) x= x + (w,x)u$ for a vector $x \in u^{\perp}$ we see that ${\calL}_W$ is contained in the dual lattice of $\Lambda_W$.
484
+
485
+ \begin{lemma}\label{LemmaB}
486
+ The intersection $\partial C_n \cap e'(P)$ is given by
487
+ \[
488
+ \coprod_{ \substack{x\in \G_M \back \mathcal{L}_W \\ (x,x)=2n}} \coprod_{0 \leq k < \min'_{\la \in \Lambda_W} |(\la,x)|} c_{x+ku}.
489
+ \]
490
+ Here $\min'$ denotes that we take the minimum over all nonzero values of $ |(\la,x)|$.
491
+ \end{lemma}
492
+
493
+ \begin{proof}
494
+
495
+ We will first prove $\partial C_{n,P} := \partial C_n \cap e'(P)$ is a disjoint union
496
+ \begin{equation} \label{union}
497
+ \partial C_{n,P} = \coprod_{y \in \G_P \back \calL_{n,u}} c_y,
498
+ \end{equation}
499
+ where $\calL_{n,u} = \{ x \in \calL \cap u^{\perp};\, (x,x)=2n\}$. Indeed, first note that by Proposition~\ref{boundaryofC} only vectors in $\calL_{n,u}$ can contribute to $\partial C_{n,P}$.
500
+ The action of $\Gamma$ on $V$ induces an equivalence relation $\sim_{\Gamma}$ on the set $\G_p \back \calL_{n,u} \subset V$ which is consequently a
501
+ union of equivalence classes $[x_i]= [x_i]_P, 1 \leq i \leq k$. We may accordingly organize the union $R$ on the right-hand side of \eqref{union} as $R = \coprod _{i=1}^k \coprod_{ y \in [x_i]} c_y.$
502
+ But it is clear that $(\partial C_{x_i})_P = \coprod_{ y \in [x_i]} c_y$ and hence we have the equality of $1$-cycles in $e'(P)$
503
+ and $\partial X$
504
+ \begin{equation}\label{boundaryofspecialcycle}
505
+ (\partial C_{x_i})_P = \sum_{ y \in [x_i]_P} c_y \qquad \text{and} \qquad \partial C_{x_i}= \sum_{[P]} \sum_{ y \in [x_i]_P} c_y,
506
+ \end{equation}
507
+ since an element $y \in [x_i]$ gives rise to the lift $D_y$ of $C_{x_i}$ to $D$ that intersects
508
+ $e(P)$ and this intersection projects to $c_y$. Thus we may rewrite the right-hand side of\eqref{union} as
509
+ $R= \coprod_{ \sim_{\Gamma} \back \calL_{n,u}} \partial C_{x_i}.$
510
+ But it is clear that this latter union is $\partial C_{n,P}$ and \eqref{union} follows. Finally, we easily see that $\coprod_{ \substack{x\in \G_M \back \mathcal{L}_W \\ (x,x)=2n}} \coprod_{0 \leq k < \min'_{\la \in \Lambda_W} |(\la,x)|} x+ku$ is a complete set of representatives of $\G_P$-equivalence classes in $\calL_{n,u}$. These give the circles $c_{x+ku}$ above.
511
+
512
+ \end{proof}
513
+
514
+
515
+
516
+
517
+
518
+ \begin{proposition}\label{rat-cap}
519
+ Let $x \in \mathcal{L}_{n,u}$ with $n>0$. Then there exists a rational $2$-chain $a_x$ in $e'(P)$ such that
520
+ \begin{enumerate}
521
+ \item $\partial a_x = c_x$
522
+ \item $\int_{a_x} \Omega_P = 0$, here $\Omega_P$ is the area form for the fibers (see \eqref{areaform})
523
+ \end{enumerate}
524
+
525
+ \end{proposition}
526
+
527
+
528
+ \begin{proof}
529
+
530
+ Except for the rationality of the cap this follows immediately from Proposition~\ref{TnBS}. The problem is to find a cap $a_x$ such that $\int_{a_x} \Omega_P \in \Q$. We will prove this in Section~\ref{rat-cap11} below.
531
+ \end{proof}
532
+
533
+ We will define $(A_x)_P$ by $(A_x)_P = \sum_{y \in [x]} a_x$. Then sum over the components $e'(P)$ to obtain $A_x$ a rational $2$-chain
534
+ in $\partial X$. Then we have (noting that $(\partial C_x)_P = \sum_{y \in [x]} c_y$)
535
+ \[
536
+ \partial A_x = \partial C_x.
537
+ \]
538
+
539
+
540
+
541
+
542
+ \begin{definition}
543
+ We define the rational absolute $2$-cycle in $\overline{X}$ by
544
+ \[
545
+ C_x^c = C_x \cup (-A_x)
546
+ \]
547
+ with the $2$-chain $A_x$ in $\partial \overline{X}$ as in Proposition~\ref{rat-cap}. In particular, $C_x^c$ defines a class in $H_2(\overline{X}) = H_2(X)$. In the same way we obtain $C_n^c$.
548
+ \end{definition}
549
+
550
+
551
+ \subsection{The closure of the special cycles in $\tilde{X}$ and the cycle $T_n^c$}
552
+
553
+ Following Hirzebruch-Zagier we let $T_n$ be the cycle in $\tilde{X}$ given by the closure of the cycle $C_n$ in $\tilde{X}$. Hence $T_n$ defines a class in $H_2(\tilde{X})$.
554
+
555
+
556
+ \begin{definition}
557
+ Consider the decomposition $H_2(\tilde{X}) = j_{\ast} H_2(X) \oplus \left( \oplus_{[P]} S_{p
558
+ } \right)$, which is orthogonal with respect to the intersection pairing on $\tilde{X}$. We let $T_n^c$ be the image of $T_n$ under orthogonal projection onto the summand $j_{\ast} H_2(X)$.
559
+ \end{definition}
560
+
561
+ \begin{proposition}\label{CnTn}
562
+ We have
563
+ \[
564
+ j_{\ast} C_n^c = T_n^c.
565
+ \]
566
+ \end{proposition}
567
+
568
+ \begin{proof}
569
+ For simplicity, we assume that $X$ has only one cusp. The $3$-manifold $e'(P)$ separates $T_n$
570
+ and we can write $T_n = T_n \cap X^{in} + T_n \cap X^{out}$ as (appropriately oriented) $2$-chains in $\tilde{X}$. It is obvious that we have $j_{\ast} \overline{C}_n = T_n \cap X^{in}$ as $2$-chains. We write $B_n = T_n \cap X^{out}$. We have $\partial C_n = - \partial B_n$. Hence we can write $T_n = j_{\ast} C_n^c + B_n^c$, the sum of two $2$-cycles in $\tilde{X}$. Here $B_n^c$ is obtained by `capping' $B_n$ in $e'(P)$ with the negative of the cap $A_n$ of $C_n^c$.
571
+ Since $j_*C_n^c$ is clearly orthogonal to $S_P$ (since it lies in $X^{in}$) and $B_n^c \in
572
+ S_P$ (since it lies in $X^{out}$)
573
+ the decomposition $T_n = j_*C_n^c + B_n^c$ is just the decomposition of
574
+ $T_n$ relative to the splitting $H_2(\tilde{X}) = j_*H_2(X) \oplus S_P$.
575
+ Hence $T_n^c = j_*C_n^c$, as claimed.
576
+ \end{proof}
577
+
578
+ \subsection{Rationality of the cap}\label{rat-cap11}
579
+ We will now prove Proposition \ref{rat-cap}. In fact we will show that it holds for any circle $\alpha$ contained in a torus fiber of $e(P)$ and passing through a rational point. We would like to thank Misha Kapovich for simplifying our original argument. The idea is to construct, for each component of $\partial C_x$, a $2$-chain $A$ with that component as boundary so that $A$ is a sum $P+ T +\mathcal{M}(\gamma_0)$ of three simplicial $2$-chains in $M$. We then verify that the ``parallelogram'' $P$ and the ``triangle'' $T$ have rational area and the period of $\Omega$ over the ``monodromy chain'' $\mathcal{M}(\gamma_0)$ is zero.
580
+
581
+ In what follows we will pass from pictures in the plane involving directed line segments, triangles and parallelograms to identities in the space of simplicial $1$-chains $C_1(T^2)$ on $T^2$. The principal behind this is that any $k$-dimensional subcomplex $S$ of a simplicial complex $Y$ which is the fundamental cycle of an oriented $k$-submanifold $|S|$ (possibly with boundary) of $Y$ corresponds in a {\it unique} way to a sum of oriented $k$-simplices in $C_k(Y)$.
582
+
583
+
584
+
585
+ In this subsection we will work with a general $3$-manifold $M$ with Sol geometry. Of course this includes all the manifolds $e'(P)$ that occur in this paper. Let $f \in SL(2,\Z)$ be a hyperbolic element. We will then consider the $3$-manifold $M$ obtained from $ R \times T^2$ (with the $2$-torus $T^2 = W/ \Z^2$) given by the relation
586
+ \begin{equation}\label{glueing}
587
+ (s,w) \sim (s+1,f(w)).
588
+ \end{equation}
589
+ We let $\pi: R\times T^2 \to M$ be the resulting infinite cyclic covering.
590
+
591
+
592
+
593
+ We now define notation we will use below. We will use Greek letters to denote closed geodesics on $T^2$, a subscript $c$ will indicate that the geodesic starts at the point $c$ on $T^2$. We will use the analogous notation for geodesic arcs on $W$. We will use $[\alpha]$
594
+ to denote the corresponding homology class of a closed geodesic $\alpha$ on $T^2$.
595
+ If $x$ and $y$ are points on $W$ we will use $\overline{xy}$ to denote the oriented line segment joining $x$ to $y$ and $\overrightarrow{xy}$ to denote the corresponding (free) vector
596
+ i.e. the equivalence class of $\overline{xy}$ modulo parallel translation.
597
+
598
+ We first take care of the fact that $\alpha$ does not necessarily pass through the origin. For convenience we will assume $\alpha$ is in the fiber over the base-point $z(x)$ corresponding to $s=0$. Let $\alpha_0$ be the parallel translate of $\alpha$ to the origin. Then we can find a cylinder $P$, image of an oriented parallelogram $\widetilde{P}$ under the universal cover $W \to T^2$ with rational vertices, such that in $Z_1(T^2,\Q)$, the group of rational $1$-cycles, we have
599
+ \begin{equation}\label{firstrectangle}
600
+ \partial P = \alpha - \alpha_0.
601
+ \end{equation}
602
+ Since $\widetilde{P}$ has rational vertices we find $\int_{P} \Omega = \int_{\widetilde{P}} \Omega \in \Q$.
603
+
604
+ Now we take care of the harder part of finding $A$ as above. The key is the construction of ``monodromy $2$-chains''. For any closed geodesic $\gamma_0 \subset T^2$ starting at $0$ we define the monodromy $2$-chain $\mathcal{M}(\gamma_0)$ to be the image of the cylinder $\gamma_0 \times [0,1] \subset T^2 \times R$ in $M$.
605
+ The reader will verify using \eqref{glueing} that in $Z_1(T^2,\Q)$ we have
606
+ \begin{equation} \label{boundaryofmon}
607
+ \partial \mathcal{M}(\gamma_0) = f^{-1}(\gamma_0) -\gamma_0.
608
+ \end{equation}
609
+ Since $f$ preserves the origin, the geodesic $f^{-1}(\gamma_0)$ is also a closed geodesic starting at the origin. Since $f^{-1}$ is hyperbolic we have $|\tr(f^{-1})| >2$ and hence $\det(f^{-1} -I)= det( I - f) = \tr(f) -2 \neq 0$. Put $N= \det(f^{-1} -I)$ and define $[\gamma_0] \in H_1(T^2,\Z)$ by
610
+ \begin{equation}\label{invertmatrix}
611
+ f^{-1}([\gamma_0]) -[\gamma_0] = N[\alpha_0].
612
+ \end{equation}
613
+ Note that $[\gamma_0] = N \{(f^{-1} - I)^{-1} ([\alpha_0]) \}$ is necessarily an integer homology class. Also note that is an equation in the first {\it homology}, it is not an equation in the group of $1$-cycles $Z_1(T^2,\Q)$. Since any homology class contains a unique closed geodesic starting at the origin we obtain a closed geodesic $\gamma_0 \in [\gamma_0]$ and a corresponding monodromy $2$-chain $\mathcal{M}(\gamma_0)$ whence \eqref{boundaryofmon} holds in $Z_1(T^2,\Q)$. We now solve
614
+
615
+ \begin{problem}
616
+ Find an equation in $Z_1(T^2,\Z)$ which descends to \eqref{invertmatrix}.
617
+ \end{problem}
618
+
619
+ Let $h_1$ resp. $h_2$ denote the covering transformation of $\pi$ corresponding to the element $\alpha_0$ resp $\gamma_0$ of the fundamental group of $T^2$. Define $c_1$ and $c_2$ in $W$ by $c_1 = Nh_1(0)$ and $c_2=h_2(0)$. Define $d \in W$ by $d =f^{-1}(c_2)$ in $W$. Let $\widetilde{T}$ be the oriented triangle
620
+ with vertices $0,c_2,d$. Then
621
+ \[
622
+ (i) \quad \pi(\overline{0c_1}) =N\alpha_0 \qquad (ii) \quad \pi(\overline{0c_2})= \gamma_0 \qquad (iii) \quad
623
+ \pi(\overline{0d}) = \pi(f^{-1}(\overline{0c_2})) = f^{-1}(\gamma_0).
624
+ \]
625
+ We now leave it to the reader to combine the homology equation \eqref{invertmatrix} and the three equations to show the equality of directed line segments
626
+ \begin{equation}\label{equalityofsegments}
627
+ h_2( \overline{0c_1}) = \overline{c_2d}.
628
+ \end{equation}
629
+ With this we can solve the problem.
630
+ We see that if we consider $\widetilde{T}$ as an oriented $2$-simplex we have the following equality of one chains
631
+ $$
632
+ \partial \widetilde{T} = \overline{0c_2} + \overline{c_2d} - \overline{0d}.
633
+ $$
634
+ Let $T$ be the image of $\widetilde{T}$ under $\pi$. Take the direct image of the previous equation under $\pi$ and use equation \eqref{equalityofsegments} which implies that the second edge $\overline{c_2d}$ is equivalent under $h_2$ in the covering group to the directed line segment $\overline{0c_1}$ which maps to $N\alpha_0$. Hence $\overline{c_2d}$ also maps to $N\alpha_0$. We obtain the following equation in $Z_1(T^2,\Z)$
635
+ \begin{equation}\label{triangle}
636
+ \partial T = \gamma_0 + N \alpha_0 - f^{-1}(\gamma_0),
637
+ \end{equation}
638
+ and we have solved the above problem. Combining \eqref{boundaryofmon} and \eqref{triangle} we have
639
+ $$
640
+ \partial (\mathcal{M}(\gamma_0) + T ) = f^{-1}(\gamma_0) -\gamma_0 +\gamma_0 + \alpha_0 - f^{-1}(\gamma_0)= N\alpha_0.
641
+ $$
642
+ Combining this with \eqref{firstrectangle} and setting where $A_0 = \mathcal{M}(\gamma_0) +T$ we obtain
643
+ \begin{equation} \label{cap}
644
+ \partial (NP + A_0 ) = N \alpha,
645
+ \end{equation}
646
+ in $Z_1(M,\Z)$. Hence if we define $A$ to be the {\it rational} chain $A = \frac{1}{N} (NP + A_0) = P + \frac{1}{N}T + \frac{1}{N} \mathcal{M}(\gamma_0)$ in $M$ we have the following equation in $Z_1(M,\Q)$:
647
+ $$
648
+ \partial A = \alpha.
649
+ $$
650
+ Finally, the integral of $\Omega$ over $A$ is rational. Indeed, the integral over $P$ is rational. Since all vertices of $\widetilde{T}$ are integral the area of $\widetilde{T}$ is integral, the integral of $\Omega$ over $T$ is integral. Thus it suffices to observe that the restriction of $\Omega$ to $\mathcal{M}(c)$ is zero. With this we have completed the proof of Proposition \ref{rat-cap}.
651
+
652
+
653
+ \subsection{Linking numbers in Sol} \label{generaltheoryoflink}
654
+
655
+
656
+ In the introduction we defined the linking number of two two disjoint homologically trivial $1$-cycles $a$ and $b$ in a closed $3$-manifold $M$ as $\Lk(a,b) = \langle A,b \rangle$, where $A$ is any rational $2$-chain in $M$ with boundary $a$. Since $b$ defines a trivial homology class in $M$, the link is well-defined, ie, does not depend on the choice of $A$.
657
+
658
+ We let $M$ be the Sol manifold as before realized as in Section~\ref{rat-cap11} via \eqref{glueing} and consider the case when $a$ and $b$ are two contained in two torus fibers. Then by the previous section they are homologically trivial. If $a$ and $b$ are contained in the same fiber we move $b$ to the right (i.e. in the direction of positive $s$) to a nearby fiber. We take $a,b \in H_1(T^2,\Z)$, and in this section we are allowed to confuse $a$ and $b$ with their representatives in the lattice $\Z^2$ and the unique closed geodesic in $T^2$ passing through the origin that represents them. We will write for the image of $a$ and $b$ in $R \times T^2$ and $M$ $a=a(0)=0 \times a$ and $b=b(\eps)= \eps \times b$. Our goal is to compute the linking number $Lk(a, b(\epsilon))$. By the explicit construction of the cap $A$ in Section~\ref{rat-cap11} we obtain
659
+
660
+ \begin{lemma}
661
+ \[
662
+ Lk(a,b(\epsilon)) = M(c) \cdot b(\epsilon) = c(\epsilon) \cdot b(\epsilon)= c \cdot b.
663
+ \]
664
+ Here $c$ is the rational one cycle obtained by solving $(f^{-1} - I) (c) =a$
665
+ and $M(c)$ is the (rational) monodromy $2$-chain associated to $c$ (see above) with boundary $\partial M(c) = (f^{-1} - I) (c) =a$. Here the first $\cdot$ is the intersection of
666
+ chains in $M$, the next $\cdot$ is the intersection number of $1$-cycles in the fiber $\epsilon \times T^2$ and the last $\cdot$ is the intersection number of $1$-cycles in $0 \times T^2$.
667
+ \end{lemma}
668
+
669
+ Noting that this last intersection number coincides with the intersection number of the underlying homology classes which in term coincides with the symplectic form $\langle \cdot, \cdot \rangle$ on $H_1(T^2,\Q)$ we have found our desired formula for the linking number.
670
+ \begin{theorem}\label{linkSol}
671
+ $ Lk(a, b(\epsilon)) = \langle (f^{-1} - I)^{-1} (a), b \rangle.$
672
+ \end{theorem}
673
+
674
+ It is a remarkable fact that there is a simple formula involving only the action of the
675
+ glueing homeomorphism $f \in SL(2,\Z)$ on $H_1(T^2, \Z)$ for linking numbers for $1$-cycles contained in fiber tori $T^2$ of in Sol (unlike the case of linking numbers in $R^3$).
676
+
677
+ This immediately leads to an explicit formula for the numbers $Lk(\partial C_n, \partial C_m)$. Using Lemma~\ref{LemmaB} we obtain
678
+
679
+
680
+ Here $Jx$ is properly oriented primitive vector in $\Lambda_W$ such that $(Jx,x)=0$.
681
+ \end{theorem}
682
+
683
+ \begin{example}\label{LinkCnCmex}
684
+ We consider the integral skew Hermitian matrices in Example~\ref{HZex}. Let $u= \kzxz{\sqrt{p}}{0}{0}{0}$, so that $W = \{ \kzxz{0}{\la}{-\la'}{0};\; \la \in K \} \simeq K$. The symplectic form on $K$ is given by $\langle \la, \mu \rangle = \frac{1}{\sqrt{p}} (\la \mu' - \la'\mu)$. The action of the unipotent radical $N= \left\{ n(\la)= \kzxz{1}{\la}{0}{1} \right\}$ on a vector $\mu \in K$ is now slightly different, namely, $n(\la) \mu = \mu + \langle \la, \mu \rangle u$. Hence in these coordinates, $\partial C_{\mu}$ is given by the image of the line $R \mu = \{\la \in K_R; \; \langle \la, \mu \rangle =0 \}$, and $(\min'_{\lambda \in \mathcal{O}_K}
685
+ |\langle \la, \mu \rangle|)\mu$ is a primitive generator in $\mathcal{O}_K$ for that line. We let $\eps$ be a generator of $U_+$, the totally positive units in $\mathcal{O}_K$, and we assume that the glueing map $f$ is realized by multiplication with $\eps'$. For $d \equiv 1 \pmod{4}$ a prime and $m=1$, $C_1$ has only component arising from $x =1 \in K$ and $C_1 \simeq SL_2(\Z) \back \h$. Then Theorem~\ref{LinkCnCm} becomes (the $\min'$-term is now wrt $\langle\,,\, \rangle$)
686
+ \[
687
+ Lk( (\partial C_n)_P, (\partial C_1)_P) =
688
+ 2 \sum_{ \substack{\mu \in U_+ \back \mathcal{O}_K\\ \mu\mu'=n, \mu \gg 0}} \left\langle \tfrac{\mu}{\eps-1}, 1 \right\rangle = 2\sum_{ \substack{\mu \in U_+ \back \mathcal{O}_K\\ \mu\mu'=n, \mu \gg0}} = \frac{2}{\sqrt{p}}\frac{\mu+\mu'\eps}{\eps-1}.
689
+ \]
690
+ This is (twice) the ``boundary contribution'' in \cite{HZ}, Section~1.4, see also Section~\ref{special-lift-section}.
691
+ \end{example}
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+
701
+
702
+
703
+
704
+
705
+
706
+
707
+ \section{Schwartz functions and forms}
708
+
709
+ Let $U$ be a non-degenerate rational quadratic space of signature $(p,q)$ and even dimension $m$. We will later apply the following to $U=V$ and $U=W$. Changing notation from before, we let $G = \SO_0(U_{R})$ with maximal compact subgroup $K$ and write $D=G/K$ for the associated symmetric space. We let $\calS(U_{R})$ be the space of Schwartz functions on $U_{R}$ on which $SL_2(R)$ acts via the Weil representation $\omega$.
710
+
711
+ \subsection{Extending certain Schwartz functions to functions of $\tau \in \h$ and $z\in D$}\label{conventions}
712
+
713
+ Let $\varphi \in \calS(U_{R})$ be an eigenfunction under the maximal compact $\SO(2)$ of $SL_2(R)$ of
714
+ weight $r$. Define $g'_{\tau} \in SL_2(R)$
715
+ by $g'_{\tau} = \left(
716
+ \begin{smallmatrix}1&u\\0&1\end{smallmatrix} \right) \left(
717
+ \begin{smallmatrix}v^{1/2}&0\\0&v^{-1/2}\end{smallmatrix} \right)$.
718
+ Then we have $ \omega(g'_{\tau}) \varphi (x)= v^{m/4} \varphi(\sqrt{v}x) e^{\pi i (x,x)u}$.
719
+ Accordingly we define
720
+ \begin{equation}\label{group-tau}
721
+ \varphi(x,\tau) = v^{-r/2} \omega(g'_{\tau}) \varphi
722
+ (x) = v^{-r/2+m/4} \varphi^0(\sqrt{v}x) e^{\pi i (x,x)\tau}.
723
+ \end{equation}
724
+ Here we have also defined $\varphi^0(x) = \varphi(x) e^{\pi (x,x)}$. Let $E$ be a $G$-module and let $g_z \in G$ be any element that carries the basepoint $z_0$ in $D$ to $z \in D$. Then define for $\varphi \in [\calS(U_{R}) \otimes E]^K$, the $E$-valued $K$-invariant Schwartz functions on $U_{R}$, the functions $\varphi(x,z)$ and $\varphi(x,\tau,z)$ for $x \in U, z \in D, \tau \in \mathbb{H}$ by
725
+ \[
726
+ \varphi(x,z) =g_z \varphi(g_z^{-1}x) \qquad \text{and} \qquad \varphi(x,\tau,z) = g_z\varphi(g_z^{-1}x,\tau).
727
+ \]
728
+ We will continue to use these notational conventions for other (not necessarily Schwartz) functions that arise in this paper.
729
+
730
+
731
+ \subsection{Schwartz forms for $V$}\label{V-forms}
732
+
733
+ Let $\mathfrak{g} $ be the Lie algebra of $G$ and $\mathfrak{g}= \mathfrak{k} \oplus \mathfrak{p}$ be the Cartan decomposition of $\mathfrak{g}$ associated to $K$. We identify
734
+ $\mathfrak{g} \simeq \wwedge{2} V_{R}$ as usual via $
735
+ (v_1 \wedge v_2)(v) = (v_1,v)v_2 - (v_2,v)v_1$. We write $X_{ij} = e_i \wedge e_j \in \mathfrak{g}$ and note that $\mathfrak{p}$ is spanned by $X_{ij}$ with $1 \leq i \leq 2$ and $3 \leq j \leq 4$. We write $\omega_{ij}$ for their dual. We orient $D$ such that $\omega_{13} \wedge \omega_{14} \wedge \omega_{23} \wedge \omega_{24}$ gives rise to the $G$-invariant volume element on $D$.
736
+
737
+ \subsubsection{Special forms for $V$}
738
+
739
+ The Kudla-Millson form $\varphi_2$ is an element in
740
+ \[
741
+ [\calS(V_{R}) \otimes \calA^2(D)]^G\simeq
742
+ [\calS(V_{R}) \otimes \wwedge{2} \mathfrak{p}^{\ast}]^K,
743
+ \]
744
+ where the isomorphism is given by evaluation at the base point. Here $\calA^2(D)$ denotes the differential $2$-forms on $D$. Note that $G$ acts diagonally in the natural fashion. At the base point $\varphi_2$ is given by
745
+ \[
746
+ \varphi_2= \frac12 \prod_{\mu=3}^4 \sum_{\alpha=1}^{2} \left( x_{\alpha} - \frac1{2\pi}\frac{\partial}{\partial x_{\alpha}} \right) \varphi_0 \otimes \omega_{\alpha\mu}.
747
+ \]
748
+ Here $\varphi_0(x) := e^{-\pi(x,x)_{0}}$, where $(x,x)_0= \sum_{i=1}^4 x_i^2$ is the minimal majorant associated to the base point in $D$. Note that $\varphi_2$ has weight $2$, see \cite{KM1}. There is another Schwartz form $\psi_1$ of weight $0$ which lies in $
749
+ [\calS(V_{R}) \otimes \calA^1(D)]^G\simeq
750
+ [\calS(V_{R}) \otimes \mathfrak{p}^{\ast}]^K$ and is given by
751
+ \begin{equation}\label{psi20}
752
+ \psi_1 = -x_1x_3\varphi_0(x) \otimes \omega_{14}+x_1x_4 \varphi_0(x) \otimes \omega_{13} - x_2x_3 \varphi_0(x) \otimes \omega_{24}+x_2x_4\varphi_0(x) \otimes \omega_{23}.
753
+ \end{equation}
754
+
755
+
756
+ The key relationship is (see \cite{KM90}, \S 8)
757
+
758
+ \begin{theorem}\label{localholomorphic1}
759
+ \[
760
+ \omega(L) \varphi_2 = d \psi_1.
761
+ \]
762
+ Here $\omega(L)$ is the Weil representation action
763
+ of the $SL_2$-lowering operator $L = \tfrac12 \left(
764
+ \begin{smallmatrix}1 & -i \\ -i & -1\end{smallmatrix} \right) \in \mathfrak{sl}_2(R)$ on
765
+ $\calS(V_{R})$, while $d$ denotes the exterior differentiation on $D$.
766
+ \end{theorem}
767
+
768
+ On the upper half plane $\h$, the action of $L$ corresponds to the action of the classical Maass lowering operator which we also denote by $L$. For a function $f$ on $\h$, we have
769
+ \[
770
+ Lf = -2iv^2 \frac{\partial}{\partial \bar{\tau}} f.
771
+ \]
772
+ When made explicit using \eqref{group-tau} Theorem \ref{localholomorphic1} translates to
773
+ \begin{equation}\label{partial-d}
774
+ v \frac{\partial}{\partial v } \varphi_2^0(\sqrt{v}x) = d
775
+ \left(\psi_1^0(\sqrt{v}x)\right).
776
+ \end{equation}
777
+
778
+ \subsubsection{The singular form $\tilde{\psi}_1$}
779
+
780
+
781
+ We define the singular form $\tilde{\psi}_1$ by
782
+ \begin{align}\label{GreeneqV}
783
+ \tilde{\psi}_1(x) &= - \left( \int_1^{\infty} \psi_1^0(\sqrt{r}x) \frac{dr}{r} \right)e^{-\pi(x,x)} = - \frac1{2\pi(x_3^2+x_4^2)} \psi_1(x).
784
+ \end{align}
785
+ for $x\ne 0$, and as before $\tilde{\psi}^0_{2,0}(x) = \tilde{\psi}_1(x) e^{\pi (x,x)}$ and
786
+ $\tilde{\psi}_1(x,z)$. We see that $\tilde{\psi}_1$ is defined for $x \notin \Span[e_3,e_4]^{\perp}$. Formulated differently, $\tilde{\psi}_1(x,z)$ for fixed $x$ is defined for $z \notin D_x$. Furthermore, as if $\tilde{\psi}_1$ was a Schwartz function of weight $2$, we define
787
+ \begin{align}\label{xiZV}
788
+ \tilde{\psi}_1(x,\tau,z) &= \tilde{\psi}_1^0(\sqrt{v}x,z) e^{\pi i (x,x)\tau} = - \left( \int_v^{\infty} \psi_1^0(\sqrt{r}x,z) \frac{dr}{r} \right) e^{\pi i (x,x)\tau}.
789
+ \end{align}
790
+
791
+ \begin{proposition}\label{schluesselV}
792
+
793
+ $\tilde{\psi}_1(x,z)$ is a differential $1$-form with singularities along $D_x$. Outside $D_{x}$, we have
794
+ \[
795
+ d\tilde{\psi}_1(x,z) = \varphi_2(x,z).
796
+ \]
797
+ Here $d$ denotes the exterior differentiation on $D$. In particular,
798
+ for $(x,x)\leq 0$, we see that $\varphi_2(x)$ is exact.
799
+ Furthermore,
800
+ \[
801
+ L\tilde{\psi}_1(x,\tau) = \psi_1(x,\tau).
802
+ \]
803
+ \end{proposition}
804
+
805
+ \begin{proof}
806
+
807
+ Using \eqref{GreeneqV} and \eqref{partial-d}, we see
808
+ \begin{align*}
809
+ d \tilde{\psi}_1^0(x,z) &= - \int_1^{\infty}d \left(\psi_1^0(\sqrt{r}x,z)\right)\frac{dr}{r} =-\int_1^{\infty} \frac{\partial}{\partial r } \left(
810
+ \varphi_2^0(\sqrt{r}x,z)\right) \frac{dr}{r} = \varphi_2^0(x,z),
811
+ \end{align*}
812
+ as claimed. The formula $L\tilde{\psi}_1(x,\tau) = \psi_1(x,\tau)$ follows easily from \eqref{xiZV}.
813
+ \end{proof}
814
+
815
+
816
+
817
+
818
+ \begin{remark}
819
+ The construction of the singular form $\tilde{\psi}$ works in much greater generality for $Orth(p,q)$ whenever we have two Schwartz forms $\psi$ and $\varphi$ (of weight $r-2$ and $r$ resp.) such that
820
+ \[
821
+ d \psi = L \varphi.
822
+ \]
823
+ Then the analogous construction of $\tilde{\psi}$ then immediately yields $d \tilde{\psi} = \varphi$ outside a singular set. The main example for this are the general Kudla-Millson forms $\varphi_{q}$ and $\psi_{q-1}$, see \cite{KM90}. For these forms, this construction is already implicit in \cite{BFDuke}. In particular, the proof of Theorem~7.2 in \cite{BFDuke} shows that $\tilde{\psi}$ gives rise to a differential character for the analogous cycle $C_x$, see also Section~\ref{currents} of this paper. The unitary case will be considered in \cite{F-unitary}.
824
+ \end{remark}
825
+
826
+
827
+
828
+
829
+ \subsection{Schwartz forms for $W$}
830
+
831
+
832
+
833
+
834
+ Let $W\subset V$ be the rational quadratic space of signature $(1,1)$ obtained from the Witt decomposition of $V$. We will refer to the nullcone of $W$ as the light-cone. We write $\mathfrak{m} \simeq R$ for the Lie algebra of $M = \SO_0(W_{R})$.
835
+ Then $X_{23} = e_2 \wedge e_3$ is its natural generator with dual $\omega_{23}$.
836
+ We identify the associated symmetric space $D_W$ to $M$ with the
837
+ space of lines in $W_{R}$ on which the bilinear form $(\,,\,)$ is
838
+ negative definite:
839
+ \[
840
+ D_W = \{{\bf s} \subset W_{R} ; \;\dim {\bf s}
841
+ \}
842
+ \]
843
+ We pick as base point of $D_W$ the line ${\bf s}_0$ spanned by $e_3$. We set $
844
+ x(s) := m(s) e_3 = \sinh(s) e_2 + \cosh(s) e_3$. This realizes the isomorphism $D_W \simeq R$. Namely, ${\bf s} = \Span x(s)$. Accordingly, we frequently write $s$ for ${\bf s}$ and vice versa. A vector $x \in W$ of positive length defines a point $D_{W,x}$ in
845
+ $D$ via $D_{W,x} = \{ {\bf s} \in D; \; {\bf s} \perp x \}$. So ${\bf s} = D_{W,x}$ if and only if $(x,x({\bf s})) =0$. We also write ${\bf s}(x)=D_{W,x}$.
846
+
847
+ \subsubsection{Special forms for $W$}\label{W-forms}
848
+
849
+ We carry over the conventions from section~\ref{conventions}. We first consider the Schwartz form $\varphi_{1,1}$ on $W_{R}$ constructed in \cite{FMcoeff} (in much greater generality) with values in $\calA^1(D_W) \otimes W_{\C}$. More precisely,
850
+ \[
851
+ \varphi_{1,1} \in [\calS(W_{R}) \otimes \calA^1(D_W) \otimes W_{\C}]^M \simeq
852
+ [\calS(W_{R}) \otimes \mathfrak{m}^{\ast} \otimes W_{\C}],
853
+ \]
854
+ Here $M$ acts diagonally on all three factors. Explicitly at the base point, we have
855
+ \begin{equation*}
856
+ \varphi_{1,1}(x) = \frac{1}{2^{3/2}} \left(4 x_2^2-\frac1{\pi}\right) e^{-\pi (x_2^2+x_3^2)} \otimes \omega_{23} \otimes e_2.
857
+ \end{equation*}
858
+ Note that $\varphi_{1,1}$ has weight $2$, see \cite{FMcoeff}, Theorem~6.2. We define $\varphi_{1,1}(x,s)$ and $\varphi_{1,1}^0$ as before. There is another Schwartz function $\psi_{0,1}$ of weight $0$ given by
859
+ \begin{multline*}
860
+ \psi_{0,1}(x) = -\frac1{\sqrt{2}} x_2x_3 e^{-\pi(x_2^2+x_3^2)} \otimes 1 \otimes e_2 + \frac{1}{4\sqrt{2}\pi} e^{-\pi(x_2^2+x_3^2)} \otimes 1\otimes e_3 \\ \in
861
+ [\calS(W_{R}) \otimes \wwedge{0} \mathfrak{m}^{\ast} \otimes W_{\C}],
862
+ \end{multline*}
863
+ and also $\psi_{0,1}(x,s)$ and $\psi_{0,1}^0$. Note that the notation differs from \cite{FMcoeff}, section~6.5. The function $\psi_{0,1}$ defined here is the term $-\psi_{1,1} - \tfrac12 \Lambda_{1,1}$ given in Theorem~6.11 in \cite{FMcoeff}.
864
+ The key relation between $\varphi_{1,1}$ and $\psi_{0,1}$ (correcting a sign mistake in \cite{FMcoeff}) is given by
865
+
866
+ \begin{theorem}(\cite{FMcoeff}, Theorem~6.2\label{Millson})\label{localholW}
867
+ \[
868
+ \omega(L) \varphi_{1,1} = d \psi_{0,1}.
869
+ \]
870
+ \end{theorem}
871
+
872
+ When made explicit, we have, again using \eqref{group-tau},
873
+ \begin{equation}
874
+ v^{3/2} \frac{\partial}{\partial v } \left(v^{-1/2} \varphi_{1,1}^0(\sqrt{v}x,s) \right)= d
875
+ \left(\psi_{0,1}^0(\sqrt{v}x,s)\right).
876
+ \end{equation}
877
+
878
+
879
+
880
+ \subsubsection{The singular Schwartz function $\tilde{\psi}_{0,1}$}
881
+
882
+
883
+
884
+
885
+ In the same way as for $V$ we define
886
+ \begin{align}\label{Greeneq}
887
+ \tilde{\psi}_{0,1}(x) &= - \left(\int_1^{\infty} \psi_{0,1}^0(\sqrt{r}x) r^{-3/2} dr\right)e^{-\pi(x,x)}
888
+ \end{align}
889
+ for {\it all} $x \in W$, including $x=0$. Define $\tilde{\psi}_{0,1}^0(x)$, $\tilde{\psi}_{0,1}^0(x,s)$ as before and also
890
+ \begin{align}\label{xiZ}
891
+ \tilde{\psi}_{0,1}(x,\tau,s) &= v^{-1/2} \tilde{\psi}_{0,1}^0(\sqrt{v}x,s) e^{\pi i (x,x)\tau} = - \left( \int_v^{\infty} \psi_{0,1}^0(\sqrt{r}x,s) r^{-3/2} dr \right) e^{\pi i (x,x)\tau} \notag.
892
+ \end{align}
893
+ Note that $\tilde{\psi}_{0,1}(x,s)$ has a singularity at $D_{w,x}$. Define functions $A$ and $B$ by
894
+ \[
895
+ \tilde{\psi}_{0,1}(x) = A(x) \otimes 1 \otimes e_2 + B(x) \otimes 1 \otimes e_3
896
+ \]
897
+ and note
898
+ \begin{equation}\label{AB-eq}
899
+ -X_{23} B(x) = A(x).
900
+ \end{equation}
901
+ We extend these functions to $D_W$ as before. We see by integrating by parts
902
+
903
+
904
+
905
+ \begin{lemma}\label{firstformulaforAandB}
906
+ \begin{align*}
907
+ A(x) &=
908
+ \frac{1}{2\sqrt{\pi}} x_2 \frac{x_3}{|x_3|} \Gamma(\tfrac12,2 \pi x_3^2) e^{-\pi (x,x)} \\
909
+ B(x)& =
910
+ - \frac{1}{2 \sqrt{2} \pi} e^{- \pi(x_2^2+ x_3^2)} + \frac{1}{2 \sqrt{\pi}}|x_3| \Gamma(\tfrac12,2 \pi x_3^2) e^{-\pi (x,x)}.
911
+ \end{align*}
912
+ Here $\G(\tfrac12,a) = \int_a^{\infty} e^{-u} u^{-1/2} du$ is the incomplete $\G$-funtion at $s=1/2$.
913
+ \end{lemma}
914
+
915
+
916
+ It is now immediate that $B$ is continuous and bounded on $D_W$. Since $A$ is clearly bounded
917
+ we find that $A$ and $B$ are locally integrable on $D_W$ and integrable and square-integrable on $W$. The singularities of $A$ and $B$ are given as follows.
918
+
919
+ \begin{lemma}\label{singularitiesofAandB}
920
+ \begin{enumerate}
921
+ \item[(i)] $B(x) - (1/2)|x_3| e^{-\pi (x,x)} $ is $C^2$ on the Minkowski plane $W$.
922
+ \item[(ii)] $A(x)- (1/2) x_2 \frac{x_3}{|x_3|} e^{-\pi (x,x)}$ is $C^1$ on the Minkowski plane $W$.
923
+ \end{enumerate}
924
+ \end{lemma}
925
+
926
+ \begin{proof}
927
+ Use Lemma \ref{firstformulaforAandB},
928
+ expand the incomplete gamma function around $x_3=0$,
929
+ and observe that $|x|x^n$ is $C^n$ for $n>0$.
930
+ \end{proof}
931
+
932
+
933
+
934
+
935
+
936
+ The key properties of $\tilde{\psi}_{0,1}$ analogous to Lemma~\ref{schluesselV} are given by
937
+
938
+ \begin{lemma}\label{schluessel}
939
+ Outside $D_{W,x}$,
940
+ \[
941
+ d\tilde{\psi}_{0,1}(x,s) = \varphi_{1,1}(x,s) \qquad \text{and} \qquad
942
+ L\tilde{\psi}_{0,1}(x,\tau) = \psi_{0,1}(x,\tau).
943
+ \]
944
+ \end{lemma}
945
+
946
+
947
+
948
+ \subsubsection{The singular function $\tilde{\psi}_{0,1}'$}
949
+
950
+
951
+
952
+ Inspired by \cite{HZ}, section~2.3, we define a functions $A'(x)$ and $B'(x)$ on $W$ by
953
+ \begin{align}\label{AB'-eq}
954
+ B'(x) &= \begin{cases} \frac12\min(|x_2-x_3|,|x_2+ x_3|)e^{- \pi (x,x)} & \text{if} \, x_2^2-x_3^2 >0,\\ 0 \ & \text{otherwise},
955
+ \end{cases} \\
956
+ A'(x) &= -X_{23}B'(x)= -\sgn(x_2x_3)B'(x). \notag
957
+ \end{align}
958
+
959
+ \begin{lemma}\label{singularitiesofA'andB'}
960
+ \begin{enumerate}
961
+ \item[(i)]
962
+ $B'(x) + \tfrac12|x_3|e^{- \pi (x,x)}$ is $C^2$ on the complement of the light-cone in $W$ and $C^2$ on nonzero $M$-orbits.
963
+ \item[(ii)]
964
+ $A'(x) + \tfrac12 x_2 \frac{x_3}{|x_3|}e^{- \pi (x,x)}$ is $C^1$ on the complement of the light-cone in $W$ and $C^1$ on nonzero $M$-orbits.
965
+ \end{enumerate}
966
+ \end{lemma}
967
+
968
+
969
+
970
+
971
+
972
+ We define $\tilde{\psi}'_{0,1}$ by
973
+ \[
974
+ \tilde{\psi}_{0,1}'(x) = A'(x) \otimes 1 \otimes e_2 + B'(x) \otimes 1 \otimes e_3
975
+ \]
976
+ and $\tilde{\psi}_{0,1}'(x,\tau,s) = v^{-1/2} m(s) \tilde{\psi}_{0,1}'(m^{-1}(s)\sqrt{v}x) e^{\pi i (x,x)\tau}$. A little calculation shows that $\tilde{\psi}_{0,1}'(x)$ is locally constant on $D_W$ with a singularity at $D_{W,x}$ and holomorphic in $\tau$:
977
+
978
+
979
+
980
+ \begin{lemma}\label{xi'closed}
981
+ Outside $D_{W,x}$ we have
982
+ \[
983
+ d \tilde{\psi}_{0,1}'(x) = 0 \qquad \qquad \text{and} \qquad \qquad
984
+ L \tilde{\psi}_{0,1}'(x,\tau) = 0.
985
+ \]
986
+ \end{lemma}
987
+
988
+
989
+
990
+
991
+
992
+
993
+ \begin{remark}
994
+ The functions $\tilde{\psi}_{0,1}(x)$ and $\tilde{\psi}_{0,1}'(x)$ define currents on $D_W$. One can show, similarly to Section~\ref{W-currents}, that for $(x,x)>0$ we have
995
+ \begin{align*}
996
+ d[\tilde{\psi}_{0,1}(x)] = \delta_{D_{W,x} \otimes x} + [\varphi_{1,1}(x)], \qquad \qquad
997
+ d[\tilde{\psi}'_{0,1}(x)] = -\delta_{D_{W,x} \otimes x},
998
+ \end{align*}
999
+ where $D_{W,x} \otimes x$ is the $0$-cycle $D_{W,x}$ `with coefficient $x \in W$' defined in \cite{FMcoeff}.
1000
+ \end{remark}
1001
+
1002
+
1003
+
1004
+
1005
+ \subsubsection{The form $\phi_{0,1}$ on $W$}
1006
+
1007
+
1008
+
1009
+
1010
+ We now combine $\tilde{\psi}_{0,1}$ and $\tilde{\psi}_{0,1}'$ to obtain an integrable and also square-integrable $W$-valued function
1011
+ \[
1012
+ \phi_{0,1} \in [L^2(W_{R}) \otimes \wwedge{0} \mathfrak{m}^{\ast} \otimes W_{\C}]
1013
+ \]
1014
+ by
1015
+ \begin{equation*}
1016
+ \phi_{0,1}(x) = \tilde{\psi}_{0,1}(x) + \tilde{\psi}_{0,1}'(x)
1017
+ \end{equation*}
1018
+ and then also $\phi_{0,1}(x,s)$. Combining Lemmas \ref{singularitiesofAandB}, \ref{singularitiesofA'andB'} and \eqref{AB-eq}, \eqref{AB'-eq} we obtain
1019
+
1020
+ \begin{proposition}\label{phi-prop}
1021
+ \begin{itemize}
1022
+ \item[(i)] $B(x) + B'(x)$ is $C^2$ on the complement of the light-cone in $W$ and $C^2$ on nonzero $M$-orbits.
1023
+ \item[(ii)] $A(x) + A'(x)$ is $C^1$ on the complement of the light-cone in $W$ and $C^1$ on nonzero $M$ orbits.
1024
+ \item[(iii)] $X_{23}(B + B') = -(A + A')$ on all of $W$.
1025
+ \end{itemize}
1026
+ So for given $x$, the function $\phi_{0,1}(x,s)$ is a $C^1$-function on $D_W$ with values in $W_{\C}$.
1027
+ \end{proposition}
1028
+
1029
+
1030
+ The following theorem is fundamental for us. It is an immediate consequence of the Lemmas~\ref{schluessel} and \ref{xi'closed}.
1031
+
1032
+ \begin{theorem}\label{local-phi}
1033
+ The form $\varphi_{1,1}$ on $D_W$ is exact. Namely,
1034
+ \[
1035
+ d \phi_{0,1} = \varphi_{1,1}.
1036
+ \]
1037
+ Furthermore,
1038
+ \[
1039
+ L \phi_{0,1} = d \psi_{0,1}.
1040
+ \]
1041
+ \end{theorem}
1042
+
1043
+ \begin{proposition}
1044
+ The function $\phi_{0,1}$ is an eigenfunction of $K'=\SO(2)$ of weight $2$ under the Weil representation. More precisely,
1045
+ \[
1046
+ \omega(k') \phi_{0,1} = \chi^2(k')\phi_{0,1},
1047
+ \]
1048
+ where $\chi$ is the standard character of $\SO(2) \simeq U(1)$.
1049
+ \end{proposition}
1050
+
1051
+ \begin{proof}
1052
+ It suffices to show this for one component of $\phi_{0,1}$, that is, the function $B(x)+B'(x)$. Then the assertion has been already proved in \S 2.3 by showing that $B(x)+B'(x)$ is an eigenfunction under the Fourier transform. We give here an infinitesimal proof. Since $\omega(k')$ acts essentially as Fourier transform and $B+B'$ is $L^1$, we see that $\omega(k')(B+B')$ is continuous. Hence it suffices to establish the corresponding current equality $[\omega(k')(B+B')] = \chi^2(k')[B+B']$, since continuous functions coincide when they induce the same current. The infinitesimal generator of $K'$ acts by $
1053
+ H:=\frac{-i}{4\pi} \left(\tfrac{\partial^2}{\partial{x_2^2}} - \tfrac{\partial^2}{\partial{x_3^2}}\right) + \pi i (x_2^2-x_3^2)$,
1054
+ and a straightforward calculation immediately shows
1055
+ \[
1056
+ H B' = 2i B' \qquad \text{and} \qquad H {B} = 2i {B},
1057
+ \]
1058
+ outside the singularity $x_2^2-x_3^2=0$.
1059
+ \begin{comment}
1060
+ For $B$, we have
1061
+ \[
1062
+ B(x) =- \frac{1}{2 \sqrt{2} \pi} e^{-\pi(x_2^2+ x_3^2)} + \frac{1}{2 \sqrt{\pi}}|x_3| \Gamma(\tfrac12,2 \pi x_3^2) e^{ -\pi(x_2^2- x_3^2)},
1063
+ \]
1064
+ and we denote the second summand by $\tilde{B}(x)$. One easily sees that the first summand is annihilated by
1065
+ $\frac{-i}{4\pi} \square + \pi i r^2$. For $\tilde{B}(x)$, we first see
1066
+ \[
1067
+ \frac{\partial}{\partial x_3} \tilde{B}(x) = \frac{1}{x_3} \tilde{B}(x) -\sqrt{2}x_3 e^{-\pi(x_2^2+ x_3^2)}.
1068
+ + 2\pi x_3 \tilde{B}(x),
1069
+ \]
1070
+ again away from the singularity $x_3=0$. Indeed, this follows easily from $\frac{\partial}{\partial x_3} \Gamma(\tfrac12,2 \pi x_3^2) = - 2 \sqrt{2\pi} \sgn(x_3) e^{-2 \pi x_3^2}$. A little calculation then gives
1071
+ \begin{align*}
1072
+ \frac{\partial^2}{\partial x_3^2} \tilde{B}(x) = 6 \pi \tilde{B}(x) - 2\sqrt{2} e^{ -\pi(x_2^2+x_3^2)} +(2\pi)^2 x_3^2 \tilde{B}(x).
1073
+ \end{align*}
1074
+ Then
1075
+ \[
1076
+ \frac{-i}{4\pi} \square \tilde{B}(x) = -\pi i r^2 \tilde{B}(x) + 2i \tilde{B}(x) - 2i \frac{1}{2\sqrt{2}\pi} e^{ -\pi(x_2^2+x_3^2)}.
1077
+ \]
1078
+ In conclusion,
1079
+ \[
1080
+ H {B}(x) = 2i {B}(x),
1081
+ \]
1082
+ again, outside the singularity.
1083
+ \end{comment}
1084
+ Now we consider the currents $H[B]$ and $H[B']$. An easy calculation using that $B$ and $B'$ are $C^2$ up to $|x_3|e^{-\pi(x_2^2-x_3^2)}$ shows that for a test function $f$ on $W$ we have
1085
+ \begin{align*}
1086
+ H[B](f) &= [HB](f) + \int_{0}^{\infty} e^{-\pi x_2^2} f(x_2,0)dx_2, \\
1087
+ H[B'](f) &= [HB'](f) - \int_{0}^{\infty} e^{-\pi x_2^2} f(x_2,0) dx_2.
1088
+ \end{align*}
1089
+ Thus $H[B+B'] = [H(B+B')]= 2i[B+B']$ as claimed.
1090
+ \end{proof}
1091
+
1092
+
1093
+
1094
+ \subsubsection{The map $\iota_P$}\label{iotaP}
1095
+
1096
+ We define a map
1097
+ \[
1098
+ \iota_P: \calS(W_{R}) \otimes \wwedge{i} \mathfrak{m}^{\ast} \otimes W_{\C} \to \calS(W_{R}) \otimes \wwedge{i+1} \left( \mathfrak{m}^{\ast} \oplus \mathfrak{n}^{\ast} \right)
1099
+ \]
1100
+ by
1101
+ \[
1102
+ \iota_P(\varphi \otimes \omega \otimes w) = \varphi \otimes \left(\omega \wedge (w \wedge u')\right).
1103
+ \]
1104
+ Here we used the isomorphism $\mathfrak{n} \simeq W \wedge R u \in \bigwedge^{2} V_R \simeq \mathfrak{g}$ and identify $W$ with its dual via the bilinear form $(\,,\,)$ so that $\mathfrak{n}^{\ast} \simeq W \wedge R u'$. In \cite{FMres}, Section ~6.2 we explain that $\iota_P$ is a map of Lie algebra complexes. Hence we obtain a map of complexes
1105
+ \[
1106
+ [\calS(W_{R}) \otimes \calA^i(D_W) \otimes W_{\C}]^M \to [\calS(W_{R}) \otimes \calA^{i+1}(e(P))]^{NM},
1107
+ \]
1108
+ which we also denote by $\iota_P$. Here $N$ acts trivially on $\calS(W_{R})$. Explicitly, the vectors $e_2$ and $e_3$ in $W$ map under $\iota_P$ to the left-invariant $1$-forms
1109
+ \[
1110
+ e_2 \mapsto \cosh(s)dw_2 - \sinh(s)dw_3 \qquad e_3 \mapsto \sinh(s)dw_2 - \cosh(s)dw_3
1111
+ \]
1112
+ with the coordinate functions $w_2,w_3$ on $W$ defined by $w=w_2e_2+w_3e_3$. We apply $\iota_P$ to the forms on $W$ of this section, and we obtain $\varphi_{1,1}^P$, $\phi_{0,1}^P$, $\psi_{0,1}^P$, and ${\psi'}_{0,1}^P$.
1113
+
1114
+
1115
+
1116
+ \section{The boundary theta lift and linking numbers in Sol}
1117
+
1118
+ \subsection{Global theta functions for $W$}
1119
+
1120
+ We let $\calL_W$ be a $\G_P$-invariant (coset of a) lattice in $W$, where $\G_N$ acts trivially on $W$. For $\varphi_{1,1}$, we define its theta function by
1121
+ \[
1122
+ \theta_{\varphi_{1,1}}(\tau,{\calL_W})= \sum_{x \in \calL_W} \varphi_{1,1}(x,\tau)
1123
+ \]
1124
+ and similarly for $\psi_{0,1}$, and $\phi_{0,1}$. Then the usual theta machinery gives that
1125
+ $\theta_{\varphi_{1,1}}(\tau,{\calL_W})$ and $\theta_{\phi_{0,1}}(\calL_W)$ both transform like (non)-holomorphic modular forms of weight $2$ for some congruence subgroup of $SL_2(\Z)$.
1126
+
1127
+ \begin{remark}
1128
+ The claim is not obvious for $\theta_{\phi_{0,1}}$, since $\phi_{0,1}$ is not a Schwartz function. In that case, we use Proposition~\ref{phi-prop}. The component $B+B'$ of $\phi_{0,1}$ is $C^2$ outside the light cone. Since $W$ is anisotropic we can then apply Possion summation, and this component transforms like a modular form. Then apply the differential operator $X_{23}$ to obtain the same for the other component $A+A'$ of $\phi_{0,1}$.
1129
+
1130
+ In fact, if $W$ is isotropic and $\calL_W$ intersects non-trivially with the light cone, then $\theta_{\phi_{0,1}}$ is not quite a modular form. The case, when the $\Q$-rank of $V$ is $2$ is interesting in its own right. We will discuss this elsewhere.
1131
+ \end{remark}
1132
+
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+ Via the map $\iota_P$ from Section~\ref{iotaP} we can view all theta functions for $W$ as functions resp. differential forms on $e'(P)$. We set $
1139
+ \theta^P_{\varphi_{1,1}} = \theta_{\varphi_{1,1}^P}$,
1140
+ and similarly $\theta^P_{\psi_{0,1}}$ and $\theta^P_{\phi_{0,1}}$. Since $\iota_P$ is a map of complexes we immediately see by Theorem~\ref{localholW} and Theorem~\ref{local-phi}
1141
+
1142
+ \begin{proposition}\label{globalholomorphic2}
1143
+ \[
1144
+ L \theta^P_{\varphi_{1,1}} = d\theta^P_{\psi_{0,1}} \qquad \text{and} \qquad
1145
+ L \theta^P_{\phi_{0,1}} = \theta^P_{\psi_{0,1}}.
1146
+ \]
1147
+ \end{proposition}
1148
+
1149
+ We now interpret the (holomorphic) Fourier coefficients of the boundary theta lift associated to $ \theta^P_{\phi}(\tau,\calL_{W_P})$. They are given by linking numbers. We have
1150
+
1151
+
1152
+ \begin{theorem}\label{xi'-integralP}
1153
+ Let $c$ a homological trivial $1$-cycle in $e'(P)$ which
1154
+ is disjoint from the torus fibers containing components of $\partial C_n$ or for $c=\partial C_y$ for $C_y$ one of the components of $C_n$, we have
1155
+ \[
1156
+ \int_{c} \theta^P_{\phi_{0,1}}(\tau,\calL_{W_P}) =
1157
+ \sum_{n=1}^{\infty} \Lk((\partial C_n)_P,c) q^n
1158
+ \; + \; \sum_{n \in \Q} \int_{c} {\tilde{\psi}_{0,1}^P}(n)(\tau).
1159
+ \]
1160
+ So the Fourier coefficients of the holomorphic part of $\int_{c} \theta^P_{\phi}(\tau,\calL_{W_P})$ are the linking numbers of the cycles $c$ and $ \partial C_n$ at the boundary component $e'(P)$.
1161
+ \end{theorem}
1162
+
1163
+ Theorem \ref{xi'-integralP} follows from $\phi_{0,1} = \tilde{\psi}_{0,1} + \tilde{\psi'}_{0,1}$ combined with Theorem~\ref{linking-dual} below.
1164
+
1165
+ \begin{example}\label{HZbeta}
1166
+ In the situation of Examples~\ref{HZex} and \ref{LinkCnCmex}, we obtain
1167
+ \[
1168
+ \int_{\partial C_1} \theta^P_{\phi_{0,1}}(\tau,\calL_{W_P}) = \frac{1}{\sqrt{2d}} \sum_{\substack{\la \in \mathcal{O}_K \\ \la\la'>0}} \min(|\la|,|\la'|) e^{-2\pi \la \la' \tau } - \frac{\sqrt{2}}{\sqrt{dv}} \sum_{\la \in \mathcal{O}_K} \beta (\pi v (\la-\la')^2) e^{-2\pi \la \la' \tau},
1169
+ \]
1170
+ where $\beta(s) = \tfrac1{16\pi} \int_1^{\infty} e^{-st}t^{-3/2} dt$. This is (up to a constant) exactly Zagier's function $\mathcal{W}(\tau)$ in \cite{HZ}, \S 2.3.
1171
+
1172
+
1173
+ \end{example}
1174
+
1175
+ \subsection{Linking numbers, de Rham cohomology and linking duals} \label{generallinking}
1176
+ We begin with a general discussion of integral formulas for linking numbers.
1177
+ Such formulas go back to the classical Gauss-Amp\`ere formula for $R^3$, see \cite{F}, p.79-81, and \cite{DG} for its generalization to $S^3$ and $H^3$.
1178
+ Suppose now that $c$ is a $1$-cycle in an oriented compact $3$-manifold M that is a rational boundary and $U$ is a tubular neighborhood of $c$.
1179
+ \begin{definition}
1180
+ We will say any closed form $\beta$ in $M-U$ is a {\it linking dual} (relative to $U$) of the bounding $1$-cycle $c$ if for any $1$-cycle $a$ in $M-U$
1181
+ which is a rational boundary in $M$ we have
1182
+ \begin{equation*} \label{linkingdualdef}
1183
+ \int_a \beta = \Lk(a,c).
1184
+ \end{equation*}
1185
+ \end{definition}
1186
+
1187
+
1188
+ We will prove that given a cycle $c$ that bounds rationally then linking duals for $c$ exist for all tubular neighborhoods $U$ of $c$. Let $\eta$ be a Thom form for $c$
1189
+ compactly supported in $U$. This means that $\eta$ is closed and has integral $1$ over any normal disk to $c$. Let $\eta_M$ be the extension of $\eta$ to $M$ by zero. It is standard in topology (the extension of the Thom class by zero is the Poincar\'e dual of the zero section of the normal bundle) that the form $\eta_M$ represents the $2$-dimensional cohomology class on $M$ which is Poincar\'e dual to $c$. Since $c$ is a rational boundary there exists a $1$-form $\beta$ on $M$ such that $d \beta = \eta_M$. We will now see that $\beta$ is a linking dual of $c$. To this end, suppose $a$ is a $1$-cycle in $M -U$ which is a rational boundary in $M$, hence there exists a rational
1190
+ chain $A$ with $\partial A = a$. We may suppose $\eta_M$ vanishes in a neighborhood $V$ of $a$ which is disjoint from $U$ . Then the restriction $\eta_{M-V}$ of $\eta_M$ to $M-V$ represents the (relative) Poincar\'e dual of the absolute cycle $c$ in $(M-V, \partial (M-V))$. Using this
1191
+ the reader will show that
1192
+ \begin{equation*} \label{firstequation}
1193
+ \int_A \eta_M = \int_{A \cap (M-V)} \eta_{M-V} = A \cdot c = \Lk(a,c).
1194
+ \end{equation*}
1195
+ Note that restriction of $\beta$ to $M-U$ is closed. Then
1196
+ \[
1197
+ \int_a \beta = \int_A \eta_M = \Lk(a,c).
1198
+ \]
1199
+ Hence we have
1200
+ \begin{proposition} \label{linkingdualprop}
1201
+ $\beta$ is a linking dual of $c$.
1202
+ \end{proposition}
1203
+
1204
+
1205
+ \subsection{The $1$-form $e^{2 \pi n} \tilde{\psi'}_{0,1}(n)$ is a linking dual of $(\partial C_n)_P$}
1206
+ We now return to the case in hand. In what follows, we drop subscript and superscript $P$'s since we are fixing a boundary component $e(P)$.
1207
+ We let $F_n$ be the union of the fibers containing components of $\partial C_n$, and we let $F_x$ be the fiber containing $c_x$. Recall that $c_x$ is the image of $D_x \cap e(P)$ in $e'(P)$.
1208
+
1209
+ \begin{theorem}\label{linking-dual}
1210
+ Let $n>0$. The $1$-form $e^{2 \pi n} \tilde{\psi'}_{0,1}(n)$ is a linking dual for $\partial C_n$ in $e'(P)$ relative to any neighborhood
1211
+ $U$ of $F_n$. Hence, for $c$ a rational $1$-boundary in $e'(P)$ which is disjoint from $F_n$ we have
1212
+ \begin{equation}\label{Linkingdualintegral}
1213
+ \int_c \tilde{\psi'}_{0,1}(n) = \Lk(\partial C_n,c) e^{- 2 \pi n}.
1214
+ \end{equation}
1215
+ Furthermore, \eqref{Linkingdualintegral} holds when $c=c_y$ contained in one fiber $F_x$ of $\partial C_n$.
1216
+ \end{theorem}
1217
+
1218
+ We will first deal with the case in which $c$ is disjoint from $F_n$ (which we will refer to in what follows as case (i)), then at the end of this section we will reduce the case in which $c=c_y$ (which we will refer to as case (ii)) to case (i) by a Stokes' Theorem argument.
1219
+ Thus we will now assume we are in case (i).
1220
+
1221
+
1222
+ The key step is
1223
+
1224
+ \begin{proposition}\label{finalintegral}
1225
+ Let $n>0$ and let $\eta$ be an exact $2$-form in $e'(P)$ which is compactly supported in the complement of $F_n$. Then
1226
+ \begin{equation}\label{integraletapsi}
1227
+ \int_{e'(P)} \eta \wedge \tilde{\psi'}_{0,1}(n) = \left(\int_{A_n} \eta\right) e^{ - 2 \pi n}.
1228
+ \end{equation}
1229
+ \end{proposition}
1230
+ \begin{remark}\label{youwillneedthis}
1231
+ Note that \eqref{integraletapsi} also holds in case $\eta =\Omega_P$. In this case the right-hand side is zero by the normalization of the cap $A_n$ and the left-hand side is zero because $\Omega \wedge \tilde{\psi'}_{0,1}(n) =0$ since $\Omega$ has bidegree $(0,2)$
1232
+ and $\tilde{\psi'}_{0,1}(n)$ has bidegree $(0,1)$ (here we use the obvious base/fiber bigrading on the de Rham algebra of $e'(P)$).
1233
+ \end{remark}
1234
+
1235
+ \subsection{Proof of Proposition~\ref{finalintegral}}\label{8.2}
1236
+
1237
+
1238
+ \begin{lemma}\label{LemmaA}
1239
+ Under the hypothesis on $\eta$ in Proposition~\ref{finalintegral} we have
1240
+
1241
+
1242
+ \begin{proof}
1243
+ We use Lemma~\ref{LemmaB}. Write $\eta = d \omega$ for some $1$-form $\omega$ which by the support condition on $\eta$ is closed in $F_n$. Since $c_{x+ku}$ and $c_x$ are parallel hence homologous circles in $F_x$, we see $\int_{a_{x+ku}} \eta = \int_{c_{x+ku}} \omega = \int_{c_x} \omega = \int_{a_x} \eta$.
1244
+ \end{proof}
1245
+
1246
+
1247
+ Since
1248
+ \[
1249
+ \tilde{\psi'}_{0,1}(n) = \sum_{ \substack{x\in \G_M \back \mathcal{L}_W \\ (x,x)=2n}} \sum_{ \g \in \G_M} \g^{\ast} \tilde{\psi'}_{0,1}(x),
1250
+ \]
1251
+ Proposition~\ref{finalintegral} will now follow from
1252
+
1253
+ \begin{proposition}
1254
+ Under the hypothesis on $\eta$ in Proposition~\ref{finalintegral}, we have for any positive length vector $x \in \calL_W$
1255
+
1256
+
1257
+ \end{proposition}
1258
+
1259
+
1260
+ \begin{proof}
1261
+ By choosing appropriate coordinates we can assume that $x = \mu e_2$ with $\mu = \pm \sqrt{2n}$, so that the singularity of $\sum_{ \g \in \G_M} \g^{\ast} \tilde{\psi'}_{0,1}(x)$ in $e'(P)$ occurs at $s=0$.
1262
+ We pick a tubular neighborhood $U_\eps= (-\eps,\eps) \times T^2$ in $e'(P)$ around $F_x$. Then we have first
1263
+ \[
1264
+ \int_{e'(P)} \eta \wedge \sum_{ \g \in \G_M} \g^{\ast} \tilde{\psi'}_{0,1}^P(x)=
1265
+ \lim_{\epsilon \to 0} \int_{e'(P) - U_{\eps}} \eta \wedge \sum_{ \g \in \G_M} \g^{\ast}\tilde{\psi'}_{0,1}^P(x).
1266
+ \]
1267
+ Since $\eta \wedge \tilde{\psi'}_{0,1}(x) = d(\omega \wedge \tilde{\psi'}_{0,1}(x))$ outside $U_{\eps}$ and $\partial (e'(P) - U_{\eps}) =
1268
+ - \partial U_{\eps}$ we see by Stokes' theorem
1269
+ \begin{align}\label{calcAA1}
1270
+ &\int_{e'(P) - U_{\eps}} \eta \wedge \sum_{ \g \in \G_M} \g^{\ast} \tilde{\psi'}_{0,1}(x)
1271
+ = - \int_{\partial U_{\eps}} \omega \wedge \sum_{ \g \in \G_M} \g^{\ast}\tilde{\psi'}_{0,1}(x) \\
1272
+ & \quad = \sum_{ \g \in \G_M} \int_{T^2} \left[\omega(-\eps,w) \wedge \tilde{{\psi'}_{0,1}}(\g^{-1}x,-\epsilon,w) -
1273
+ \omega(\eps,w) \wedge \tilde{\psi'}_{0,1}(\g^{-1} x,\epsilon,w) \right]. \notag
1274
+ \end{align}
1275
+ For $\g \ne 1$ we note that $\omega(s,w) \wedge \tilde{\psi'}_{0,1}(\g^{-1}x,s,w)$ is continuous at $s=0$, while for $\g=1$, we have
1276
+ \begin{equation}\label{psi'formula}
1277
+ \tilde{\psi'}_{0,1}(\mu e_2,s,w) = \frac12|\mu| (\sgn(s)dw_2-dw_3) e^{- \pi \mu^2}.
1278
+ \end{equation}
1279
+ Hence taking the limit in the last term of \eqref{calcAA1} we obtain
1280
+ \[
1281
+ |\mu| e^{- \pi \mu^2}\int_{T^2} \omega_3(0,w) dw_2dw_3 = |\mu| e^{- \pi \mu^2}\int_{T^2/ c_{e_2}} \left( \int_{c_{e_2}} \omega(0,w_2,w_3) \right) dw_2.
1282
+ \]In the expression $T^2/ c_{e_2}$ (and for the rest of this proof) we have abused notation and identified the cycle $c_{e_2}$ with the subgroup $0 \times S^1$ of $T^2$.
1283
+
1284
+ Here $\omega_3$ is the $dw_3$ component of $\omega$ and we used that $\partial D_{x}$ is the $w_3$-line in $W$. Note that the inner integral on the right is the period
1285
+ of $\omega$ over (homologous) horizontal translates of the cycle $c_{e_2}$. But the restriction of $\omega$ to $F_x$ is closed so $\int_{c_{e_2}} \omega(0,w_2,w_3)$ is independent of $w_2$ and the last integral becomes
1286
+ $\left( \int_{T^2/ c_{e_2}} dw_2 \right)\left( \int_{c_{e_2}} \omega \right)e^{- \pi \mu^2}$.
1287
+ But $\int_{c_{e_2}} \omega = \int_{A_{e_2}} \eta$. The proposition is then a consequence of
1288
+
1289
+
1290
+ which follows from the fact that the map $W \to R$ given by $w \mapsto (w,e_2)$ induces an isomorphism $T^2/ \partial C_{e_2} \simeq R / (\min_{\la \in \Lambda_W}'|(\la,e_2)|)\Z$.
1291
+
1292
+ \end{proof}
1293
+
1294
+ \subsection{Proof of Theorem~\ref{linking-dual}}\label{W-currents}
1295
+
1296
+ We now prove Theorem~\ref{linking-dual}. First we will assume that we are in case(i). We need to show
1297
+ \[
1298
+ \int_c \tilde{\psi'}_{0,1}(n) = \Lk(\partial C_n,c) e^{-2\pi n} = (A_n \cdot c) e^{-2\pi n}.
1299
+ \]
1300
+ The theorem will be a consequence of the following discussion.
1301
+ We may assume that $c$ is an embedded loop in $e'(P)$ (note that since any loop in a manifold of dimension $3$ or more is homotopic to an embedded loop by transversality any homology class of degree $1$ in $e'(P)$ is represented by an embedded loop).
1302
+
1303
+ Choose a tubular neighborhood $N(c)$ of $c$ such that $N(c)$ is disjoint from $F_n$. Let $\eta_c$ be a closed $2$-form which is supported inside $N(c)$ and has integral $1$ on the disk fibers of $N(c)$ (a Thom class for the normal disk bundle $N(c)$).
1304
+ Then we have proved in Subsection \ref{generallinking}
1305
+
1306
+ \begin{lemma}\label{integrallink}
1307
+ \begin{equation} \label{secondformula}
1308
+ \int_{A_n} \eta_c= A_n \cdot c= \Lk(\partial C_n, c).
1309
+ \end{equation}
1310
+ \end{lemma}
1311
+
1312
+
1313
+ We then have
1314
+
1315
+ \begin{lemma} \label{laststep}
1316
+ \begin{equation*} \label{fifthformula}
1317
+ \int_c \tilde{\psi'}_{0,1}(n) = \left(\int_{A_n} \eta_c\right) e^{- 2\pi n}.
1318
+ \end{equation*}
1319
+ \end{lemma}
1320
+
1321
+ \begin{proof}
1322
+ To prove the Lemma we compute $\int_{e'(P)} \eta_c \wedge \tilde{\psi'}_{0,1}(n)= \int_{e'(P)} \tilde{\psi'}_{0,1}(n) \wedge \eta_c$ in two different ways. First we apply Proposition \ref{finalintegral} with $\eta = \eta_c$. We deduce
1323
+ \begin{equation*}\label{thirdformula}
1324
+ \int_{e'(P)}\eta_c \wedge \tilde{\psi'}_{0,1}(n) = \left(\int_{A_n} \eta_c\right) e^{-2 \pi n}.
1325
+ \end{equation*}
1326
+ Next choose a tubular neighborhood $V_n$ of the fibers $F_n$ such that $e'(P) - V_n$
1327
+ contains $N(c)$. Then $\tilde{\psi'}_{0,1}(n)$ is smooth on $e'(P) - V_n \supset \supp (\eta_c)$. Also, since $\eta_c$ is the extension of a Thom class by zero, the restriction of $\eta_c$ to $e'(P) - V_n$ represents the Poincar\'e dual $PD(c)$ of the absolute cycle $c$ in
1328
+ $e'(P) -V_n$. The lemma now follows from
1329
+ \begin{equation*}
1330
+ \int_{e'(P)} \tilde{\psi'}_{0,1}(n) \wedge \eta_c = \int_{e'(P)- V_n} \tilde{\psi'}_{0,1}(n) \wedge \eta_c = \int_{e'(P)- V_n} \tilde{\psi'}_{0,1}(n) \wedge PD(c)
1331
+ = \int_{c} \tilde{\psi'}_{0,1}(n).
1332
+ \end{equation*}
1333
+ \end{proof}
1334
+
1335
+ By Lemma \ref{integrallink} this concludes the proof of Theorem~\ref{linking-dual} in the case when $c$ is disjoint from the fibers $F_n$.
1336
+
1337
+
1338
+ It remains to treat case (ii).
1339
+ Thus we now assume that $c=c_y$ which is contained in a fiber $F_x$ containing a component of $\partial C_n$. We first prove
1340
+ \begin{lemma}\label{selflinkingforx}
1341
+ \[
1342
+ \int_{c} \widetilde{\psi}'_{0,1}(x) =
1343
+ \int_{c(\epsilon)} \widetilde{\psi}'_{0,1}(x).
1344
+ \]
1345
+ \end{lemma}
1346
+ \begin{proof}
1347
+ We can take $x = \mu e_2$ and hence $c$ is contained in the fiber over the image of $e_3 \in W$. Hence, by Proposition \ref{boundaryofC}, $c $ is the circle in the torus fiber at $s(x )=0$ {\it in the $e_3$-direction}, i.e., parallel to the image of $(0,R e_3)$ in $e'(P)$. We note that by \eqref{psi'formula} even though $\widetilde{\psi}'_{0,1}(x)$ is not defined on the whole fiber over $s=0$ its restriction to $c$ is smooth. Hence the left hand side is well-defined since all the other terms in the sum are defined on the whole fiber and in fact in a neighborhood of that fiber. Hence the locally constant form $\sum_{\gamma \in \Gamma_M} \gamma^* \widetilde{\psi}'_{0,1}(x)$ is closed on the cylinder $[0, \epsilon] \times c $, and its integrals over the circles $s \times c $ all coincide. But $ \eps \times c = c(\epsilon)$. The lemma follows.
1348
+ \end{proof}
1349
+ Summing over $x$ and using case (i) we obtain
1350
+ \[
1351
+ \int_{c} \widetilde{\psi}'_{0,1}(n) =\int_{c(\epsilon)} \widetilde{\psi}'_{0,1}(n) = \Lk(\partial C_n ,c(\epsilon)),
1352
+ \]
1353
+ since $c(\epsilon)$ is disjoint from all the components of $F_n$. Thus it suffices to prove
1354
+ \begin{equation}\label{lastlinkingstep}
1355
+ \Lk(\partial C_n, c) = \Lk(\partial C_n, c(\epsilon)).
1356
+ \end{equation}
1357
+ To this end suppose that $c \subset F_x \subset F_n$ and $c_1,\cdots,c_k$ are the components of $\partial C_n$ contained in $F_x$. Hence
1358
+ $c$ and $c_i,1 \leq i \leq k$, are all parallel. Since the fibers containing all other components of $\partial C_n$ are disjoint from $c$, \eqref{lastlinkingstep} will follow from
1359
+ \[
1360
+ \Lk(c_i,c) = \Lk(c_i, c(\epsilon)), 1 \leq i \leq k.
1361
+ \]
1362
+ If $c_i = c$ then the previous equation is the definition of $Lk(c,c)$. Thus we may assume $c_i$ is parallel to and disjoint from $c$.
1363
+ In this case their linking number is already topologically defined.
1364
+ But since $c$ is disjoint from $c_i$ the circles $c$ and $c(\eps)$ are homologous in the complement of $c_i$ (by the product homology $c \times [0,\eps]$) and since the linking number with $c_i$ is a homological invariant of the complement of $c_i$ in $e'(P)$ we have
1365
+ $\Lk(c_i, c(\eps)) =\ Lk(c_i, c)$.
1366
+
1367
+ We this Theorem~\ref{linking-dual} is proved.
1368
+
1369
+
1370
+
1371
+
1372
+
1373
+
1374
+
1375
+
1376
+
1377
+ \section{The generating series of the capped cycles}
1378
+
1379
+ In this section, we show that the generating series of the `capped' cycles $C_n^c$ gives rise to a modular form, extending Theorem~\ref{KM90} to a lift of the full cohomology $H^2(X)$ of $X$. In particular, we give our new proof of the theorem of Hirzebruch and Zagier and show how a remarkable feature of their proof appears from our point of view.
1380
+
1381
+
1382
+ \subsection{The theta series associated to $\varphi_2$}
1383
+
1384
+ We define the theta series
1385
+ \[
1386
+ \theta_{\varphi_2}(\tau,\calL) = \sum_{x \in \calL} \varphi_2(x,\tau,z).
1387
+ \]
1388
+ In the following we will often drop the argument $\calL = L+h$. For $n \in \Q$, we also set
1389
+ \[
1390
+ \varphi_2(n) = \sum_{n \in \calL_n, x \ne0} \varphi_2(x).
1391
+ \]
1392
+ Clearly, $\theta_{\varphi_2}(\tau,\calL)$ and $\varphi_2(n)$ descend to closed differential $2$-forms on $X$. Furthermore, $\theta_{\varphi_2}(\tau,\calL)$ is a non-holomorphic modular form in $\tau$ of weight $2$ for the principal congruence subgroup $\G(N)$. In fact, for $\mathcal{L} = L$ as in Example~\ref{HZex}, $\theta_{\varphi_2}(\tau,\calL)$ transforms like a form for $\G_0(d)$ of nebentypus.
1393
+
1394
+ \begin{theorem}[Kudla-Millson \cite{KM90}]\label{KM90}
1395
+ We have
1396
+ \[
1397
+ [\theta_{\varphi_2}(\tau)] = -\frac{1}{2\pi}\delta_{h0} [\omega] + \sum_{n>0} \PD[C_n] q^n \in H^2(X,\Q) \otimes M_2(\G(N)).
1398
+ \]
1399
+ That is, for any closed $2$-form $\eta$ on $X$ with compact support,
1400
+ \[
1401
+ \Lambda(\eta,\tau) := \int_X \eta \wedge \theta_{\varphi_2}(\tau,\calL)= -\frac{1}{2\pi}\delta_{h0} \int_X \eta \wedge \omega + \sum_{n>0} \left( \int_{C_n} \eta \right)q^n.
1402
+ \]
1403
+ Here $\delta_{h0}$ is Kronecker delta, and $\omega$ is the K{\"a}hler form on $D$ normalized such that its restriction to the base point is given by $\omega_{13}\wedge \omega_{14}+\omega_{23}\wedge \omega_{24}$.
1404
+ We obtain a map
1405
+ \begin{equation}
1406
+ \Lambda: H_c^{2}(X,\C) \to M_{2}(\G(N))
1407
+ \end{equation}
1408
+ from the cohomology with compact supports to the space of holomorphic modular forms of weight $2$ for the principal congruence subgroup $\G(N) \subset SL_2(\Z)$. Alternatively, for $C$ an absolute $2$-cycle in $X$ defining a class in $H_2(X,\Z)$, the lift $\Lambda(C,\tau)$ is given by \eqref{KM-id} with $C_0$ the class given by $-\frac{1}{2\pi}\delta_{h0} [\omega]$.
1409
+ \end{theorem}
1410
+
1411
+
1412
+ The key fact for the proof of the Fourier expansion is that for $n>0$, the form $\varphi_2(n)$ is a Poincar\'e dual form of $C_n$, while $\varphi_2(n)$ is exact for $n \leq 0$, see also Section~\ref{currents}.
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+
1420
+
1421
+ \subsection{The restrictions of the global theta functions}
1422
+
1423
+
1424
+ \begin{theorem}\label{restriction}
1425
+
1426
+ The differential forms $\theta_{\varphi_2}(\calL_V)$ and $\theta_{\psi_1}(\calL_V)$ on $X$ extend to the Borel-Serre compactification $\overline{X}$. More precisely, for the restriction $i_P^{\ast}$ to the boundary face $e'(P)$ of $\overline{X}$, we have
1427
+ \[
1428
+ i_P^{\ast} \theta_{\varphi_2}(\calL_V) = \theta^P_{\varphi_{1,1}}(\calL_{W_P}) \qquad \text{and} \qquad i_P^{\ast} \theta_{\psi_1}(\calL_V) = \theta^P_{\psi_{0,1}}(\calL_{W_P}).
1429
+ \]
1430
+ \end{theorem}
1431
+
1432
+ \begin{proof}
1433
+ The restriction of $\theta_{\varphi_2}(\calL_V)$ is the theme (in much greater generality) of \cite{FMres}. For $\theta_{\psi_1}(\calL_V)$ one proceeds in the same way. In short, one detects the boundary behaviour of the theta functions by switching to a mixed model of the Weil representation. For a model calculation see the proof of Theorem~\ref{psitilderes} below.
1434
+ \begin{comment}
1435
+ We assume for simplicity that $L = \Z u + L_W + \Z u'$ and that $h=0$. We first note that it suffices to consider the limit $t \to \infty$ for $z=z(t,0,0)$. We have for the Gaussian $\varphi_0(x,z) = \exp\left(-\pi[ t^{-2}y_1^2+ 2q(x')+t^2y_1'^2]\right)$ with $x = y_1u+x'+y_1'u' \in V$, where $x' \in W$. Hence when taking the limit $t \to \infty$ all components of $\theta(\tau,\psi_1^V,\calL_V)$ vanish unless $y'=0$. We can also ignore the summation over $L_W$ for the moment, since it is unaffected by $t$. One then applies Poisson summation on the sum over $y_1$ to apply the result.
1436
+ Hence it suffices to consider for fixed $x' \in W$ the sum
1437
+ \begin{align*}
1438
+ \sum_{k \in \Z} \psi(ku+x',z(t,s,w)) & =
1439
+ \sum_{k \in \Z} -\frac12t^{-1}k(x,x(s)) \exp\left(-\pi[ t^{-2}k^2+ 2q(x')]\right) \frac{dt}{t} \\
1440
+ & + \sum_{k \in \Z} \frac12t^{-2}k^2\exp\left(-\pi[ t^{-2}k^2+ 2q(x')]\right) \frac{1}{\sqrt{2}} \frac{dw_3}{ts?} \\
1441
+ &+ \sum_{k \in \Z} -(x,x'(s))(x,x(s)) \exp\left(-\pi[ t^{-2}k^2+ 2q(x')]\right) \frac{1}{\sqrt{2}} \frac{dw_2}{ts?} \\
1442
+ & + \sum_{k \in \Z} -\frac12t^{-1}k(x,x'(s) \exp\left(-\pi[ t^{-2}k^2+ 2q(x')]\right) {ds}.
1443
+ \end{align*}
1444
+ Applying Poisson summation then yields
1445
+ \begin{align*}
1446
+ \sum_{k \in \Z} \psi(ku+x',z(t,s,w)) & =
1447
+ \sum_{k \in \Z} -\frac12tk(x,x(s)) \exp\left(-\pi[ t^{2}k^2+ 2q(x')]\right) {dt} \\
1448
+ & + \sum_{k \in \Z} \frac12(2t^{2}k^2-\frac1{\pi}) \exp\left(-\pi[ t^{2}k^2+ 2q(x')]\right) \frac{1}{\sqrt{2}} \frac{dw_3}{s?} \\
1449
+ &+ \sum_{k \in \Z} -(x,x'(s))(x,x(s)) \exp\left(-\pi[ t^{2}k^2+ 2q(x')]\right) \frac{1}{\sqrt{2}} \frac{dw_2}{s?} \\
1450
+ & + \sum_{k \in \Z} -\frac12t^2k(x,x'(s)) \exp\left(-\pi[ t^{2}k^2+ 2q(x')]\right) {ds}.
1451
+ \end{align*}
1452
+ Now taking the limit $t \to \infty$ gives the claim. {\bf CHECK THE SIGN!}
1453
+ \end{comment}
1454
+ \end{proof}
1455
+
1456
+ We conclude by Proposition~\ref{globalholomorphic2}
1457
+
1458
+ \begin{theorem}\label{globalexact}
1459
+
1460
+ The restriction of $\theta_{\varphi_2}(\calL_V)$ to the boundary of $\overline{X}$ is exact and
1461
+ \[
1462
+ i_P^{\ast} \theta_{\varphi_2}( \calL_V) = d\left( \theta^P_{\phi_{0,1}}(\calL_{W_P}) \right).
1463
+ \]
1464
+ \end{theorem}
1465
+
1466
+ We also have a crucial restriction result for the singular form ${ \tilde{\psi}_{0,1}}$. However, one needs to be careful in forming the naive theta series associated to $\tilde{\psi}_{0,1}$ by summing over all (non-zero) lattice elements. This would give a form on $X$ with singularities on a dense subset of $X$. Instead we define $\tilde{\psi}_{{2,0}}(n)$ in the same way as for $\varphi_2(n)$ by summing over all non-zero $x \in \calL_V$ of length $n \in \Q$. This gives a $1$-form on $X$ which for $n>0$ has singularities along the locally finite cycle $C_n$. Similarly, we define
1467
+ \[
1468
+ \tilde{\psi}_{0,1}^P(n)= \sum_{\substack{x \in \calL_{W_P}, (x,x)=2n}} \tilde{\psi}_{0,1}^P(x),
1469
+ \]
1470
+ \vskip-.2cm
1471
+ \noindent
1472
+ which descends to a $1$-form on $e'(P)$ with singularities. We also define $\tilde{\psi'}_{0,1}(n)$
1473
+ and $\phi_{0,1}^P(n)$ in the same way. We have
1474
+
1475
+ \begin{proposition}\label{psitilderes}
1476
+ The restriction of the $1$-form $\tilde{\psi}_{{1}}(n)$ to $e'(P)$ is given by
1477
+ \[
1478
+ i_P^{\ast} \tilde{\psi}_1(n) = \tilde{\psi}_{0,1}^P(n).
1479
+ \]
1480
+ \end{proposition}
1481
+
1482
+ \begin{proof}
1483
+ We assume that $P$ is the stabilizer of the isotropic line $\ell=\Q u$. For $x = au + x_W + bu'$, we have for the majorant at $z=(w,t,s)$ the formula
1484
+ \[
1485
+ (x,x)_z = \frac1{t^2}(a-(x_W,w)-bq(w))^2 + (x_w+bw,x_w+bw)_s +b^2t^2.
1486
+ \]
1487
+ Here $(\,,\,)_s$ is the majorant associated to $W$. Hence by \eqref{GreeneqV} and \eqref{psi20} we see that the sum of all $x \in \calL_V$ with $b \ne 0$ in $\tilde{\psi}_1(n)$ is uniformly rapidly decreasing as $t \to \infty$. Now fix an element $x_W \in \calL_W$. Then $x_W +(a+h)u \in \calL_V$ for all $a \in \Z$ for some $h \in \Q/\Z$; in fact all elements in $\calL_V \cap u^{\perp}$ are of this form. We consider $\sum_{a \in \Z} \tilde{\psi}_1(x_W +(a+h)u,z)$ as $t \to \infty$. By considerations as in \cite{FMres}, sections 4 and 9, we can assume $w=0$ and $s=0$. We apply Poisson summation for the sum on $a \in \Z$ and obtain
1488
+ \begin{align*}
1489
+ \sum_{a \in \Z} \tilde{\psi}_1(x_W +au,z) = \sum_{k \in \Z} \left( \int_{1}^{\infty} P(x,t,r) e^{-2\pi x_3^2r +t^2k^2/r} \frac{dr}{r} \right) e^{-2\pi i k h} e^{-\pi (x_W,x_W)},
1490
+ \end{align*}
1491
+ where
1492
+ \[
1493
+ P(x,t,r) = \frac{x_2x_3\sqrt{r}}{\sqrt{2}} dw_2 + \frac{1}{2\sqrt{2}}\left(\frac1{2\pi}-\frac{t^2k^2}{r}\right)dw_3 - \frac{i x_3 k}{\sqrt{2}}dt + \frac{i x_2kt}{\sqrt{2}} ds.\]
1494
+ Now the sum over all $k \ne 0$ is rapidly decreasing while for $k=0$ we obtain $\tilde{\psi}_{0,1}(x_W)$. If $x_W=0$, i.e., for $n=0$ one needs to argue slightly differently. Then we have
1495
+ \[
1496
+ \sum_{a \ne 0} \tilde{\psi}_1(au,z) = \frac{1}{2\sqrt{2}\pi} \sum_{a \ne 0} e^{-\pi a^2/t^2} \frac{dw_3}{t} = \frac{1}{2\sqrt{2}\pi} \left(\sum_{k \in \Z} e^{-\pi t^2k^2} \right) dw_3 - \frac{1}{2\sqrt{2}\pi} \frac{dw_3}{t},
1497
+ \]
1498
+ which goes to $ \tfrac{1}{2\sqrt{2}\pi} dw_3 = \tilde{\psi}_{0,1}(0)$.
1499
+ This proves the proposition.
1500
+ \end{proof}
1501
+
1502
+
1503
+
1504
+
1505
+ \subsection{Main result}
1506
+
1507
+ In the previous sections, we constructed a closed $2$-form $\theta_{\varphi_2}$ on $\overline{X}$ such
1508
+ that the restriction of $\theta_{\varphi_2}$ to the boundary $\partial \overline{X}$ was exact with
1509
+ primitive $ \sum_{[\underline{P}]} \theta^P_{\phi_{0,1}}$. From now on we usually write $\varphi$ for $\varphi_2$ and $\phi$ for $\phi_{0,1}$ if it does not cause any confusion. By the definition of the differential for the mapping cone complex $C^{\bullet}$ we immediately obtain by Theorem~\ref{restriction} and Theorem~\ref{globalexact}
1510
+
1511
+ \begin{proposition}
1512
+ The pair $(\theta_{\varphi_2}(\calL_V), \sum_{[P]} \theta^P_{\phi_{0,1}}(\calL_{W_P}))$ is a $2$-cocycle in $C^{\bullet}$.
1513
+ \end{proposition}
1514
+
1515
+ We write for short $(\theta_{\varphi},\theta_{\phi})$. We obtain a class $[[\theta_{\varphi},\theta_{\phi}]]$ in $H^2(C^{\bullet})$ and hence a class $[\theta_{\varphi},\theta_{\phi}]$ in $H^2_c(X)$. The pairing with $[\theta_{\varphi}, \theta_{\phi}]$ then defines a lift $\Lambda^c$ on differential $2$-forms on $\overline{X}$, which factors through $H^2(\overline{X}) = H^2(X)$. By Lemma~\ref{integralformula} it is given by
1516
+ \[
1517
+ \Lambda^c(\eta,\tau) = \int_{\overline{X}} \eta \wedge \theta_{\varphi_2} - \sum_{[P]} \int_{e'(P)} i^*\eta \wedge \theta^P_{\phi_{0,1}}.
1518
+ \]
1519
+
1520
+ \begin{theorem}\label{La^c-hol}
1521
+ The class $[[\theta_{\varphi}, \theta_{\phi}]]$ is holomorphic, that is,
1522
+ \[
1523
+ L\left(\theta_{\varphi}, \theta_{\phi}\right) = d(\theta_{\psi_1},0).
1524
+ \]
1525
+ Hence $[\theta_{\varphi}, \theta_{\phi}]$ is a holomorphic modular form with values in the compactly supported cohomology of $X$, so that the lift $\Lambda^c$ takes values in the holomorphic modular forms.
1526
+ \end{theorem}
1527
+ \begin{proof}
1528
+ By Theorem~\ref{restriction} and Theorem~\ref{globalholomorphic2} we calculate
1529
+ \[
1530
+ d(\theta_{\psi_1},0) = (d\theta_{\psi_1}, i^{\ast} \theta_{\psi_1}) = \left(L \theta_{\varphi_2}, \sum_{[P]}\theta^P_{\psi_{0,1}}\right) =L\left(\theta_{\varphi_2}, \sum_{[P]} \theta^P_{\phi_{0,1}}\right). \qedhere
1531
+ \]
1532
+ \end{proof}
1533
+
1534
+ It remains to compute the Fourier expansion in $\tau$ of $[\theta_{\varphi}, \theta_{\phi}](\tau)$. We will carry this out in Section~\ref{currents}.
1535
+
1536
+ \begin{theorem}\label{FM-main-th}
1537
+ We have
1538
+ \[
1539
+ [\theta_{\varphi}, \theta_{\phi}](\tau) = -\frac{1}{2\pi}\delta_{h0} [\omega] + \sum_{n>0} \PD[C^c_n] q^n \in H_c^2(X,\Q) \otimes M_2(\G(N)).
1540
+ \]
1541
+ That is, for any closed $2$-form $\eta$ on $\overline{X}$
1542
+ \[
1543
+ \Lambda^c(\eta,\tau) = -\frac{1}{2\pi}\delta_{h0} \int_X \eta \wedge \omega + \sum_{n>0} \left( \int_{C^c_n} \eta \right)q^n,
1544
+ \]
1545
+ In particular, the map takes values in the holomorphic modular forms and factors through cohomology. We obtain a map
1546
+ \begin{equation}
1547
+ \Lambda^c: H^{2}(X) \to M_{2}(\G(N))
1548
+ \end{equation}
1549
+ from the cohomology with compact supports to the space of holomorphic modular forms of weight $2$ for the principal congruence subgroup $\G(N) \subseteq SL_2(\Z)$.
1550
+ Alternatively, for $C$ any relative $2$-cycle in $X$ defining a class in $H_2(\overline{X},\partial \overline{X},\Z)$, we have
1551
+ \[
1552
+ \Lambda^c(C,\tau) = -\frac{1}{2\pi}\delta_{h0} \vol(C) + \sum_{n>0} ( C^c_n \cdot C ) q^n \in M_2(\G(N)).
1553
+ \]
1554
+ \end{theorem}
1555
+
1556
+ \begin{remark}
1557
+ In the theorem we now consider the K\"ahler form $\omega$ representing a class in the compactly supported cohomology. In fact, our mapping cone construction gives an explicit coboundary by which $\omega$ is modified to become rapidly decreasing.
1558
+ \end{remark}
1559
+
1560
+ \subsection{The Hirzebruch-Zagier Theorem}
1561
+
1562
+ We now view $[\theta_{\varphi}, \theta_{\phi}]$ as a class in $H^2(\tilde{X})$ via the map $j_{\#}: H_c^2(X) \to H^2(\tilde{X})$. We recover the Hirzebruch-Zagier-Theorem.
1563
+
1564
+ \begin{theorem}\label{HZTheorem}
1565
+ We have
1566
+ \[
1567
+ j_{\#}[\theta_{\varphi}, \theta_{\phi}](\tau) = -\frac{1}{2\pi}\delta_{h0} [\omega] + \sum_{n>0} [T^c_n] q^n \in H^2(\tilde{X},\Q) \otimes M_2(\G(N)).
1568
+ \]
1569
+ In particular,
1570
+ \[
1571
+ -\frac{1}{2\pi}\delta_{h0} \vol(T_m) + \sum_{n>0} (T_n^c \cdot T_m)_{\tilde{X}} q^n \in M_2(\G(N)).
1572
+ \]
1573
+ This is the result Hirzebruch-Zagier proved for certain Hilbert modular surfaces (Example~\ref{HZex}) by explicitly computing the intersection numbers $T_m \cdot T^c_n $.
1574
+ \end{theorem}
1575
+
1576
+ \begin{proof}
1577
+
1578
+ This follows from Theorem~\ref{FM-main-th} since $j_{\ast} C_n^c = T_n^c$ (Proposition~\ref{CnTn}), combined with the following general principle.
1579
+ Suppose $\omega$ is a compactly supported form on $X$ such that the cohomology class of $\omega$ is the Poincar\'e dual of the homology class of a cycle $C$: $[\omega] = \PD(C)$. Then we have $ j_{\#}[\omega] = \PD( j_* C)$.
1580
+ To see this we have only to replace $\omega$ by a cohomologous `Thom representative' of $\PD(C)$, namely a closed form $\tilde{\omega}$ supported in a tubular neighborhood $N(C)$ of $C$ in $X$ such that the integral of $\tilde{\omega}$ over any disk of $N(C)$ is one. Then it is a general fact from algebraic topology (extension by zero of a Thom class) that $\tilde{\omega}$ represents the Poincar\'e dual of $C$ in any manifold $M$ containing $N(C)$, in particular for $M = \tilde{X}$.
1581
+ \end{proof}
1582
+
1583
+
1584
+ \begin{remark}
1585
+ If one is only interested in recovering the statement of this theorem, then there is also a different way of deriving this from the Kudla-Millson theory. Namely, the lift $\Lambda$ on $H_2(X)$ (Theorem~\ref{KM90}) factors through the quotient of $H_2(X)$ by $H_2(\partial X)$ since the restriction of $\theta_{\varphi_2}$ is exact (Theorem~\ref{globalexact}). But by Proposition~\ref{intersectionhom} we have $j_{\ast} H_2(X) \simeq H_2(X)/ H_2(\partial X)$, and the Hirzebruch-Zagier result exactly stipulates the modularity of the lift of classes in $j_{\ast} H_2(X)$. However, in that way one misses the remarkable extra structure coming from $\partial X$ as we will explain in the next subsection.
1586
+ \end{remark}
1587
+
1588
+
1589
+ \subsection{The lift of special cycles}\label{special-lift-section}
1590
+
1591
+ We now consider the lift of a special cycle $C_y$. By Theorem~\ref{FM-main-th} and Lemma~\ref{integralformula} we see
1592
+ \begin{align}\label{special-lift}
1593
+ \La^c(C_y,\tau,\calL_V) &= -\frac{1}{2\pi}\delta_{h0} \vol(C_y) + \sum_{n>0} ( C^c_n \cdot C_y) q^n \\
1594
+ &= \int_{C_y} \theta_{\varphi_2}(\tau,\calL_V) - \sum_{[P]}\int_{(\partial C_y)_P} \theta^P_{\phi_{0,1}}(\tau,\calL_{W_P}). \notag
1595
+ \end{align}
1596
+
1597
+ The two terms on the right, the integrals over $C_y$ and ${\partial C_y}$, are both non-holomorphic modular forms (see below) whose difference is holomorphic (by Theorem~\ref{La^c-hol}). So the generating series series of $(C^c_n \cdot C_y)$ is the sum of two non-holomorphic modular forms. We now give geometric interpretations for the two individual non-holomorphic forms.
1598
+
1599
+ Following \cite{HZ} we define the {\it interior} intersection number of two special cycles by
1600
+ \[
1601
+ ( C_n \cdot C_y )_X = (C_n \cdot C_y )^{tr} + \vol(C_n \cap C_y),
1602
+ \]
1603
+ the sum of the transversal intersections and the volume of the $1$-dimensional (complex) intersection of $C_n$ and $C_y$ which occur if one of the components of $C_n$ is equal to $C_y$.
1604
+
1605
+ \begin{theorem}\label{interior-lift}
1606
+ We have
1607
+ \[
1608
+ \int_{C_y} \theta_{\varphi_2}(\tau,\calL_V) = -\frac{1}{2\pi}\delta_{h0} \vol(C_y) \:+\;
1609
+ \sum_{n=1}^{\infty} ( C_n \cdot C_y )_X q^n \; + \; \sum_{n \in \Q} \sum_{[P]} \int_{(\partial C_y)_{P}} {\tilde{\psi}_{0,1}^P}(n)(\tau).
1610
+ \]
1611
+ So the Fourier coefficients of the holomorphic part of the non-holomorphic modular form $\int_{C_y} \theta_{\varphi_2}$ are the interior intersection numbers of the cycles $C_y$ and $C_n$.
1612
+ \end{theorem}
1613
+
1614
+ \begin{proof}
1615
+ This is essentially \cite{FCompo}, section~5, where more generally $Orth(p,2)$ is considered.
1616
+ There the interpretation of the holomorphic Fourier coefficients as interior intersection number is given. (For more details of an analogous calculation see \cite{FMspec}, section~8). A little calculation using the formulas in \cite{FCompo} gives the non-holomorphic contribution. A more conceptual proof would use the relationship between $\varphi_2$ and $\tilde{\psi}_1$ (see Proposition~\ref{schluesselV} and Section~\ref{currents}) and the restriction formula for $\tilde{\psi}_1(n)$ (Theorem~\ref{psitilderes}).
1617
+ \end{proof}
1618
+
1619
+
1620
+
1621
+
1622
+ By slight abuse of notation we write $\Lk(C_n,C_y) = \sum_{[P]} \Lk((\partial C_n)_P, (\partial C_y)_P)$ for the total linking number of $\partial C_n$ and $\partial C_y$. Then by Theorem~\ref{xi'-integralP} we obtain
1623
+
1624
+ \begin{theorem}\label{xi'-integral}
1625
+ \[
1626
+ \sum_{[P]}\int_{(\partial C_y)_P} \theta^P_{\phi_{0,1}}(\tau,\calL_{W_P}) =
1627
+ \sum_{n>0} \Lk(C_n,C_y) q^n
1628
+ \; + \; \sum_{n \in \Q} \sum_{[P]} \int_{(\partial C_y)_{P}} {\tilde{\psi}_{0,1}^P}(n)(\tau).
1629
+ \]
1630
+ So the Fourier coefficients of the holomorphic part of $\int_{(\partial C_y)_P} \theta^P_{\phi}(\tau,\calL_{W_P})$ are the linking numbers of the cycles $\partial C_y$ and $ \partial C_n$ at the boundary component $e'(P)$.
1631
+ \end{theorem}
1632
+
1633
+ \begin{remark}
1634
+ There is also another ``global'' proof for Theorem~\ref{xi'-integral}. The cycle $C_y$ intersects $e'(P)$ transversally (when pushed inside) and hence also the cap $A_n$. From this it is not hard to see that we can split the intersection number $C_n^c \cdot C_y$ as
1635
+ \[
1636
+ C^c_n \cdot C_y = (C_n \cdot C_y)_X - \Lk(C_n,C_y).
1637
+ \]
1638
+ Hence Theorem~\ref{xi'-integral} also follows from combining \eqref{special-lift} and Theorem~\ref{interior-lift}.
1639
+ \end{remark}
1640
+
1641
+ Hirzebruch-Zagier also obtain the modularity of the functions given in Theorems~\ref{interior-lift} and \ref{xi'-integral}, but by quite different methods. In particular, they explicitly calculate the intersection number $T^c_n \cdot T_m$. They split the intersection number into the interior part $(T_n \cdot T_m)_X$ and a `boundary contribution' $(T_n \cdot T_m)_{\infty}$ given by
1642
+ \[
1643
+ (T_n \cdot T_m )_{\infty} = (T_n \cdot T_m)_{\tilde{X}-X} - ({T}_m-T_m^c) \cdot ({T}_n -T_n^c).
1644
+ \]
1645
+ Now by Theorem~\ref{HZTheorem} and its proof we have
1646
+ \[
1647
+ T^c_n \cdot T_m = C^c_n \cdot C_m.
1648
+ \]
1649
+ We have (per definition) $(T_n \cdot T_m)_X = (C_n \cdot C_m)_X$, so Theorem~\ref{interior-lift} gives the generating series for $(T_n \cdot T_m)_X$. Note that Theorem~5.4 in \cite{FCompo} also compares the explicit formulas in \cite{HZ} for $(T_n \cdot T_m)_X$ with the ones obtained via $\int_{C_y} \theta_{\varphi_2}(\tau,\calL_V)$. All this implies
1650
+ \[
1651
+ (T_n \cdot T_m)_{\infty} =\Lk( C_n \cdot C_m).
1652
+ \]
1653
+ Independently, we also obtain this from comparing the explicit formulas for the boundary contribution in \cite{HZ}, Section~1.4 with our formulas for the linking numbers, Theorem~\ref{LinkCnCm} and Example~\ref{LinkCnCmex}.
1654
+
1655
+
1656
+
1657
+
1658
+
1659
+ \section{A current approach for the special cycles}\label{currents}
1660
+
1661
+ In this section we prove Theorem~\ref{FM-main-th}, the crucial Fourier coefficient formula for our lift $\Lambda^c$. As a consequence of our approach we will also obtain Theorem~\ref{linking-dual}, the linking number interpretation for the lift at the boundary.
1662
+
1663
+ \subsection{A differential character for $C_n^c$}
1664
+
1665
+ The key step for the entire Kudla-Millson theory is that for $n>0$ the form $\varphi_2(n)$ is a Poincar\'e dual form for the cycle $C_n$, i.e.,
1666
+
1667
+ \begin{theorem}[\cite{KM2,KMCan}]
1668
+ Let $\eta$ be a closed rapidly decreasing $2$-form. Then
1669
+ \[
1670
+ \int_X \eta \wedge \varphi_2(n)= \left(\int_{C_n} \eta \right) e^{-2\pi n}.
1671
+ \]
1672
+ \end{theorem}
1673
+
1674
+ To show this they employ at some point a homotopy argument which requires $\eta$ to be rapidly decaying. Since we require $\eta$ to be any closed $2$-form on the compactification $\overline{X}$, their approach is not applicable in our case. Instead, we use a differential character argument for $\varphi_2$ which implicitly already occurred in \cite{BFDuke}, Section~7 for general signature $(p,q)$. Namely, we have
1675
+
1676
+ \begin{theorem} (\cite{BFDuke}, Section~7)\label{BrFu}
1677
+ Let $n>0$.
1678
+ The singular form $ \tilde{\psi}_1(n)$ is a differential character in the sense of Cheeger-Simons for the cycle $C_n$. More precisely, $\tilde{\psi}_1(n)$ is a locally integrable $1$-form on $X$, and for any compactly supported $2$-form $\eta$ we have
1679
+ \[
1680
+ \int_{X} \eta \wedge \varphi_2(n) = \left(\int_{C_n} \eta \right) e^{-2 \pi n} - \int_{X} d \eta\wedge \tilde{\psi}_1(n).
1681
+ \]
1682
+ \end{theorem}
1683
+
1684
+ \begin{proof}
1685
+ This is the content of the proofs of Theorem~7.1 and Theorem~7.2 in \cite{BFDuke}. There the analogous properties for a singular theta lift associated to $\psi$ is established. However, the proofs boil down to establish the claims for $\tilde{\psi}_1$. The form $\tilde{\psi}$ there is indeed the form $\tilde{\psi}_1$ of this paper.
1686
+ \end{proof}
1687
+
1688
+ \begin{remark}\label{Kudla-xi}
1689
+ The form $\tilde{\psi}_1$ is closely related to Kudla's Green function $\xi$ \cite{KAnn97,KBforms} (more generally for $Orth(p,2)$) which is given by
1690
+ \[
1691
+ \xi(x) = \left( \int_1^{\infty} \varphi_0^0(\sqrt{r}x) \frac{dr}{r} \right) e^{- \pi (x,x) }.
1692
+ \]
1693
+ Then $\Xi(n) = \sum_{x\in\calL_n} \xi(x)$ gives rise to a Green's function for the divisor $C_n$ and moreover $dd^c \xi = \varphi_2$. Here $d^c = \tfrac{1}{4\pi i}(\partial - \overline{\partial})$. This suggests $d^c \xi = \tilde{\psi}_1$, which indeed follows from $d^c \varphi_0 = -\psi_1$, see \cite{BFDuke}, Remark~4.5.
1694
+ \end{remark}
1695
+
1696
+ For $n \in \Q$ we define
1697
+ \[
1698
+ \varphi_2^c(n) := \varphi_2(n) - \sum_{[P]} d(f \pi^{\ast} \phi^P_{0,1}(n))
1699
+ \]
1700
+ and follow the current approach to show that for $n>0$ the form $\varphi_2^c(n)$
1701
+ is a Poincar\'e dual form for the cycle $C_n^c$. Here we follow the notation of subsection~\ref{mappingconesection}. That is, $\pi^{\ast} \phi^P_{0,1}(n)$ is the pullback to a product neighborhood $V$ of $\partial \overline{X}$, and $f$ is a smooth function on $V$ of the geodesic flow coordinate $t$ which is $1$ near $t=\infty$ and zero else. Note that $\varphi_2^c(n)$ is exactly the $n$-th Fourier coefficient of the mapping cone element $[\theta_{\varphi},\theta_{\phi}]$, when realized as a rapidly decreasing form on $X$. We also define
1702
+ \[
1703
+ \tilde{\psi}_1^c(n) = \tilde{\psi}_1(n) - f \pi^{\ast} \phi^P_{0,1}(n).
1704
+ \]
1705
+ We call a differential form $\eta$ on $\overline{X}$ special if in a neighborhood of each boundary component $e'(P)$ it is the pullback of a form $\eta_P$ on $e'(P)$ under the geodesic retraction and if the pullback of the form $\eta_P$ to the universal cover $e(P)$ is $N$-left-invariant. The significance of the forms lies in the fact that the complex of special forms also computes the cohomology of $\overline{X}$. Note that the proof of Theorem~\ref{restriction} shows that $\theta_{\varphi_2}$ is `almost' special; it only differs from a special form by a rapidly decreasing form.
1706
+
1707
+
1708
+
1709
+
1710
+ \begin{theorem}\label{newcurrenteq}
1711
+ Let $n>0$. The form $ \tilde{\psi}_1^c(n)$ is a differential character for the cycle $C^c_n$. More precisely, $\tilde{\psi}_1^c(n)$ is a locally integrable $1$-form on $X$ and satisfies the following current equation on special $2$ forms on $\overline{X}$:
1712
+ \[
1713
+ d[\tilde{\psi}_1^c(n)] + \delta_{C_n} e^{-2\pi n} = [\varphi_2^c(n)].
1714
+ \]
1715
+ That is, for any special $2$-form $\eta$ on $\overline{X}$ we have
1716
+ \[
1717
+ \int_{X} \eta \wedge \varphi^c_{2}(n) = \left(\int_{C^c_n} \eta \right) e^{-2 \pi n} - \int_{X} d\eta \wedge \tilde{\psi}^c_{2}(n).
1718
+ \]
1719
+ \end{theorem}
1720
+
1721
+ This implies Theorem~\ref{FM-main-th} for the positive Fourier coefficients. For $n\leq 0$, the form $\varphi^c_{2}(n)$ is exact with primitive $\tilde{\psi}^c_{2}(n)$ which by Theorem~\ref{psitilderes} is decaying. So Theorem~\ref{newcurrenteq} holds also for $n \leq 0$ with $C_n^c = \emptyset$. Hence for the these coefficients only the term $x=0$ contributes, which gives the integral of $\eta$ against the K\"ahler form.
1722
+
1723
+ \begin{remark}\label{Kudla-modification}
1724
+ In view of Remark~\ref{Kudla-xi} it is very natural question to ask how one can modify Kudla's Green's function $\Xi(n)$ to obtain a Green's function for the cycle $T_n^c$ in $\tilde{X}$. Extensive discussions with K\"uhn suggest that (if $X$ has only one cusp)
1725
+ \[
1726
+ \Xi(n) - t \sum_{\substack{x \in \calL_W\\ (x,x)=2n}} f \pi^{\ast}(B(x)+B'(x))
1727
+ \]
1728
+ is such a Green's function, but we have not checked all details.
1729
+ \end{remark}
1730
+
1731
+
1732
+ \subsection{Proof of Theorem~\ref{newcurrenteq} }\label{8.1}
1733
+
1734
+ For simplicity assume that $X$ has only one cusp and continue the drop the superscript $P$. We let $\rho_{T}$ be a family of smooth functions on a standard fundamental domain $\calF$ of $\G$ in $D$ only depending on $t$ which is $1$ for $t\leq T$ and $0$ for $T+1$. We then have
1735
+ \begin{align*}
1736
+ \int_{X} \eta \wedge \varphi^c_{2}(n) &= \lim_{T\to \infty} \int_{X} \rho_T \eta \wedge
1737
+ \left(\varphi_2(n) - d(f \pi^{\ast} \phi_{0,1}(n)) \right).
1738
+ \end{align*}
1739
+ We apply Theorem~\ref{BrFu} for the compactly supported form $\rho_T\eta$ and obtain
1740
+ \begin{align}\label{eq1}
1741
+ \int_{X} \eta \wedge \varphi^c_{2}(n)&= \lim_{T\to \infty} \Biggl[ \left(\int_{C_n} \rho_T \eta \right) e^{- 2\pi n} - \int_{X} d (\rho_T \eta) \wedge \tilde{\psi}_1(n)\Biggr. \\
1742
+ & \Biggl. \quad - \int_X d\left( \rho_T \eta \wedge (f \pi^{\ast} \phi_{0,1}(n)) \right) - d(\rho_T \eta) \wedge f \pi^{\ast} \phi_{0,1}(n) \Biggr] \notag
1743
+ \end{align}
1744
+ The first term on the right hand side of \eqref{eq1} goes to $\left(\int_{C_n} \eta\right)e^{-2\pi n}$ as $T \to \infty$, while the third vanishes for any $T$ by Stokes' theorem. For the two remaining terms of \eqref{eq1} we first note $d(\rho_T \eta) = \rho_T'(t) dt \wedge \eta + \rho_T d\eta$ and $\rho_T'(t)=0$ outside $[T,T+1]$. We obtain for these two terms
1745
+ \begin{multline}\label{eq2}
1746
+ - \int_{X} (d \eta) \wedge \left( \tilde{\psi}_1(n) - f \pi^{\ast} \phi_{0,1}(n) \right) \\ - \lim_{T\to \infty} \int_T^{T+1} \int_{e'(P)} \rho_T'(t)dt \wedge \eta \wedge \left( \tilde{\psi}_1(n) - f \pi^{\ast}\phi_{0,1}(n)\right).
1747
+ \end{multline}
1748
+ It remains to compute the second term in the previous equation. For $T$ sufficiently large we have $f \equiv 1$. Furthermore by Theorem~\ref{psitilderes} and its proof we have $\tilde{\psi}_1(n) = \pi^{\ast} \tilde{\psi}_{0,1}(n) + O(e^{-Ct})$. As
1749
+ $\phi_{0,1}(n) = \tilde{\psi}_{0,1}(n)+\tilde{\psi}'_{0,1}(n)$, we can replace
1750
+ $\tilde{\psi}_1(n) - f \pi^{\ast}\phi_{0,1}(n)$ by $-\pi^{\ast} \tilde{\psi'}_{0,1}(n)$. Since $\eta$ is special it does not depend on the $t$-variable near the boundary. For the last term in \eqref{eq2}
1751
+ \[
1752
+ \lim_{T\to \infty} \int_T^{T+1} \rho_T'(t)dt \int_{e'(P)} \eta \wedge \pi^{\ast} \tilde{\psi'}_{0,1}(n) = - \int_{e'(P)} \eta \wedge \tilde{\psi'}_{0,1}(n) = -
1753
+ \left(\int_{A_n} \eta \right) e^{-2\pi n}.
1754
+ \]
1755
+ Indeed, for $\eta = \Omega$ this is Remark~\ref{youwillneedthis}. Otherwise, $\eta$ is exact with special primitive $\omega$, and it is not hard to see that the proof of Proposition~\ref{finalintegral} carries over to this situation. Since $C_n^c = C_n \coprod (-A_n)$ collecting all terms completes the proof of Theorem~\ref{newcurrenteq}.