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 \theta_3(0,\tau) = \sum_{n=-\infty}^\infty q^{n^2} }
... is translated to the CAS output ...
Semantic latex: \theta_3(0,\tau) = \sum_{n=-\infty}^\infty q^{n^2}
Confidence: 0
Mathematica
Translation: Subscript[\[Theta], 3][0 , \[Tau]] == Sum[(q)^((n)^(2)), {n, - Infinity, Infinity}, GenerateConditions->None]
Information
Sub Equations
- Subscript[\[Theta], 3][0 , \[Tau]] = Sum[(q)^((n)^(2)), {n, - Infinity, Infinity}, GenerateConditions->None]
Free variables
- Subscript[\[Theta], 3]
- \[Tau]
- q
Symbol info
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
SymPy
Translation: Symbol('{Symbol('theta')}_{3}')(0 , Symbol('tau')) == Sum((q)**((n)**(2)), (n, - oo, oo))
Information
Sub Equations
- Symbol('{Symbol('theta')}_{3}')(0 , Symbol('tau')) = Sum((q)**((n)**(2)), (n, - oo, oo))
Free variables
- Symbol('tau')
- Symbol('{Symbol('theta')}_{3}')
- q
Symbol info
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
Maple
Translation: theta[3](0 , tau) = sum((q)^((n)^(2)), n = - infinity..infinity)
Information
Sub Equations
- theta[3](0 , tau) = sum((q)^((n)^(2)), n = - infinity..infinity)
Free variables
- q
- tau
- theta[3]
Symbol info
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Description
- nome
- term of the half-period
- term of the Dedekind eta function
- Weierstrass 's elliptic function
- fundamental pair of period
- theta function
Complete translation information:
{
"id" : "FORMULA_73bf61331f53c505e0500631a8e7f304",
"formula" : "\\theta_3(0,\\tau) = \\sum_{n=-\\infty}^\\infty q^{n^2}",
"semanticFormula" : "\\theta_3(0,\\tau) = \\sum_{n=-\\infty}^\\infty q^{n^2}",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "Subscript[\\[Theta], 3][0 , \\[Tau]] == Sum[(q)^((n)^(2)), {n, - Infinity, Infinity}, GenerateConditions->None]",
"translationInformation" : {
"subEquations" : [ "Subscript[\\[Theta], 3][0 , \\[Tau]] = Sum[(q)^((n)^(2)), {n, - Infinity, Infinity}, GenerateConditions->None]" ],
"freeVariables" : [ "Subscript[\\[Theta], 3]", "\\[Tau]", "q" ],
"tokenTranslations" : {
"\\theta" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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('{Symbol('theta')}_{3}')(0 , Symbol('tau')) == Sum((q)**((n)**(2)), (n, - oo, oo))",
"translationInformation" : {
"subEquations" : [ "Symbol('{Symbol('theta')}_{3}')(0 , Symbol('tau')) = Sum((q)**((n)**(2)), (n, - oo, oo))" ],
"freeVariables" : [ "Symbol('tau')", "Symbol('{Symbol('theta')}_{3}')", "q" ],
"tokenTranslations" : {
"\\theta" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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" : "theta[3](0 , tau) = sum((q)^((n)^(2)), n = - infinity..infinity)",
"translationInformation" : {
"subEquations" : [ "theta[3](0 , tau) = sum((q)^((n)^(2)), n = - infinity..infinity)" ],
"freeVariables" : [ "q", "tau", "theta[3]" ],
"tokenTranslations" : {
"\\theta" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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" : 2,
"sentence" : 1,
"word" : 23
} ],
"includes" : [ "\\tau", "q" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "nome",
"score" : 0.7125985104912714
}, {
"definition" : "term of the half-period",
"score" : 0.6859086196238077
}, {
"definition" : "term of the Dedekind eta function",
"score" : 0.5988174995334326
}, {
"definition" : "Weierstrass 's elliptic function",
"score" : 0.5500952380952381
}, {
"definition" : "fundamental pair of period",
"score" : 0.5049074255814494
}, {
"definition" : "theta function",
"score" : 0.5049074255814494
} ]
}