Plectis Atlas
Search

↑ and ↓ move, Enter opens, Esc closes.

Reading view

Constant-factor hardness of directed feedback vertex set

OpenAI, 23 September 2026

PDFTeX source

Part of family 102: The Unique Games Conjecture and optimal approximation thresholds. Read it with its family

This page is converted from the paper’s TeX source. Atlas reconstructs statement numbers from the paper’s typesetting source (TeX). Use the original PDF if they differ. One figure is shown as a placeholder; see the PDF for it.

Abstract

Approximating minimum directed feedback vertex set within any fixed constant factor is NP-hard, even on unweighted digraphs.

1 Introduction

A directed feedback vertex set of a finite digraph G is a set F\subseteq V(G) for which the induced digraph G-F is acyclic. Write

\DFVS(G)=\min\{\abs F:G-F\text{ is acyclic}\}.

Equivalently, F intersects every directed cycle. A topological order of G-F certifies this property in polynomial time. The minimum-cost version assigns a positive rational cost to each vertex and minimizes the sum of the deleted costs. Throughout, digraphs are finite and loopless; two vertices may have arcs in both directions. An A-approximation, for A\ge1, returns a feedback vertex set of size at most A\DFVS(G).

1.1 The approximation question

Writing n=\abs{V(G)}, the general O(\log n\log\log n) approximation guarantee originates in Seymour’s work on fractional packing of directed circuits [12]. Even, Naor, Schieber, and Sudan give a constructive algorithm covering weighted directed feedback sets [4].

Ordinary NP-hardness of approximation already follows from Vertex Cover, which asks for a smallest vertex set meeting every edge of an undirected graph. Replacing every edge of an undirected graph by its two opposite arcs makes a vertex set a directed feedback vertex set exactly when it is a vertex cover. Thus the earlier hardness factors below 10\sqrt5-21 of Dinur and Safra [3], and the factors strictly below \sqrt2 obtained by the completed two-to-one games line [10, Section 1.3.1], transfer to DFVS. These results exclude particular constants; excluding every constant had required a stronger complexity assumption.

Guruswami, Manokaran, and Raghavendra established the Unique-Games barrier against every constant factor through maximum acyclic subgraph and feedback arc set [9]. The expanded ordering-constraint framework appears in the journal paper with Håstad and Charikar [7]. Svensson gave a direct Unique-Games-based construction with strong structure in the YES case [13]. Guruswami and Lee subsequently gave a simpler proof with structured completeness and short cycles in every sufficiently large induced subgraph in the NO case [8]. The recent discussion of Ghorbani and Mnich records the remaining gap for general digraphs [6].

We prove the corresponding exclusion of every constant factor from ordinary NP-hardness.

Theorem 1.1. For every fixed real constant A\ge1, it is NP-hard to approximate minimum directed feedback vertex set within factor A on unweighted digraphs. More precisely, there is a deterministic polynomial-time reduction from an NP-hard promise problem to instances (G,k) with k\in\N_{>0}. The polynomial and its constants may depend on A. The reduction has the following alternatives:

\textnormal{YES: }\DFVS(G)\le k, \qquad \textnormal{NO: }\DFVS(G)>Ak.

Theorem 1.1 implies that a deterministic polynomial-time algorithm with any constant approximation guarantee exists if and only if \mathrm P=\mathrm{NP}. For the reverse implication, membership of the size-bounded decision problem in NP permits exact optimization and witness search when \mathrm P=\mathrm{NP}. The theorem establishes that the required approximation factor grows without bound with the input size, assuming \mathrm P\ne\mathrm{NP}. It does not identify that growth rate or improve the general approximation algorithm.

A directed feedback arc set is a set of arcs whose deletion leaves an acyclic digraph. Corollary 8.3 transfers the same hardness to this problem on unweighted simple loopless digraphs, through a reduction preserving both the optimum and approximation solutions. The vertex-set hardness also holds when opposite arcs are forbidden, as shown in Remark 8.2.

1.2 Methodological background

Our construction shares the useful division between protected vertices and deletable test vertices in Svensson’s dictatorship gadget [13, Section 3.1.1]. His soundness proof also reads a Boolean function from a topological order [13, Section 3.1.3]. Here the protected vertices encode rank profiles, and compatibility across tuple prefixes supplies a family of monotone functions. Svensson uses the “It Ain’t Over Till It’s Over” theorem; Guruswami and Lee instead use an invariance principle [8, Section 1]. Our analytic input is Friedgut’s theorem on Boolean functions of bounded total influence [5]. We derive its required fixed-bias form explicitly. Junta-based label decoding already appears in Dinur and Safra’s Vertex Cover hardness proof [3, Sections 1.1 and 3], where a nearby bias is selected to obtain bounded total influence. Here a single pivotality budget controls all the prescribed biases, and the contradiction requires their estimates to concern the same distribution of functions.

The rank distribution is obtained by combining finite Ramsey theory [11] with finite minimax [14]. These are the external combinatorial tools in the rank-spreading argument. The shared-prefix construction and the permutation pivotality budget are proved below. Their role is to compare many biases without changing the distribution of the functions being analyzed. The source of hardness is the published imperfect-completeness two-to-one theorem, so the proof does not consume a Unique Games hardness theorem.

1.3 The reduction and its new ingredients

A two-to-one game has a bipartite constraint graph with a label set X at each big-side vertex and a label set Y at each small-side vertex. Each edge carries a map X\to Y with exactly two preimages per label; an edge is satisfied when the chosen endpoint labels obey that map. The game value is the largest fraction of satisfied edges, measured under its prescribed edge distribution. Our starting point is the imperfect-completeness 2-to-1 Games Theorem, obtained through the work of Dinur, Khot, Kindler, Minzer, and Safra, Khot, Minzer, and Safra, and Barak, Kothari, and Steurer [2, 10, 1]. We use its precise form in Theorem 2.1: for arbitrarily small constant \theta>0, distinguishing game value at least 1-\theta from value at most \theta is NP-hard, with fixed alphabets and exact two-element projection fibers. The perfect-completeness 2-to-1 Games Conjecture is not a premise of the argument.

The central difficulty is to extract a game labeling from an arbitrary acyclic remainder. An acyclic graph supplies a topological order, but its order can interleave the many vertices representing the same local test. The proof first makes comparisons within that order consistent, then interprets them as Boolean functions. Small deletion cost will constrain these functions in incompatible ways.

For a fixed integer factor A, put D=10A. We construct a weighted graph with a feedback vertex set of cost at most 4 in the YES case. Suppose, toward the soundness contradiction, that a NO instance has one of cost at most D. Fix a topological order after its deletion. The following four steps analyze this arbitrary order. A Boolean function on subsets is evaluated at bias p by including each label independently with probability p; its acceptance is the probability that its value is one.

  1. (1)

    Rank comparisons with a common interpretation. For each short tuple of game vertices, we create vertices indexed by rank-valued functions of label tuples. A global labeling evaluates all these functions consistently. In the soundness analysis, a putative inexpensive feedback set leaves every rank vertex present, so its surviving topological order supplies comparison bits. A finite Ramsey and minimax argument produces a distribution on rank embeddings for which all triples of positions have nearly identical image laws. Ordered comparisons then agree with high probability, yielding a monotone Boolean function of subsets of label tuples.

  2. (2)

    Conditioning through a shared prefix. Successive random subsets split label tuples into lexicographically ordered cells. Monotonicity selects a unique transition cell, and prefix identifications make these transitions consistent under refinement. A full-prefix test prevents the chosen cell from having too few membership-one steps at any of many dyadic biases. On averaging, the conditioned big-side Boolean function has acceptance at least a constant multiple of the bias at every scale. The same prefix data define functions for every game vertex before a fresh constraint is drawn.

  3. (3)

    A pivotality budget independent of the alphabet size. A single-label test charges the event that the starred label can be pivotal somewhere along a random permutation. The resulting quantity B(f) is the sum, over labels, of the probability that the label is pivotal at some prefix of a random permutation of the other labels. It bounds both total influence and acceptance probability divided by the bias, at every bias. Its expectation is at most D+1 on either side of the game. Friedgut’s junta theorem [5], transferred to fixed dyadic biases, therefore supplies bounded coordinate lists outside a small exceptional set. Their size is fixed before choosing the game alphabets.

  4. (4)

    A common tail variable across all scales. A projection-respecting coupling compares bias p on the big side with bias 2p on the small side. Game soundness makes the two junta lists typically use disjoint projection fibers. The corresponding outputs are then independent under the coupling, allowing the comparison bound to pass to product measures. At each dyadic bias, this forces a positive contribution of constant size to the tail sum of the small-side pivotality budget. All these estimates concern the same random variable under the same distribution. Adding sufficiently many such contributions contradicts its expected budget.

The pivotality quantity is independent of the bias. This is essential: a separate influence bound at each scale would not justify adding the contributions to one tail sum. Likewise, the shared prefix fixes all vertex functions before the tested game edge is drawn; otherwise the coordinate lists would not define a game labeling.

The proof uses finite probability spaces to specify weighted test families. Every outcome is included explicitly with its probability as part of its cost. Thus the reduction is deterministic. All parameters, alphabets, tuple lengths, and rank tables are constants once the target factor is fixed, even though some are extremely large. Finally, rounding each vertex cost upward and replacing a vertex by an independent cluster produces an unweighted gap.

1.4 Organization

Section 2 states the external theorems and proves the required dyadic junta corollary. Section 3 gives the parameter choices, graph, tests, and completeness argument. Section 4 proves rank spreading and the order lemmas used to read Boolean functions from a surviving graph. Sections 5 and 6 establish the acceptance lower bounds and pivotality budgets. Section 7 gives the comparison and tail-sum contradiction. Section 8 removes the costs and proves Theorem 1.1.

2 Games and Boolean functions

For a finite set S, we identify \{0,1\}^{S} with the power set 2^{S}. For p\in(0,1), let \mu_p^{S} be the probability measure on 2^{S} in which each element belongs to the sampled set independently with probability p. We use [n]=\{1,\ldots,n\}. All graphs and probability spaces in the reduction are finite.

2.1 The game used in the reduction

A two-to-one game consists of a bipartite constraint graph with disjoint vertex sets U,V, nonempty label sets X,Y with \abs{X}=2\abs{Y}, and, for each edge e=(u,v), a map \pi_e:X\to Y for which every fiber has cardinality two. Parallel constraints are allowed. The edges carry a rational probability distribution \nu. Its endpoint marginals are denoted by \nu_U and \nu_V. A labeling consists of maps \ell_U:U\to X and \ell_V:V\to Y; its value is

\Pr_{e=(u,v)\sim\nu} [\,\pi_e(\ell_U(u))=\ell_V(v)\,].

The value of a game is the maximum of this expression over all labelings.

Theorem 2.1 (Two-to-one games with imperfect completeness). For every constant \theta\in(0,1/2), there are constant label sets X,Y such that it is \mathrm{NP}-hard, by a deterministic polynomial-time reduction, to distinguish two-to-one games of the following kinds:

  1. (i)

    there is a labeling of value at least 1-\theta;

  2. (ii)

    every labeling has value at most \theta.

Every constraint is a total map X\to Y with exactly two preimages of each label in Y. The label sets may depend on \theta.

