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 \, 0 < z < 1 }
... is translated to the CAS output ...
Semantic latex: 0 < z < 1
Confidence: 0
Mathematica
Translation: 0 < z < 1
Information
Sub Equations
- 0 < z
- z < 1
Free variables
- z
Tests
Symbolic
Test expression: 0<z
ERROR:
{
"result": "ERROR",
"testTitle": "Simple",
"testExpression": null,
"resultExpression": null,
"wasAborted": false,
"conditionallySuccessful": false
}
Test expression: z<1
ERROR:
{
"result": "ERROR",
"testTitle": "Simple",
"testExpression": null,
"resultExpression": null,
"wasAborted": false,
"conditionallySuccessful": false
}
Numeric
SymPy
Translation: 0 < z < 1
Information
Sub Equations
- 0 < z
- z < 1
Free variables
- z
Tests
Symbolic
Numeric
Maple
Translation: 0 < z < 1
Information
Sub Equations
- 0 < z
- z < 1
Free variables
- z
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Complete translation information:
{
"id" : "FORMULA_b006fab8677f31b7036975c46ab92b36",
"formula" : "0 < z < 1",
"semanticFormula" : "0 < z < 1",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "0 < z < 1",
"translationInformation" : {
"subEquations" : [ "0 < z", "z < 1" ],
"freeVariables" : [ "z" ]
},
"numericResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"wasAborted" : false,
"crashed" : false,
"testCalculationsGroups" : [ ]
},
"symbolicResults" : {
"overallResult" : "ERROR",
"numberOfTests" : 2,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 2,
"crashed" : false,
"testCalculationsGroup" : [ {
"lhs" : "0",
"rhs" : "z",
"testExpression" : "0<z",
"testCalculations" : [ {
"result" : "ERROR",
"testTitle" : "Simple",
"testExpression" : null,
"resultExpression" : null,
"wasAborted" : false,
"conditionallySuccessful" : false
} ]
}, {
"lhs" : "z",
"rhs" : "1",
"testExpression" : "z<1",
"testCalculations" : [ {
"result" : "ERROR",
"testTitle" : "Simple",
"testExpression" : null,
"resultExpression" : null,
"wasAborted" : false,
"conditionallySuccessful" : false
} ]
} ]
}
},
"SymPy" : {
"translation" : "0 < z < 1",
"translationInformation" : {
"subEquations" : [ "0 < z", "z < 1" ],
"freeVariables" : [ "z" ]
}
},
"Maple" : {
"translation" : "0 < z < 1",
"translationInformation" : {
"subEquations" : [ "0 < z", "z < 1" ],
"freeVariables" : [ "z" ]
}
}
},
"positions" : [ ],
"includes" : [ "z", "\\, 0 < z < 1" ],
"isPartOf" : [ "\\, 0 < z < 1" ],
"definiens" : [ ]
}