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

  • elliptic modulus
  • elliptic modulus of the Jacobian elliptic function
  • integer
  • elliptic sine function
  • case
  • meromorphic function
  • solution
  • whole complex plane
  • important case
  • constant
  • ellipsoidal equation
  • ellipsoidal wave equation
  • general form of Lamé 's equation
  • boundary condition
  • term
  • equation
  • Mathieu equation
  • Müller
  • ellipsoidal wave
  • period
  • prime meaning
  • quarter period
  • asymptotic expansion
  • eigenvalue
  • Ince
  • odd integer
  • limit of the Mathieu equation
  • Lamé equation
  • expression
  • expression of the Mathieu case

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" : 1,
    "sentence" : 1,
    "word" : 23
  }, {
    "section" : 1,
    "sentence" : 4,
    "word" : 35
  } ],
  "includes" : [ ],
  "isPartOf" : [ "\\kappa^2 = n(n+1)k^2", "\\frac{d^2y}{dx^2} + (\\Lambda - \\kappa^2 \\operatorname{sn}^2x - \\Omega^2k^4 \\operatorname{sn}^4x)y = 0", "\\Omega = 0, k = 0, \\kappa = 2h, \\Lambda -2h^2 = \\lambda, x= z \\pm \\frac{\\pi}{2}", "\\begin{align}\\Lambda(q) = {} & q\\kappa - \\frac{1}{2^3}(1+k^2)(q^2+1) - \\frac{q}{2^6\\kappa}\\{(1+k^2)^2(q^2+3) - 4k^2(q^2+5)\\} \\\\[6pt]& {} -\\frac{1}{2^{10}\\kappa^2} \\Big\\{(1+k^2)^3(5q^4+34q^2+9) - 4k^2(1+k^2)(5q^4+34q^2+9) \\\\[6pt]& {} - 384\\Omega^2k^4(q^2+1)\\Big\\} - \\cdots ,\\end{align}", "K(k)", "q-q_0 = \\mp 2\\sqrt{\\frac{2}{\\pi}} \\left( \\frac{1+k}{1-k}\\right)^{-\\kappa/k} \\left( \\frac{8\\kappa}{1-k^2}\\right)^{q_0/2}\\frac{1}{[(q_0-1)/2]!} \\left[ 1 - \\frac{3(q^2_0+1)(1+k^2)}{2^5\\kappa} + \\cdots \\right]", "\\begin{align}\\Lambda_{\\pm}(q) \\simeq {} & \\Lambda(q_0) + (q-q_0)\\left(\\frac{\\partial \\Lambda}{\\partial q} \\right)_{q_0} + \\cdots \\\\[6pt]= {} & \\Lambda(q_0) +(q-q_0)\\kappa \\left[1 - \\frac{q_0(1+k^2)}{2^2\\kappa} - \\frac{1}{2^6\\kappa^2}\\{3(1+k^2)^2(q^2_0+1)-4k^2(q^2_0+2q_0+5)\\}+ \\cdots\\right] \\\\[6pt]\\simeq {} & \\Lambda(q_0) \\mp 2\\kappa\\sqrt{\\frac{2}{\\pi}} \\left( \\frac{1+k}{1-k} \\right)^{-\\kappa/k} \\left( \\frac{8\\kappa}{1-k^2}\\right)^{q_0/2} \\frac{1}{[(q_0-1)/2]!} \\Big[ 1 - \\frac{1}{2^5\\kappa}(1+k^2)(3q^2_0+8q_0+3) \\\\[6pt]& {} + \\frac{1}{3.2^{11}\\kappa^2}\\{3(1+k^2)^2(9q^4_0+8q^3_0-78q^2_0-88q_0-87) \\\\[6pt]& {} + 128k^2(2q^3_0+9q^2_0+10q_0+15)\\} - \\cdots\\Big].\\end{align}" ],
  "definiens" : [ {
    "definition" : "elliptic modulus",
    "score" : 0.722
  }, {
    "definition" : "elliptic modulus of the Jacobian elliptic function",
    "score" : 0.722
  }, {
    "definition" : "integer",
    "score" : 0.6839477168404777
  }, {
    "definition" : "elliptic sine function",
    "score" : 0.657257825973014
  }, {
    "definition" : "case",
    "score" : 0.6174238856420067
  }, {
    "definition" : "meromorphic function",
    "score" : 0.6174238856420067
  }, {
    "definition" : "solution",
    "score" : 0.6174238856420067
  }, {
    "definition" : "whole complex plane",
    "score" : 0.6174238856420067
  }, {
    "definition" : "important case",
    "score" : 0.5701667058826388
  }, {
    "definition" : "constant",
    "score" : 0.5120429549357158
  }, {
    "definition" : "ellipsoidal equation",
    "score" : 0.485353064068252
  }, {
    "definition" : "ellipsoidal wave equation",
    "score" : 0.485353064068252
  }, {
    "definition" : "general form of Lamé 's equation",
    "score" : 0.485353064068252
  }, {
    "definition" : "boundary condition",
    "score" : 0.41878489931956364
  }, {
    "definition" : "term",
    "score" : 0.3921001589480415
  }, {
    "definition" : "equation",
    "score" : 0.3635812763643209
  }, {
    "definition" : "Mathieu equation",
    "score" : 0.3635812763643209
  }, {
    "definition" : "Müller",
    "score" : 0.35074984238828033
  }, {
    "definition" : "ellipsoidal wave",
    "score" : 0.3401382886520138
  }, {
    "definition" : "period",
    "score" : 0.3401382886520138
  }, {
    "definition" : "prime meaning",
    "score" : 0.3401382886520138
  }, {
    "definition" : "quarter period",
    "score" : 0.3401382886520138
  }, {
    "definition" : "asymptotic expansion",
    "score" : 0.3134535482804917
  }, {
    "definition" : "eigenvalue",
    "score" : 0.3134535482804917
  }, {
    "definition" : "Ince",
    "score" : 0.3134535482804917
  }, {
    "definition" : "odd integer",
    "score" : 0.3134535482804917
  }, {
    "definition" : "limit of the Mathieu equation",
    "score" : 0.22635718301432597
  }, {
    "definition" : "Lamé equation",
    "score" : 0.13244710906234278
  }, {
    "definition" : "expression",
    "score" : 0.09409899096252196
  }, {
    "definition" : "expression of the Mathieu case",
    "score" : 0.09409899096252196
  } ]
}

Specify your own input