Correct Compilation of Semiring Contractions

07/27/2022
by   Scott Kovach, et al.
0

We introduce a formal operational semantics that describes the fused execution of variable contraction problems, which compute indexed arithmetic over a semiring and generalize sparse and dense tensor algebra, relational algebra, and graph algorithms. We prove that the model is correct with respect to a functional semantics. We also develop a compiler for variable contraction expressions and show that its performance is equivalent to a state-of-the art sparse tensor algebra compiler, while providing greater generality and correctness guarantees.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset