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 z}
... is translated to the CAS output ...
Semantic latex: z
Confidence: 0
Mathematica
Translation: z
Information
Sub Equations
- z
Free variables
- z
Tests
Symbolic
Numeric
SymPy
Translation: z
Information
Sub Equations
- z
Free variables
- z
Tests
Symbolic
Numeric
Maple
Translation: z
Information
Sub Equations
- z
Free variables
- z
Tests
Symbolic
Numeric
Dependency Graph Information
Is part of
Description
- free variable in the expression
- LaCASt
- equation
- value
- example
- ingoing dependency
- article
- plain text Li
- z
- maple
- next equation in the same article
- custom example
- e.g.
- hypergeometric function in entry
- ln
- test case
- variable
- test calculation
- adjacent relation
- approach
- context of Jacobi polynomial
- i.e.
- other MOI
- Pochhammer 's symbol
- Polylogarithm because the formula
- value in the figure
- variable in the expression
- introduction
- counterexample
- case of the Jacobi polynomial
- comma
- dependency graph
- dependency graph from Jacobi polynomial
- entry
- part of the identifier
- plain text words Li
- screenshot to the right
- single sentence context
- value on the real axis
- formula
- Jacobi polynomial
- argument
- context
- definition
- example of the definition
- hypergeometric function
- ln as part
- outgoing dependency
- right
- subscript of identifier
- part of any other MOI
Complete translation information:
{
"id" : "FORMULA_fbade9e36a3f36d3d676c1b808451dd7",
"formula" : "z",
"semanticFormula" : "z",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "z",
"translationInformation" : {
"subEquations" : [ "z" ],
"freeVariables" : [ "z" ]
},
"numericResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"wasAborted" : false,
"crashed" : false,
"testCalculationsGroups" : [ ]
},
"symbolicResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"crashed" : false,
"testCalculationsGroup" : [ ]
}
},
"SymPy" : {
"translation" : "z",
"translationInformation" : {
"subEquations" : [ "z" ],
"freeVariables" : [ "z" ]
},
"numericResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"wasAborted" : false,
"crashed" : false,
"testCalculationsGroups" : [ ]
},
"symbolicResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"crashed" : false,
"testCalculationsGroup" : [ ]
}
},
"Maple" : {
"translation" : "z",
"translationInformation" : {
"subEquations" : [ "z" ],
"freeVariables" : [ "z" ]
},
"numericResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"wasAborted" : false,
"crashed" : false,
"testCalculationsGroups" : [ ]
},
"symbolicResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"crashed" : false,
"testCalculationsGroup" : [ ]
}
}
},
"positions" : [ {
"section" : 6,
"sentence" : 38,
"word" : 18
}, {
"section" : 7,
"sentence" : 43,
"word" : 25
}, {
"section" : 7,
"sentence" : 46,
"word" : 28
}, {
"section" : 7,
"sentence" : 47,
"word" : 12
}, {
"section" : 7,
"sentence" : 51,
"word" : 15
}, {
"section" : 9,
"sentence" : 2,
"word" : 31
}, {
"section" : 9,
"sentence" : 2,
"word" : 39
}, {
"section" : 9,
"sentence" : 3,
"word" : 7
}, {
"section" : 9,
"sentence" : 3,
"word" : 14
} ],
"includes" : [ ],
"isPartOf" : [ "(z)_n", "P_n^{(\\alpha,\\beta)}(z)", "(z)_n = \\tfrac{\\Gamma(z+n)}{\\Gamma(z)}", "\\Gamma(z)", "P_n^{(\\alpha,\\beta)}(z)=\\frac{(\\alpha+1)_n}{n!}\\,{}_2F_1\\left(-n,1+\\alpha+\\beta+n;\\alpha+1;\\tfrac{1}{2}(1-z)\\right)", "P_n^{(\\alpha,\\beta)} (z) = \\frac{\\Gamma (\\alpha+n+1)}{n!\\Gamma (\\alpha+\\beta+n+1)} \\sum_{m=0}^n \\binom{n}{m} \\frac{\\Gamma (\\alpha + \\beta + n + m + 1)}{\\Gamma (\\alpha + m + 1)} \\left(\\frac{z-1}{2}\\right)^m", "P_n^{(\\alpha,\\beta)}(z)=\\frac{(\\alpha+1)_n}{n!}{}_2F_1\\left(-n,1+\\alpha+\\beta+n;\\alpha+1;\\tfrac{1}{2}(1-z)\\right)", "\\alpha = \\frac{3}{2}, \\beta = \\frac{3}{2}, n = 2, z = -\\frac{1}{2}+\\frac{\\sqrt{3i}}{2}", "f(z) = g(z) = h(z)", "f(z) = g(z)", "g(z) = h(z)", "f(z) = h(z)", "z_1", "z_2", "z_1 + z_2", "\\operatorname{Li}_1(z) = -\\ln (1-z)", "{}_1F_2 \\left (1,\\tfrac{3}{2}, \\alpha+\\tfrac{3}{2},-\\tfrac{z^2}{4} \\right )" ],
"definiens" : [ {
"definition" : "free variable in the expression",
"score" : 0.6564392318687055
}, {
"definition" : "LaCASt",
"score" : 0.6269052441651696
}, {
"definition" : "equation",
"score" : 0.45404392180581277
}, {
"definition" : "value",
"score" : 0.41677240685318717
}, {
"definition" : "example",
"score" : 0.4083439791881001
}, {
"definition" : "ingoing dependency",
"score" : 0.4076726509664038
}, {
"definition" : "article",
"score" : 0.39008328095420175
}, {
"definition" : "plain text Li",
"score" : 0.34872108843537414
}, {
"definition" : "z",
"score" : 0.34872108843537414
}, {
"definition" : "maple",
"score" : 0.3399911019028361
}, {
"definition" : "next equation in the same article",
"score" : 0.3393196091729679
}, {
"definition" : "custom example",
"score" : 0.3393195989266456
}, {
"definition" : "e.g.",
"score" : 0.3393195989266456
}, {
"definition" : "hypergeometric function in entry",
"score" : 0.3393195989266456
}, {
"definition" : "ln",
"score" : 0.3393195989266456
}, {
"definition" : "test case",
"score" : 0.3393195989266456
}, {
"definition" : "variable",
"score" : 0.3393195989266456
}, {
"definition" : "test calculation",
"score" : 0.3133012110353723
}, {
"definition" : "adjacent relation",
"score" : 0.3126297080591818
}, {
"definition" : "approach",
"score" : 0.3126297080591818
}, {
"definition" : "context of Jacobi polynomial",
"score" : 0.3126297080591818
}, {
"definition" : "i.e.",
"score" : 0.3126297080591818
}, {
"definition" : "other MOI",
"score" : 0.3126297080591818
}, {
"definition" : "Pochhammer 's symbol",
"score" : 0.3126297080591818
}, {
"definition" : "Polylogarithm because the formula",
"score" : 0.3126297080591818
}, {
"definition" : "value in the figure",
"score" : 0.3126297080591818
}, {
"definition" : "variable in the expression",
"score" : 0.3126297080591818
}, {
"definition" : "introduction",
"score" : 0.272796532696653
}, {
"definition" : "counterexample",
"score" : 0.2727957779744968
}, {
"definition" : "case of the Jacobi polynomial",
"score" : 0.27279576772817454
}, {
"definition" : "comma",
"score" : 0.27279576772817454
}, {
"definition" : "dependency graph",
"score" : 0.27279576772817454
}, {
"definition" : "dependency graph from Jacobi polynomial",
"score" : 0.27279576772817454
}, {
"definition" : "entry",
"score" : 0.27279576772817454
}, {
"definition" : "part of the identifier",
"score" : 0.27279576772817454
}, {
"definition" : "plain text words Li",
"score" : 0.27279576772817454
}, {
"definition" : "screenshot to the right",
"score" : 0.27279576772817454
}, {
"definition" : "single sentence context",
"score" : 0.27279576772817454
}, {
"definition" : "value on the real axis",
"score" : 0.27279576772817454
}, {
"definition" : "formula",
"score" : 0.26164227757848
}, {
"definition" : "Jacobi polynomial",
"score" : 0.26164227757848
}, {
"definition" : "argument",
"score" : 0.2255385879688067
}, {
"definition" : "context",
"score" : 0.2255385879688067
}, {
"definition" : "definition",
"score" : 0.2255385879688067
}, {
"definition" : "example of the definition",
"score" : 0.2255385879688067
}, {
"definition" : "hypergeometric function",
"score" : 0.2255385879688067
}, {
"definition" : "ln as part",
"score" : 0.2255385879688067
}, {
"definition" : "outgoing dependency",
"score" : 0.2255385879688067
}, {
"definition" : "right",
"score" : 0.2255385879688067
}, {
"definition" : "subscript of identifier",
"score" : 0.2255385879688067
}, {
"definition" : "part of any other MOI",
"score" : 0.17681632653061222
} ]
}