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

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

Semantic latex: t

Confidence: 0

Mathematica

Translation: t

Information

Sub Equations

  • t

Free variables

  • t

Tests

Symbolic
Numeric

SymPy

Translation: t

Information

Sub Equations

  • t

Free variables

  • t

Tests

Symbolic
Numeric

Maple

Translation: t

Information

Sub Equations

  • t

Free variables

  • t

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • Hill equation
  • equation
  • second-order linear ordinary differential equation
  • periodic function by minimal period
  • number
  • mathematics
  • Fourier series
  • Hill differential equation
  • period
  • exact shape
  • solution
  • amplitude of the oscillation
  • time

Complete translation information:

{
  "id" : "FORMULA_e358efa489f58062f10dd7316b65649e",
  "formula" : "t",
  "semanticFormula" : "t",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "t",
      "translationInformation" : {
        "subEquations" : [ "t" ],
        "freeVariables" : [ "t" ]
      },
      "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" : "t",
      "translationInformation" : {
        "subEquations" : [ "t" ],
        "freeVariables" : [ "t" ]
      },
      "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" : "t",
      "translationInformation" : {
        "subEquations" : [ "t" ],
        "freeVariables" : [ "t" ]
      },
      "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" : 0,
    "sentence" : 1,
    "word" : 7
  }, {
    "section" : 0,
    "sentence" : 1,
    "word" : 26
  } ],
  "includes" : [ ],
  "isPartOf" : [ "f(t)", "\\frac{d^2y}{dt^2} + f(t) y = 0", "f(t+\\pi)=f(t)", "f(t+p) = f(t)" ],
  "definiens" : [ {
    "definition" : "Hill equation",
    "score" : 0.7473592090875305
  }, {
    "definition" : "equation",
    "score" : 0.7048095238095237
  }, {
    "definition" : "second-order linear ordinary differential equation",
    "score" : 0.6793245439387732
  }, {
    "definition" : "periodic function by minimal period",
    "score" : 0.6699230544300447
  }, {
    "definition" : "number",
    "score" : 0.6687181434333315
  }, {
    "definition" : "mathematics",
    "score" : 0.6432331635625809
  }, {
    "definition" : "Fourier series",
    "score" : 0.6042528684491243
  }, {
    "definition" : "Hill differential equation",
    "score" : 0.6033992232315736
  }, {
    "definition" : "period",
    "score" : 0.5775629775816605
  }, {
    "definition" : "exact shape",
    "score" : 0.40173148469210224
  }, {
    "definition" : "solution",
    "score" : 0.4006531178845125
  }, {
    "definition" : "amplitude of the oscillation",
    "score" : 0.2879504737342633
  }, {
    "definition" : "time",
    "score" : 0.2879504737342633
  } ]
}

Specify your own input