Resumptions, Weak Bisimilarity and Big-Step Semantics for While with Interactive I/O: An Exercise in Mixed Induction-Coinduction
Keiko Nakata (Institute of Cybernetics, Tallinn University of, Technology, Estonia), Tarmo Uustalu (Institute of Cybernetics, Tallinn, University of Technology, Estonia)

TL;DR
This paper develops and formalizes in Coq various big-step semantics for the While language with interactive I/O, using resumptions and weak bisimilarity, to better understand operational behavior with delays and divergence.
Contribution
It introduces nested inductive-coinductive semantics for While with I/O, including delay-free resumptions and divergence options, formalized in Coq.
Findings
Defined semantics with explicit internal actions (delays)
Introduced delay-free resumptions to remove finite delays
Formalized semantics in Coq
Abstract
We look at the operational semantics of languages with interactive I/O through the glasses of constructive type theory. Following on from our earlier work on coinductive trace-based semantics for While, we define several big-step semantics for While with interactive I/O, based on resumptions and termination-sensitive weak bisimilarity. These require nesting inductive definitions in coinductive definitions, which is interesting both mathematically and from the point-of-view of implementation in a proof assistant. After first defining a basic semantics of statements in terms of resumptions with explicit internal actions (delays), we introduce a semantics in terms of delay-free resumptions that essentially removes finite sequences of delays on the fly from those resumptions that are responsive. Finally, we also look at a semantics in terms of delay-free resumptions supplemented with a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
