~/talk

Verifying Haskell's Rewrite Rules based on Polymorphic Rewriting Theory

Talkat Haskell 2023 · 2023-09-08..09-09· [compilers-and-language-design]
links:none on file
slides:none on file

Presents a formal calculus System FRE — System Fω plus higher-order, polymorphic rewriting — and an automated checker ReCheck that verifies rewrite rules by proving termination (strong normalization) and local confluence via polymorphic higher-order unification and critical-pair analysis. Demonstrates automatic proofs for map fusion, append associativity and some monad laws on Core/Hackage code, and reports implementation limits: missing module resolution, built-in primitives, and the current need to assume the program is strongly normalizing (with a draft extension that relaxes this).

AI-written summary · about

  1. 0:00GHC rewrite rules intro
  2. 3:56Correctness levels for rules
  3. 7:13Meaning preservation
  4. 9:23Formal correctness theorem
  5. 11:30Verifying append associativity
  6. 13:58Verifying map fusion
  7. 16:09Semantics for GHC rules
  8. 17:13System F Omega with rules
  9. 20:27Recheck plugin implementation
  10. 23:19Recheck experimental results
  11. 24:27Implementation challenges
  12. 26:57Future work and collaboration
  13. 29:32Q&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.