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

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

Semantic latex: w

Confidence: 0

Mathematica

Translation: w

Information

Sub Equations

  • w

Free variables

  • w

Tests

Symbolic
Numeric

SymPy

Translation: w

Information

Sub Equations

  • w

Free variables

  • w

Tests

Symbolic
Numeric

Maple

Translation: w

Information

Sub Equations

  • w

Free variables

  • w

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • convergent series
  • continuous part
  • weight function
  • Verblunsky coefficient
  • moment
  • continuous part of the measure
  • measure
  • Szegő 's theorem
  • Baxter 's theorem
  • Rakhmanov 's theorem

Complete translation information:

{
  "id" : "FORMULA_f1290186a5d0b1ceab27f4e77c0c5d68",
  "formula" : "w",
  "semanticFormula" : "w",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "w",
      "translationInformation" : {
        "subEquations" : [ "w" ],
        "freeVariables" : [ "w" ]
      },
      "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" : "w",
      "translationInformation" : {
        "subEquations" : [ "w" ],
        "freeVariables" : [ "w" ]
      },
      "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" : "w",
      "translationInformation" : {
        "subEquations" : [ "w" ],
        "freeVariables" : [ "w" ]
      },
      "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" : 5,
    "sentence" : 0,
    "word" : 30
  }, {
    "section" : 7,
    "sentence" : 0,
    "word" : 10
  } ],
  "includes" : [ ],
  "isPartOf" : [ "\\prod_{n = 1}^\\infty(1-|\\alpha_n|^2) = \\exp\\big(\\int_0^{2\\pi}\\log(w(\\theta))d\\theta/2\\pi\\big)" ],
  "definiens" : [ {
    "definition" : "convergent series",
    "score" : 0.8382659305648804
  }, {
    "definition" : "continuous part",
    "score" : 0.722
  }, {
    "definition" : "weight function",
    "score" : 0.722
  }, {
    "definition" : "Verblunsky coefficient",
    "score" : 0.658417772209512
  }, {
    "definition" : "moment",
    "score" : 0.6288842031023242
  }, {
    "definition" : "continuous part of the measure",
    "score" : 0.6042528684491243
  }, {
    "definition" : "measure",
    "score" : 0.5235032723960333
  }, {
    "definition" : "Szegő 's theorem",
    "score" : 0.4904718574912855
  }, {
    "definition" : "Baxter 's theorem",
    "score" : 0.44936883129115235
  }, {
    "definition" : "Rakhmanov 's theorem",
    "score" : 0.361
  } ]
}

Specify your own input