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 (aq^s,bq^s;q)_\infty}
... is translated to the CAS output ...
Semantic latex: (aq^s,bq^s;q)_\infty
Confidence: 0
Mathematica
Translation: Subscript[a*(q)^(s), b*(q)^(s); q, Infinity]
Information
Sub Equations
- Subscript[a*(q)^(s), b*(q)^(s); q, Infinity]
Free variables
- a
- b
- q
- s
Tests
Symbolic
Numeric
SymPy
Translation: Symbol('{a*(q)**(s), b*(q)**(s); q}_{oo}')
Information
Sub Equations
- Symbol('{a*(q)**(s), b*(q)**(s); q}_{oo}')
Free variables
- a
- b
- q
- s
Tests
Symbolic
Numeric
Maple
Translation: a*(q)^(s), b*(q)^(s); q[infinity]
Information
Sub Equations
- a*(q)^(s), b*(q)^(s); q[infinity]
Free variables
- a
- b
- q
- s
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Description
- pole
- left of the contour
- right
- analogue of the Barnes integral
- Watson
- hypergeometric series
Complete translation information:
{
"id" : "FORMULA_5c1f6c3cc7dd0ee385052b591ee00435",
"formula" : "(aq^s,bq^s;q)_\\infty",
"semanticFormula" : "(aq^s,bq^s;q)_\\infty",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "Subscript[a*(q)^(s), b*(q)^(s); q, Infinity]",
"translationInformation" : {
"subEquations" : [ "Subscript[a*(q)^(s), b*(q)^(s); q, Infinity]" ],
"freeVariables" : [ "a", "b", "q", "s" ]
},
"numericResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"wasAborted" : false,
"crashed" : false,
"testCalculationsGroups" : [ ]
},
"symbolicResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"crashed" : false,
"testCalculationsGroup" : [ ]
}
},
"SymPy" : {
"translation" : "Symbol('{a*(q)**(s), b*(q)**(s); q}_{oo}')",
"translationInformation" : {
"subEquations" : [ "Symbol('{a*(q)**(s), b*(q)**(s); q}_{oo}')" ],
"freeVariables" : [ "a", "b", "q", "s" ]
},
"numericResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"wasAborted" : false,
"crashed" : false,
"testCalculationsGroups" : [ ]
},
"symbolicResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"crashed" : false,
"testCalculationsGroup" : [ ]
}
},
"Maple" : {
"translation" : "a*(q)^(s), b*(q)^(s); q[infinity]",
"translationInformation" : {
"subEquations" : [ "a*(q)^(s), b*(q)^(s); q[infinity]" ],
"freeVariables" : [ "a", "b", "q", "s" ]
},
"numericResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"wasAborted" : false,
"crashed" : false,
"testCalculationsGroups" : [ ]
},
"symbolicResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"crashed" : false,
"testCalculationsGroup" : [ ]
}
}
},
"positions" : [ {
"section" : 6,
"sentence" : 0,
"word" : 20
} ],
"includes" : [ "q" ],
"isPartOf" : [ "{}_2\\phi_1(a,b;c;q,z) = \\frac{-1}{2\\pi i}\\frac{(a,b;q)_\\infty}{(q,c;q)_\\infty}\\int_{-i\\infty}^{i\\infty}\\frac{(qq^s,cq^s;q)_\\infty}{(aq^s,bq^s;q)_\\infty}\\frac{\\pi(-z)^s}{\\sin \\pi s}ds" ],
"definiens" : [ {
"definition" : "pole",
"score" : 0.8753892604563361
}, {
"definition" : "left of the contour",
"score" : 0.6687181434333315
}, {
"definition" : "right",
"score" : 0.6687181434333315
}, {
"definition" : "analogue of the Barnes integral",
"score" : 0.6288842031023242
}, {
"definition" : "Watson",
"score" : 0.6288842031023242
}, {
"definition" : "hypergeometric series",
"score" : 0.5329047619047619
} ]
}