Unbounded data nesting for loops in higher-order programs

We study contextual interactions in an ML-like language equipped with general references and continuations, focusing on the reachability and approximation problems.<br/><br/>Previous work addressed higher-order programs with first-order references in the absence of loops using automata over nested data; however, extending these techniques to programs with loops encountered fundamental technical obstacles, stemming from the need to bound the depth of data.<br/><br/>We introduce a new class of automata over infinite alphabets that supports unbounded nesting of data. We establish a precise correspondence between these automata and higher-order programs with loops: the trace semantics of any such program can be captured by an automaton, and conversely, the trace language of any such automaton can be realised by an imperative higher-order program with loops.<br/><br/>This correspondence enables the transfer of decidability and undecidability results between the automata and programs. In particular, we show that adding loops preserves decidability of reachability, while rendering approximation undecidable.

Authors

Publication Details

Journal
University of Birmingham Research Portal (University of Birmingham)
Published
2026-04-16
Primary Topic
Formal Methods in Verification
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Unbounded data nesting for loops in higher-order programs

Adriana Baldacchino, Andrzej Murawski
University of Birmingham Research Portal (University of Birmingham)
Formal Methods in Verification
article

Unbounded data nesting for loops in higher-order programs

Adriana Baldacchino, Andrzej Murawski
article en

Abstract

We study contextual interactions in an ML-like language equipped with general references and continuations, focusing on the reachability and approximation problems.<br/><br/>Previous work addressed higher-order programs with first-order references in the absence of loops using automata over nested data; however, extending these techniques to programs with loops encountered fundamental technical obstacles, stemming from the need to bound the depth of data.<br/><br/>We introduce a new class of automata over infinite alphabets that supports unbounded nesting of data. We establish a precise correspondence between these automata and higher-order programs with loops: the trace semantics of any such program can be captured by an automaton, and conversely, the trace language of any such automaton can be realised by an imperative higher-order program with loops.<br/><br/>This correspondence enables the transfer of decidability and undecidability results between the automata and programs. In particular, we show that adding loops preserves decidability of reachability, while rendering approximation undecidable.

University of Birmingham Research Portal (University of Birmingham)
Openalex Percentile: Top 3%
Formal Methods in Verification
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.