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,b,c}

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

Semantic latex: a,b,c

Confidence: 0

Mathematica

Translation: a , b , c

Information

Sub Equations

  • a , b , c

Free variables

  • a
  • b
  • c

Tests

Symbolic
Numeric

SymPy

Translation: a , b , c

Information

Sub Equations

  • a , b , c

Free variables

  • a
  • b
  • c

Tests

Symbolic
Numeric

Maple

Translation: a , b , c

Information

Sub Equations

  • a , b , c

Free variables

  • a
  • b
  • c

Tests

Symbolic
Numeric

Dependency Graph Information

Description

  • parameter
  • non-uniform lattice
  • Hahn polynomial
  • uniform lattice

Complete translation information:

{
  "id" : "FORMULA_a44c56c8177e32d3613988f4dba7962e",
  "formula" : "a,b,c",
  "semanticFormula" : "a,b,c",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "a , b , c",
      "translationInformation" : {
        "subEquations" : [ "a , b , c" ],
        "freeVariables" : [ "a", "b", "c" ]
      },
      "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 , b , c",
      "translationInformation" : {
        "subEquations" : [ "a , b , c" ],
        "freeVariables" : [ "a", "b", "c" ]
      },
      "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 , b , c",
      "translationInformation" : {
        "subEquations" : [ "a , b , c" ],
        "freeVariables" : [ "a", "b", "c" ]
      },
      "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" : 18
  }, {
    "section" : 3,
    "sentence" : 0,
    "word" : 17
  } ],
  "includes" : [ ],
  "isPartOf" : [ ],
  "definiens" : [ {
    "definition" : "parameter",
    "score" : 0.8869384888466118
  }, {
    "definition" : "non-uniform lattice",
    "score" : 0.6288842031023242
  }, {
    "definition" : "Hahn polynomial",
    "score" : 0.28756158979232216
  }, {
    "definition" : "uniform lattice",
    "score" : 0.28756158979232216
  } ]
}

Specify your own input