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, y \geq 1}
... is translated to the CAS output ...
Semantic latex: x, y \geq 1
Confidence: 0
Mathematica
Translation: x , y >= 1
Information
Sub Equations
- x , y >= 1
Free variables
- x
- y
Tests
Symbolic
Test expression: x , y\geq1
ERROR:
{
"result": "ERROR",
"testTitle": "Simple",
"testExpression": null,
"resultExpression": null,
"wasAborted": false,
"conditionallySuccessful": false
}
Numeric
SymPy
Translation: x , y >= 1
Information
Sub Equations
- x , y >= 1
Free variables
- x
- y
Tests
Symbolic
Numeric
Maple
Translation: x , y >= 1
Information
Sub Equations
- x , y >= 1
Free variables
- x
- y
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Description
- beta function
- evaluation at particular point
- example
- last formula
- power function
- term of a convolution
Complete translation information:
{
"id" : "FORMULA_834ebdf4abd7c307d85399a8f0c9285a",
"formula" : "x, y \\geq 1",
"semanticFormula" : "x, y \\geq 1",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "x , y >= 1",
"translationInformation" : {
"subEquations" : [ "x , y >= 1" ],
"freeVariables" : [ "x", "y" ]
},
"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 , y",
"rhs" : "1",
"testExpression" : "x , y\\geq1",
"testCalculations" : [ {
"result" : "ERROR",
"testTitle" : "Simple",
"testExpression" : null,
"resultExpression" : null,
"wasAborted" : false,
"conditionallySuccessful" : false
} ]
} ]
}
},
"SymPy" : {
"translation" : "x , y >= 1",
"translationInformation" : {
"subEquations" : [ "x , y >= 1" ],
"freeVariables" : [ "x", "y" ]
}
},
"Maple" : {
"translation" : "x , y >= 1",
"translationInformation" : {
"subEquations" : [ "x , y >= 1" ],
"freeVariables" : [ "x", "y" ]
}
}
},
"positions" : [ {
"section" : 5,
"sentence" : 4,
"word" : 1
} ],
"includes" : [ "x, y", "y", "x" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "beta function",
"score" : 0.6859086196238077
}, {
"definition" : "evaluation at particular point",
"score" : 0.6859086196238077
}, {
"definition" : "example",
"score" : 0.6859086196238077
}, {
"definition" : "last formula",
"score" : 0.6859086196238077
}, {
"definition" : "power function",
"score" : 0.6859086196238077
}, {
"definition" : "term of a convolution",
"score" : 0.6859086196238077
} ]
}