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

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

Semantic latex: (x, y)

Confidence: 0

Mathematica

Translation: (x , y)

Information

Sub Equations

  • (x , y)

Free variables

  • x
  • y

Tests

Symbolic
Numeric

SymPy

Translation: (x , y)

Information

Sub Equations

  • (x , y)

Free variables

  • x
  • y

Tests

Symbolic
Numeric

Maple

Translation: (x , y)

Information

Sub Equations

  • (x , y)

Free variables

  • x
  • y

Tests

Symbolic
Numeric

Dependency Graph Information

Includes

Is part of

Complete translation information:

{
  "id" : "FORMULA_49b311da0ed4baee4da4dd66e37ef59c",
  "formula" : "(x, y)",
  "semanticFormula" : "(x, y)",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "(x , y)",
      "translationInformation" : {
        "subEquations" : [ "(x , y)" ],
        "freeVariables" : [ "x", "y" ]
      },
      "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" : "(x , y)",
      "translationInformation" : {
        "subEquations" : [ "(x , y)" ],
        "freeVariables" : [ "x", "y" ]
      },
      "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" : "(x , y)",
      "translationInformation" : {
        "subEquations" : [ "(x , y)" ],
        "freeVariables" : [ "x", "y" ]
      },
      "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" : [ ],
  "includes" : [ "(x,y)", "(x,\\, y)", "y", "x" ],
  "isPartOf" : [ "P = (x,\\, y)", "(x,y)", "(x,\\, y)", "(x,y) = (a\\cos(t),b\\sin(t)) \\quad \\text{for} \\quad 0\\leq t\\leq 2\\pi", "(x,\\, y) = (a \\cos t,\\, b \\sin t),\\ 0 \\le t < 2\\pi" ],
  "definiens" : [ ]
}

Specify your own input