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+1,y) = \Beta(x, y) \cdot \dfrac{x}{x+y}, \quad \Beta(x,y+1) = \Beta(x, y) \cdot \dfrac{y}{x+y}.}

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

Semantic latex: \Beta(x+1,y) = \Beta(x, y) \cdot \dfrac{x}{x+y}, \quad \Beta(x,y+1) = \Beta(x, y) \cdot \dfrac{y}{x+y}

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

  • simple recurrence
  • coordinate
  • version of Pascal 's identity
  • identity for binomial coefficient
  • several identity
  • beta function

Complete translation information:

{
  "id" : "FORMULA_4de5d74978f6979bf2367753b46c9ca7",
  "formula" : "\\Beta(x+1,y) = \\Beta(x, y) \\cdot \\dfrac{x}{x+y}, \\quad \\Beta(x,y+1) = \\Beta(x, y) \\cdot \\dfrac{y}{x+y}",
  "semanticFormula" : "\\Beta(x+1,y) = \\Beta(x, y) \\cdot \\dfrac{x}{x+y}, \\quad \\Beta(x,y+1) = \\Beta(x, y) \\cdot \\dfrac{y}{x+y}",
  "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" : 5,
    "sentence" : 3,
    "word" : 30
  } ],
  "includes" : [ "x, y", "\\Beta", "y", "x" ],
  "isPartOf" : [ ],
  "definiens" : [ {
    "definition" : "simple recurrence",
    "score" : 0.7125985104912714
  }, {
    "definition" : "coordinate",
    "score" : 0.6859086196238077
  }, {
    "definition" : "version of Pascal 's identity",
    "score" : 0.6859086196238077
  }, {
    "definition" : "identity for binomial coefficient",
    "score" : 0.6460746792928004
  }, {
    "definition" : "several identity",
    "score" : 0.5500952380952381
  }, {
    "definition" : "beta function",
    "score" : 0.5049074255814494
  } ]
}

Specify your own input