~/talk

SSA is Freyd Categories

Talkat GALOP 2024 · on Sunday, 2024-01-14· [compilers-and-language-design]
links:none on file
slides:none on file

Claim: SSA without control-flow equals Freyd categories; SSA with DAG control-flow equals distributive Freyd categories; general control-flow is a distributive Freyd category plus an Elgot fixpoint structure. The work builds an inductive IR called isotope-SSA, gives a categorical semantics that proves semantic substitution and congruence, models optimizations (strength reduction, constant propagation, GVN, loop hoisting, E-graph rewriting) as semantics-preserving, constructs models up to a simple TSO-style weak memory example, and reports a partial Lean4 formalization and a concrete we block device for graphs.

AI-written summary · about

  1. 0:00SSA and Freyd categories
  2. 1:28Why SSA is widely used
  3. 3:36Freyd categories
  4. 5:22Semantics of basic blocks
  5. 7:06Control flow with co-products
  6. 8:31Elgot structure and loops
  7. 9:55General graphs with W-blocks
  8. 11:41Elgot category models
  9. 12:22Benefits of SSA optimizations
  10. 13:31Q&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.