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

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

Semantic latex: k

Confidence: 0

Mathematica

Translation: k

Information

Sub Equations

  • k

Free variables

  • k

Tests

Symbolic
Numeric

SymPy

Translation: k

Information

Sub Equations

  • k

Free variables

  • k

Tests

Symbolic
Numeric

Maple

Translation: k

Information

Sub Equations

  • k

Free variables

  • k

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • respect
  • variable
  • distribution
  • exponential representation
  • Fourier representation
  • function
  • principal value
  • real axis
  • contour
  • integral
  • rectangle in the complex plane
  • asymptotic expansion
  • series expansion
  • origin

Complete translation information:

{
  "id" : "FORMULA_8ce4b16b22b58894aa86c421e8759df3",
  "formula" : "k",
  "semanticFormula" : "k",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "k",
      "translationInformation" : {
        "subEquations" : [ "k" ],
        "freeVariables" : [ "k" ]
      },
      "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" : "k",
      "translationInformation" : {
        "subEquations" : [ "k" ],
        "freeVariables" : [ "k" ]
      },
      "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" : "k",
      "translationInformation" : {
        "subEquations" : [ "k" ],
        "freeVariables" : [ "k" ]
      },
      "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" : 3,
    "word" : 9
  } ],
  "includes" : [ ],
  "isPartOf" : [ "F(x) = \\sum_{k=0}^\\infty \\frac{(-1)^k \\, 2^k}{(2k+1)!!} \\, x^{2k+1} = x - \\frac{2}{3} x^3 + \\frac{4}{15} x^5 - \\cdots", "\\pi H(y) = \\operatorname{Im} \\int_0^\\infty dk \\,\\exp[-k^2/4+iky] \\int_{-\\infty}^\\infty dx \\, \\exp[-(x+ik/2)^2]", "F(x) = \\sum_{k=0}^{\\infty} \\frac{(2k-1)!!}{2^{k+1} x^{2k+1}} = \\frac{1}{2 x} + \\frac{1}{4 x^3} + \\frac{3}{8 x^5} + \\cdots", "\\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]" ],
  "definiens" : [ {
    "definition" : "respect",
    "score" : 0.8367801946091932
  }, {
    "definition" : "variable",
    "score" : 0.6687181434333315
  }, {
    "definition" : "distribution",
    "score" : 0.6432331635625809
  }, {
    "definition" : "exponential representation",
    "score" : 0.6432331635625809
  }, {
    "definition" : "Fourier representation",
    "score" : 0.6432331635625809
  }, {
    "definition" : "function",
    "score" : 0.6432331635625809
  }, {
    "definition" : "principal value",
    "score" : 0.6432331635625809
  }, {
    "definition" : "real axis",
    "score" : 0.6432331635625809
  }, {
    "definition" : "contour",
    "score" : 0.6288842031023242
  }, {
    "definition" : "integral",
    "score" : 0.5816270233429564
  }, {
    "definition" : "rectangle in the complex plane",
    "score" : 0.5816270233429564
  }, {
    "definition" : "asymptotic expansion",
    "score" : 0.3610308415964304
  }, {
    "definition" : "series expansion",
    "score" : 0.3610308415964304
  }, {
    "definition" : "origin",
    "score" : 0.3249394612202381
  } ]
}

Specify your own input