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 H_{i,j}^\ell = \operatorname{Hom}(V_{\ell}, V_i \otimes V_j)}

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

Semantic latex: H_{i,j}^\ell = \operatorname{Hom}(V_{\ell}, V_i \otimes V_j)

Confidence: 0

Mathematica

Translation:

Information

Symbol info

  • (LaTeX -> Mathematica) The input LaTeX is invalid: The element Hom cannot be tagged as a function [Hom]

Tests

Symbolic
Numeric

SymPy

Translation:

Information

Symbol info

  • (LaTeX -> SymPy) The input LaTeX is invalid: The element Hom cannot be tagged as a function [Hom]

Tests

Symbolic
Numeric

Maple

Translation:

Information

Symbol info

  • (LaTeX -> Maple) The input LaTeX is invalid: The element Hom cannot be tagged as a function [Hom]

Tests

Symbolic
Numeric

Dependency Graph Information

Includes

Description

  • multiplicity space
  • attention to irreducible object
  • tensor product
  • isomorphism class of irreducible object
  • monoidal category
  • sum

Complete translation information:

{
  "id" : "FORMULA_93d941fff385295b863f45ac533b0d5e",
  "formula" : "H_{i,j}^\\ell = \\operatorname{Hom}(V_{\\ell}, V_i \\otimes V_j)",
  "semanticFormula" : "H_{i,j}^\\ell = \\operatorname{Hom}(V_{\\ell}, V_i \\otimes V_j)",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Mathematica) The input LaTeX is invalid: The element Hom cannot be tagged as a function [Hom]"
        }
      },
      "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" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> SymPy) The input LaTeX is invalid: The element Hom cannot be tagged as a function [Hom]"
        }
      },
      "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" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Maple) The input LaTeX is invalid: The element Hom cannot be tagged as a function [Hom]"
        }
      },
      "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" : 3,
    "word" : 20
  } ],
  "includes" : [ "\\theta_{i}", "m_{i}", "j", "J_{i}", "V" ],
  "isPartOf" : [ ],
  "definiens" : [ {
    "definition" : "multiplicity space",
    "score" : 0.722
  }, {
    "definition" : "attention to irreducible object",
    "score" : 0.6460746792928004
  }, {
    "definition" : "tensor product",
    "score" : 0.6460746792928004
  }, {
    "definition" : "isomorphism class of irreducible object",
    "score" : 0.5988174995334326
  }, {
    "definition" : "monoidal category",
    "score" : 0.5988174995334326
  }, {
    "definition" : "sum",
    "score" : 0.5500952380952381
  } ]
}

Specify your own input