~/talk

Adaptable Traces for Program Explanations

Talkat APLAS 2021 · 2021-10-17..10-22· [developer-experience]
links:none on file
links:none on file
links:none on file
name:Kai Gay
links:none on file
slides:none on file

Claim: program execution proof trees become readable explanations after systematic trace transformations that preserve proof content while drastically shrinking size. Method: a conservative call-by-named-value semantics produces named values, then three concrete operations hide/apply/factor transform DAG-shaped traces and replace environments with binding nodes. Result: a prototype filter/query engine and UI that shrinks the massive factorial of 6 trace into several user-controlled views; transformations succeed in producing succinct, informative explanations.

AI-written summary · about

  1. 0:00Intro
  2. 0:32OUTLINE
  3. 1:35Object Language
  4. 2:31Why Named Values?
  5. 3:44Transforming Proof Trees to Traces
  6. 4:11Sharing Equivalent Nodes
  7. 4:40Removing Environments
  8. 5:11Tagging Bindings with Origin-Scope Pair
  9. 5:39Replacing Variable Lookups with Binding Nodes
  10. 6:23A Trace as an Explanation
  11. 7:19Operations on Traces
  12. 7:48Hiding Nodes
  13. 8:57Applying Judgments
  14. 9:33Factoring Subtraces
  15. 10:10A Query Language
  16. 11:01Applying Queries on Traces
  17. 12:00Complete Trace for a Program to find Factorial of 6
  18. 12:20Explanation for a Program to find Factorial of 6
  19. 13:12Another Explanation for Factorial of 6
  20. 13:49Conclusion
~/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.