~/talk

A Recipe for Modular Verification of Generic Tree Traversals

Talkat CPP 2026 · 2026-01-12..01-13· [software-architecture]
links:none on file
links:none on file
links:none on file
slides:none on file

Presents a concrete verification recipe that models traversal state with a zipper with shadow and characterizes step types as action and silent steps, yielding a modular invariant that proves pre-, post- and in-order DFS traversals. Realizes the approach in RefinedC (Rocq) and verifies pointer- and array-based trees, variadic-arity trees, early termination, and traversals whose per-node operation can reshape whole subtrees. Proof effort splits into reusable logical, implementation, traversal, and client steps; artifacts and examples are available.

AI-written summary · about

  1. 0:00Modular verification intro
  2. 1:24Higher-order traversals explained
  3. 3:49Modular verification recipe
  4. 5:55Mathematical abstraction of trees
  5. 7:20Invariant-based traversal specs
  6. 9:04Zipper-based state
  7. 11:07State progression formalized
  8. 12:53Action and silent steps
  9. 14:17Final traversal spec
  10. 15:40Evaluation with RefinedC
  11. 17:28Recap and contributions
  12. 18:09Q&A: List structures
  13. 18:53Q&A: Two-tree traversals
  14. 19:36Q&A: Full algorithm verification
  15. 20:39Q&A: Parent pointers
~/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.