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 t}

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

Semantic latex: t

Confidence: 0

Mathematica

Translation: t

Information

Sub Equations

  • t

Free variables

  • t

Tests

Symbolic
Numeric

SymPy

Translation: t

Information

Sub Equations

  • t

Free variables

  • t

Tests

Symbolic
Numeric

Maple

Translation: t

Information

Sub Equations

  • t

Free variables

  • t

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • algebraic form
  • change
  • special case of Heun 's equation
  • Lamé 's equation

Complete translation information:

{
  "id" : "FORMULA_e358efa489f58062f10dd7316b65649e",
  "formula" : "t",
  "semanticFormula" : "t",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "t",
      "translationInformation" : {
        "subEquations" : [ "t" ],
        "freeVariables" : [ "t" ]
      },
      "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" : "t",
      "translationInformation" : {
        "subEquations" : [ "t" ],
        "freeVariables" : [ "t" ]
      },
      "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" : "t",
      "translationInformation" : {
        "subEquations" : [ "t" ],
        "freeVariables" : [ "t" ]
      },
      "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" : [ {
    "section" : 1,
    "sentence" : 3,
    "word" : 6
  } ],
  "includes" : [ ],
  "isPartOf" : [ "t=\\operatorname{sn} x", "\\frac{d^2y}{dt^2} +\\frac{1}{2}\\left(\\frac{1}{t-e_1}+\\frac{1}{t-e_2}+\\frac{1}{t-e_3}\\right) \\frac{dy}{dt} - \\frac{A+Bt}{4(t-e_1)(t-e_2)(t-e_3)}y = 0" ],
  "definiens" : [ {
    "definition" : "algebraic form",
    "score" : 0.6859086196238077
  }, {
    "definition" : "change",
    "score" : 0.6859086196238077
  }, {
    "definition" : "special case of Heun 's equation",
    "score" : 0.6859086196238077
  }, {
    "definition" : "Lamé 's equation",
    "score" : 0.6460746792928004
  } ]
}

Specify your own input