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 z^n}

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

Semantic latex: z^n

Confidence: 0

Mathematica

Translation: (z)^(n)

Information

Sub Equations

  • (z)^(n)

Free variables

  • n
  • z

Tests

Symbolic
Numeric

SymPy

Translation: (z)**(n)

Information

Sub Equations

  • (z)**(n)

Free variables

  • n
  • z

Tests

Symbolic
Numeric

Maple

Translation: (z)^(n)

Information

Sub Equations

  • (z)^(n)

Free variables

  • n
  • z

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • polynomial
  • term
  • orthogonal polynomial
  • respect to the measure
  • coefficient
  • complex number with absolute value
  • Szegő 's recurrence
  • Verblunsky coefficient

Complete translation information:

{
  "id" : "FORMULA_8d7b5bb5c0fd9b6847a7622b7302c0e0",
  "formula" : "z^n",
  "semanticFormula" : "z^n",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "(z)^(n)",
      "translationInformation" : {
        "subEquations" : [ "(z)^(n)" ],
        "freeVariables" : [ "n", "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" : "(z)**(n)",
      "translationInformation" : {
        "subEquations" : [ "(z)**(n)" ],
        "freeVariables" : [ "n", "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" : "(z)^(n)",
      "translationInformation" : {
        "subEquations" : [ "(z)^(n)" ],
        "freeVariables" : [ "n", "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" : [ {
    "section" : 1,
    "sentence" : 1,
    "word" : 13
  } ],
  "includes" : [ ],
  "isPartOf" : [ "\\Phi_n^*(z)=z^n\\overline{\\Phi_n(1/\\overline{z})}" ],
  "definiens" : [ {
    "definition" : "polynomial",
    "score" : 0.85456516723454
  }, {
    "definition" : "term",
    "score" : 0.722
  }, {
    "definition" : "orthogonal polynomial",
    "score" : 0.6687181434333315
  }, {
    "definition" : "respect to the measure",
    "score" : 0.6687181434333315
  }, {
    "definition" : "coefficient",
    "score" : 0.5775629775816605
  }, {
    "definition" : "complex number with absolute value",
    "score" : 0.4904718574912855
  }, {
    "definition" : "Szegő 's recurrence",
    "score" : 0.3965617835393023
  }, {
    "definition" : "Verblunsky coefficient",
    "score" : 0.3582136654394815
  } ]
}

Specify your own input