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 \Beta(x,y) = \Beta(y,x)}

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

Semantic latex: \Beta(x,y) = \Beta(y,x)

Confidence: 0

Mathematica

Translation:

Information

Symbol info

  • (LaTeX -> Mathematica) An unknown or missing element occurred: Unknown MathTerm Tag: probability distribution for \Beta [\Beta]

Tests

Symbolic
Numeric

SymPy

Translation:

Information

Symbol info

  • (LaTeX -> SymPy) An unknown or missing element occurred: Unknown MathTerm Tag: probability distribution for \Beta [\Beta]

Tests

Symbolic
Numeric

Maple

Translation:

Information

Symbol info

  • (LaTeX -> Maple) An unknown or missing element occurred: Unknown MathTerm Tag: probability distribution for \Beta [\Beta]

Tests

Symbolic
Numeric

Dependency Graph Information

Includes

Description

  • input
  • beta function

Complete translation information:

{
  "id" : "FORMULA_7896320fd8e4514dec4ab98efff2026d",
  "formula" : "\\Beta(x,y) = \\Beta(y,x)",
  "semanticFormula" : "\\Beta(x,y) = \\Beta(y,x)",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Mathematica) An unknown or missing element occurred: Unknown MathTerm Tag: probability distribution for \\Beta [\\Beta]"
        }
      }
    },
    "SymPy" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> SymPy) An unknown or missing element occurred: Unknown MathTerm Tag: probability distribution for \\Beta [\\Beta]"
        }
      }
    },
    "Maple" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Maple) An unknown or missing element occurred: Unknown MathTerm Tag: probability distribution for \\Beta [\\Beta]"
        }
      }
    }
  },
  "positions" : [ {
    "section" : 1,
    "sentence" : 0,
    "word" : 8
  } ],
  "includes" : [ "x, y", "\\Beta", "x", "y" ],
  "isPartOf" : [ ],
  "definiens" : [ {
    "definition" : "input",
    "score" : 0.6859086196238077
  }, {
    "definition" : "beta function",
    "score" : 0.6460746792928004
  } ]
}

Specify your own input