• Home
  • Search
  • TeIL: a type-safe imperative tensor intermediate language
  • Cite Icon10
  • https://doi.org/10.1145/3315454.3329959Copy DOI Icon

TeIL: a type-safe imperative tensor intermediate language

  • Jun 8, 2019
  • Norman A Rink +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Each of the popular tensor frameworks from the machine learning domain comes with its own language for expressing tensor kernels. Since these tensor languages lack precise specifications, it is impossible to understand and reason about tensor kernels that exhibit unexpected behaviour. In this paper, we give examples of such kernels. The tensor languages are superficially similar to the well-known functional array languages, for which formal definitions often exist. However, the tensor languages are inherently imperative. In this paper we present TeIL, an imperative tensor intermediate language with precise formal semantics. For the popular tensor languages, TeIL can serve as a common ground on the basis of which precise reasoning about kernels becomes possible. Based on TeIL's formal semantics we develop a type-safety result in the Coq proof assistant.

Similar Papers
  • Research Article
  • Citations16

Balancing weight-balanced trees

  • May 01, 2011
  • Journal of Functional Programming
  • Yoichi Hirai +1
  • PDF
  • Research Article
  • Citations6

Foundational Integration Verification of a Cryptographic Server

  • Jun 20, 2024
  • Proceedings of the ACM on Programming Languages
  • Andres Erbsen +6
  • PDF
  • Research Article
  • Citations12

Deadlock avoidance in parallel programs with futures: why parallel tasks should not wait for strangers

  • Oct 12, 2017
  • Proceedings of the ACM on Programming Languages
  • Tiago Cogumbreiro +5
  • Research Article

Proceedings First International Workshop on Hammers for Type Theories

  • Jun 17, 2016
  • Electronic Proceedings in Theoretical Computer Science
  • Pierre Corbineau
  • Conference Article
  • Citations6

CUDA au Coq: A Framework for Machine-validating GPU Assembly Programs

  • Mar 01, 2019
  • Benjamin Ferrell +2
  • PDF
  • Research Article
  • Citations16

Compositional optimizations for CertiCoq

  • Aug 19, 2021
  • Proceedings of the ACM on Programming Languages
  • Zoe Paraskevopoulou +2
  • Book Chapter

P-T Probability Framework and Semantic Information G Theory Tested by Seven Difficult Tasks

  • Jan 01, 2021
  • Chenguang Lu
  • Research Article
  • Citations14

Operational Semantics of a Focusing Debugger

  • Jan 01, 1995
  • Electronic Notes in Theoretical Computer Science
  • Karen L Bernstein +1
  • Conference Article
  • Citations26

Encoding Featherweight Java with assignment and immutability using the Coq proof assistant

  • Jun 12, 2012
  • Julian Mackay +4
  • Book Chapter
  • Citations3

On the Formalization of Some Results of Context-Free Language Theory

  • Jan 01, 2016
  • Marcus Vinícius Midena Ramos +3
  • Research Article
  • Citations6

Language model enhanced surface chloride concentration determination for concrete within splash environment based on limited field records

  • Apr 18, 2024
  • Case Studies in Construction Materials
  • Xin-Rui Ma +3
  • Book Chapter
  • Citations46

Certification of Automated Termination Proofs

  • Jan 01, 2007
  • Evelyne Contejean +4
  • Conference Article
  • Citations95

A certified type-preserving compiler from lambda calculus to assembly language

  • Jun 10, 2007
  • Adam Chlipala
  • Research Article
  • Citations2

Bringing extensibility to verified compilers

  • Jun 05, 2010
  • ACM SIGPLAN Notices
  • Zachary Tatlock +1
  • Research Article
  • Citations1

A Mechanized Semantics for Dataflow Circuits

  • Apr 09, 2025
  • Proceedings of the ACM on Programming Languages
  • Tony Law +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.