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 \operatorname{Es}}
... is translated to the CAS output ...
Semantic latex: \operatorname{Es}
Confidence: 0
Mathematica
Translation: E*s
Information
Sub Equations
- E*s
Free variables
- E
- s
Symbol info
- Was interpreted as a function call because of a leading \operatorname.
Tests
Symbolic
Numeric
SymPy
Translation: E*s
Information
Sub Equations
- E*s
Free variables
- E
- s
Symbol info
- Was interpreted as a function call because of a leading \operatorname.
Tests
Symbolic
Numeric
Maple
Translation: E*s
Information
Sub Equations
- E*s
Free variables
- E
- s
Symbol info
- Was interpreted as a function call because of a leading \operatorname.
Tests
Symbolic
Numeric
Dependency Graph Information
Is part of
Description
- solution
- boundary condition
- ellipsoidal wave
- period
- prime meaning
- quarter period
- upper sign
Complete translation information:
{
"id" : "FORMULA_5ad89742455ed7db7db19c9eb41173e3",
"formula" : "\\operatorname{Es}",
"semanticFormula" : "\\operatorname{Es}",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "E*s",
"translationInformation" : {
"subEquations" : [ "E*s" ],
"freeVariables" : [ "E", "s" ],
"tokenTranslations" : {
"Es" : "Was interpreted as a function call because of a leading \\operatorname."
}
},
"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" : "E*s",
"translationInformation" : {
"subEquations" : [ "E*s" ],
"freeVariables" : [ "E", "s" ],
"tokenTranslations" : {
"Es" : "Was interpreted as a function call because of a leading \\operatorname."
}
},
"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" : "E*s",
"translationInformation" : {
"subEquations" : [ "E*s" ],
"freeVariables" : [ "E", "s" ],
"tokenTranslations" : {
"Es" : "Was interpreted as a function call because of a leading \\operatorname."
}
},
"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" : 4,
"word" : 15
} ],
"includes" : [ ],
"isPartOf" : [ "\\operatorname{Ec}(2K) = \\operatorname{Ec}(0) = 0,\\;\\; \\operatorname{Es}(2K) = \\operatorname{Es}(0) = 0", "(\\operatorname{Ec})^'_{2K} = (\\operatorname{Ec})^'_0 = 0, \\;\\; (\\operatorname{Es})^'_{2K} = (\\operatorname{Es})^'_0 = 0", "\\operatorname{Ec}^{q_0}_n, \\operatorname{Es}^{q_0+1}_n, \\operatorname{Ec}^{q_0-1}_n, \\operatorname{Es}^{q_0}_n" ],
"definiens" : [ {
"definition" : "solution",
"score" : 0.8869384888466118
}, {
"definition" : "boundary condition",
"score" : 0.6432331635625809
}, {
"definition" : "ellipsoidal wave",
"score" : 0.6432331635625809
}, {
"definition" : "period",
"score" : 0.6432331635625809
}, {
"definition" : "prime meaning",
"score" : 0.6432331635625809
}, {
"definition" : "quarter period",
"score" : 0.6432331635625809
}, {
"definition" : "upper sign",
"score" : 0.6288842031023242
} ]
}