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 x=0}
... is translated to the CAS output ...
Semantic latex: x=0
Confidence: 0
Mathematica
Translation: x == 0
Information
Sub Equations
- x = 0
Free variables
- x
Tests
Symbolic
Test expression: (x)-(0)
ERROR:
{
"result": "ERROR",
"testTitle": "Simple",
"testExpression": null,
"resultExpression": null,
"wasAborted": false,
"conditionallySuccessful": false
}
Numeric
SymPy
Translation: x == 0
Information
Sub Equations
- x = 0
Free variables
- x
Tests
Symbolic
Numeric
Maple
Translation: x = 0
Information
Sub Equations
- x = 0
Free variables
- x
Tests
Symbolic
Numeric
Dependency Graph Information
Description
- Taylor coefficient
Complete translation information:
{
"id" : "FORMULA_e11729b0b65ecade3fc272548a3883fc",
"formula" : "x=0",
"semanticFormula" : "x=0",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "x == 0",
"translationInformation" : {
"subEquations" : [ "x = 0" ],
"freeVariables" : [ "x" ]
},
"numericResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"wasAborted" : false,
"crashed" : false,
"testCalculationsGroups" : [ ]
},
"symbolicResults" : {
"overallResult" : "ERROR",
"numberOfTests" : 1,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 1,
"crashed" : false,
"testCalculationsGroup" : [ {
"lhs" : "x",
"rhs" : "0",
"testExpression" : "(x)-(0)",
"testCalculations" : [ {
"result" : "ERROR",
"testTitle" : "Simple",
"testExpression" : null,
"resultExpression" : null,
"wasAborted" : false,
"conditionallySuccessful" : false
} ]
} ]
}
},
"SymPy" : {
"translation" : "x == 0",
"translationInformation" : {
"subEquations" : [ "x = 0" ],
"freeVariables" : [ "x" ]
}
},
"Maple" : {
"translation" : "x = 0",
"translationInformation" : {
"subEquations" : [ "x = 0" ],
"freeVariables" : [ "x" ]
}
}
},
"positions" : [ {
"section" : 6,
"sentence" : 3,
"word" : 7
} ],
"includes" : [ ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "Taylor coefficient",
"score" : 0.7125985104912714
} ]
}