TRANSMISSION // 2611.20517v2

When a probabilistic program can ask about halting

Source published

A theory paper shows how stopping probability and answer confidence shape which halting questions a probabilistic program can decide.

AI-generated conceptual illustration for When a probabilistic program can ask about halting
AI-generated conceptual illustration; not documentary evidence.

A program can answer on some runs and continue forever on others. Farhat and Didehvar study what such a program can decide when only its completed runs count—and how the answer changes with guarantees about stopping and correctness.

A program may return an answer on some runs and continue forever on others. What problems can it decide if its answer is evaluated only among the runs that finish? This is the question in What Can Postselection on Halting Decide?, a theoretical computer science preprint by Saman Farhat and Farzad Didehvar.

The paper uses the halting problem as a reference point: given a program and an input, determine whether the program eventually stops. A probabilistic program can toss coins and then return yes, return no, or run forever. In “postselection on halting,” the answer is defined by comparing the eventual probabilities of the two outputs, excluding runs that never return. The program need not calculate those probabilities; they describe its behavior mathematically. Indeed, the paper notes that eventual output probabilities need not be computable.

These are results about formal decision power, not a practical method for predicting arbitrary software. The main classifications allow unrestricted running time and space. The paper separately considers a bound on the number of coin tosses, which changes the classification.

A strict majority permits adaptive questions

Earlier work, as summarized in the preprint, showed that requiring the correct answer to be more than twice as likely as the wrong answer among completed runs gives the power of a finite list of halting questions prepared in advance. Such questions are nonadaptive: their selection does not depend on earlier answers.

Farhat and Didehvar examine a weaker requirement: the correct answer need only be more likely than the wrong answer. They prove that this permits exactly the problems decidable with an oracle for the halting problem, where each answer can help choose the next question. This class is written Δ⁰₂ in computability theory. The result remains true if the program is required to halt with at least any prescribed rational probability below one, including 99 percent.

The distinction is between a strict majority and a guaranteed margin. A strict majority can be arbitrarily narrow; it does not promise a known minimum lead. Under the paper’s model, that allows more decision power than a fixed positive confidence margin.

Confidence and stopping set a query bound

The main technical result gives an exact bound when both guarantees are fixed. Suppose a program halts with probability at least ρ, and the correct answer accounts for at least a fraction a of its halting outcomes, with a greater than one half. The authors show that the resulting decision power matches problems solvable using at most n nonadaptive halting questions, where n is the largest integer satisfying ρ(a / (1 − a))ⁿ ≤ 1.

The intuition is to track how often a tentative answer can change. Each reversal requires enough additional probability to strengthen the new answer while keeping previously assigned probability in place. Since total probability cannot exceed one, the stopping floor and confidence threshold limit the number of possible reversals. The proof connects this count to established work on computable approximations and the Ershov hierarchy.

The authors report that every query bound in this framework occurs and that different bounds yield different classes. They also study a defined model of quantum machines with computable gates. For that model, they prove that classical probabilistic machines can match the quantum machines’ eventual probabilities for each output, transferring the classifications. This is a statement about the paper’s specified model, not quantum machines in general.

The paper also examines machines limited to polynomially many coin tosses. In that setting, it relates decision power to a bound on how many times a computable approximation can change its answer; this is a separate result from the unrestricted classifications.

Scope and uncertainty

These classifications say which problems can be decided under idealized rules; they do not establish that the decisions are efficient or feasible in practice. In particular, excluding nonhalting runs is a mathematical definition, not a claim that a real system can observe forever-running computations and later retrieve their answers.

The findings are presented in an arXiv preprint. This article draws on the supplied paper text; the available search results are incomplete and do not independently verify the proofs or establish peer-review status. The results should therefore be read as the authors’ claims and formal arguments, with their independent verification and reception left open.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.