---
res:
  bibo_abstract:
  - "Data structures based on trees and tree traversals are ubiquitous in computer
    systems. Many low-level programs, including some implementations of critical systems
    like page tables and the web browser DOM, rely on generic tree-traversal functions
    that traverse tree nodes in a pre-determined order, applying a client-provided
    operation to each visited node. Developing a general approach to specifying and
    verifying such traversals is tricky since the client-provided per-node operation
    can be stateful and may potentially depend on or modify the structure of the tree
    being traversed.\r\nIn this paper, we present a recipe for (semi-)automated verification
    of such generic, stateful tree traversals. Our recipe is (a) general: it applies
    to a range of tree traversals, in particular, pre-, post- and in-order depth-first
    traversals; (b) modular: parts of a traversal’s proof can be reused in verifying
    other similar traversals; (c) expressive: using the specification of a tree traversal,
    we can verify clients that use the traversal in a variety of different ways; and
    (d) automatable: many proof obligations can be discharged automatically.\r\nAt
    the heart of our recipe is a novel use of tree zippers to represent a logical
    abstraction of the tree traversal state, and zipper transitions as an abstraction
    of traversal steps. We realize our recipe in the RefinedC framework in Rocq, which
    allows us to verify a number of different tree traversals and their clients written
    in C.@eng"
  bibo_authorlist:
  - foaf_Person:
      foaf_givenName: Laila
      foaf_name: Elbeheiry, Laila
      foaf_surname: Elbeheiry
  - foaf_Person:
      foaf_givenName: Michael Joachim
      foaf_name: Sammler, Michael Joachim
      foaf_surname: Sammler
      foaf_workInfoHomepage: http://www.librecat.org/personId=510d3901-2a03-11ee-914d-d9ae9011f0a7
  - foaf_Person:
      foaf_givenName: Robbert
      foaf_name: Krebbers, Robbert
      foaf_surname: Krebbers
  - foaf_Person:
      foaf_givenName: Derek
      foaf_name: Dreyer, Derek
      foaf_surname: Dreyer
  - foaf_Person:
      foaf_givenName: Deepak
      foaf_name: Garg, Deepak
      foaf_surname: Garg
  bibo_doi: 10.1145/3779031.3779110
  dct_date: 2026^xs_gYear
  dct_isPartOf:
  - http://id.crossref.org/issn/9798400723414
  dct_language: eng
  dct_publisher: Association for Computing Machinery@
  dct_title: A recipe for modular verification of generic tree traversals@
...
