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

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

Semantic latex: L

Confidence: 0

Mathematica

Translation: L

Information

Sub Equations

  • L

Free variables

  • L

Tests

Symbolic
Numeric

SymPy

Translation: L

Information

Sub Equations

  • L

Free variables

  • L

Tests

Symbolic
Numeric

Maple

Translation: L

Information

Sub Equations

  • L

Free variables

  • L

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • Laguerre polynomial
  • hypergeometric function
  • term

Complete translation information:

{
  "id" : "FORMULA_d20caec3b48a1eef164cb4ca81ba2587",
  "formula" : "L",
  "semanticFormula" : "L",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "L",
      "translationInformation" : {
        "subEquations" : [ "L" ],
        "freeVariables" : [ "L" ]
      },
      "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" : "L",
      "translationInformation" : {
        "subEquations" : [ "L" ],
        "freeVariables" : [ "L" ]
      },
      "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" : "L",
      "translationInformation" : {
        "subEquations" : [ "L" ],
        "freeVariables" : [ "L" ]
      },
      "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" : 0,
    "sentence" : 1,
    "word" : 14
  } ],
  "includes" : [ ],
  "isPartOf" : [ "C_n(x; \\mu)= {}_2F_0(-n,-x,-1/\\mu)=(-1)^n n! L_n^{(-1-x)}\\left(-\\frac 1 \\mu \\right)" ],
  "definiens" : [ {
    "definition" : "Laguerre polynomial",
    "score" : 0.722
  }, {
    "definition" : "hypergeometric function",
    "score" : 0.7125985104912714
  }, {
    "definition" : "term",
    "score" : 0.6859086196238077
  } ]
}

Specify your own input