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 n \to \infty }
... is translated to the CAS output ...
Semantic latex: n \to \infty
Confidence: 0
Mathematica
Translation: n -> Infinity
Information
Free variables
- n
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Translation for '\to' is not implemented for CAS SymPy
Tests
Symbolic
Numeric
Maple
Translation: n = infinity
Information
Free variables
- n
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Description
- mean
- piecewise continuous function
- sequence of sum
- many discontinuity in the interval
Complete translation information:
{
"id" : "FORMULA_9fcd9d5d39cca718980a307f659f2e54",
"formula" : "n \\to \\infty",
"semanticFormula" : "n \\to \\infty",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "n -> Infinity",
"translationInformation" : {
"freeVariables" : [ "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" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) No translation possible for given token: Translation for '\\to' is not implemented for CAS SymPy"
}
},
"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" : "n = infinity",
"translationInformation" : {
"freeVariables" : [ "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" : 4,
"sentence" : 4,
"word" : 27
} ],
"includes" : [ "n" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "mean",
"score" : 0.6460746792928004
}, {
"definition" : "piecewise continuous function",
"score" : 0.6460746792928004
}, {
"definition" : "sequence of sum",
"score" : 0.6460746792928004
}, {
"definition" : "many discontinuity in the interval",
"score" : 0.5988174995334326
} ]
}