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^\mu(x)}
... is translated to the CAS output ...
Semantic latex: K^\mu(x)
Confidence: 0
Mathematica
Translation: (K[x])^\[Mu]
Information
Sub Equations
- (K[x])^\[Mu]
Free variables
- \[Mu]
- x
Symbol info
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
SymPy
Translation: (K(x))**(Symbol('mu'))
Information
Sub Equations
- (K(x))**(Symbol('mu'))
Free variables
- Symbol('mu')
- x
Symbol info
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
Maple
Translation: (K(x))^(mu)
Information
Sub Equations
- (K(x))^(mu)
Free variables
- mu
- x
Symbol info
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
Dependency Graph Information
Description
- expansion of the function
- notation
- Mehler
- function
- Carl Neumann
- term of the Legendre polynomial
Complete translation information:
{
"id" : "FORMULA_b250dc2b6221d08097fe33d63e334666",
"formula" : "K^\\mu(x)",
"semanticFormula" : "K^\\mu(x)",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "(K[x])^\\[Mu]",
"translationInformation" : {
"subEquations" : [ "(K[x])^\\[Mu]" ],
"freeVariables" : [ "\\[Mu]", "x" ],
"tokenTranslations" : {
"K" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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" : "(K(x))**(Symbol('mu'))",
"translationInformation" : {
"subEquations" : [ "(K(x))**(Symbol('mu'))" ],
"freeVariables" : [ "Symbol('mu')", "x" ],
"tokenTranslations" : {
"K" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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" : "(K(x))^(mu)",
"translationInformation" : {
"subEquations" : [ "(K(x))^(mu)" ],
"freeVariables" : [ "mu", "x" ],
"tokenTranslations" : {
"K" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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" : 0,
"sentence" : 2,
"word" : 4
}, {
"section" : 0,
"sentence" : 5,
"word" : 8
} ],
"includes" : [ ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "expansion of the function",
"score" : 0.722
}, {
"definition" : "notation",
"score" : 0.722
}, {
"definition" : "Mehler",
"score" : 0.6859086196238077
}, {
"definition" : "function",
"score" : 0.6460746792928004
}, {
"definition" : "Carl Neumann",
"score" : 0.4741699173880385
}, {
"definition" : "term of the Legendre polynomial",
"score" : 0.4741699173880385
} ]
}