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

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

Semantic latex: y

Confidence: 0

Mathematica

Translation: y

Information

Sub Equations

  • y

Free variables

  • y

Tests

Symbolic
Numeric

SymPy

Translation: y

Information

Sub Equations

  • y

Free variables

  • y

Tests

Symbolic
Numeric

Maple

Translation: y

Information

Sub Equations

  • y

Free variables

  • y

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • Dawson function
  • respect
  • p.v.
  • Hilbert
  • Cauchy principal value
  • Gaussian
  • distribution
  • exponential representation
  • Fourier representation
  • function
  • principal value
  • real axis
  • integral
  • contour
  • variable
  • rectangle in the complex plane
  • derivative
  • imaginary part of the result
  • example
  • change of variable
  • polynomial
  • recurrence relation
  • result

Complete translation information:

{
  "id" : "FORMULA_415290769594460e2e485922904f345d",
  "formula" : "y",
  "semanticFormula" : "y",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "y",
      "translationInformation" : {
        "subEquations" : [ "y" ],
        "freeVariables" : [ "y" ]
      },
      "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" : "y",
      "translationInformation" : {
        "subEquations" : [ "y" ],
        "freeVariables" : [ "y" ]
      },
      "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" : "y",
      "translationInformation" : {
        "subEquations" : [ "y" ],
        "freeVariables" : [ "y" ]
      },
      "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" : 2,
    "sentence" : 0,
    "word" : 23
  } ],
  "includes" : [ ],
  "isPartOf" : [ "H(y) = \\pi^{-1} \\operatorname{P.V.} \\int_{-\\infty}^\\infty \\frac{e^{-x^2}}{y-x} \\, dx", "H(y)", "1/u=1/(y-x)", "\\pi H(y) = \\operatorname{Im} \\int_0^\\infty dk \\,\\exp[-k^2/4+iky] \\int_{-\\infty}^\\infty dx \\, \\exp[-(x+ik/2)^2]", "\\pi^{1/2} H(y) = \\operatorname{Im} \\int_0^\\infty dk \\, \\exp[-k^2/4+iky]", "\\pi^{1/2}H(y) = e^{-y^2} \\operatorname{Im} \\int_0^\\infty dk \\, \\exp[-(k/2-iy)^2]", "u=ik/2+y", "\\pi^{1/2}H(y) = -2e^{-y^2} \\operatorname{Im} i \\int_y^{i\\infty+y} du\\ e^{u^2}", "H(y) = 2\\pi^{-1/2} F(y)", "F(y)", "H_n = \\pi^{-1} \\operatorname{P.V.} \\int_{-\\infty}^\\infty \\frac{x^{2n}e^{-x^2}}{y-x} \\, dx", "H_a = \\pi^{-1} \\operatorname{P.V.} \\int_{-\\infty}^\\infty {e^{-ax^2} \\over y-x} \\, dx", "{\\partial^nH_a \\over \\partial a^n} = (-1)^n\\pi^{-1} \\operatorname{P.V.} \\int_{-\\infty}^\\infty \\frac{x^{2n}e^{-ax^2}}{y-x} \\, dx", "H_a=2\\pi^{-1/2}F(y\\sqrt a)", "F'(y)=1-2yF(y)", "H_n = P_1(y)+P_2(y)F(y)", "H_1=-\\pi^{-1/2}y+2\\pi^{-1/2}y^2F(y)", "H_{n+1}(y) = y^2 H_n(y) - \\frac{(2n-1)!!}{\\sqrt{\\pi} 2^n} y" ],
  "definiens" : [ {
    "definition" : "Dawson function",
    "score" : 0.7675776732415653
  }, {
    "definition" : "respect",
    "score" : 0.7121759185276884
  }, {
    "definition" : "p.v.",
    "score" : 0.7048095238095237
  }, {
    "definition" : "Hilbert",
    "score" : 0.6687181434333315
  }, {
    "definition" : "Cauchy principal value",
    "score" : 0.6288842031023242
  }, {
    "definition" : "Gaussian",
    "score" : 0.6288842031023242
  }, {
    "definition" : "distribution",
    "score" : 0.5775629775816605
  }, {
    "definition" : "exponential representation",
    "score" : 0.5775629775816605
  }, {
    "definition" : "Fourier representation",
    "score" : 0.5775629775816605
  }, {
    "definition" : "function",
    "score" : 0.5775629775816605
  }, {
    "definition" : "principal value",
    "score" : 0.5775629775816605
  }, {
    "definition" : "real axis",
    "score" : 0.5775629775816605
  }, {
    "definition" : "integral",
    "score" : 0.5235032723960333
  }, {
    "definition" : "contour",
    "score" : 0.4968133815285695
  }, {
    "definition" : "variable",
    "score" : 0.4968133815285695
  }, {
    "definition" : "rectangle in the complex plane",
    "score" : 0.4569794411975623
  }, {
    "definition" : "derivative",
    "score" : 0.4367438446959084
  }, {
    "definition" : "imaginary part of the result",
    "score" : 0.3853406276944619
  }, {
    "definition" : "example",
    "score" : 0.35175394239749164
  }, {
    "definition" : "change of variable",
    "score" : 0.32739553012332934
  }, {
    "definition" : "polynomial",
    "score" : 0.32558012259999813
  }, {
    "definition" : "recurrence relation",
    "score" : 0.3249394612202381
  }, {
    "definition" : "result",
    "score" : 0.29297012797898336
  } ]
}

Specify your own input