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 K_n(\lambda(x);c,N|q)=_3\Phi_2(q^{-n},q^{-x},cq^{x-N};q^{-N},0|q;q)}
... is translated to the CAS output ...
Semantic latex: K_n(\lambda(x);c,N|q)=_3\Phi_2(q^{-n},q^{-x},cq^{x-N};q^{-N},0|q;q)
Confidence: 0
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) Parenthesis mismatch in expression: Bracket-Error: open bracket | reached )
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) Parenthesis mismatch in expression: Bracket-Error: open bracket | reached )
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) Parenthesis mismatch in expression: Bracket-Error: open bracket | reached )
Tests
Symbolic
Numeric
Dependency Graph Information
Description
- q
- n
- x
- TeX Source
- ,0
- c
- cq
- Formula
- Gold ID
- k_n
- lambda
- link
- x-n
Complete translation information:
{
"id" : "FORMULA_9221dfda453868628eb8bbcd2d414fdf",
"formula" : "K_n(\\lambda(x);c,N|q)=_3\\Phi_2(q^{-n},q^{-x},cq^{x-N};q^{-N},0|q;q)",
"semanticFormula" : "K_n(\\lambda(x);c,N|q)=_3\\Phi_2(q^{-n},q^{-x},cq^{x-N};q^{-N},0|q;q)",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) Parenthesis mismatch in expression: Bracket-Error: open bracket | reached )"
}
},
"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" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) Parenthesis mismatch in expression: Bracket-Error: open bracket | reached )"
}
},
"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" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) Parenthesis mismatch in expression: Bracket-Error: open bracket | reached )"
}
},
"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" : 0,
"word" : 8
} ],
"includes" : [ ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "q",
"score" : 0.946843346393521
}, {
"definition" : "n",
"score" : 0.8835270181497158
}, {
"definition" : "x",
"score" : 0.8144453757286602
}, {
"definition" : "TeX Source",
"score" : 0.722
}, {
"definition" : ",0",
"score" : 0.657257825973014
}, {
"definition" : "c",
"score" : 0.657257825973014
}, {
"definition" : "cq",
"score" : 0.657257825973014
}, {
"definition" : "Formula",
"score" : 0.657257825973014
}, {
"definition" : "Gold ID",
"score" : 0.657257825973014
}, {
"definition" : "k_n",
"score" : 0.657257825973014
}, {
"definition" : "lambda",
"score" : 0.657257825973014
}, {
"definition" : "link",
"score" : 0.657257825973014
}, {
"definition" : "x-n",
"score" : 0.657257825973014
} ]
}