/TensorIR

Formal development of a type-safe intermediate language for tensor expressions.

Primary LanguageCoqMIT LicenseMIT

TensorIR

Formal development of a type-safe intermediate language for tensor expressions.

This Coq development accompanies and builds on the presentation in the article TeIL: a type-safe imperative tensor intermediate language. The article discusses type-safety for TeIL, a proof of which is developed in the safety subdirectory of this repository.

Generally, the contents of this repository are as follows:

Note that a precursor of TeIL is presented in the article Modeling of languages for tensor manipulation, together with pen-and-paper proofs.