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 d_n^2=\frac{\Gamma(a+c+n+a)}{n!(b-a-n-1)!\Gamma(b-c-n)}}
... is translated to the CAS output ...
Semantic latex: d_n^2=\frac{\Gamma(a+c+n+a)}{n!(b-a-n-1)!\Gamma(b-c-n)}
Confidence: 0
Mathematica
Translation: (Subscript[d, n])^(2) == Divide[\[CapitalGamma]*(a + c + n + a),(n)!*(b - a - n - 1)!*\[CapitalGamma]*(b - c - n)]
Information
Sub Equations
- (Subscript[d, n])^(2) = Divide[\[CapitalGamma]*(a + c + n + a),(n)!*(b - a - n - 1)!*\[CapitalGamma]*(b - c - n)]
Free variables
- Subscript[d, n]
- \[CapitalGamma]
- a
- b
- c
- n
Tests
Symbolic
Numeric
SymPy
Translation: (Symbol('{d}_{n}'))**(2) == (Symbol('Gamma')*(a + c + n + a))/(factorial(n)*factorial(b - a - n - 1)*Symbol('Gamma')*(b - c - n))
Information
Sub Equations
- (Symbol('{d}_{n}'))**(2) = (Symbol('Gamma')*(a + c + n + a))/(factorial(n)*factorial(b - a - n - 1)*Symbol('Gamma')*(b - c - n))
Free variables
- Symbol('Gamma')
- Symbol('{d}_{n}')
- a
- b
- c
- n
Tests
Symbolic
Numeric
Maple
Translation: (d[n])^(2) = (Gamma*(a + c + n + a))/(factorial(n)*factorial(b - a - n - 1)*Gamma*(b - c - n))
Information
Sub Equations
- (d[n])^(2) = (Gamma*(a + c + n + a))/(factorial(n)*factorial(b - a - n - 1)*Gamma*(b - c - n))
Free variables
- Gamma
- a
- b
- c
- d[n]
- n
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Complete translation information:
{
"id" : "FORMULA_ec72de643ecf620b25d41bcfd305d5e2",
"formula" : "d_n^2=\\frac{\\Gamma(a+c+n+a)}{n!(b-a-n-1)!\\Gamma(b-c-n)}",
"semanticFormula" : "d_n^2=\\frac{\\Gamma(a+c+n+a)}{n!(b-a-n-1)!\\Gamma(b-c-n)}",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "(Subscript[d, n])^(2) == Divide[\\[CapitalGamma]*(a + c + n + a),(n)!*(b - a - n - 1)!*\\[CapitalGamma]*(b - c - n)]",
"translationInformation" : {
"subEquations" : [ "(Subscript[d, n])^(2) = Divide[\\[CapitalGamma]*(a + c + n + a),(n)!*(b - a - n - 1)!*\\[CapitalGamma]*(b - c - n)]" ],
"freeVariables" : [ "Subscript[d, n]", "\\[CapitalGamma]", "a", "b", "c", "n" ]
},
"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" : "(Symbol('{d}_{n}'))**(2) == (Symbol('Gamma')*(a + c + n + a))/(factorial(n)*factorial(b - a - n - 1)*Symbol('Gamma')*(b - c - n))",
"translationInformation" : {
"subEquations" : [ "(Symbol('{d}_{n}'))**(2) = (Symbol('Gamma')*(a + c + n + a))/(factorial(n)*factorial(b - a - n - 1)*Symbol('Gamma')*(b - c - n))" ],
"freeVariables" : [ "Symbol('Gamma')", "Symbol('{d}_{n}')", "a", "b", "c", "n" ]
},
"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" : "(d[n])^(2) = (Gamma*(a + c + n + a))/(factorial(n)*factorial(b - a - n - 1)*Gamma*(b - c - n))",
"translationInformation" : {
"subEquations" : [ "(d[n])^(2) = (Gamma*(a + c + n + a))/(factorial(n)*factorial(b - a - n - 1)*Gamma*(b - c - n))" ],
"freeVariables" : [ "Gamma", "a", "b", "c", "d[n]", "n" ]
},
"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" : 1,
"sentence" : 1,
"word" : 5
} ],
"includes" : [ "n" ],
"isPartOf" : [ ],
"definiens" : [ ]
}