We invoke the completed theorem in this precise form. Dinur, Khot, Kindler, Minzer, and Safra prove the stated gap conditionally on their Grassmann agreement hypothesis [2, Theorem 1.8]. Their Hypothesis 3.6 follows from the Grassmann expansion theorem of Khot, Minzer, and Safra [10, Theorem 1.12, ECCC revision 2] through the implications of Barak, Kothari, and Steurer [1, Section 1.1 and Theorems 9–11]. The two-to-one definition and the common alphabets are as in [2, Definitions 1.1–1.2 and Section 4.2]. In the explicit constraint construction, the smoothing parameter may be chosen rational within its permitted range [2, Sections 4.2 and 5.2]. The edge sampling process then specifies rational weights: all constant-length tuples and constant-dimensional subspaces can be enumerated, followed by the prescribed identifications. With the parameters fixed, this is a deterministic finite construction of polynomial size. Thus the use of a rational edge law does not introduce randomness into the reduction. We require neither perfect completeness nor any degree regularity of the game.

2.2 Junta approximation at fixed dyadic biases

For a Boolean function f:2^S\to\{0,1\} and j\in S, define

I_{p,j}(f) =\Pr_{R\sim\mu_p^{S\setminus\{j\}}} [\,f(R)\ne f(R\cup\{j\})\,], \qquad I_p(f)=\sum_{j\in S} I_{p,j}(f). \tag{2.1}

This is also the probability that flipping coordinate j changes the value of f, when the entire input has law \mu_p^S: the change event depends only on the other coordinates. A function is a junta on J\subseteq S if its value depends only on R\cap J. Constant functions are juntas on the empty set.

Theorem 2.2 (Friedgut’s junta theorem). For every b\ge0 and \alpha>0, there is a finite integer J_{\mathrm{unif}}(b,\alpha) with the following property. For every finite S and every Boolean function f:2^S\to\{0,1\} with I_{1/2}(f)\le b, there is a Boolean function \widetilde f, depending on at most J_{\mathrm{unif}}(b,\alpha) coordinates, for which

\Pr_{R\sim\mu_{1/2}^{S}}[\,f(R)\ne\widetilde f(R)\,]\le\alpha.

The bound is independent of \abs S.

This is the uniform version of Friedgut’s theorem [5, Theorem 1.1 in the February 3, 1998 author manuscript]. Friedgut also proves a biased-product version [5, Theorem 4.1 in the same manuscript]. We give an elementary reduction of the dyadic case to the uniform case, so that the dependence on the bias and independence of the game alphabet size are explicit.

Corollary 2.3 (Dyadic junta approximation). Let p=2^{-k}, where k\ge1 is an integer. For every b\ge0 and \alpha>0, there is a finite integer J(p,b,\alpha), independent of \abs S, such that every Boolean function f:2^S\to\{0,1\} with I_p(f)\le b has a Boolean junta approximant on at most J(p,b,\alpha) coordinates with error at most \alpha under \mu_p^S.

Proof. The assertion is immediate for S=\varnothing, so assume otherwise. Let (X_{j,a})_{j\in S,\,a\in[k]} be independent uniform bits and put

Z_j=\bigwedge_{a=1}^k X_{j,a}, \qquad F(X)=f(\{j\in S:Z_j=1\}).

The Z_j are independent Bernoulli p bits. Flipping X_{j,a} changes F precisely when all the other k-1 bits of its block are one and coordinate j is pivotal for the values of the other blocks. These two events are independent. Therefore

I_{1/2}(F) =k2^{-(k-1)}I_p(f) =2kpI_p(f) \le kb. \tag{2.2}

By Theorem 2.2, there is a Boolean approximant H to F with error at most \alpha, using at most J_{\mathrm{unif}}(kb,\alpha) of the individual bits X_{j,a}. Let J\subseteq S be the set of blocks touched by these bits. Then \abs J\le J_{\mathrm{unif}}(kb,\alpha).

Reveal all bits in every block indexed by J. Since H is measurable with respect to these revealed blocks, the Boolean predictor with smallest conditional error from the revealed blocks has total error at most that of H. More explicitly, this predictor outputs one when the conditional probability of F=1 is at least 1/2, with any fixed convention at equality. The unrevealed blocks remain independent of the revealed blocks, and the dependence of F on a revealed block is only through its AND value. Consequently

\Pr[\,F=1\mid (X_{j,a})_{j\in J,\,a\in[k]}\,] = \Pr[\,f(\{j:Z_j=1\})=1\mid (Z_j)_{j\in J}\,].

The optimal predictor is therefore a Boolean function only of (Z_j)_{j\in J}. Regard it as a function \widetilde f:2^S\to\{0,1\} on the original coordinates. The induced law of the original input is \mu_p^S, so

\Pr_{R\sim\mu_p^S}[\,f(R)\ne\widetilde f(R)\,]\le\alpha.

Thus J(p,b,\alpha)=J_{\mathrm{unif}}(kb,\alpha) is a valid choice, increased to one if desired.

Remark 2.4. The junta approximants need not be monotone. In the reduction, the original conditioned functions will be monotone, but the argument uses only their approximation errors and their coordinate supports. For any fixed finite collection of dyadic biases, the maximum of the bounds in Corollary 2.3 remains independent of the alphabet size.

3 The weighted reduction

We first construct a digraph with positive rational vertex costs. Write w_v for the cost of a vertex v and w(F)=\sum_{v\in F}w_v for the cost of a vertex set F. For each fixed integer A\ge 1, the construction will have a feedback vertex set of cost at most 4 in the completeness case of Theorem 2.1, whereas every feedback vertex set will have cost greater than D=10A in its soundness case. Section 8 converts this gap into an unweighted one.

3.1 Choice of parameters

Fix an integer A\ge 1 and put D=10A. The constants have the following roles. There will be M bias scales and at most T prefix slots. The full-prefix and comparison tests have total costs H and K. The junta size is bounded by J, independently of the game alphabets; \theta is the required game accuracy. Finally L and N specify finite ordered rank sets, and \psi:[L]\hookrightarrow[N] is an increasing random embedding. Its purpose is to make the order comparisons insensitive to their precise rank levels, as proved in Lemma 4.1. Choose the constants in the following order.

  1. 1.

    Set

    M=128(D+1),\qquad p_i=2^{-(i+1)},\qquad q_i=2p_i\quad (i\in[M]), \qquad \gamma=\frac{p_M}{1000}.
  2. 2.

    Set H=8(D+1). Choose an integer T\ge 1 large enough that

    HM\exp\left(-\frac{p_MT}{8M}\right)\le 1, \tag{3.1}

    and an integer

    K\ge \frac{M2^T D}{\gamma}. \tag{3.2}
  3. 3.

    Put B_0=(D+1)/\gamma. By Corollary 2.3, there is an integer J\ge 1 that bounds the size of a junta approximant with error at most \gamma for every function of total influence at most B_0 at any of the biases p_i,q_i, i\in[M]. Choose a positive rational \theta small enough that Theorem 2.1 applies and

    K\theta\le 1,\qquad J^2\theta\le\gamma. \tag{3.3}

    Apply that theorem with this fixed \theta, and let X,Y be its alphabets, with m=\abs{X}=2\abs{Y}.

  4. 4.

    Put

    k_{\max}=2^Tm,\qquad L=10k_{\max}+30, \qquad \rho=\min\{\gamma,1/m\}.

    Choose a positive rational \eta satisfying

    3\eta L^3 2^{m^T}\le\rho. \tag{3.4}

    Apply Lemma 4.1 to L,\eta, obtaining a finite N and a rational probability distribution on increasing maps \psi:[L]\hookrightarrow[N]. Fix this distribution for the construction.

All these quantities depend only on A. In particular, the junta bound J is fixed before the alphabet size m is determined. Its existence does not require an alphabet bound. The later choices of \rho,\eta,N therefore introduce no dependence back into the choice of \theta.

Let the input game have bipartition U,V, edge distribution \nu, and endpoint marginals \nu_U,\nu_V. For an edge e=(u,v), write \pi_e:X\to Y for its two-to-one projection. All probability distributions below are finite and rational. A sampling description specifies a separate vertex for each outcome of positive probability, with the indicated probability as a factor in its cost. The reduction enumerates these outcomes; it does not sample a random output graph.

3.2 Rank vertices and their identifications

Definition 3.1 (Rank graph). For w\in U\cup V, let \Lambda_w=X if w\in U and \Lambda_w=Y if w\in V, and put m_w=\abs{\Lambda_w}. The allowed vertex tuples are

\bigcup_{t=0}^{T}U^t \quad\cup\quad \bigcup_{t=0}^{T-1}(U^t\times V).

Tuples are ordered sequences and may contain repeated vertices. For an allowed tuple \mathbf d=(w_1,\ldots,w_t), let \Lambda_{\mathbf d}=\prod_{j=1}^t\Lambda_{w_j}; the product for the empty tuple is a singleton. In every case

\abs{\Lambda_{\mathbf d}}\le m^T. \tag{3.5}

For every function x:\Lambda_{\mathbf d}\to[N], introduce a formal rank vertex b_{\mathbf d}(x). Within each tuple, introduce an arc b_{\mathbf d}(x)\to b_{\mathbf d}(y) whenever

x(\lambda)<y(\lambda) \qquad\text{for every }\lambda\in\Lambda_{\mathbf d}.

Whenever \mathbf s w is an allowed extension of \mathbf s, identify

b_{\mathbf s}(x) \equiv b_{\mathbf s w}(x\circ\operatorname{proj}), \tag{3.6}

where \operatorname{proj}:\Lambda_{\mathbf s w}\to\Lambda_{\mathbf s} drops the last coordinate. Take the equivalence relation generated by all these identifications and keep the induced arcs between its classes. Each resulting rank vertex has cost D+1, independently of the number of its formal representatives. We use the same notation for a formal vertex and its equivalence class. The vertices represented by the constant profiles with value j are denoted by o_j, for j\in[N].

Lemma 3.2 (Evaluation invariant). Every global game labeling \ell gives a well-defined real value on the rank vertices by

b_{\mathbf d}(x)\longmapsto x(\ell(\mathbf d)),

