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 1/u}

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

Semantic latex: 1/u

Confidence: 0

Mathematica

Translation: 1/u

Information

Sub Equations

  • 1/u

Free variables

  • u

Tests

Symbolic
Numeric

SymPy

Translation: 1/u

Information

Sub Equations

  • 1/u

Free variables

  • u

Tests

Symbolic
Numeric

Maple

Translation: 1/u

Information

Sub Equations

  • 1/u

Free variables

  • u

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • distribution
  • exponential representation
  • Fourier representation
  • function
  • principal value
  • real axis
  • respect

Complete translation information:

{
  "id" : "FORMULA_141464bd68c8f4b1475d3a0382d8944d",
  "formula" : "1/u",
  "semanticFormula" : "1/u",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "1/u",
      "translationInformation" : {
        "subEquations" : [ "1/u" ],
        "freeVariables" : [ "u" ]
      },
      "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" : "1/u",
      "translationInformation" : {
        "subEquations" : [ "1/u" ],
        "freeVariables" : [ "u" ]
      },
      "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" : "1/u",
      "translationInformation" : {
        "subEquations" : [ "1/u" ],
        "freeVariables" : [ "u" ]
      },
      "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" : 2,
    "sentence" : 2,
    "word" : 9
  } ],
  "includes" : [ ],
  "isPartOf" : [ "1/u=1/(y-x)" ],
  "definiens" : [ {
    "definition" : "distribution",
    "score" : 0.6859086196238077
  }, {
    "definition" : "exponential representation",
    "score" : 0.6859086196238077
  }, {
    "definition" : "Fourier representation",
    "score" : 0.6859086196238077
  }, {
    "definition" : "function",
    "score" : 0.6859086196238077
  }, {
    "definition" : "principal value",
    "score" : 0.6859086196238077
  }, {
    "definition" : "real axis",
    "score" : 0.6859086196238077
  }, {
    "definition" : "respect",
    "score" : 0.6859086196238077
  } ]
}

Specify your own input