NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Liveness Verification under Fairness Constraints

56 concepts34 papers1 proposal

In formal verification, we distinguish between safety properties ("nothing bad ever happens") and liveness properties ("something good eventually happens"). While safety can often be reduced to simple reachability—checking if a system can ever enter an error state—liveness is fundamentally more elusive. In a concurrent system, a process might fail to complete its task not because of a bug, but because an adversarial scheduler ignores it forever. To reason about liveness, we must impose fairness constraints: mathematical guarantees that every process or rule will eventually get its turn.

The Necessity of Fairness

Without fairness, most concurrent systems are impossible to verify. As Kenneth L. McMillan and Kenneth McMillan argue in Circular Compositional Reasoning about Liveness, proving that a system reaches a desired state requires manually defining fairness for components like arbiters to prevent infinite starvation.

Fairness acts as a filter on the infinite execution paths of a system. By ignoring "unfair" paths where a ready process is never scheduled, we can assign stable mathematical meanings to highly nondeterministic networks. Susumu Yamasaki demonstrates in A Network of Communicating Logic Programs and Its Semantics that these constraints allow fixpoint theory to model complex dataflow sequences that would otherwise be unmanageable.

Weak vs. Strong Fairness

Not all fairness is created equal. The literature generally distinguishes between two primary levels of enforcement:

  1. Weak Fairness: If an action is continuously enabled, it must eventually execute.
  2. Strong Fairness: If an action is infinitely often enabled (even if it toggles on and off), it must eventually execute.

Diletta Cacciagrano et al. show in Explicit fairness in testing semantics that these explicit constraints are often stronger than the implicit "fair-testing" models used in classic concurrency theory. Strong fairness is particularly vital for systems with intermittent resource availability, but it is also harder to verify. In the context of automata theory, these are often modeled as Streett objectives, which require that if a request is made infinitely often, it is granted infinitely often.

The Computational Cost of Progress

The transition from safety to liveness under fairness triggers a massive jump in computational complexity. For example, Pascal Baumann et al. demonstrate in Context-Bounded Verification of Thread Pools that while safety verification for thread-pooled programs is EXPSPACE-complete, verifying liveness under fair scheduling is Ackermann-complete. This suggests a sharp "computational divide" when realistic scheduling guarantees are introduced.

Despite this, algorithmic breakthroughs have made specific types of fairness verification more feasible. Krishnendu Chatterjee et al. in Near-Linear Time Algorithms for Streett Objectives in Graphs and MDPs provide randomized algorithms that solve strong fairness objectives in near-linear time, a significant improvement over previous super-linear bounds.

The Problem of Finite Verifiability

A core challenge in this field is that standard fairness is an "infinite" property. You cannot look at a finite prefix of a program's execution and definitively say it is "unfair," because the missing action could always happen in the next step.

This lack of finite verifiability makes certain problems, like the termination of database "chase" algorithms, extremely difficult. Lucas Larroque et al. explain in Restricted Chase Termination: You Want More than Fairness that standard fairness makes termination $\Pi^1_1$-complete. They propose a "breadth-first" fairness alternative, which ensures that execution sequences are finitely verifiable, thereby reducing the complexity to the more manageable arithmetical hierarchy.

Beyond Verification: Fair Synthesis

If we can verify fairness, can we also build systems that are fair by design? In Synthesis of a simple self-stabilizing system, Adria Gascon et al. argue that incorporating fairness constraints directly into the synthesis objective is necessary to prevent process starvation in generated algorithms. Similarly, Rupak Majumdar et al. in A Flexible Toolchain for Symbolic Rabin Games under Fair and Stochastic Uncertainties highlight that the lack of direct symbolic solvers for these conditions often forces researchers to use inefficient translations, hindering the creation of reliable, fair controllers for robotics and resource management.

Key Foundational Work

A Network of Communicating Logic Programs and Its Semantics (1987) — contributed 1 concept elements to this direction.
A Network of Communicating Logic Programs and Its Semantics (1987) — contributed 1 concept elements to this direction.
Efficient Parameterizable Type Expansion for Typed Feature Formalisms (1995) — contributed 1 concept elements to this direction.
History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 34 papers
  2. Version 1 · 2026-10-04 · 38 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_fairness_constrained_liveness_verificati_49bc1831,
  title = {fairness-constrained liveness verification},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/fairness-constrained-liveness-verification/rdr_49bc1831482f4e0282b9bf21e2223030},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 2, frozen text):

@misc{lacuna_fairness_constrained_liveness_verificati_49bc1831_v2,
  title = {fairness-constrained liveness verification},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/fairness-constrained-liveness-verification/rdr_49bc1831482f4e0282b9bf21e2223030/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-28},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake