LaTeX to CAS translator
Jump to navigation
Jump to search
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 L(s,\chi)=\prod_p\left(1-\chi(p)p^{-s}\right)^{-1}\text{ for }\text{Re}(s) > 1,}
... is translated to the CAS output ...
Semantic latex: \DirichletL@{s}{\Dirichletchar@{n}{k}} = \prod_p(1 - \Dirichletchar@@{p}{k} p^{-s})^{-1} for{Re}(s) > 1
Confidence: 0.59785840558897
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) No translation possible for given token: Cannot extract information from feature set: \DirichletL [\DirichletL]
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \DirichletL [\DirichletL]
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) No translation possible for given token: Cannot extract information from feature set: \DirichletL [\DirichletL]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Description
- prime number
- Euler product in the half-plane
- function
- product
- Dirichlet character
- absolute convergence
Complete translation information:
{
"id" : "FORMULA_aaf3494b07ce4e989efe1114b80bfce1",
"formula" : "L(s,\\chi)=\\prod_p\\left(1-\\chi(p)p^{-s}\\right)^{-1}\\text{ for }\\text{Re}(s) > 1",
"semanticFormula" : "\\DirichletL@{s}{\\Dirichletchar@{n}{k}} = \\prod_p(1 - \\Dirichletchar@@{p}{k} p^{-s})^{-1} for{Re}(s) > 1",
"confidence" : 0.5978584055889739,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) No translation possible for given token: Cannot extract information from feature set: \\DirichletL [\\DirichletL]"
}
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \\DirichletL [\\DirichletL]"
}
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) No translation possible for given token: Cannot extract information from feature set: \\DirichletL [\\DirichletL]"
}
}
}
},
"positions" : [ {
"section" : 2,
"sentence" : 0,
"word" : 28
} ],
"includes" : [ "\\chi", "L", "L(s, \\chi)", "s", "L(s,\\chi)", "\\zeta(s,q)" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "prime number",
"score" : 0.7125985104912714
}, {
"definition" : "Euler product in the half-plane",
"score" : 0.6859086196238077
}, {
"definition" : "function",
"score" : 0.6859086196238077
}, {
"definition" : "product",
"score" : 0.6859086196238077
}, {
"definition" : "Dirichlet character",
"score" : 0.6460746792928004
}, {
"definition" : "absolute convergence",
"score" : 0.5988174995334326
} ]
}