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 G//K}

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

Semantic latex: G//K

Confidence: 0

Mathematica

Translation: G//K

Information

Sub Equations

  • G//K

Free variables

  • G
  • K

Tests

Symbolic
Numeric

SymPy

Translation: G//K

Information

Sub Equations

  • G//K

Free variables

  • G
  • K

Tests

Symbolic
Numeric

Maple

Translation: G//K

Information

Sub Equations

  • G//K

Free variables

  • G
  • K

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • double coset space
  • real integral representation
  • study of harmonic analysis
  • Fourier
  • spherical function
  • Zonal

Complete translation information:

{
  "id" : "FORMULA_2a36a53f0b64ec6479f174c368d6da27",
  "formula" : "G//K",
  "semanticFormula" : "G//K",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "G//K",
      "translationInformation" : {
        "subEquations" : [ "G//K" ],
        "freeVariables" : [ "G", "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" : "G//K",
      "translationInformation" : {
        "subEquations" : [ "G//K" ],
        "freeVariables" : [ "G", "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" : "G//K",
      "translationInformation" : {
        "subEquations" : [ "G//K" ],
        "freeVariables" : [ "G", "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" : 6,
    "sentence" : 0,
    "word" : 18
  } ],
  "includes" : [ ],
  "isPartOf" : [ "L^1(G//K)", "L^1(G//K)\\ni f\\mapsto \\hat{f}" ],
  "definiens" : [ {
    "definition" : "double coset space",
    "score" : 0.722
  }, {
    "definition" : "real integral representation",
    "score" : 0.6859086196238077
  }, {
    "definition" : "study of harmonic analysis",
    "score" : 0.6859086196238077
  }, {
    "definition" : "Fourier",
    "score" : 0.660423639753057
  }, {
    "definition" : "spherical function",
    "score" : 0.6460746792928004
  }, {
    "definition" : "Zonal",
    "score" : 0.6460746792928004
  } ]
}

Specify your own input