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

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

Semantic latex: A

Confidence: 0

Mathematica

Translation: A

Information

Sub Equations

  • A

Free variables

  • A

Tests

Symbolic
Numeric

SymPy

Translation: A

Information

Sub Equations

  • A

Free variables

  • A

Tests

Symbolic
Numeric

Maple

Translation: A

Information

Sub Equations

  • A

Free variables

  • A

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • constant
  • Lamé 's equation
  • elliptic function
  • Weierstrass
  • algebraic form
  • change
  • special case of Heun 's equation
  • ellipsoidal equation
  • ellipsoidal wave equation
  • elliptic modulus of the Jacobian elliptic function
  • general form of Lamé 's equation
  • equation
  • Lamé equation

Complete translation information:

{
  "id" : "FORMULA_7fc56270e7a70fa81a5935b72eacbe29",
  "formula" : "A",
  "semanticFormula" : "A",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "A",
      "translationInformation" : {
        "subEquations" : [ "A" ],
        "freeVariables" : [ "A" ]
      },
      "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" : "A",
      "translationInformation" : {
        "subEquations" : [ "A" ],
        "freeVariables" : [ "A" ]
      },
      "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" : "A",
      "translationInformation" : {
        "subEquations" : [ "A" ],
        "freeVariables" : [ "A" ]
      },
      "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" : 0,
    "word" : 7
  }, {
    "section" : 1,
    "sentence" : 4,
    "word" : 28
  } ],
  "includes" : [ ],
  "isPartOf" : [ "\\frac{d^2y}{dx^2} + (A+B\\weierp(x))y  = 0", "\\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", "\\Lambda = A" ],
  "definiens" : [ {
    "definition" : "constant",
    "score" : 0.8197525439797799
  }, {
    "definition" : "Lamé 's equation",
    "score" : 0.7942311537380816
  }, {
    "definition" : "elliptic function",
    "score" : 0.6954080343007951
  }, {
    "definition" : "Weierstrass",
    "score" : 0.6954080343007951
  }, {
    "definition" : "algebraic form",
    "score" : 0.4968133815285695
  }, {
    "definition" : "change",
    "score" : 0.4968133815285695
  }, {
    "definition" : "special case of Heun 's equation",
    "score" : 0.4968133815285695
  }, {
    "definition" : "ellipsoidal equation",
    "score" : 0.42517456802546916
  }, {
    "definition" : "ellipsoidal wave equation",
    "score" : 0.42517456802546916
  }, {
    "definition" : "elliptic modulus of the Jacobian elliptic function",
    "score" : 0.42517456802546916
  }, {
    "definition" : "general form of Lamé 's equation",
    "score" : 0.42517456802546916
  }, {
    "definition" : "equation",
    "score" : 0.3750415938246384
  }, {
    "definition" : "Lamé equation",
    "score" : 0.3750415938246384
  } ]
}

Specify your own input