General Decidability Results for Systems with Continuous Counters

  • A. R. Balasubramanian
  • , Matthew Hague
  • , Rupak Majumdar
  • , Ramanathan S. Thinniyam
  • , Georg Zetzsche

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Counters that hold natural numbers are ubiquitous in modeling and verifying software systems; for example, they model dynamic creation and use of resources in concurrent programs. Unfortunately, such discrete counters often lead to extremely high complexity. Continuous counters are an efficient over-approximation of discrete counters. They are obtained by relaxing the original counters to hold values over the non-negative rational numbers.

This work shows that continuous counters are extraordinarily well-behaved in terms of decidability. Our main result is that, despite continuous counters being infinite-state, the language of sequences of counter instructions that can arrive in a given target configuration, is regular. Moreover, a finite automaton for this language can be computed effectively. This implies that a wide variety of transition systems can be equipped with continuous counters, while maintaining decidability of reachability properties. Examples include higher-order recursion schemes, well-structured transition systems, and decidable extensions of discrete counter systems.

We also prove a non-elementary lower bound for the size of the resulting finite automaton.
Original languageEnglish
Title of host publicationPrinciples of Programming Language
PublisherACM
Pages540-567
Number of pages28
Volume10
DOIs
Publication statusPublished - 8 Jan 2026
EventPrinciples of Programming Languages - Rennes, France
Duration: 11 Jan 202617 Jan 2026
Conference number: 53
https://popl26.sigplan.org

Conference

ConferencePrinciples of Programming Languages
Abbreviated titlePOPL
Country/TerritoryFrance
CityRennes
Period11/01/2617/01/26
Internet address

Keywords

  • Continuous Counters
  • Vector Addition System
  • Regular Language
  • Decidability

Cite this