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 \eta(\tau)}
... is translated to the CAS output ...
Semantic latex: \Dedekindeta@{\tau}
Confidence: 0.90733333333333
Mathematica
Translation: DedekindEta[\[Tau]]
Information
Sub Equations
- DedekindEta[\[Tau]]
Free variables
- \[Tau]
Symbol info
- Dedikind's Eta function; Example: \Dedekindeta@{\tau}
Will be translated to: DedekindEta[$0] Relevant links to definitions: DLMF: http://dlmf.nist.gov/23.15#E9 Mathematica: https://reference.wolfram.com/language/ref/DedekindEta.html
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \Dedekindeta [\Dedekindeta]
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) No translation possible for given token: Cannot extract information from feature set: \Dedekindeta [\Dedekindeta]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Description
- term of the Dedekind eta function
- term of the half-period
- theta function
- nome
- fundamental pair of period
- Weierstrass 's elliptic function
Complete translation information:
{
"id" : "FORMULA_32a3fc57dace2a6fa04d7317ee33ccf3",
"formula" : "\\eta(\\tau)",
"semanticFormula" : "\\Dedekindeta@{\\tau}",
"confidence" : 0.9073333333333333,
"translations" : {
"Mathematica" : {
"translation" : "DedekindEta[\\[Tau]]",
"translationInformation" : {
"subEquations" : [ "DedekindEta[\\[Tau]]" ],
"freeVariables" : [ "\\[Tau]" ],
"tokenTranslations" : {
"\\Dedekindeta" : "Dedikind's Eta function; Example: \\Dedekindeta@{\\tau}\nWill be translated to: DedekindEta[$0]\nRelevant links to definitions:\nDLMF: http://dlmf.nist.gov/23.15#E9\nMathematica: https://reference.wolfram.com/language/ref/DedekindEta.html"
}
},
"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" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \\Dedekindeta [\\Dedekindeta]"
}
},
"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" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) No translation possible for given token: Cannot extract information from feature set: \\Dedekindeta [\\Dedekindeta]"
}
},
"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" : 7
} ],
"includes" : [ "\\tau" ],
"isPartOf" : [ "\\lambda(\\tau) = \\Bigg(\\frac{\\sqrt{2}\\,\\eta(\\tfrac{\\tau}{2})\\eta^2(2\\tau)}{\\eta^3(\\tau)}\\Bigg)^8 = \\frac{16}{\\left(\\frac{\\eta(\\tau/2)}{\\eta(2\\tau)}\\right)^8 + 16} =\\frac{\\theta_2^4(0,\\tau)}{\\theta_3^4(0,\\tau)}", "\\frac{1}{\\big(\\lambda(\\tau)\\big)^{1/4}}-\\big(\\lambda(\\tau)\\big)^{1/4} = \\frac{1}{2}\\left(\\frac{\\eta(\\tfrac{\\tau}{4})}{\\eta(\\tau)}\\right)^4 = 2\\,\\frac{\\theta_4^2(0,\\tfrac{\\tau}{2})}{\\theta_2^2(0,\\tfrac{\\tau}{2})}" ],
"definiens" : [ {
"definition" : "term of the Dedekind eta function",
"score" : 0.722
}, {
"definition" : "term of the half-period",
"score" : 0.7125985104912714
}, {
"definition" : "theta function",
"score" : 0.7125985104912714
}, {
"definition" : "nome",
"score" : 0.6859086196238077
}, {
"definition" : "fundamental pair of period",
"score" : 0.6460746792928004
}, {
"definition" : "Weierstrass 's elliptic function",
"score" : 0.5988174995334326
} ]
}