LaTeX to CAS translator
This mockup demonstrates the concept of TeX to Computer Algebra System (CAS) conversion.
The demo-application converts LaTeX functions which directly translate to CAS counterparts.
Functions without explicit CAS support are available for translation via a DRMF package (under development).
The following LaTeX input ...
{\displaystyle \begin{align} \zeta(s, q) &= \frac{1}{s-1}\sum_{n=0}^\infty \frac{(-1)^n}{n+1} \Delta^n q^{1-s}\\ &= \frac{1}{s-1} {\log(1 + \Delta) \over \Delta} q^{1-s} \end{align}}
... is translated to the CAS output ...
Semantic latex: \begin{align}\Hurwitzzeta@{s}{q} &= \frac{1}{s-1}\sum_{n=0}^\infty \frac{(-1)^n}{n+1} \Delta^n q^{1-s} \\ &= \frac{1}{s-1} {\log(1 + \Delta) \over \Delta} q^{1-s}\end{align}
Confidence: 0.67297431562113
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) Unknown LaTeX Command: Reached unknown latex-command \over [\over]
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \Hurwitzzeta [\Hurwitzzeta]
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) Unknown LaTeX Command: Reached unknown latex-command \over [\over]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Complete translation information:
{
"id" : "FORMULA_55374863d0d3fd1a99f480d258f7285f",
"formula" : "\\begin{align}\n \\zeta(s, q) &= \\frac{1}{s-1}\\sum_{n=0}^\\infty \\frac{(-1)^n}{n+1} \\Delta^n q^{1-s}\\\\\n &= \\frac{1}{s-1} {\\log(1 + \\Delta) \\over \\Delta} q^{1-s}\n\\end{align}",
"semanticFormula" : "\\begin{align}\\Hurwitzzeta@{s}{q} &= \\frac{1}{s-1}\\sum_{n=0}^\\infty \\frac{(-1)^n}{n+1} \\Delta^n q^{1-s} \\\\ &= \\frac{1}{s-1} {\\log(1 + \\Delta) \\over \\Delta} q^{1-s}\\end{align}",
"confidence" : 0.6729743156211251,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) Unknown LaTeX Command: Reached unknown latex-command \\over [\\over]"
}
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \\Hurwitzzeta [\\Hurwitzzeta]"
}
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) Unknown LaTeX Command: Reached unknown latex-command \\over [\\over]"
}
}
}
},
"positions" : [ ],
"includes" : [ "q", "1", "1 -", "q^{1-s}", "n", "\\zeta", "\\begin{align} \\zeta(s, q) &= \\frac{1}{s-1}\\sum_{n=0}^\\infty \\frac{(-1)^n}{n+1} \\Delta^n q^{1-s}\\\\ &= \\frac{1}{s-1} {\\log(1 + \\Delta) \\over \\Delta} q^{1-s}\\end{align}", "\\zeta (s,q)", "s", "\\Delta", "n=0" ],
"isPartOf" : [ "\\begin{align} \\zeta(s, q) &= \\frac{1}{s-1}\\sum_{n=0}^\\infty \\frac{(-1)^n}{n+1} \\Delta^n q^{1-s}\\\\ &= \\frac{1}{s-1} {\\log(1 + \\Delta) \\over \\Delta} q^{1-s}\\end{align}" ],
"definiens" : [ ]
}