LaTeX to CAS translator
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 -\frac{1}{2}<a<b, |c|<1+a, b=a+N}
... is translated to the CAS output ...
Semantic latex: -\frac{1}{2}<a<b, |c|<1+a, b=a+N
Confidence: 0
Mathematica
Translation: -Divide[1,2] < a < b Abs[c] < 1 + a , b == a + N
Information
Sub Equations
- -Divide[1,2] < a
- b
Abs[c] < 1 + a , b
Free variables
- N
- a
- b
- c
Tests
Symbolic
Numeric
SymPy
Translation: -(1)/(2) < a < b abs(c) < 1 + a , b == a + N
Information
Sub Equations
- -(1)/(2) < a
- b
abs(c) < 1 + a , b
Free variables
- N
- a
- b
- c
Tests
Symbolic
Numeric
Maple
Translation: -(1)/(2) < a < b; abs(c) < 1 + a , b = a + N
Information
Sub Equations
- -(1)/(2) < a
- b; abs(c) < 1 + a , b
Free variables
- N
- a
- b
- c
Tests
Symbolic
Numeric
Dependency Graph Information
Description
- parameter
- non-uniform lattice
Complete translation information:
{
"id" : "FORMULA_f98f9c34cc5500b8a60d6b9994c0abc9",
"formula" : "-\\frac{1}{2}<a<b, |c|<1+a, b=a+N",
"semanticFormula" : "-\\frac{1}{2}<a<b, |c|<1+a, b=a+N",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "-Divide[1,2] < a < b\n Abs[c] < 1 + a , b == a + N",
"translationInformation" : {
"subEquations" : [ "-Divide[1,2] < a", "b\n Abs[c] < 1 + a , b" ],
"freeVariables" : [ "N", "a", "b", "c" ]
}
},
"SymPy" : {
"translation" : "-(1)/(2) < a < b\n abs(c) < 1 + a , b == a + N",
"translationInformation" : {
"subEquations" : [ "-(1)/(2) < a", "b\n abs(c) < 1 + a , b" ],
"freeVariables" : [ "N", "a", "b", "c" ]
}
},
"Maple" : {
"translation" : "-(1)/(2) < a < b; abs(c) < 1 + a , b = a + N",
"translationInformation" : {
"subEquations" : [ "-(1)/(2) < a", "b; abs(c) < 1 + a , b" ],
"freeVariables" : [ "N", "a", "b", "c" ]
}
}
},
"positions" : [ {
"section" : 0,
"sentence" : 1,
"word" : 22
} ],
"includes" : [ ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "parameter",
"score" : 0.6859086196238077
}, {
"definition" : "non-uniform lattice",
"score" : 0.6460746792928004
} ]
}