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

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

Semantic latex: O

Confidence: 0

Mathematica

Translation: O

Information

Sub Equations

  • O

Free variables

  • O

Tests

Symbolic
Numeric

SymPy

Translation: O

Information

Sub Equations

  • O

Free variables

  • O

Tests

Symbolic
Numeric

Maple

Translation: O

Information

Sub Equations

  • O

Free variables

  • O

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • big O notation
  • asymptotic behavior
  • accurate asymptotic behaviour
  • Riemann hypothesis

Complete translation information:

{
  "id" : "FORMULA_f186217753c37b9b9f958d906208506e",
  "formula" : "O",
  "semanticFormula" : "O",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "O",
      "translationInformation" : {
        "subEquations" : [ "O" ],
        "freeVariables" : [ "O" ]
      },
      "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" : "O",
      "translationInformation" : {
        "subEquations" : [ "O" ],
        "freeVariables" : [ "O" ]
      },
      "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" : "O",
      "translationInformation" : {
        "subEquations" : [ "O" ],
        "freeVariables" : [ "O" ]
      },
      "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" : 1,
    "word" : 1
  } ],
  "includes" : [ ],
  "isPartOf" : [ "\\operatorname{li}(x) = O \\left( {x\\over \\ln x} \\right) \\;", "\\operatorname{li}(x) - {x\\over \\ln x} = O \\left( {x\\over \\ln^2 x} \\right) \\;", "\\operatorname{Li}(x)-\\pi(x) = O(\\sqrt{x}\\log x)" ],
  "definiens" : [ {
    "definition" : "big O notation",
    "score" : 0.722
  }, {
    "definition" : "asymptotic behavior",
    "score" : 0.6871135306205209
  }, {
    "definition" : "accurate asymptotic behaviour",
    "score" : 0.6214433446396005
  }, {
    "definition" : "Riemann hypothesis",
    "score" : 0.30293665845946705
  } ]
}

Specify your own input