arXiv · 2609.34888
Domain Theory Meets Interaction Trees in Rocq
Abstract
We present a domain-theoretical formalization of interaction trees in the Rocq prover. Unlike existing formalizations, ours does not rely on Rocq's built-in coinduction. Hence, we avoid complications occurring in earlier works, such as artificially including silent steps to comply with Rocq's productivity checker, treating monad laws as weak bisimulations, and coinductive bisimulation reasoning. We define an inductive program equivalence relation as the congruence closure of a base relation on primitive effects with respect to action sequencing and least upper bounds. This enables reasoning about possibly non-terminating programs by reducing their equivalences to equivalences of their terminating approximations, which are then proved by induction. This relation is proved correct: provided the base relation is correct, equivalent computations have equal denotations in any monad that faithfully implements the effects. We illustrate the framework by showing the equivalence of two programs encoding the Syracuse sequence, whose termination is an open mathematical conjecture.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
David Nowak, Vlad Rusu. 2026-09-28. Domain Theory Meets Interaction Trees in Rocq. https://doi.org/10.4204/eptcs.452.9
Cite the original work for its findings. Save a collection to share your selection of sources.