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 q > 0}
... is translated to the CAS output ...
Semantic latex: q > 0
Confidence: 0
Mathematica
Translation: q > 0
Information
Sub Equations
- q > 0
Free variables
- q
Tests
Symbolic
Test expression: q>0
ERROR:
{
"result": "ERROR",
"testTitle": "Simple",
"testExpression": null,
"resultExpression": null,
"wasAborted": false,
"conditionallySuccessful": false
}
Numeric
SymPy
Translation: q > 0
Information
Sub Equations
- q > 0
Free variables
- q
Tests
Symbolic
Numeric
Maple
Translation: q > 0
Information
Sub Equations
- q > 0
Free variables
- q
Tests
Symbolic
Numeric
Dependency Graph Information
Complete translation information:
{
"id" : "FORMULA_76fc8725a21ba35342934e121242d50a",
"formula" : "q > 0",
"semanticFormula" : "q > 0",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "q > 0",
"translationInformation" : {
"subEquations" : [ "q > 0" ],
"freeVariables" : [ "q" ]
},
"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" : "q",
"rhs" : "0",
"testExpression" : "q>0",
"testCalculations" : [ {
"result" : "ERROR",
"testTitle" : "Simple",
"testExpression" : null,
"resultExpression" : null,
"wasAborted" : false,
"conditionallySuccessful" : false
} ]
} ]
}
},
"SymPy" : {
"translation" : "q > 0",
"translationInformation" : {
"subEquations" : [ "q > 0" ],
"freeVariables" : [ "q" ]
}
},
"Maple" : {
"translation" : "q > 0",
"translationInformation" : {
"subEquations" : [ "q > 0" ],
"freeVariables" : [ "q" ]
}
}
},
"positions" : [ {
"section" : 4,
"sentence" : 1,
"word" : 5
} ],
"includes" : [ ],
"isPartOf" : [ ],
"definiens" : [ ]
}