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 \, [0,\,z]}

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

Semantic latex: [0,z]

Confidence: 0

Mathematica

Translation: [0 , z]

Information

Sub Equations

  • [0 , z]

Free variables

  • z

Tests

Symbolic
Numeric

SymPy

Translation: [0 , z]

Information

Sub Equations

  • [0 , z]

Free variables

  • z

Tests

Symbolic
Numeric

Maple

Translation: [0 , z]

Information

Sub Equations

  • [0 , z]

Free variables

  • z

Tests

Symbolic
Numeric

Dependency Graph Information

Includes

Is part of

Complete translation information:

{
  "id" : "FORMULA_7e0105d95bdd7854d21b203a02e45057",
  "formula" : "[0,z]",
  "semanticFormula" : "[0,z]",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "[0 , z]",
      "translationInformation" : {
        "subEquations" : [ "[0 , z]" ],
        "freeVariables" : [ "z" ]
      },
      "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" : "[0 , z]",
      "translationInformation" : {
        "subEquations" : [ "[0 , z]" ],
        "freeVariables" : [ "z" ]
      },
      "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" : "[0 , z]",
      "translationInformation" : {
        "subEquations" : [ "[0 , z]" ],
        "freeVariables" : [ "z" ]
      },
      "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" : [ "\\, [0,\\,z]", "z" ],
  "isPartOf" : [ "\\, [0,\\,z]" ],
  "definiens" : [ ]
}

Specify your own input