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) = \int_0^1 t^{x-1}(1-t)^{y-1}\,dt}

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

Semantic latex: \Beta(x , y) = \int_0^1 t^{x-1}(1 - t)^{y-1} \diff{t}

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

Is part of

Complete translation information:

{
  "id" : "FORMULA_a7963455a73113fff8e7f4820620c90a",
  "formula" : "\\Beta(x,y) = \\int_0^1 t^{x-1}(1-t)^{y-1}dt",
  "semanticFormula" : "\\Beta(x , y) = \\int_0^1 t^{x-1}(1 - t)^{y-1} \\diff{t}",
  "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" : [ ],
  "includes" : [ "x, y", "\\Beta(x,y) = \\int_0^1 t^{x-1}(1-t)^{y-1}\\,dt", "y", "\\Beta", "v = z(1 - t)", "x" ],
  "isPartOf" : [ "\\Beta(x,y) = \\int_0^1 t^{x-1}(1-t)^{y-1}\\,dt" ],
  "definiens" : [ ]
}

Specify your own input