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

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

Semantic latex: f

Confidence: 0

Mathematica

Translation: f

Information

Sub Equations

  • f

Free variables

  • f

Tests

Symbolic
Numeric

SymPy

Translation: f

Information

Sub Equations

  • f

Free variables

  • f

Tests

Symbolic
Numeric

Maple

Translation: f

Information

Sub Equations

  • f

Free variables

  • f

Tests

Symbolic
Numeric

Dependency Graph Information

Description

  • Schur parameter of the function
  • equation
  • Verblunsky coefficient of the measure
  • Geronimus 's theorem

Complete translation information:

{
  "id" : "FORMULA_8fa14cdd754f91cc6554c9e71929cce7",
  "formula" : "f",
  "semanticFormula" : "f",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "f",
      "translationInformation" : {
        "subEquations" : [ "f" ],
        "freeVariables" : [ "f" ]
      },
      "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" : "f",
      "translationInformation" : {
        "subEquations" : [ "f" ],
        "freeVariables" : [ "f" ]
      },
      "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" : "f",
      "translationInformation" : {
        "subEquations" : [ "f" ],
        "freeVariables" : [ "f" ]
      },
      "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" : 4,
    "sentence" : 0,
    "word" : 19
  } ],
  "includes" : [ ],
  "isPartOf" : [ ],
  "definiens" : [ {
    "definition" : "Schur parameter of the function",
    "score" : 0.722
  }, {
    "definition" : "equation",
    "score" : 0.6859086196238077
  }, {
    "definition" : "Verblunsky coefficient of the measure",
    "score" : 0.6859086196238077
  }, {
    "definition" : "Geronimus 's theorem",
    "score" : 0.5988174995334326
  } ]
}

Specify your own input