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

Fairness Constraints for Liveness Verification

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 238 papers54 conceptsfrozen 2026-10-04

In formal verification, we often distinguish between safety properties ("nothing bad ever happens") and liveness properties ("something good eventually happens"). While safety is relatively straightforward to check by looking for reachable "bad" states, liveness is notoriously difficult. Proving that a program will eventually terminate or that a distributed system will eventually reach a consensus requires reasoning about the infinite future.

The core challenge is that mathematical models of concurrency are often "too non-deterministic." Without additional constraints, a model checker might explore execution paths that are physically impossible or realistically irrelevant—such as a scheduler that indefinitely ignores a ready process. To bridge this gap, researchers use fairness constraints: formal requirements that ensure every component of a system gets a "fair" chance to execute.

The Problem of the Adversarial Scheduler

When we model a multi-threaded program or a distributed protocol, we typically don't know the exact timing of every operation. We use non-determinism to represent all possible interleavings of events. However, as Amin Ansari notes in the verification of Peterson's Algorithm, this abstraction can be too broad.

A model checker acts like an adversarial scheduler: it searches for any path that violates a property. If we ask it to prove that a process will eventually enter a critical section, the checker might find a path where that process is simply never scheduled. In the model, this looks like a liveness failure (starvation), but in a real operating system, the scheduler would eventually give that process a turn. Without fairness constraints, model checkers produce "false positives"—identifying bugs that don't actually exist in reality.

Taxonomy of Fairness

To solve this, researchers like Diletta Cacciagrano and Catuscia Palamidessi have formalized different "strengths" of fairness in testing semantics:

  • Weak Fairness: If an action is continuously enabled (ready to fire), it must eventually be executed. This prevents a process from being stuck forever if it never stops being ready.
  • Strong Fairness: If an action is enabled infinitely often (even if it toggles between ready and not ready), it must eventually be executed. This is necessary for protocols where processes might temporarily lose their "ready" status while waiting for a resource.
  • Finitary Fairness: A more recent and powerful concept explored by Anthony W. Lin and Philipp Rümmer. Unlike standard fairness, which only looks at the infinite horizon, finitary fairness assumes there is some fixed (but unknown) bound $k$ such that no process is ignored for more than $k$ steps. This is often the key to proving termination in probabilistic systems.

Filtering the Impossible

Fairness isn't just for software; it's a tool for filtering out mathematical artifacts in various domains. In biological modeling, Calin Belta and Grégory Batt use fairness to verify genetic regulatory networks. Discrete abstractions of continuous biological processes can sometimes create "transient regions" where the model could theoretically loop forever. Fairness constraints force the model checker to ignore these "time-stopping" paths, ensuring that liveness properties are checked only against physically plausible trajectories.

Similarly, in the world of logic programming and "the chase" (a procedure for generating models), Lucas Larroque and Michaël Thomazo argue that fairness-driven scheduling is essential. It ensures that every applicable rule is eventually executed, which is necessary to reach a "universal model," even if it makes the termination of the process harder to prove.

The Risk of Trivial Truth

While adding fairness constraints makes models more realistic, it introduces a new danger: vacuity. Marco Roveri and John Mylopoulos found that in tools like VeriSolid, over-constraining a model with fairness can lead to "trivial truth."

If the fairness constraints are so restrictive that they eliminate all possible execution paths, the model checker will report that every property is "satisfied"—simply because there are no valid paths left to violate them. This highlights a delicate balance: constraints must be strong enough to eliminate unrealistic "unfair" paths, but weak enough to preserve the actual behavior of the system.

Scaling the Solution

The ultimate goal is to automate this reasoning. Tools like Arctor, developed by Andrey Kupriyanov and Bernd Finkbeiner, attempt to integrate fairness directly into the verification process using causal trace tableaux. By avoiding the explicit interleaving of every possible thread action and instead focusing on the causal relationships between events, these tools can verify liveness in systems with hundreds of threads—a feat that was previously impossible due to state-space explosion.

By treating fairness not just as a "hack" to fix schedulers, but as a fundamental property of how we define valid execution, researchers have turned liveness verification from a theoretical headache into a practical tool for ensuring the reliability of concurrent systems.

Papers in this version

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 1, frozen text):

@misc{lacuna_fairness_constraints_for_liveness_verifi_49bc1831_v1,
  title = {Fairness Constraints for Liveness Verification},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/fairness-constraints-for-liveness-verification/rdr_49bc1831482f4e0282b9bf21e2223030/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}