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 \lim_{a \to 1}=K_n^\text{aff}(q^{x-N};p,N\mid q)=p_n(q^x;p,q)}
... is translated to the CAS output ...
Semantic latex: \lim_{a \to 1}=K_n^\text{aff}(q^{x-N};p,N\mid q)=p_n(q^x;p,q)
Confidence: 0
Mathematica
Translation: Limit[, a -> 1, GenerateConditions->None] == Subscript[K, n]
Information
Sub Equations
- Limit[, a -> 1, GenerateConditions->None] = Subscript[K, n]
Free variables
- Subscript[K, n]
- n
Tests
Symbolic
Numeric
SymPy
Translation: limit(, a, 1) == Symbol('{K}_{n}')
Information
Sub Equations
- limit(, a, 1) = Symbol('{K}_{n}')
Free variables
- Symbol('{K}_{n}')
- n
Tests
Symbolic
Numeric
Maple
Translation: limit(, a = 1) = K[n]
Information
Sub Equations
- limit(, a = 1) = K[n]
Free variables
- K[n]
- n
Tests
Symbolic
Numeric
Dependency Graph Information
Description
- Affine q-Krawtchouk polynomial
- Little q-Laguerre polynomial
Complete translation information:
{
"id" : "FORMULA_89fac3d5ee0354ddda00acda54e6f6bd",
"formula" : "\\lim_{a \\to 1}=K_n^\\text{aff}(q^{x-N};p,N\\mid q)=p_n(q^x;p,q)",
"semanticFormula" : "\\lim_{a \\to 1}=K_n^\\text{aff}(q^{x-N};p,N\\mid q)=p_n(q^x;p,q)",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "Limit[, a -> 1, GenerateConditions->None] == Subscript[K, n]",
"translationInformation" : {
"subEquations" : [ "Limit[, a -> 1, GenerateConditions->None] = Subscript[K, n]" ],
"freeVariables" : [ "Subscript[K, 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" : [ ]
}
},
"SymPy" : {
"translation" : "limit(, a, 1) == Symbol('{K}_{n}')",
"translationInformation" : {
"subEquations" : [ "limit(, a, 1) = Symbol('{K}_{n}')" ],
"freeVariables" : [ "Symbol('{K}_{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" : [ ]
}
},
"Maple" : {
"translation" : "limit(, a = 1) = K[n]",
"translationInformation" : {
"subEquations" : [ "limit(, a = 1) = K[n]" ],
"freeVariables" : [ "K[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" : 2,
"sentence" : 0,
"word" : 8
} ],
"includes" : [ ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "Affine q-Krawtchouk polynomial",
"score" : 0.7125985104912714
}, {
"definition" : "Little q-Laguerre polynomial",
"score" : 0.6859086196238077
} ]
}