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 L^1(G//K)}

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

Semantic latex: L^1(G//K)

Confidence: 0

Mathematica

Translation: (L)^(1)*(G//K)

Information

Sub Equations

  • (L)^(1)*(G//K)

Free variables

  • G
  • K
  • L

Tests

Symbolic
Numeric

SymPy

Translation: (L)**(1)*(G//K)

Information

Sub Equations

  • (L)**(1)*(G//K)

Free variables

  • G
  • K
  • L

Tests

Symbolic
Numeric

Maple

Translation: (L)^(1)*(G//K)

Information

Sub Equations

  • (L)^(1)*(G//K)

Free variables

  • G
  • K
  • L

Tests

Symbolic
Numeric

Dependency Graph Information

Includes

Is part of

Description

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

Complete translation information:

{
  "id" : "FORMULA_16dea37ca8eb32d1274fbdc55c708aaf",
  "formula" : "L^1(G//K)",
  "semanticFormula" : "L^1(G//K)",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "(L)^(1)*(G//K)",
      "translationInformation" : {
        "subEquations" : [ "(L)^(1)*(G//K)" ],
        "freeVariables" : [ "G", "K", "L" ]
      },
      "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" : "(L)**(1)*(G//K)",
      "translationInformation" : {
        "subEquations" : [ "(L)**(1)*(G//K)" ],
        "freeVariables" : [ "G", "K", "L" ]
      },
      "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" : "(L)^(1)*(G//K)",
      "translationInformation" : {
        "subEquations" : [ "(L)^(1)*(G//K)" ],
        "freeVariables" : [ "G", "K", "L" ]
      },
      "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" : 16
  }, {
    "section" : 6,
    "sentence" : 1,
    "word" : 5
  } ],
  "includes" : [ "G//K" ],
  "isPartOf" : [ "L^1(G//K)\\ni f\\mapsto \\hat{f}" ],
  "definiens" : [ {
    "definition" : "double coset space",
    "score" : 0.6859086196238077
  }, {
    "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