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 \in \mathbb{N}}
... is translated to the CAS output ...
Semantic latex: N \in \mathbb{N}
Confidence: 0
Mathematica
Translation: N \[Element]N
Information
Free variables
- N
Tests
Symbolic
Numeric
SymPy
Translation: N null N
Information
Free variables
- N
Tests
Symbolic
Numeric
Maple
Translation: N in N
Information
Free variables
- N
Tests
Symbolic
Numeric
Dependency Graph Information
Is part of
Description
- Pochhammer symbol
- asymptotic expansion
Complete translation information:
{
"id" : "FORMULA_c42a0e6c42f40626fb62587caa77429f",
"formula" : "N \\in \\mathbb{N}",
"semanticFormula" : "N \\in \\mathbb{N}",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "N \\[Element]N",
"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" : "N null N",
"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" : [ ]
}
},
"Maple" : {
"translation" : "N in N",
"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" : 6,
"sentence" : 1,
"word" : 25
} ],
"includes" : [ ],
"isPartOf" : [ "N \\in \\mathbb{N}, \\Re a > 1" ],
"definiens" : [ {
"definition" : "Pochhammer symbol",
"score" : 0.6859086196238077
}, {
"definition" : "asymptotic expansion",
"score" : 0.5988174995334326
} ]
}