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 m_9}
... is translated to the CAS output ...
Semantic latex: m_9
Confidence: 0
Mathematica
Translation: Subscript[m, 9]
Information
Sub Equations
- Subscript[m, 9]
Free variables
- Subscript[m, 9]
Tests
Symbolic
Numeric
SymPy
Translation: Symbol('{m}_{9}')
Information
Sub Equations
- Symbol('{m}_{9}')
Free variables
- Symbol('{m}_{9}')
Tests
Symbolic
Numeric
Maple
Translation: m[9]
Information
Sub Equations
- m[9]
Free variables
- m[9]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Description
- total angular momentum projection quantum number
- case of the Racah W-coefficient
- matrix element
- notation
- technique of that article
- total angular momentum state
- angular momentum vector
Complete translation information:
{
"id" : "FORMULA_251f430c3024b6864ccf68e3a975a8a5",
"formula" : "m_9",
"semanticFormula" : "m_9",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "Subscript[m, 9]",
"translationInformation" : {
"subEquations" : [ "Subscript[m, 9]" ],
"freeVariables" : [ "Subscript[m, 9]" ]
},
"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('{m}_{9}')",
"translationInformation" : {
"subEquations" : [ "Symbol('{m}_{9}')" ],
"freeVariables" : [ "Symbol('{m}_{9}')" ]
},
"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" : "m[9]",
"translationInformation" : {
"subEquations" : [ "m[9]" ],
"freeVariables" : [ "m[9]" ]
},
"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" : 1,
"sentence" : 6,
"word" : 22
} ],
"includes" : [ "m" ],
"isPartOf" : [ "|((j_1j_4)j_7, (j_2j_5)j_8)j_9m_9\\rangle", "| ((j_1j_2)j_3, (j_4j_5)j_6)j_9m_9\\rangle", "|((j_1j_4)j_7, (j_2j_5)j_8)j_9m_9\\rangle = \\sum_{j_3}\\sum_{j_6} | ((j_1j_2)j_3, (j_4j_5)j_6)j_9m_9\\rangle \\langle ( (j_1j_2)j_3,(j_4j_5)j_6)j_9 | ((j_1 j_4)j_7,(j_2j_5)j_8)j_9\\rangle" ],
"definiens" : [ {
"definition" : "total angular momentum projection quantum number",
"score" : 0.722
}, {
"definition" : "case of the Racah W-coefficient",
"score" : 0.6859086196238077
}, {
"definition" : "matrix element",
"score" : 0.6859086196238077
}, {
"definition" : "notation",
"score" : 0.4025311038849381
}, {
"definition" : "technique of that article",
"score" : 0.3552739241255702
}, {
"definition" : "total angular momentum state",
"score" : 0.30655166268737566
}, {
"definition" : "angular momentum vector",
"score" : 0.19294858675982926
} ]
}