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 \Phi(z,n,a)=z^{-a}\left\{ \sum_{{k=0}\atop k\neq n-1}^ \infty \zeta(n-k,a)\frac{\log^k (z)}{k!} +\left[\psi(n)-\psi(a)-\log(-\log(z))\right]\frac{\log^{n-1}(z)}{(n-1)!}\right\}, }

... is translated to the CAS output ...

Semantic latex: \Phi(z , n , a) = z^{-a} \{\sum_{{k=0}\atop k\neq n-1}^ \infty \zeta(n - k , a) \frac{\log^k (z)}{k!} + [\digamma@{n} - \digamma@{a} - \log(- \log(z))] \frac{\log^{n-1}(z)}{(n-1)!} \} ,

Confidence: 0.6805

Mathematica

Translation:

Information

Symbol info

  • (LaTeX -> Mathematica) No translation possible for given token: Unable to identify interval of SUM

Tests

Symbolic
Numeric

SymPy

Translation:

Information

Symbol info

  • (LaTeX -> SymPy) No translation possible for given token: Unable to identify interval of SUM

Tests

Symbolic
Numeric

Maple

Translation:

Information

Symbol info

  • (LaTeX -> Maple) No translation possible for given token: Unable to identify interval of SUM

Tests

Symbolic
Numeric

Dependency Graph Information

Includes

Complete translation information:

{
  "id" : "FORMULA_cb8c9a745e6a218bed354c27f63c33a8",
  "formula" : "\\Phi(z,n,a)=z^{-a}\\left\\{\n\\sum_{{k=0}\\atop k\\neq n-1}^ \\infty \\zeta(n-k,a)\\frac{\\log^k (z)}{k!}\n+\\left[\\psi(n)-\\psi(a)-\\log(-\\log(z))\\right]\\frac{\\log^{n-1}(z)}{(n-1)!}\\right\\},",
  "semanticFormula" : "\\Phi(z , n , a) = z^{-a} \\{\\sum_{{k=0}\\atop k\\neq n-1}^ \\infty \\zeta(n - k , a) \\frac{\\log^k (z)}{k!} + [\\digamma@{n} - \\digamma@{a} - \\log(- \\log(z))] \\frac{\\log^{n-1}(z)}{(n-1)!} \\} ,",
  "confidence" : 0.6805,
  "translations" : {
    "Mathematica" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Mathematica) No translation possible for given token: Unable to identify interval of SUM"
        }
      }
    },
    "SymPy" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> SymPy) No translation possible for given token: Unable to identify interval of SUM"
        }
      }
    },
    "Maple" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Maple) No translation possible for given token: Unable to identify interval of SUM"
        }
      }
    }
  },
  "positions" : [ ],
  "includes" : [ "a", "\\Phi(z,s,a)", "\\psi(n)", "\\Phi(z,n,a)=z^{-a}\\left\\{\\sum_{{k=0}\\atop k\\neq n-1}^ \\infty \\zeta(n-k,a)\\frac{\\log^k (z)}{k!}+\\left[\\psi(n)-\\psi(a)-\\log(-\\log(z))\\right]\\frac{\\log^{n-1}(z)}{(n-1)!}\\right\\}", "z" ],
  "isPartOf" : [ ],
  "definiens" : [ ]
}

Specify your own input