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 \Phi_{i,j}^{k,m}: \bigoplus_{\ell} H_{i,j}^\ell \otimes H_{\ell,k}^m \to \bigoplus_n H_{i,n}^m \otimes H_{j,k}^n}

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

Semantic latex: \Phi_{i,j}^{k,m}: \bigoplus_{\ell} H_{i,j}^\ell \otimes H_{\ell,k}^m \to \bigoplus_n H_{i,n}^m \otimes H_{j,k}^n

Confidence: 0

Mathematica

Translation:

Information

Symbol info

  • (LaTeX -> Mathematica) An unknown or missing element occurred: Unknown MathTerm Tag: colon for : [:]

Tests

Symbolic
Numeric

SymPy

Translation:

Information

Symbol info

  • (LaTeX -> SymPy) An unknown or missing element occurred: Unknown MathTerm Tag: colon for : [:]

Tests

Symbolic
Numeric

Maple

Translation:

Information

Symbol info

  • (LaTeX -> Maple) An unknown or missing element occurred: Unknown MathTerm Tag: colon for : [:]

Tests

Symbolic
Numeric

Dependency Graph Information

Includes

Description

  • vector space isomorphism
  • 6j symbol
  • associativity isomorphism
  • canonical basis element
  • case of SU
  • component
  • component map
  • dimension
  • multiplicity space
  • number
  • ordinary matrix coefficient
  • symbol
  • traditional setting

Complete translation information:

{
  "id" : "FORMULA_6894c11ad3446346113fce9039e795db",
  "formula" : "\\Phi_{i,j}^{k,m}: \\bigoplus_{\\ell} H_{i,j}^\\ell \\otimes H_{\\ell,k}^m \\to \\bigoplus_n H_{i,n}^m \\otimes H_{j,k}^n",
  "semanticFormula" : "\\Phi_{i,j}^{k,m}: \\bigoplus_{\\ell} H_{i,j}^\\ell \\otimes H_{\\ell,k}^m \\to \\bigoplus_n H_{i,n}^m \\otimes H_{j,k}^n",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Mathematica) An unknown or missing element occurred: Unknown MathTerm Tag: colon for : [:]"
        }
      },
      "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) An unknown or missing element occurred: Unknown MathTerm Tag: colon for : [:]"
        }
      },
      "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) An unknown or missing element occurred: Unknown MathTerm Tag: colon for : [:]"
        }
      },
      "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" : 4,
    "word" : 11
  } ],
  "includes" : [ "j" ],
  "isPartOf" : [ ],
  "definiens" : [ {
    "definition" : "vector space isomorphism",
    "score" : 0.722
  }, {
    "definition" : "6j symbol",
    "score" : 0.6687181434333315
  }, {
    "definition" : "associativity isomorphism",
    "score" : 0.6687181434333315
  }, {
    "definition" : "canonical basis element",
    "score" : 0.6687181434333315
  }, {
    "definition" : "case of SU",
    "score" : 0.6687181434333315
  }, {
    "definition" : "component",
    "score" : 0.6687181434333315
  }, {
    "definition" : "component map",
    "score" : 0.6687181434333315
  }, {
    "definition" : "dimension",
    "score" : 0.6687181434333315
  }, {
    "definition" : "multiplicity space",
    "score" : 0.6687181434333315
  }, {
    "definition" : "number",
    "score" : 0.6687181434333315
  }, {
    "definition" : "ordinary matrix coefficient",
    "score" : 0.6687181434333315
  }, {
    "definition" : "symbol",
    "score" : 0.6687181434333315
  }, {
    "definition" : "traditional setting",
    "score" : 0.6687181434333315
  } ]
}

Specify your own input