where \ell(\mathbf d) is the tuple of labels supplied by \ell. Every rank arc strictly increases this value. Consequently, the rank graph has no self-loops, and o_1,\ldots,o_N are distinct vertices with an arc o_j\to o_{j'} whenever j<j'.

Proof. For every generating identification in Equation (3.6),

(x\circ\operatorname{proj})(\ell(\mathbf s),\ell(w)) =x(\ell(\mathbf s)).

Thus evaluation is constant on each equivalence class. This remains true when vertices repeat in a tuple: their repeated coordinates are evaluated at the same global label. A rank arc is strictly increasing at every tuple of labels, and hence at the particular tuple supplied by \ell. Its two endpoints cannot become the same equivalence class. Finally, constant profiles all identify with their representatives at the empty tuple, and their evaluated values are the distinct integers 1,\ldots,N.

This division into protected rank vertices and deletable tests is related to the bit-vertex/test-vertex architecture of [13, Section 3.1.1]; here the rank profiles and prefix identifications enforce the consistency needed below. All other vertices will be test vertices, distinct from the rank vertices and from one another. Their arcs will be incident only to rank vertices. For E\subseteq\Lambda_{\mathbf d} and 1\le a<h\le L, write

b_{\mathbf d}^{\psi}(E;a,h)=b_{\mathbf d}(x),\qquad x(\lambda)= \begin{cases} \psi(a),&\lambda\in E,\\ \psi(h),&\lambda\notin E. \end{cases}

3.3 Wildcard vertices and prefix data

Definition 3.3 (Wildcard vertex). Fix an allowed tuple \mathbf d, an increasing map \psi, an ordered partition C_1,\ldots,C_k of \Lambda_{\mathbf d} with 1\le k\le k_{\max}, and a set Z\subseteq\Lambda_{\mathbf d}, called the star set. Empty cells in the partition are permitted. Put z_\ell=\psi(10\ell+10) for \ell\in[k]. The corresponding wildcard vertex has an incoming arc from every rank vertex b_{\mathbf d}(x) for which

x(\lambda)<z_\ell \quad\text{for all }\ell\in[k] \text{ and }\lambda\in C_\ell\setminus Z, \tag{3.7}

and an outgoing arc to every b_{\mathbf d}(x) satisfying the strict reverse inequalities

x(\lambda)>z_\ell \quad\text{for all }\ell\in[k] \text{ and }\lambda\in C_\ell\setminus Z. \tag{3.8}

There are no restrictions on the values of x on Z.

The wildcard inequalities have a direct interpretation under any global labeling. If its evaluated tuple lies in C_r\setminus Z, the threshold z_r lies strictly between the evaluations of every incoming and every outgoing rank vertex. Assigning that threshold to the test therefore extends the increasing evaluation along its incident arcs. At starred tuples, the arc conditions impose no restriction on these evaluated values; the completeness argument will delete the corresponding test.

Definition 3.4 (Prefix data). For t\in\{0,\ldots,T\}, draw \mathbf s=(u_1,\ldots,u_t) independently from \nu_U in each slot. Independently draw i_1,\ldots,i_t uniformly from [M]. Conditional on these indices, draw P_j\subseteq X using independent Bernoulli p_{i_j} membership bits, independently for different slots j. Partition \Lambda_{\mathbf s} by the membership patterns

\bigl(\ind{\lambda_j\in P_j}\bigr)_{j=1}^t, \qquad \lambda\in\Lambda_{\mathbf s}.

Order the 2^t cells lexicographically with 1 before 0, keeping cells that happen to be empty, and denote them by C_1,\ldots,C_{2^t}. Put

C_{<r}=\bigcup_{\ell<r}C_\ell, \qquad C_{\le r}=\bigcup_{\ell\le r}C_\ell.

At t=0 this is the one-cell partition of the singleton product domain.

3.4 The three test families

Definition 3.5 (Test families). Add the following families of test vertices to the rank graph. In each family, independently draw \psi from the fixed rank distribution. Each outcome is a separate vertex with cost equal to its probability multiplied by the stated total mass. Distinct outcomes remain separate even if they produce the same incident arcs.

  1. 1.

    Full-prefix tests, of total mass H. Draw prefix data at length T and use the wildcard vertex in tuple \mathbf s with those 2^T cells. Its star set is

    Z=\left\{\lambda\in\Lambda_{\mathbf s}: \text{there exists }i\in[M]\text{ such that } \#\{j:i_j=i,\ \lambda_j\in P_j\} <\frac{p_iT}{2M}\right\}. \tag{3.9}
  2. 2.

    Single-label tests, with one family on each side. The big-side family has total mass \abs{X}, and the small-side family has total mass \abs{Y}. Choose t uniformly from \{0,\ldots,T-1\} and draw prefix data at length t. Independently draw w from the endpoint marginal on the chosen side, a uniformly random label j_0\in\Lambda_w, and a uniformly random permutation (\sigma(1),\ldots,\sigma(m_w)) of \Lambda_w. Use a wildcard vertex in tuple \mathbf s w. Its cells, in order, are

    C_\ell\times\{\sigma(a)\}, \qquad \ell=1,\ldots,2^t,\quad a=1,\ldots,m_w,

    with the prefix-cell index first. Thus the same label permutation is used in every prefix cell. Its star set is Z=\Lambda_{\mathbf s}\times\{j_0\}.

  3. 3.

    Comparison tests, of total mass K. Choose t uniformly from \{0,\ldots,T-1\} and draw prefix data at that length. Independently draw an edge e=(u,v) from \nu and an index i uniformly from [M]. Conditional on t, choose r uniformly from [2^t], independently of all other choices.

    Draw R_u\subseteq X and R_v\subseteq Y by the following coupling. Independently in each block indexed by y\in Y, draw the two bits on \pi_e^{-1}(y) independently with probability p_i of being one. If either is one, set the bit at y to one. If both are zero, set it to one with probability

    \frac{p_i^2}{(1-p_i)^2}. \tag{3.10}

    This is a valid probability because p_i\le 1/4. The marginal probability of the bit at y being one is

    1-(1-p_i)^2+(1-p_i)^2\frac{p_i^2}{(1-p_i)^2} =2p_i=q_i.

    Hence the two complete marginals are the product measures of biases p_i and q_i, respectively. Different projection blocks are independent, and

    R_u\subseteq\pi_e^{-1}(R_v) \tag{3.11}

    holds for every outcome. These bits are fresh, independent of the prefix subsets.

    For w\in\{u,v\} and R\subseteq\Lambda_w, define

    E_w^r(R)= (C_{<r}\times\Lambda_w)\cup(C_r\times R). \tag{3.12}

    The test vertex has just the incoming and outgoing arcs in the path

    b_{\mathbf s v}^{\psi}(E_v^r(R_v);2,17) \ \longrightarrow\ \text{test}\ \longrightarrow\ b_{\mathbf s u}^{\psi}(E_u^r(R_u);3,18). \tag{3.13}

All wildcard partitions have admissible size: the full-prefix family has 2^T\le k_{\max} cells, and a single-label test has 2^tm_w\le 2^{T-1}m\le k_{\max} cells. Their tuples, as well as both tuples in a comparison test, are among those of Definition 3.1. The padding in L contains every rank index used above.

3.5 Completeness

Proposition 3.6. If the input game has a labeling satisfying a fraction at least 1-\theta of its constraints under \nu, then the constructed digraph has a feedback vertex set of cost at most 4.

Proof. Fix such a labeling \ell. Delete each wildcard test whose evaluated tuple \ell(\mathbf d) lies in its star set, and each comparison test whose edge is not satisfied by \ell. Denote this deletion set by F_{\mathrm{yes}}. No rank vertex is deleted.

We first bound its cost. In a full-prefix test, conditional on any fixed vertex tuple \mathbf s, the count

\#\{j:i_j=i,\ \ell(u_j)\in P_j\}

is binomial with mean \mu_i=p_iT/M. Indeed, indices and subsets are independent between slots, so every slot contributes an independent Bernoulli variable of parameter p_i/M. This argument also applies when the same game vertex appears in several slots. For a binomial random variable Z of mean \mu, the exponential Markov inequality gives

\Pr[Z<\mu/2] \le e^{\mu/2}\E[e^{-Z}] \le\exp\bigl(-(1/2-e^{-1})\mu\bigr) \le\exp(-\mu/8).

Here the middle inequality follows by writing \E[e^{-Z}]=(1-a+ae^{-1})^T\le\exp(-Ta(1-e^{-1})) when Z has parameters T,a. Applying this bound to each scale and taking a union bound over i\in[M], the deletion probability for a full-prefix test is at most

\sum_{i=1}^{M}\exp(-\mu_i/8) \le M\exp\left(-\frac{p_MT}{8M}\right).

After multiplication by the mass H, this is at most one by Equation (3.1). In a single-label test, membership of the evaluated tuple in the star set is precisely the event j_0=\ell(w). Its probability is 1/m_w, so each of the two families contributes cost one. Comparison tests are deleted with probability at most \theta, and hence contribute at most K\theta\le1 by Equation (3.3). Thus

w(F_{\mathrm{yes}})\le 1+1+1+1=4.

To prove that this deletion set is a feedback vertex set, assign to each rank vertex its evaluation under \ell, as in Lemma 3.2. Every rank arc strictly increases the assigned value. For a retained wildcard vertex, let C_r be the cell containing its evaluated tuple and assign the test value z_r. The evaluated tuple is outside the star set. Thus Equations (3.7) and (3.8), at that tuple, put every incoming rank value strictly below z_r and every outgoing rank value strictly above it.

For a retained comparison, the evaluated prefix is the same on both sides and \pi_e(\ell(u))=\ell(v). By Equation (3.11),

\ell(\mathbf s u)\in E_u^r(R_u) \quad\Longrightarrow\quad \ell(\mathbf s v)\in E_v^r(R_v).

The possible pairs of rank indices at the start and end of Equation (3.13) are therefore (2,3), (2,18), and (17,18). Each is increasing, so the corresponding evaluated values are strictly increasing as well. Assign this test any real value strictly between its two endpoint values.

These assignments coexist because there are no arcs between test vertices. Every arc remaining after deletion of F_{\mathrm{yes}} strictly increases the assigned real value. A directed cycle would force a strict increase back to its starting value, which is impossible. Thus the remaining digraph is acyclic.

3.6 Deterministic implementation

Proposition 3.7 (Deterministic polynomial construction). For each fixed A, the preceding construction produces a loopless digraph with positive rational vertex costs in deterministic polynomial time in the game input size. Its vertex costs are bounded above by a constant depending only on A.

Proof. Put n=1+\abs{U}+\abs{V}+\abs{E}, counting parallel constraints as distinct edges if necessary. The number of allowed tuples is at most (2T+1)n^T. By Equation (3.5), a tuple has at most N^{m^T} formal rank vertices. Both factors other than n^T are constants for fixed A.

For each slot, there are at most M2^m choices of index and subset. The support of the rank law, the number of permutations of either alphabet, and all choices of individual labels are also bounded by constants. A full-prefix test uses T game-vertex slots, so this family has O_A(n^T) outcomes. A single-label test has at most T-1 prefix vertices and one endpoint, again giving O_A(n^T) outcomes. A comparison test has at most T-1 prefix vertices and one input edge; its remaining choices, including the coupled subsets and candidate cell, range over constant finite sets. Thus there are O_A(n^T) comparison outcomes as well. Here O_A allows the implicit constant to depend on A.

Within a tuple there are at most N^{2m^T} formal rank arcs, and a wildcard vertex has at most 2N^{m^T} incident arcs. Comparisons have two arcs each. Therefore the total numbers of formal vertices and arcs are O_A(n^T). Computing the equivalence relation in Equation (3.6) and discarding duplicate arcs cannot increase these counts. Lemma 3.2 rules out rank self-loops, and every other arc joins a rank vertex to a distinct test vertex.

It remains to account for numerical representation. Marginal endpoint probabilities are sums of input rational edge probabilities. They can be computed with polynomial bit length: a common denominator can be formed from the product of the input denominators, whose bit length is at most their total encoding length. Every outcome probability is a product of at most T+1 input-dependent edge or endpoint probabilities and a fixed number of rational factors depending only on A. Its bit length is therefore polynomial in the input encoding length. Zero-probability outcomes are omitted. The rank law supplied by Lemma 4.1 is a fixed finite rational table and may be hardwired into the reduction for this fixed A. Alternatively, a computable finite Ramsey bound and exhaustive search over finite rational probability tables recover such a law: each total-variation constraint is an exact rational inequality, and the strict slack in the proof of Lemma 4.1 ensures that the search terminates. This preprocessing depends only on A, not on the input game.

Finally, each outcome probability is at most one. Every test cost is therefore at most its family’s total mass, while every rank cost is D+1. All costs are bounded by

C_A=\max\{D+1,H,m,\abs{Y},K\},

which depends only on A. These estimates establish both the claimed running time and the cost bound. No efficient dependence on a variable parameter A is asserted.

4 Rank spreading and the surviving order

The distribution of rank embeddings used in the construction makes comparisons at different triples of positions nearly indistinguishable. We first prove this statement, and then show how it turns a surviving topological order into compatible monotone Boolean functions.

4.1 A distribution on increasing embeddings

For a finite set S, write \binom{S}{3} for its three-element subsets, each represented in increasing order when S is ordered. For probability measures \mu,\mu' on a common finite space \Omega, we use the convention

\TV(\mu,\mu')=\max_{\mathcal A\subseteq\Omega} \abs{\mu(\mathcal A)-\mu'(\mathcal A)}.

Lemma 4.1 (Rank spreading). For every integer L\ge3 and every \eta>0, there are an integer N\ge L and a rational probability distribution on increasing maps \psi\colon[L]\hookrightarrow[N] such that, for all I,I'\in\binom{[L]}{3},

\TV\bigl(\mathcal L(\psi(I)),\mathcal L(\psi(I'))\bigr)\le\eta. \tag{4.1}

Here \mathcal L denotes the law of a random variable, and all the laws in Equation (4.1) use the same random map \psi.

Proof. Choose a positive number \delta<\eta/2. Let \mathcal I=\binom{[L]}{3}. Partition [0,1] into a finite number b of intervals, each of diameter at most \delta, assigning boundary points to one of their adjacent intervals. The finite Ramsey theorem for triples [11, Theorem B] gives an N such that every coloring of \binom{[N]}{3} with at most b^{\abs{\mathcal I}^2} colors has a monochromatic set of size L.

Consider the following finite zero-sum game. The minimizing player chooses an increasing map \psi\colon[L]\hookrightarrow[N]. The maximizing player chooses a triple (I,I',\mathcal A), where I,I'\in\mathcal I and \mathcal A\subseteq\binom{[N]}{3}. The payoff to the maximizing player is

\ind{\psi(I)\in\mathcal A}-\ind{\psi(I')\in\mathcal A}.

Fix an arbitrary mixed strategy \tau of the maximizing player. Let w_{I,I'} be its marginal probability of the ordered pair (I,I'). When w_{I,I'}>0, define, for Z\in\binom{[N]}{3},

q_{I,I'}(Z)=\Pr_{\tau}[Z\in\mathcal A\mid I,I'];

put q_{I,I'}(Z)=0 when w_{I,I'}=0. Color Z by the vector of intervals containing q_{I,I'}(Z), one interval for every ordered pair (I,I')\in\mathcal I^2. The number of possible colors is at most b^{\abs{\mathcal I}^2}, so there is a monochromatic L-element set. Let \psi be its increasing enumeration. For every ordered pair (I,I'), both \psi(I) and \psi(I') are triples in this set, and hence

\abs{q_{I,I'}(\psi(I))-q_{I,I'}(\psi(I'))}\le\delta.

The expected payoff against \tau is consequently at most

\sum_{I,I'\in\mathcal I}w_{I,I'}\, \bigl(q_{I,I'}(\psi(I))-q_{I,I'}(\psi(I'))\bigr) \le\delta.

The number N was chosen from a bound on the number of colors that does not depend on \tau. Thus every mixed strategy of the maximizing player has a pure response with payoff at most \delta.

By the finite minimax theorem [14, Section II.3], there is a probability distribution \mu on increasing maps for which the expected payoff against every pure test is at most \delta. Choose a rational probability distribution \widehat\mu on the same finite space with

\sum_{\psi}\abs{\widehat\mu(\psi)-\mu(\psi)}<\eta/2.

Such distributions are dense in the finite probability simplex. Since each payoff lies in [-1,1], this replacement changes any expected payoff by less than \eta/2. Thus every pure test has expected payoff less than \delta+\eta/2<\eta under \widehat\mu. The ordered pairs include both (I,I') and (I',I), and \mathcal A ranges over all subsets of \binom{[N]}{3}. The resulting inequalities give Equation (4.1).

4.2 Boolean functions from rank comparisons

For the remainder of this section and Sections 5–7, suppose that the constructed weighted digraph has a feedback vertex set F of cost at most D. Fix a total topological order \prec of the surviving vertices. Every rank vertex survives, since it has weight D+1. In particular, the constant vertices satisfy

o_1\prec o_2\prec\cdots\prec o_N.

All subsequent random data are sampled after F and this order have been fixed. In a test family of total mass W, the deletion cost paid by F in that family is exactly W times the probability that its sampled test vertex belongs to F.

For an allowed tuple \mathbf d, a subset E\subseteq\Lambda_{\mathbf d}, and indices 1\le a<c<h\le L, define

G_{\mathbf d}(E;a,c,h) =\ind{b_{\mathbf d}^{\psi}(E;a,h)\prec o_{\psi(c)}}, \qquad g_{\mathbf d}(E)=G_{\mathbf d}(E;2,15,L-1). \tag{4.2}

The dependence of these functions on the sampled embedding \psi is suppressed in the notation.

Definition 4.2 (Good tuples). A triple (a,c,h) is usable if

5\le c\le L-5,\qquad 2\le a<c,\qquad c+2\le h\le L. \tag{4.3}

The tuple \mathbf d is good at \psi if

G_{\mathbf d}(E;a,c,h)=g_{\mathbf d}(E)

for every E\subseteq\Lambda_{\mathbf d} and every usable triple. Otherwise it is bad at \psi.

Lemma 4.3 (Probability of goodness). For each fixed allowed tuple \mathbf d,

\Pr_{\psi}[\mathbf d\text{ is bad at }\psi] \le 3\eta L^3 2^{\abs{\Lambda_{\mathbf d}}} \le\rho. \tag{4.4}

The same upper bound \rho holds when \mathbf d is sampled independently of \psi.

Proof. Fix \mathbf d and E\subseteq\Lambda_{\mathbf d}. For integers r_1<r_2<r_3 in [N], let x_{r_1,r_3} be the profile taking value r_1 on E and r_3 on its complement. Once the surviving order is fixed, the function

(r_1,r_2,r_3)\longmapsto \ind{b_{\mathbf d}(x_{r_1,r_3})\prec o_{r_2}}

is a deterministic Boolean function of this triple alone. Applying Lemma 4.1 to it shows that

\abs{\E_{\psi}G_{\mathbf d}(E;a,c,h) -\E_{\psi}G_{\mathbf d}(E;a',c',h')}\le\eta \tag{4.5}

for any two increasing triples of positions, whether usable or not.

Equation (4.5) compares expectations; it does not by itself control disagreement under the same embedding. We obtain that control through pointwise ordered pairs of bits, for which the probability of disagreement equals the absolute difference of expectations. Fix a usable triple (a,c,h) and abbreviate

\begin{split} A_0&=G_{\mathbf d}(E;2,15,L-1),\\ A_1&=G_{\mathbf d}(E;2,c,L-1),\\ A_2&=G_{\mathbf d}(E;1,c,c+1),\\ A_3&=G_{\mathbf d}(E;a,c,h). \end{split}

The bits A_0 and A_1 compare the same rank vertex to two constant vertices. They are pointwise ordered: A_0\le A_1 if c\ge15, and A_1\le A_0 if c\le15. Equation (4.5) therefore gives \Pr[A_0\ne A_1]\le\eta.

The profile of b_{\mathbf d}^{\psi}(E;1,c+1) is strictly smaller at every coordinate than the profile of b_{\mathbf d}^{\psi}(E;2,L-1): on E use 1<2, and on its complement use c+1<L-1. The strict rank arc from the former vertex to the latter forces A_2\ge A_1. Similarly, 1<a and c+1<h imply A_2\ge A_3. Applying Equation (4.5) to these ordered pairs gives

\Pr[A_1\ne A_2]\le\eta, \qquad \Pr[A_2\ne A_3]\le\eta.

A union bound yields

\Pr\bigl[G_{\mathbf d}(E;a,c,h)\ne g_{\mathbf d}(E)\bigr] \le3\eta.

There are at most L^3 usable triples and 2^{\abs{\Lambda_{\mathbf d}}} subsets E. A second union bound proves the first inequality of Equation (4.4). Every allowed tuple has length at most T and each slot alphabet has size at most m, so \abs{\Lambda_{\mathbf d}}\le m^T. The choice 3\eta L^3 2^{m^T}\le\rho proves the second inequality. Finally, averaging the pointwise bound over any tuple distribution independent of \psi gives the last assertion.

The order in Lemma 4.3 may depend on the entire weighted construction, including its rank distribution. The argument only uses that the order is fixed before the fresh draw of \psi. Nor does Equation (4.4) assert simultaneous goodness of all tuples; the subsequent estimates use its stated bound for sampled tuples.

Lemma 4.4 (Monotonicity). If \mathbf d is good at \psi, then g_{\mathbf d}\colon2^{\Lambda_{\mathbf d}}\to\{0,1\} is monotone:

E\subseteq E'\quad\Longrightarrow\quad g_{\mathbf d}(E)\le g_{\mathbf d}(E').

Moreover,

g_{\mathbf d}(\varnothing)=0, \qquad g_{\mathbf d}(\Lambda_{\mathbf d})=1.

Proof. For E\subseteq E', compare

b_{\mathbf d}^{\psi}(E';2,17) \quad\text{and}\quad b_{\mathbf d}^{\psi}(E;3,18).

The first profile is strictly smaller everywhere: the index pairs in E, E'\setminus E, and \Lambda_{\mathbf d}\setminus E' are, respectively, (2,3), (2,18), and (17,18). The rank arc consequently implies

G_{\mathbf d}(E';2,15,17) \ge G_{\mathbf d}(E;3,15,18).

Both triples are usable, so goodness identifies these two bits with g_{\mathbf d}(E') and g_{\mathbf d}(E). For the extreme sets, the reference profile is o_{\psi(L-1)} when E=\varnothing and o_{\psi(2)} when E=\Lambda_{\mathbf d}. Their positions relative to o_{\psi(15)} give the claimed values.

Lemma 4.5 (Prefix compatibility). Let \mathbf s w be an allowed extension of \mathbf s. For every E\subseteq\Lambda_{\mathbf s} and every increasing triple (a,c,h),

G_{\mathbf s w}(E\times\Lambda_w;a,c,h) =G_{\mathbf s}(E;a,c,h). \tag{4.6}

In particular, g_{\mathbf s w}(E\times\Lambda_w)=g_{\mathbf s}(E). If \mathbf s w is good at \psi, then so is \mathbf s. The same conclusions hold for a prefix obtained by dropping several final slots.

Proof. The profile on \Lambda_{\mathbf s w} that takes value \psi(a) on E\times\Lambda_w and \psi(h) elsewhere is the pullback of the corresponding profile on \Lambda_{\mathbf s} under the projection dropping the last slot. Definition 3.1 identifies the two rank vertices. Their comparisons to the same constant marker are identical, proving Equation (4.6). Apply this identity both to the reference triple and to every usable triple: goodness of the extension gives goodness of the shorter tuple for each subset E. Iteration proves the final assertion. The projection identity holds on the formal product alphabets even when a game vertex occurs in more than one slot.

4.3 When a wildcard test must be deleted

Lemma 4.6 (Wildcard forcing). Consider a wildcard test vertex v_{\mathrm{test}} from Definition 3.3, with tuple \mathbf d, embedding \psi, ordered cells C_1,\ldots,C_k, and star set Z. Suppose that \mathbf d is good at \psi. For an integer d with 0\le d\le k, put

E=\Bigl(\bigcup_{\ell=1}^{d}C_\ell\Bigr)\setminus Z.

If

g_{\mathbf d}(E)=0, \qquad g_{\mathbf d}(E\cup Z)=1, \tag{4.7}

then v_{\mathrm{test}}\in F.

Proof. Set c=10d+15 and define the rank vertices

v^-=b_{\mathbf d}^{\psi}(E;2,c+2), \qquad v^+=b_{\mathbf d}^{\psi}(E\cup Z;c-2,L-1).

We first check the wildcard’s incident arcs. If \lambda\in C_\ell\setminus Z with \ell\le d, then \lambda\in E, so the two profiles take values \psi(2) and \psi(c-2), respectively. The inequalities

2<10\ell+10\le10d+10<c-2

place these values strictly below and strictly above z_\ell=\psi(10\ell+10). If instead \ell>d, then \lambda\notin E\cup Z, so the profiles take values \psi(c+2) and \psi(L-1). Here

c+2=10d+17<10\ell+10 \le10k_{\max}+10=L-20<L-1,

which gives the required strict inequalities again. Thus the constructed digraph contains the arcs

v^-\longrightarrow v_{\mathrm{test}}\longrightarrow v^+.

Empty cells impose no conditions in these checks. The first case is absent when d=0, and the second is absent when d=k.

Since 0\le d\le k\le k_{\max} and L=10k_{\max}+30,

15\le c\le L-15.

Both (2,c,c+2) and (c-2,c,L-1) are therefore usable triples. Goodness and Equation (4.7) show that v^- does not precede o_{\psi(c)}, whereas v^+ does precede it. If v_{\mathrm{test}} survived, the displayed path would give v^-\prec v_{\mathrm{test}}\prec v^+\prec o_{\psi(c)}, a contradiction. Hence v_{\mathrm{test}}\in F.

5 Shared prefix conditioning

Continue to fix the feedback vertex set F of cost at most D and the topological order \prec from Section 4. When we sample graph tests or their defining data below, we use the finite laws that define the graph. In particular, the order is fixed before these draws; the distribution of an embedding is not conditioned on whether any test vertex survives.

We first specify a distribution that will be used at every bias scale. Draw \psi from the rank-spreading law. Independently choose t uniformly from \{0,\ldots,T-1\} and draw the prefix data of length t from Definition 3.4. Thus \mathbf s=(u_1,\ldots,u_t) has independent coordinates with law \nu_U, the indices i_1,\ldots,i_t are independent and uniform in [M], and, conditionally on these indices, the sets P_j are independent with laws \mu_{p_{i_j}}^X. Write

\mathcal D =\bigl(\psi,t,\mathbf s,(i_j,P_j)_{j=1}^t\bigr) \tag{5.1}

for these shared data. Independently draw an edge e=(u,v) with law \nu. Unless another experiment is explicitly specified, expectations and probabilities involving sampled endpoints refer to this joint law of (\mathcal D,e). In particular, its marginal law for (\mathcal D,u) is obtained by drawing u\sim\nu_U independently of \mathcal D; the corresponding statement holds for v\sim\nu_V.

Definition 5.1 (Conditioned functions). For each game vertex w, fix a label \lambda_w^\circ\in\Lambda_w independently of all the sampled data. Given \mathcal D, let C_1,\ldots,C_{2^t} be its ordered prefix partition. If \mathbf s is good, define its transition index by

r_*=\min\{r:g_{\mathbf s}(C_{\le r})=1\}.

For every w\in U\cup V define a function on 2^{\Lambda_w} by

f_w(R)= \begin{cases} g_{\mathbf s w}\bigl(E_w^{r_*}(R)\bigr), &\text{if $\mathbf s w$ is good},\\ \ind{\lambda_w^\circ\in R}, &\text{otherwise}, \end{cases}

where, as in Equation (3.12),

E_w^r(R) =(C_{<r}\times\Lambda_w)\cup(C_r\times R).

When the dependence on the shared data needs to be displayed, write f_{w,\mathcal D} in place of f_w. For 0<p<1, let

h_w(p) =\E_{R\sim\mu_p^{\Lambda_w}} f_w(R),

and similarly write h_{w,\mathcal D}(p) when needed. This expectation is taken with the function fixed.

These definitions are valid also when some prefix cells are empty. Indeed, on a good tuple the cumulative-set bits are monotone, start at 0, and end at 1, by Lemma 4.4. There is therefore a unique transition, characterized by

g_{\mathbf s}(C_{<r_*})=0, \qquad g_{\mathbf s}(C_{\le r_*})=1. \tag{5.2}

The transition cell is nonempty: adding an empty cell cannot change a bit. If \mathbf s w is good, then \mathbf s is good by Lemma 4.5, so the first case in Definition 5.1 only uses a defined r_*. If \mathbf s is bad, all its extensions are bad and every function uses the second case.

For a good extension, compatibility and Equation (5.2) give

f_w(\varnothing)=g_{\mathbf s}(C_{<r_*})=0, \qquad f_w(\Lambda_w)=g_{\mathbf s}(C_{\le r_*})=1.

The set E_w^{r_*}(R) increases with R, so this f_w is monotone. The fallback function has the same properties. Consequently, for every realization of \mathcal D and every vertex w, the function f_w is monotone with bottom 0 and top 1. The entire family (f_w)_{w\in U\cup V} is determined by \mathcal D, without using the fresh edge or a fresh scale index.

We will repeatedly use the marginal bounds

\Pr[\mathbf s u\text{ is bad}]\le\rho, \qquad \Pr[\mathbf s v\text{ is bad}]\le\rho. \tag{5.3}

To obtain them, condition on the sampled tuple and apply Lemma 4.3; each tuple is independent of \psi. This argument does not assert that all extensions are good simultaneously.

Our objective is to prove \E h_u(p_i)\ge p_i/4 for every i\in[M] under this same law. To relate acceptance to the full-prefix tests, we follow the transition cell through successive refinements: on a good full tuple, its membership bit at each step will equal the corresponding conditioned function value. The deletion-cost bound will make the counts of membership-one steps large with positive probability; averaging over a uniformly chosen prefix length will then give the desired acceptance bound.

Lemma 5.2 (Refinement of the transition cell). Draw prefix data of length T and an independent embedding \psi. Write \mathbf s_j=(u_1,\ldots,u_j), and let C^{(j)}_1,\ldots,C^{(j)}_{2^j} be the partition at depth j. For j=0, this is the single cell \Lambda_{\varnothing}. Suppose that \mathbf s_T is good, and let \tau_j be the transition index at depth j. Then the full transition cell is nonempty and, for every 0\le j\le T,

C^{(T)}_{\tau_T} \subseteq C^{(j)}_{\tau_j}\times X^{T-j}.

Let \mathcal D_{j-1} denote the shared data consisting of the same embedding, the first j-1 prefix slots, and the deterministic length j-1. For each 1\le j\le T, the membership bit of slot j throughout the full transition cell is

\ind{\lambda_j\in P_j} =f_{u_j,\mathcal D_{j-1}}(P_j) \qquad \text{for every } (\lambda_1,\ldots,\lambda_T)\in C^{(T)}_{\tau_T}. \tag{5.4}

Proof. Goodness is inherited by all the prefixes. A cumulative union of cells at depth j, lifted to the full product alphabet, is a cumulative union at a boundary of the depth-T partition. This follows from the lexicographic ordering: all refinements of an earlier cell precede all refinements of a later cell. By Lemma 4.5, the cumulative-set bit at that lifted boundary is its bit at depth j. In particular, the two boundaries on either side of C^{(j)}_{\tau_j} have bits 0 and 1. Monotonicity places the full transition between these boundaries, which proves the asserted containment. Its nonemptiness follows because an empty cell cannot change a cumulative-set bit.

At step j, the depth-(j-1) transition cell has two children: its membership-1 child first, followed by its membership-0 child. The cumulative union at the boundary between these children is exactly

\bigl(C^{(j-1)}_{<\tau_{j-1}}\times X\bigr) \cup \bigl(C^{(j-1)}_{\tau_{j-1}}\times P_j\bigr).

The bit of this set under g_{\mathbf s_j} is f_{u_j,\mathcal D_{j-1}}(P_j). Here the extension \mathbf s_{j-1}u_j=\mathbf s_j is good, so the fallback rule is not used. The bit before both children is 0 and the bit after both is 1. The transition is therefore in the first child if and only if the intermediate bit is 1. If either child is empty, the same statement follows from equality of its two boundary sets. The full transition refines the selected child, giving Equation (5.4).

Figure 1 illustrates the two-step case of the refinement. Each displayed cell is a set of label tuples; its bit is the value of g on the cumulative union ending at that cell.

Figure 1: Schematic transition refinement for two prefix slots. Membership 1 precedes 0 lexicographically. In the illustrated case the cumulative bit changes at cell 10, so the transition is in the first cell at depth one and its second child at depth two. The selected membership bits are therefore f_{u_1,\mathcal D_0}(P_1)=1 and f_{u_2,\mathcal D_1}(P_2)=0, with each function using its preceding prefix. Empty cells are retained in the ordering but cannot contain a transition.

The lemma uses formal product alphabets and literal prefix-lift identities. It does not require distinct game vertices in the prefix. In particular, a repeated vertex still occupies a separate slot, with its own independently sampled index and membership set.

Proposition 5.3 (Average acceptance at every scale). Under the common law of (\mathcal D,e), for every i\in[M],

\E h_u(p_i)\ge\frac{p_i}{4}. \tag{5.5}

Proof. Consider the full-prefix experiment in Definition 3.5, with data of length T and an independent embedding. Denote its probability and expectation by \Pr_{\mathrm{full}} and \E_{\mathrm{full}}. Let Z_T be the star set of its wildcard test vertex, and let \mathcal A be the event that \mathbf s_T is good and its transition cell is not starred.

The star predicate is constant on each full cell: all label tuples in that cell have the same membership vector, and hence the same counts at each scale. Suppose that \mathbf s_T is good and its transition cell is starred. At the cut immediately before that cell, put

E=C^{(T)}_{<\tau_T}\setminus Z_T.

This is precisely the union of the nonstar portions of the cells before the cut. It is contained in C^{(T)}_{<\tau_T}, whose bit is 0. Moreover, E\cup Z_T contains C^{(T)}_{\le\tau_T}, whose bit is 1: adjoining the stars restores every earlier starred cell and includes the entire starred transition cell. Monotonicity gives

g_{\mathbf s_T}(E)=0, \qquad g_{\mathbf s_T}(E\cup Z_T)=1.

Lemma 4.6 forces deletion of this test vertex.

The full-prefix family has total mass H, so its deletion probability is at most D/H. The full tuple is independent of the embedding, and Lemma 4.3 bounds its badness probability by \rho. We conclude that

\Pr_{\mathrm{full}}(\mathcal A) \ge 1-\rho-\frac{D}{H} \ge\frac12. \tag{5.6}

The last inequality follows from the parameter choices: \rho\le\gamma\le1/4000 and D/H<1/8.

Define \mathcal D_{j-1} from this experiment as in Lemma 5.2. For a fixed i\in[M], set

Y_i=\sum_{j=1}^T \ind{i_j=i}\, f_{u_j,\mathcal D_{j-1}}(P_j).

On \mathcal A, the transition cell is nonstarred, so the definition of Z_T and Equation (5.4) give Y_i\ge p_iT/(2M). On all other outcomes, Y_i\ge0, including outcomes for which some conditioned functions use the fallback rule. It follows from Equation (5.6) that

\E_{\mathrm{full}}Y_i\ge\frac{p_iT}{4M}. \tag{5.7}

We now calculate this expectation without conditioning on \mathcal A. For each j, condition on the embedding, the first j-1 prefix slots with all their data, and the new vertex u_j. The function f_{u_j,\mathcal D_{j-1}} is determined by these choices: both the goodness test for \mathbf s_j and any fallback choice are independent of the fresh i_j and P_j. Since i_j is uniform in [M] and P_j has law \mu_{p_i}^X conditional on i_j=i,

\E_{\mathrm{full}}\!\left[ \ind{i_j=i} f_{u_j,\mathcal D_{j-1}}(P_j) \,\middle|\, \psi,(u_\ell,i_\ell,P_\ell)_{\ell<j},u_j \right] =\frac1M h_{u_j,\mathcal D_{j-1}}(p_i).

The marginal law of the conditioning data and u_j is the common law of (\mathcal D,u) conditional on t=j-1. Indeed, the new vertex has law \nu_U independently of the earlier slots, just as does the big endpoint of the independently sampled edge. Therefore

\begin{align*} \E_{\mathrm{full}}Y_i &=\frac1M\sum_{j=1}^T \E\bigl[h_u(p_i)\mid t=j-1\bigr]\\ &=\frac TM\E h_u(p_i).\end{align*}

Together with Equation (5.7), this proves Equation (5.5).

The shared distribution in Equation (5.1) has not changed with i. The favorable full-chain event was used only to bound a nonnegative random sum from below; it was not used to condition the expectation that identifies this sum with \E h_u(p_i).

6 A budget for pivotal labels

We associate to each conditioned function a quantity that controls both its influences and its acceptance probabilities at every bias. The single-label tests bound the expectation of this quantity under the common distribution from Section 5. A single test vertex may have several cuts that force its deletion, but its cost is paid only once. Accordingly, we record whether a label is pivotal somewhere along a permutation, rather than the number of witnessing prefixes.

Definition 6.1 (Pivotality budget). Let S be a nonempty finite set, and let f:2^S\to\{0,1\} be monotone with f(\varnothing)=0 and f(S)=1. For each j\in S, let \sigma_j be a uniform permutation of S\setminus\{j\}. Write R_a(\sigma_j) for the set of its first a elements, where 0\le a\le |S|-1. Define

B(f)=\sum_{j\in S} \Pr_{\sigma_j}\!\left[ \begin{gathered} \text{there exists }a\in\{0,\ldots,|S|-1\}\text{ such that}\\ f(R_a(\sigma_j))=0,\quad f(R_a(\sigma_j)\cup\{j\})=1 \end{gathered} \right].

Thus both the empty prefix and the full prefix S\setminus\{j\} are allowed. A permutation contributes only once for a given j, even when several of its prefixes witness pivotality. In particular, 0\le B(f)\le |S|.

Lemma 6.2 (Arrival-time inequalities). For every function in Definition 6.1 and every 0<p<1,

I_p(f)\le B(f), \qquad \mathbb E_{R\sim\mu_p^S} f(R)\le pB(f).

Proof. Give each j\in S an independent uniform arrival time T_j\in[0,1]. With probability one all these times are distinct. For each j, let \sigma_j be the order in which the other elements arrive, and let \mathcal A_j be the event that some prefix of \sigma_j witnesses j’s pivotality in Definition 6.1. The permutation \sigma_j is uniform, so

\sum_{j\in S}\Pr(\mathcal A_j)=B(f).

Moreover, \mathcal A_j is determined entirely by the arrival times of elements other than j, and hence is independent of T_j.

For the influence inequality, put

R_{-j}(p)=\{k\in S\setminus\{j\}:T_k\le p\}.

This set has law \mu_p^{S\setminus\{j\}} and is a prefix of \sigma_j. By monotonicity, the event defining I_{p,j}(f) is exactly

\{f(R_{-j}(p))=0,\ f(R_{-j}(p)\cup\{j\})=1\},

which is contained in \mathcal A_j. Summing I_{p,j}(f)\le\Pr(\mathcal A_j) over j proves I_p(f)\le B(f).

For the acceptance inequality, put R(p)=\{j\in S:T_j\le p\}, which has law \mu_p^S. Along the complete arrival sequence, the value of f starts at zero, ends at one, and never decreases. There is therefore a unique arriving element at which it changes from zero to one. If f(R(p))=1 and this element is j, then T_j\le p, and the elements arriving before j form a prefix of \sigma_j witnessing \mathcal A_j. Consequently, up to the null event of tied arrival times,

\{f(R(p))=1\} \subseteq\bigcup_{j\in S}\bigl(\{T_j\le p\}\cap\mathcal A_j\bigr).

A union bound and the independence established above give

\mathbb E_{R\sim\mu_p^S} f(R) \le\sum_{j\in S}\Pr(T_j\le p,\mathcal A_j) =p\sum_{j\in S}\Pr(\mathcal A_j) =pB(f).

Only the possible-witness event \mathcal A_j is asserted to be independent of T_j; no independence of the actual switching element is needed.

Return to the fixed feedback vertex set F of cost at most D and its fixed topological order. For the functions in Definition 5.1, set

B_w=B(f_w)\qquad(w\in U\cup V).

These variables depend on the shared data \mathcal D and the named vertex w. Their definition does not involve a fresh tested edge or a fresh bias index. Lemma 6.2 gives, for every realization of these data and every 0<p<1,

I_p(f_w)\le B_w, \qquad h_w(p)\le pB_w.

Proposition 6.3 (Single-label test budget). Under the common law of \mathcal D and an independent edge e=(u,v)\sim\nu,

\mathbb E B_u\le D+1, \qquad \mathbb E B_v\le D+1. \tag{6.1}

Proof. Fix either side of the game and sample w independently of \mathcal D from that side’s endpoint marginal. Its alphabet size m_w is constant on the chosen side. This is exactly the marginal law of the shared data and endpoint in the corresponding single-label test family of Definition 3.5.

First fix \mathcal D,w for which the extension \mathbf s w is good. The conditioned function f_w then uses the transition cell C_{r_*}. The remaining randomness of a single-label test consists of a uniform label j_0\in\Lambda_w and an independent uniform permutation \sigma of \Lambda_w. Its star set is

Z=\Lambda_{\mathbf s}\times\{j_0\},

and its ordered cells are C_\ell\times\{j\}, first ordered by \ell and then by \sigma. Suppose some prefix R of \sigma with j_0 omitted satisfies

f_w(R)=0, \qquad f_w(R\cup\{j_0\})=1.

Choose a cut among the refined cells belonging to C_{r_*}, including either boundary of this block if necessary, so that precisely the nonstar labels in R have been passed within that block. Such a cut exists because deleting j_0 from the sequence \sigma preserves the order of every other label. For R=\varnothing one may cut before the block, and for R=\Lambda_w\setminus\{j_0\} one may cut after the block. Let E be the union of all refined cells before the cut, with all stars removed. Then exactly

E=\bigl((C_{<r_*}\times\Lambda_w)\setminus Z\bigr) \cup(C_{r_*}\times R).

In particular,

E\subseteq E_w^{r_*}(R), \qquad E\cup Z\supseteq E_w^{r_*}(R\cup\{j_0\}).

The second inclusion restores the stars in all earlier prefix cells; the additional stars in later cells only enlarge the set. Monotonicity of g_{\mathbf s w} and the definition of f_w now imply

g_{\mathbf s w}(E)=0, \qquad g_{\mathbf s w}(E\cup Z)=1.

Lemma 4.6 therefore forces this test vertex to belong to F.

This argument uses the ordered partition with its empty cells retained; the set identities remain valid when some of those cells are empty. They also hold on the formal product label domain when w or another game vertex occurs repeatedly in the tuple. No independence of labels in repeated slots is assumed, and the use of f_w rests only on the prefix identifications of Lemma 4.5.

For each fixed j_0, deleting j_0 from a uniform permutation of \Lambda_w gives a uniform permutation of \Lambda_w\setminus\{j_0\}. Averaging the forced-deletion event over the uniform choice of j_0 therefore gives, whenever \mathbf s w is good,

\Pr[\text{sampled test vertex}\in F\mid\mathcal D,w] \ge \frac{B_w}{m_w}.

Here a test is charged once if a witnessing prefix exists, regardless of how many prefixes witness the same label’s pivotality.

Let \mathcal G_w denote the event that \mathbf s w is good. The total mass of the chosen test family is m_w, and its vertices carry their sampling probabilities times this mass. Thus, on taking expectations, the cost spent by F in this family is at least \mathbb E[B_w\mathbf 1_{\mathcal G_w}]. Since the total cost of F is at most D,

\mathbb E[B_w\mathbf 1_{\mathcal G_w}]\le D.

On the complementary event the fallback function is still monotone, with bottom zero and top one, so Definition 6.1 gives B_w\le m_w. The sampled-extension bound from Equation (5.3) gives \Pr(\mathcal G_w^c)\le\rho; equivalently, one may apply Lemma 4.3 after fixing the sampled vertex tuple, which is independent of \psi. As m_w\le m and \rho\le1/m,

\mathbb E[B_w\mathbf 1_{\mathcal G_w^c}] \le m_w\rho\le1.

Adding the two bounds proves \mathbb E B_w\le D+1 for either endpoint marginal, and hence proves Equation (6.1).

7 Soundness from coupled comparisons

Assume that the game has value at most \theta, and suppose that the constructed digraph has a feedback vertex set F of cost at most D. Continue with the fixed topological order \prec and the conditioned functions from Sections 4 and 5. In particular, \mathcal D denotes the shared data in Equation (5.1), and a fresh edge e=(u,v) has law \nu independently of \mathcal D. The random variables f_w,h_w(p), and B_w=B(f_w) are defined for every vertex w once \mathcal D is fixed.

For a fixed i\in[M], there are two experiments for the fresh subsets at the sampled edge. In the coupled experiment, (R_u,R_v) has the law of the comparison test at index i. In the independent experiment, conditionally on (\mathcal D,e), the subsets are independent with laws \mu_{p_i}^{X} and \mu_{q_i}^{Y}. We write \Pr_{\mathrm c,i} and \Pr_{\mathrm{ind},i} for probabilities in these experiments, including the common law of (\mathcal D,e). Neither experiment samples a candidate cell unless this is explicitly stated.

7.1 Coupling and deletion cost

Recall the coupling from the comparison family in Definition 3.5. For p=p_i\le1/4, its exact marginals are \mu_p^X and \mu_{2p}^Y, and Equation (3.11) gives

R_u\subseteq\pi_e^{-1}(R_v) \quad\hbox{in every coupled outcome.}

For each y\in Y, the block consists of the two bits in \pi_e^{-1}(y) and the bit at y. These blocks are independent across y. The marginals and block independence hold for every fixed edge, independently of the shared prefix data.

Lemma 7.1 (Comparison deletion charge). For every i\in[M],

\Pr_{\mathrm c,i}[\,f_u(R_u)=1,\ f_v(R_v)=0\,] \le 2\rho+\frac{M2^T D}{K}. \tag{7.1}

Proof. Let \mathcal G be the event that both extended tuples \mathbf s u and \mathbf s v are good. The tuple choices are independent of \psi, so Lemma 4.3, averaged over these choices, gives \Pr[\mathcal G^c]\le2\rho. On \mathcal G, both conditioned functions use the same prefix transition index r_*, by Definition 5.1 and Lemma 4.5.

Suppose that \mathcal G holds and that f_u(R_u)=1,\ f_v(R_v)=0. Add the candidate-cell draw from the comparison test and consider the outcome r=r_*. The start and end rank vertices of Equation (3.13) are then

b_{\mathbf s v}^{\psi} (E_v^{r_*}(R_v);2,17), \qquad b_{\mathbf s u}^{\psi} (E_u^{r_*}(R_u);3,18).

The triples (2,15,17) and (3,15,18) are usable. Goodness and the two function values show that the start does not precede o_{\psi(15)}, whereas the end precedes o_{\psi(15)}. If the test vertex were retained, its two arcs would require the start to precede the test vertex and the test vertex to precede the end. This contradicts the fixed topological order. Hence that comparison vertex belongs to F.

For fixed (\mathcal D,e,R_u,R_v) as above, the candidate-cell draw hits r_* with probability 2^{-t}\ge2^{-T}. Let \delta_i be the probability that a comparison vertex is deleted when its fresh threshold index is fixed to i, including the candidate-cell draw. We have proved

\delta_i\ge 2^{-T}\Pr_{\mathrm c,i} [\,\mathcal G,\ f_u(R_u)=1,\ f_v(R_v)=0\,].

In the actual comparison family the threshold index is uniform on [M]. Its deleted weight is

\frac K M\sum_{j=1}^{M}\delta_j\le D,

so \delta_i\le MD/K. Combining these inequalities and then adding \Pr[\mathcal G^c]\le2\rho proves Equation (7.1).

7.2 Lists chosen before the edge

Lemma 7.2 (List decoding against game soundness). Suppose a game has value at most \theta. Assign to every game vertex w a list J_w\subseteq\Lambda_w, possibly empty, of cardinality at most an integer J\ge1. Then

\Pr_{e=(u,v)\sim\nu} [\,\pi_e(J_u)\cap J_v\ne\varnothing\,]\le\theta J^2.

The same conclusion holds conditionally on any data independent of the fresh edge, if all the lists are fixed by those data.

Proof. Independently for each vertex with a nonempty list, choose its label uniformly from that list. Give every empty-list vertex any fixed label from its alphabet. If \pi_e(J_u)\cap J_v\ne\varnothing, there is at least one pair (x,y)\in J_u\times J_v with \pi_e(x)=y. Since u and v are different vertices, the probability of choosing that pair is

\frac1{\abs{J_u}\abs{J_v}}\ge\frac1{J^2}.

The expected value of this random labeling is therefore at least the displayed intersection probability divided by J^2. Every deterministic labeling in its support has value at most \theta, so the expected value is at most \theta. This proves the claim. For the conditional assertion, fix the conditioning data first and repeat the same argument; independence leaves the fresh edge law equal to \nu.

7.3 Replacing the coupling by product measure

Proposition 7.3 (Product comparison). For every i\in[M], under the common distribution of (\mathcal D,e),

\E\bigl[h_u(p_i)(1-h_v(q_i))\bigr]\le\frac{p_i}{16}. \tag{7.2}

Proof. Fix i. For each value of \mathcal D, construct a junta approximant for each game vertex, before drawing the fresh edge. For notation, put

\beta_{w,i}= \begin{cases} p_i,&w\in U,\\ q_i,&w\in V. \end{cases}

If B_w\le B_0, Lemma 6.2 gives I_{\beta_{w,i}}(f_w)\le B_0. Corollary 2.3 and the choice of J in Section 3.1 therefore provide a Boolean function \widetilde f_{w,i} on a coordinate set J_w\subseteq\Lambda_w, with

\abs{J_w}\le J,\qquad \Pr_{R\sim\mu_{\beta_{w,i}}^{\Lambda_w}} [\,f_w(R)\ne\widetilde f_{w,i}(R)\,]\le\gamma. \tag{7.3}

Choose one such pair by a fixed ordering of the finitely many possible coordinate sets and Boolean truth tables. If B_w>B_0, set J_w=\varnothing and choose \widetilde f_{w,i} to be the constant-zero function; no error guarantee is asserted at that vertex. We suppress the dependence of J_w on \mathcal D and i.

This defines one list for every actual game vertex from (\mathcal D,i) alone. The functions f_w, including the fallback functions, are already defined for all vertices from \mathcal D alone. Thus the choice of a junta or list uses no information about the fresh sampled edge. It may depend on the fixed game instance and the fixed topological order, as may any labeling used in a soundness argument. A repetition in the prefix, or an endpoint that also occurs in the prefix, does not change this conditional independence: the fresh edge was drawn independently of the entire prefix.

By Lemma 7.2, for every fixed value of \mathcal D,

\Pr_{e\sim\nu} [\,\pi_e(J_u)\cap J_v\ne\varnothing \mid\mathcal D\,]\le\theta J^2.

After averaging over \mathcal D, this remains the bound on the list-intersection event under the common law. Also, Proposition 6.3 and Markov’s inequality give the averaged bound

\Pr[\,B_u>B_0\ \text{or}\ B_v>B_0\,] \le\frac{\E B_u+\E B_v}{B_0} \le 2\gamma. \tag{7.4}

Here we have used the actual endpoint marginals of \nu. Equation (7.4) is a bound under the joint law of (\mathcal D,e); no corresponding pointwise bound conditional on \mathcal D is needed.

Let \mathcal A_i be the event, determined by (\mathcal D,e), that both budgets are at most B_0 and \pi_e(J_u)\cap J_v=\varnothing. The preceding bounds imply

\Pr[\mathcal A_i^c]\le2\gamma+\theta J^2. \tag{7.5}

Fix (\mathcal D,e) in \mathcal A_i. In the coupled experiment, all bits used by the big-side junta belong to fibers indexed by \pi_e(J_u), and all bits used by the small-side junta belong to fibers indexed by J_v. These are disjoint collections of independently generated fibers. Consequently \widetilde f_{u,i}(R_u) and \widetilde f_{v,i}(R_v) are independent in the coupled experiment. They are also independent in the independent experiment, and their marginal distributions are unchanged. Their joint distributions therefore agree in the two experiments. This includes the case of a constant junta with an empty coordinate set.

The conditional approximation error for each endpoint in Equation (7.3) is at most \gamma in either experiment, because both have exactly the stipulated product marginals. Replacing f_u,f_v by their respective juntas changes the conditional probability of the pattern (1,0) by at most 2\gamma, by a union bound. Doing this in both experiments and using equality of the junta joint distributions yields

\begin{align*} &\left| \Pr_{\mathrm{ind},i}[\,f_u(R_u)=1,\ f_v(R_v)=0 \mid\mathcal D,e\,] \right.\\[-2mm] &\hspace{22mm}\left. -\Pr_{\mathrm c,i}[\,f_u(R_u)=1,\ f_v(R_v)=0 \mid\mathcal D,e\,] \right|\le4\gamma\end{align*}

on \mathcal A_i. On its complement the difference is at most one. Integrating over the unchanged law of (\mathcal D,e), and using Equation (7.5) and Lemma 7.1, gives

\begin{align*} &\Pr_{\mathrm{ind},i}[\,f_u(R_u)=1,\ f_v(R_v)=0\,]\\ &\qquad\le 2\rho+\frac{M2^T D}{K} +2\gamma+\theta J^2+4\gamma \le10\gamma. \tag{7.6}\end{align*}

The conditional probability of the pattern in the independent experiment is exactly h_u(p_i)(1-h_v(q_i)). Finally, \gamma=p_M/1000 and p_M\le p_i, so

10\gamma=\frac{p_M}{100}\le\frac{p_i}{16}.

This proves Equation (7.2).

7.4 The dyadic tail contradiction

Proposition 7.4 (Weighted soundness). If the game has value at most \theta, every feedback vertex set of the constructed weighted digraph has cost strictly greater than D.

Proof. Suppose that F has cost at most D, as assumed throughout this section. Fix i\in[M], and let

\mathcal H_i=\{h_v(q_i)\ge1/2\}

under the common distribution of (\mathcal D,e). On its complement, h_u(p_i)\le2h_u(p_i)(1-h_v(q_i)). Consequently Propositions 5.3 and 7.3 imply

\begin{align*} \E[\,h_u(p_i)\ind{\mathcal H_i}\,] &=\E h_u(p_i) -\E[\,h_u(p_i)\ind{\mathcal H_i^c}\,]\\ &\ge\frac{p_i}{4} -2\E[\,h_u(p_i)(1-h_v(q_i))\,]\\ &\ge\frac{p_i}{8}.\end{align*}

Since 0\le h_u(p_i)\le1, we obtain \Pr[\mathcal H_i]\ge p_i/8. Lemma 6.2 also gives h_v(q_i)\le q_iB_v=2p_iB_v pointwise. Thus, on \mathcal H_i, one has B_v\ge1/(4p_i), and hence

\Pr\!\left[B_v\ge\frac1{4p_i}\right]\ge\frac{p_i}{8}, \qquad i\in[M]. \tag{7.7}

These are tail estimates for one random variable B_v under one fixed probability law. The definition of f_v, and therefore that of B_v, does not use the fresh threshold index i. The junta approximants used to prove the individual estimates may depend on i, but this does not alter B_v.

Put a_i=1/(4p_i) for i\ge1, and a_0=0. For every real x\ge0,

x\ge\sum_{i=1}^{M}(a_i-a_{i-1})\ind{x\ge a_i}.

Indeed, if a_j is the largest crossed threshold, the sum on the right telescopes to a_j\le x; if no threshold is crossed, it is zero. Taking expectations and using Equation (7.7) yields

\E B_v \ge\sum_{i=1}^{M}(a_i-a_{i-1})\Pr[B_v\ge a_i] \ge\sum_{i=1}^{M}\frac{a_i}{2}\frac{p_i}{8} =\frac M{64}.

Here a_i=2a_{i-1} for i\ge2, while a_1-a_0=a_1\ge a_1/2. Since M=128(D+1), this gives \E B_v\ge2(D+1), contradicting Proposition 6.3. No feedback vertex set of cost at most D can therefore exist.

8 Removing the vertex costs

The weighted gap converts to an unweighted gap without requiring a common denominator for all vertex costs. Rounding upward at a scale determined by the number of vertices controls the additive loss. Independent-copy blowups also occur in earlier DFVS hardness reductions [8, Section 2]. The rounding below allows arbitrary rational costs of polynomial bit length without expanding a common denominator.

Lemma 8.1 (Rounding and cloning). Let G be a loopless digraph on S\ge1 vertices with positive rational vertex costs w_v\le C. Set c_v=\lceil Sw_v\rceil. Replace every vertex v by an independent set \mathcal C_v of c_v unweighted vertices, and replace every arc u\to v by all arcs from \mathcal C_u to \mathcal C_v. Call the resulting digraph \widehat G. Then

\DFVS(\widehat G) =\min\left\{\sum_{v\in F}c_v: F\text{ is a feedback vertex set of }G\right\}. \tag{8.1}

The number of vertices of \widehat G is at most CS^2+S. For fixed C, this is a deterministic polynomial construction in the encoding size of G and its costs. Moreover:

  1. (i)

    a feedback vertex set of G of cost at most a yields a feedback vertex set of \widehat G of size at most S(a+1);

  2. (ii)

    if every feedback vertex set of G has cost greater than b, then \DFVS(\widehat G)>Sb.

Proof. Let F be a feedback vertex set of G. Deleting every cluster \mathcal C_v with v\in F leaves only clusters over the acyclic digraph G-F. Lift a topological order of G-F by placing all vertices of each cluster consecutively. Since clusters are independent, this is a topological order of the surviving vertices of \widehat G. It gives a feedback vertex set of size \sum_{v\in F}c_v.

Conversely, let Q be any feedback vertex set of \widehat G, and define

F_Q=\{v\in V(G):\mathcal C_v\subseteq Q\}.

If G-F_Q contained a directed cycle, every cluster over that cycle would contain a surviving vertex. Choosing one such vertex from each cluster would lift the original cycle to a directed cycle of \widehat G-Q, because all the intercluster arcs in the requisite directions are present. This is impossible. Thus F_Q is a feedback vertex set of G, and

\sum_{v\in F_Q}c_v\le\abs{Q}.

Together with the preceding construction, this proves Equation (8.1). In particular, partial deletions from a cluster cannot improve the optimum beyond the corresponding choice of completely deleted clusters.

For every v we have

Sw_v\le c_v<Sw_v+1.

Summing over any feedback vertex set F gives

S\sum_{v\in F}w_v \le\sum_{v\in F}c_v \le S\sum_{v\in F}w_v+S.

This proves both gap implications by Equation (8.1). Equivalently, the rounded costs c_v/S increase the cost of any deletion set by at most one.

Finally,

\abs{V(\widehat G)}=\sum_vc_v\le CS^2+S.

There are at most the square of this number of arcs. Each c_v is computed exactly by integer arithmetic on the rational input cost. For fixed C, the vertices and arcs can therefore be listed in polynomial time. Positivity of the costs ensures that every cluster is nonempty before deletions. The assumption that G is loopless ensures that independent clusters realize precisely the prescribed construction.

Remark 8.2 (Avoiding opposite arcs). The construction above already gives loopless digraphs, and unrestricted DFVS permits opposite arcs. If opposite arcs are to be excluded, subdivide every weighted arc using a distinct private vertex of cost D+1 before applying Lemma 8.1. A feedback vertex set of cost at most 4 in the original graph still works in the subdivided graph: a cycle avoiding that set would project to a directed closed walk, hence to a directed cycle, in the original remaining graph. On the other hand, a deletion set of cost at most D cannot contain any subdivision vertex. Every surviving original cycle would then lift through its private subdivisions, so the weighted soundness bound is preserved as well. Subdivision of every arc of a loopless digraph leaves no pair of opposite arcs, and the subsequent independent-cluster construction preserves this property. The additional vertices have constant cost and polynomial number, so the size bounds needed for rounding remain valid.

Proof of Theorem 1.1. It suffices to prove the claim for every fixed integer A\ge1: given any fixed real factor, choose an integer at least as large. For this integer A, choose the parameters of Section 3.1 and start from the NP-hard promise problem of Theorem 2.1 at the resulting fixed \theta.

By Proposition 3.7, the weighted reduction is deterministic and polynomial in the game input size, and all its costs are bounded by the constant C_A. Proposition 3.6 gives a feedback vertex set of cost at most 4 in the YES case, while Proposition 7.4 shows that every feedback vertex set has cost greater than D=10A in the NO case. Let S be the number of weighted vertices. Lemma 8.1 gives an unweighted digraph \widehat G with the gap

\begin{array}{ll} \text{YES:}&\DFVS(\widehat G)\le5S,\\[2pt] \text{NO:}&\DFVS(\widehat G)>DS. \end{array}

This last transformation is polynomial because C_A is fixed. Set k=5S and output the pair (\widehat G,k). In the YES case, \DFVS(\widehat G)\le k, whereas in the NO case

\DFVS(\widehat G)>DS=10AS>5AS=Ak.

Thus this pair has the promised gap of Theorem 1.1.

A deterministic polynomial-time A-approximation would return a feasible feedback vertex set of size at most 5AS<DS on every YES instance. On a NO instance, every feasible feedback vertex set has size greater than DS. Comparing the returned size with the known threshold DS would therefore distinguish the NP-hard promise cases in polynomial time. This proves the asserted NP-hardness for every fixed constant factor, and its deterministic consequence under \mathrm P\ne\mathrm{NP}.

A directed feedback arc set is a set of arcs whose deletion leaves an acyclic digraph. Write \operatorname{DFAS}(H) for its minimum cardinality.

Corollary 8.3 (Directed feedback arc set). For every fixed real A\ge1, approximating directed feedback arc set within factor A is NP-hard on unweighted simple loopless digraphs. More precisely, there is a deterministic polynomial reduction producing such a digraph H and a positive integer k with the promise gap

\begin{array}{ll} \text{YES:}&\operatorname{DFAS}(H)\le k,\\[2pt] \text{NO:}&\operatorname{DFAS}(H)>Ak. \end{array}

Proof. Let G=(V,E) be an unweighted loopless digraph, with n=\abs{V} and m=\abs{E}. Split each vertex v into v^-,v^+ and insert the arc a_v:v^-\to v^+. For every original arc e=(u,v), introduce n+1 fresh private vertices w_{e,j} and the paths

u^+\longrightarrow w_{e,j}\longrightarrow v^-\qquad(1\le j\le n+1).

Call the resulting unweighted digraph H. All private vertices are distinct, so H has no loops or repeated arcs, even if G has opposite arcs. It has 2n+(n+1)m vertices and n+2(n+1)m arcs and is explicitly constructible in polynomial time.

If S is a feedback vertex set of G, deleting the arcs a_v for v\in S destroys every directed cycle of H: a surviving cycle would alternate distinguished arcs with connector paths and project to a directed closed walk in G-S. Hence \operatorname{DFAS}(H)\le\DFVS(G)\le n.

Conversely, let F be any feedback arc set of H. If \abs{F}\ge n, return S=V, which is a feedback vertex set of size at most \abs{F}. If \abs{F}<n, return S=\{v:a_v\in F\}, again of size at most \abs{F}. Were there a directed cycle in G-S, every distinguished arc needed to lift it would survive. For each original arc of the cycle, its n+1 connector paths are pairwise edge-disjoint, so at least one survives deletion of F. Choosing these paths would lift the cycle to H-F, a contradiction. Thus the returned S is always a feedback vertex set, and this recovery is polynomial time.

The two maps give \operatorname{DFAS}(H)=\DFVS(G). They also preserve approximation solutions: an A-approximate F yields \abs{S}\le\abs{F}\le A\operatorname{DFAS}(H)=A\DFVS(G). Composing this construction with Theorem 1.1 and retaining its positive integer threshold k proves the stated gap.

References

  1. [1]Boaz Barak, Pravesh K. Kothari, and David Steurer. Small-Set Expansion in Shortcode Graph and the 2-to-2 Conjecture. In Avrim Blum, editor, 10th Innovations in Theoretical Computer Science Conference (ITCS 2019), pages 9:1–9:12, Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019. https://doi.org/10.4230/LIPIcs.ITCS.2019.9. doi:10.4230/LIPIcs.ITCS.2019.9.
  2. [2]Irit Dinur, Subhash Khot, Guy Kindler, Dor Minzer, and Muli Safra. Towards a Proof of the 2-to-1 Games Conjecture?. Theory of Computing, 21(11):1–50, 2025. https://doi.org/10.4086/toc.2025.v021a011. doi:10.4086/toc.2025.v021a011.
  3. [3]Irit Dinur and Samuel Safra. On the hardness of approximating minimum vertex cover. Annals of Mathematics, 162(1):439–485, 2005. https://doi.org/10.4007/annals.2005.162.439. doi:10.4007/annals.2005.162.439.
  4. [4]G. Even, J. Naor, B. Schieber, and M. Sudan. Approximating minimum feedback sets and multicuts in directed graphs. Algorithmica, 20(2):151–174, 1998. https://doi.org/10.1007/PL00009191. doi:10.1007/PL00009191.
  5. [5]Ehud Friedgut. Boolean Functions With Low Average Sensitivity Depend On Few Coordinates. Combinatorica, 18(1):27–35, 1998. https://doi.org/10.1007/PL00009809. doi:10.1007/PL00009809.
  6. [6]Ebrahim Ghorbani and Matthias Mnich. A 9/4-Approximation for Directed Feedback Vertex Sets in Quasi-Transitive Digraphs. In 53rd International Colloquium on Automata, Languages, and Programming (ICALP 2026), pages 96:1–96:16, Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2026. https://doi.org/10.4230/LIPIcs.ICALP.2026.96. doi:10.4230/LIPIcs.ICALP.2026.96.
  7. [7]Venkatesan Guruswami, Johan Håstad, Rajsekar Manokaran, Prasad Raghavendra, and Moses Charikar. Beating the Random Ordering Is Hard: Every Ordering CSP Is Approximation Resistant. SIAM Journal on Computing, 40(3):878–914, 2011. https://doi.org/10.1137/090756144. doi:10.1137/090756144.
  8. [8]Venkatesan Guruswami and Euiwoong Lee. Simple Proof of Hardness of Feedback Vertex Set. Theory of Computing, 12(6):1–11, 2016. https://doi.org/10.4086/toc.2016.v012a006. doi:10.4086/toc.2016.v012a006.
  9. [9]Venkatesan Guruswami, Rajsekar Manokaran, and Prasad Raghavendra. Beating the Random Ordering is Hard: Inapproximability of Maximum Acyclic Subgraph. In 49th Annual IEEE Symposium on Foundations of Computer Science (FOCS 2008), pages 573–582, IEEE, 2008. https://doi.org/10.1109/FOCS.2008.51. doi:10.1109/FOCS.2008.51.
  10. [10]Subhash Khot, Dor Minzer, and Muli Safra. Pseudorandom Sets in Grassmann Graph have Near-Perfect Expansion. Technical Report TR18-006, Electronic Colloquium on Computational Complexity, 2018. Revision 2, May 19, 2018. https://eccc.weizmann.ac.il/report/2018/006/revision/2/download. https://eccc.weizmann.ac.il/report/2018/006/revision/2/download.
  11. [11]F. P. Ramsey. On a Problem of Formal Logic. Proceedings of the London Mathematical Society, s2-30(1):264–286, 1930. https://doi.org/10.1112/plms/s2-30.1.264. doi:10.1112/plms/s2-30.1.264.
  12. [12]P. D. Seymour. Packing directed circuits fractionally. Combinatorica, 15(2):281–288, 1995. https://doi.org/10.1007/BF01200760. doi:10.1007/BF01200760.
  13. [13]Ola Svensson. Hardness of Vertex Deletion and Project Scheduling. Theory of Computing, 9(24):759–781, 2013. https://doi.org/10.4086/toc.2013.v009a024. doi:10.4086/toc.2013.v009a024.
  14. [14]J. von Neumann. Zur Theorie der Gesellschaftsspiele. Mathematische Annalen, 100(1):295–320, 1928. https://doi.org/10.1007/BF01448847. doi:10.1007/BF01448847.