~/talk

Indexed Streams: A Formal Intermediate Representation for Fused Contraction Programs

Talkat PLDI 2023 · 2023-06-17..06-21· [compilers-and-language-design, databases]
links:none on file
links:none on file
links:none on file
slides:none on file

A formal operational IR called index streams models sparse tensors and relations as transition systems with index, value, ready and skip functions; multiplication is implemented as a merge-like intersection so composite streams fuse into a single traversal. A Lean proof shows eval(product)=product(eval) and similar homomorphisms under mild lawfulness conditions. A 540-line prototype, ET compiler, generates code comparable to TACO and outperforms SQL by up to 24× and DuckDB by about 1.5× on selected benchmarks, demonstrating product-as-merge fusion.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46Positive algebra in Lean
  3. 4:15Index Streams as IR
  4. 5:42What is an Index Stream
  5. 8:48Stream multiplication and merge sort
  6. 11:59Compiling to code
  7. 12:42Performance vs Taco and DuckDB
  8. 13:47Correctness proof
  9. 15:12Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.