betaFeedback

WorksMathematics

A counterexample to the very sparse greedy conjecture for random hitting sets

Abstract

Let AA be a random m×nm\times n zero-one matrix with independent Bernoulli(p)(p) entries, whose rows are to be hit by a set of columns. Arpino, Dmitriev and Grometto proved that with high probability the linear programming (LP) relaxation, the fractional hitting set, is within a constant factor of the optimum when mp≲log⁡nmp\lesssim\log n, and the greedy algorithm is within a constant factor of the optimum when p≥n−δp\ge n^{-\delta} with δ<1/2\delta<1/2. They conjectured that in the very sparse regime mp→0mp\to0 the ratio of the greedy value to the LP value tends to one. We show that this fails. For m=km=k, n=k10n=k^{10} and p=1/(10k4)p=1/(10k^4), with the explicit constant c=1/(196608⋅109)c=1/(196608\cdot10^9), the greedy algorithm that breaks ties by the leftmost column, as in their analysis, uses at least (1+c/8)(1+c/8) times the LP value with probability at least c/4c/4 for every k≥1020k\ge10^{20}; these parameters satisfy their Assumption 2. The same holds with probability at least c/8c/8 when ties are broken uniformly at random. So the ratio does not converge to one in probability. The obstruction is a path of three triples whose middle triple greedy takes first; exchanging it for its two ends saves half a column per path. The proofs are elementary counting arguments, checked in Lean from the definitions. This work has not yet been reviewed by experts. The proofs, the Lean formalization and the text were produced by AI models, working under the author's direction.

Introduction

Main results

Let AA be an m×nm \times n matrix with entries in {0,1}\{0,1\}. Its rows are the sets to be hit and its columns the elements; write Aj={i:Aij=1}A_j = \{i : A_{ij} = 1\} for the set of rows that column jj hits. The matrix is feasible if every row is hit by some column. The greedy algorithm keeps a set UU of uncovered rows, initially all of them. While U≠∅U \ne\varnothing, it chooses a column jj maximizing the gain ∣Aj∩U∣|A_j \cap U|, removes AjA_j from UU, and counts the choice. We write G(A)G(A) for the count when ties are broken by the smallest column index. On a feasible matrix it stops with a set of G(A)G(A) columns hitting every row. The LP value is

L(A)=min⁡{∑j=1nxj:x∈[0,1]n, ∑j:i∈Ajxj≥1 for every row i}.L(A) = \min\left\{\sum_{j=1}^{n} x_j : x \in[0,1]^n,\ \sum_{j:i\in A_j} x_j \ge1\ \text{for every row }i\right\}.

Always L(A)≤G(A)L(A) \le G(A) on feasible matrices.

Arpino, Dmitriev and Grometto [1] study a random matrix whose entries are independent Bernoulli(pp) variables, with m=m(n)m=m(n) and p=p(n)p=p(n). Their Assumption 2 [1 p. 30:3] requires c0nc0≤m≤C0nC0c_0n^{c_0} \le m \le C_0n^{C_0} for some c0,C0>0c_0,C_0>0, and n−δ≤p≤1/2n^{-\delta} \le p \le1/2 for some δ∈(0,1)\delta\in(0,1), for all large nn. Their Conjecture 12 [1 Section 6.2, p. 30:13], labeled “Very sparse”, reads: “For mp≪1mp \ll1, val⁡Gr/val⁡LP→1\operatorname{val}_{\mathrm{Gr}}/\operatorname{val}_{\mathrm{LP}} \to1.” Here val⁡Gr\operatorname{val}_{\mathrm{Gr}} is the output of their Algorithm 1 [1 p. 30:7], the greedy algorithm above, and val⁡LP\operatorname{val}_{\mathrm{LP}} is the LP value [1 equation (1.2)]. In the proof of their Theorem 10 [1 p. 30:11] ties are broken by “selecting the left-most column in the associated matrix”. The conjecture first appeared, as Conjecture 1 in Section 7.2, in the preprint [2] of May 9, 2023, and Dmitriev’s thesis restates it as open [6 Conjecture 6.1(1)].

Throughout, c=1/(196608⋅109)c=1/(196608\cdot10^9), and for an integer k≥1k \ge1 we take

m=k,n=k10,p=110k4.(1)m=k,\qquad n=k^{10},\qquad p=\frac{1}{10k^4}. \tag*{(1)}

Theorem 1. For every integer k≥1020k \ge10^{20}, with parameters (1),

Pr⁡[A is feasible and G(A)≥(1+c8)L(A)]≥c4.\Pr\left[A\text{ is feasible and }G(A)\ge\left(1+\frac{c}{8}\right)L(A)\right]\ge\frac{c}{4}.

For the second theorem, let Gu(A)G_u(A) be the number of choices of the greedy algorithm when, at each step and given everything before it, the column is chosen uniformly at random among the columns of maximum positive gain. Columns with equal sets AjA_j count as different columns.

Theorem 2. For every integer k≥1020k \ge10^{20}, with parameters (1),

Pr⁡[A is feasible and Gu(A)≥(1+c8)L(A)]≥c8.\Pr\left[A\text{ is feasible and }G_u(A)\ge\left(1+\frac{c}{8}\right)L(A)\right]\ge\frac{c}{8}.

the probability being over the matrix and the choices together.

The proof in Section 4 gives the bound c/4c/4 of Theorem 1; we state the weaker bound c/8c/8, which is the one in the Lean statement (Section 5).

Corollary 3. Let m(n)=⌊n1/10⌋m(n)=\lfloor n^{1/10}\rfloor and p(n)=n−2/5/10p(n)=n^{-2/5}/10. This sequence satisfies Assumption 2 of [1], m(n)p(n)→0m(n)p(n)\to0, and m(k10)=km(k^{10})=k, p(k10)=1/(10k4)p(k^{10})=1/(10k^4). Assign arbitrary real values to the ratios G/LG/L and Gu/LG_u/L on infeasible matrices. Then neither ratio converges to 1 in probability as n→∞n\to\infty.

Convergence in probability is implied by almost sure convergence and by convergence in mean, so the corollary refutes Conjecture 12 under each of these readings, for the leftmost rule that [1] use and for uniform tie-breaking. The constants are far from optimal; we made no attempt to improve them. We do not know whether the ratio tends to one for some other tie-breaking rule, or for the best of all greedy runs, along this sequence.

Prior work

Lovász [12] and Johnson [9] analyzed the greedy algorithm for covering. Lovász showed that “the ratio of optimal integral and fractional covers of a hypergraph does not exceed 1+log⁡d1+\log d” [12 p. 383], with dd the maximum degree, as recalled in [1 p. 30:2]. Slavík bounds the greedy value by ln⁡m−ln⁡ln⁡m+0.78\ln m-\ln\ln m+0.78 times the optimum when mm elements are to be covered [15 Theorem 1] and shows that this is nearly tight [15 Theorem 2]. These are worst-case bounds. For the random model, Corollary 9(ii) of [1] states that if mp≲log⁡nm p \lesssim\log n then Pr⁡(IPGAP∼1)≥1−n−D\Pr(\mathrm{IPGAP}\sim1)\ge1-n^{-D} for any D>0D>0 and nn large, where IPGAP=val⁡IP/val⁡LP\mathrm{IPGAP}=\operatorname{val}_{\mathrm{IP}}/\operatorname{val}_{\mathrm{LP}} and ∼\sim means equality up to multiplicative constants; their Theorem 10 states that under Assumption 2 with δ<1/2\delta< 1/2, Pr⁡(val⁡Gr∼val⁡IP)≥1−exp⁡(−n)\Pr(\operatorname{val}_{\mathrm{Gr}} \sim\operatorname{val}_{\mathrm{IP}}) \ge1-\exp(-\sqrt{n}) for nn large. Since p(n)=n−2/5/10≥n−δp(n) = n^{-2/5}/10 \ge n^{-\delta} for large nn whenever δ>2/5\delta> 2/5, these results apply to the sequence of Corollary 3: greedy is within a constant factor of the LP value there with high probability. Theorems 1 and 2 show that the constant cannot tend to one.

Telelis and Zissimopoulos [16 Theorem 4, p. 174] show, for the same independent model with fixed pp, that a simple O(nm)O(nm) algorithm approximates random set cover “within a term of o(log⁡m)o(\log m) from the optimum almost everywhere”. Fernandez de la Vega, Paschos and Saad [8] study a greedy algorithm for hitting mm random kk-element subsets of an nn-element set, with kk fixed and m,n→∞m,n \to\infty in fixed proportion; their Theorem 1 [8 p. 131] states that its approximation ratio “ranges between 1.094 and 1.257” for 3≤k≤73 \le k \le7 and a range of values of the proportion. See also the later article of Blot, Fernandez de la Vega, Paschos and Saad [4]. Mézard and Tarzia [14 Sections V.C–V.D and Fig. 5] ran highest-degree greedy on random hypergraphs in which every variable lies in L=4L = 4 hyperedges and every hyperedge has K=6K = 6 variables, with 12288 variables and 8192 hyperedges, and report greedy covers of density ρgr≃0.212\rho_{\mathrm{gr}} \simeq0.212, against ρcov≃0.178\rho_{\mathrm{cov}} \simeq0.178 for the minimal cover and 1/K1/K; on such regular instances the LP value is 1/K1/K times the number of variables.

The isolated bad paths below are paths of three triples, consecutive triples sharing one row, in a sparse random hypergraph. Greedy matching on sparse random graphs, the setting of Karp and Sipser [10] and of Dyer, Frieze and Pittel [7], is related in spirit, but no matching limit theorem is used here.

We could not read four sources in full: the journal version of Slavík’s paper [15], whose abstract and references are those of the conference version cited above; pages 132–138 of [8]; Chebolu’s thesis [5], which [3 Section 1] describes as extending the analysis of the random greedy matching process [7] to sparse random hypergraphs; and a Zenodo deposit, Spectral gaps and algorithmic phase transitions in sparse hypergraphs (DOI 10.5281/zenodo.17834080), removed before it could be read, whose surviving abstract concerns coloring, satisfiability and community detection.

Method

On the event that every column hits at most three rows and every pair of rows is exactly the set of some column, greedy takes a family of disjoint triples and then pairs, so its count is determined by the number KK of triples it takes (Lemma 4). The obstruction is an isolated bad path: three triples {a,b,c}\{a,b,c\}, {c,d,e}\{c,d,e\}, {e,f,g}\{e,f,g\} on seven rows such that no other column with three rows meets these rows; the definition in Section 2 adds that each triple is the set of exactly one column and that the middle column has the smaller index. Leftmost greedy takes the middle triple, after which the two ends are useless to it; but the two ends cover six of the seven rows, and the row dd joins the pairs (Lemma 5). The paths are disjoint, so exchanging every such middle at once saves half a column per path, up to one rounding.

Counting expected occurrences (a first-moment count) gives order kk such paths in expectation (Lemma 6). Their number is at most mm on every matrix, so this lower bound on the expectation gives a fixed fraction of mm paths with fixed probability.

For uniform ties, the triples greedy takes have the law of a scan of the triples in a uniformly random order, which is leftmost greedy on a matrix with randomly permuted columns; the distribution of AA does not change under this permutation (§ 4).

The theorems and the corollary are proved in Lean 4 [11] with Mathlib [13], from definitions of the random matrix, the greedy algorithms and the LP value (§ 5).

Greedy on the good event

Let HH be the event that ∣Aj∣≤3\lvert A_j\rvert\le3 for every column jj and that for every two rows a≠ba \ne b some column has Aj={a,b}A_j = \{a,b\}. If m≥2m \ge2, then HH implies that AA is feasible. Gains never increase as UU shrinks.

Lemma 4. Assume HH and m≥2m \ge2, and break ties by any rule. Greedy first chooses KK columns of gain 3, whose sets are pairwise disjoint, then columns of gain 2 while at least two rows are uncovered, then at most one column of gain 1. Hence G=⌈(m−K)/2⌉G = \lceil(m-K)/2\rceil, with GG the number of choices.

Proof. Gains are at most 3 and do not increase. While two rows a,ba,b remain uncovered, the column with set {a,b}\{a,b\} has gain 2, so a choice of gain 1 happens only when one row remains. A column of gain 3 hits three uncovered rows, so its set is disjoint from those of earlier choices. If there are TT choices of gain 2 and S∈{0,1}S \in\{0,1\} of gain 1, then m=3K+2T+Sm = 3K + 2T + S, so S≡m−3K(mod2)S \equiv m - 3K \pmod{2} and K+T+S=⌈(m−K)/2⌉K + T + S = \lceil(m-K)/2\rceil.

An isolated bad path consists of seven distinct rows a,…,ga,\ldots,g and three columns with sets P={a,b,c}P = \{a,b,c\}, M={c,d,e}M = \{c,d,e\}, Q={e,f,g}Q = \{e,f,g\} such that each of these three sets is the set of exactly one column, the column of MM has a smaller index than those of PP and QQ, and every other column with at least three rows avoids {a,…,g}\{a,\ldots,g\}. Columns with at most two rows may meet these rows. Let B(A)B(A) be the number of columns that are the middle MM of an isolated bad path.

Lemma 5. Assume every column has at most three rows, and let KK be the number of gain-3 choices of leftmost greedy.

(a) Every middle column of an isolated bad path is a gain-3 choice of leftmost greedy, and every other gain-3 choice avoids the seven rows of that path.

(b) Isolated bad paths with distinct middles have disjoint row sets, and 3(K+B)≤m3(K+B) \le m.

(c) If moreover HH holds and m≥2m \ge2, then L≤⌈(m−K−B)/2⌉L \le\lceil(m-K-B)/2\rceil and G−L≥(B−1)/2G-L \ge(B-1)/2.

Proof. (a) Let R={a,…,g}R = \{a,\ldots,g\}. Until greedy first chooses a column meeting RR, the middle column has gain 3, so greedy does not stop before such a step. At that step the chosen column has gain 3, the maximum possible, so it has three rows, meets RR, and by isolation is one of the three path columns. All three have gain 3 and the middle has the smallest index, so greedy chooses the middle. Afterwards the ends have gain at most 2, and every other column with three rows avoids RR.

(b) Let M′M' be a second middle, with ends P′,Q′P', Q'. By (a), M′M' avoids RR. If P′P' met RR, isolation would make P′P' one of the columns of the first path, so P′⊆RP' \subseteq R; but P′P' meets M′M', which avoids RR. So P′P' and likewise Q′Q' avoid RR. Now replace each of the BB middles among the KK gain-3 choices by its two ends. The ends of one path are disjoint, different paths are disjoint, and the remaining gain-3 choices avoid every path by (a), so the resulting K+BK+B triples are pairwise disjoint and 3(K+B)≤m3(K+B) \le m.

(c) Cover the m−3(K+B)m-3(K+B) rows outside these triples in pairs by columns with exactly those two rows, and a possible last row by any column hitting it. The middle-only rows dd are among them. This gives a cover with K+B+⌈(m−3K−3B)/2⌉=⌈(m−K−B)/2⌉K+B+\lceil(m-3K-3B)/2\rceil= \lceil(m-K-B)/2\rceil columns, and its indicator vector is feasible for the LP. With Lemma 4, G−L≥(m−K)/2−(m−K−B+1)/2=(B−1)/2G-L \ge(m-K)/2-(m-K-B+1)/2 = (B-1)/2.

Since one column per row gives L≤mL \le m, part (c) yields: if HH holds, m≥2m \ge2, α≥0\alpha\ge0, B≥αmB \ge\alpha m and αm≥2\alpha m \ge2, then

G−L≥αm−12≥αm4≥αL4.(2)G-L \ge\frac{\alpha m-1}{2} \ge\frac{\alpha m}{4} \ge\frac{\alpha L}{4}. \tag*{(2)}

Counting paths

Lemma 6. With parameters (1) and k≥14k \ge14, EB≥ck\mathbb{E} B \ge ck.

Proof. Call an ordered 7-tuple t=(a,…,g)t=(a,\ldots,g) of distinct rows occurring if {a,b,c}\{a,b,c\}, {c,d,e}\{c,d,e\}, {e,f,g}\{e,f,g\} are the sets of an isolated bad path. Each middle column is represented by exactly 8 occurring tuples: its ends are determined by isolation, and the representations are given by the choice of which end is PP and the orders of the two private rows of each end. Hence ∑t1[t occurs]=8B\sum_t 1[t\text{ occurs}]=8B on every matrix. By Lemma 9 in the appendix, each of the k(k−1)⋯(k−6)≥k7/128k(k-1)\cdots(k-6)\ge k^7/128 tuples occurs with probability at least 1/(192⋅109k)1/(192\cdot10^9k). By linearity, EB≥k/(8⋅128⋅192⋅109)=ck\mathbb{E}B\ge k/(8\cdot128\cdot192\cdot10^9)=ck.

Lemma 7. On every matrix, B≤mB\le m. With parameters (1), Pr⁡[some ∣Aj∣≥4]≤1/(104k2)\Pr[\text{some }|A_j|\ge4]\le1/(10^4k^2), and for k≥2k\ge2, Pr⁡[some pair of rows is the set of no column]≤160000/k2\Pr[\text{some pair of rows is the set of no column}]\le160000/k^2.

Proof. Replace every column with at least four rows by an empty column in the same position. Every isolated bad path survives, since its three columns have three rows and an empty column meets nothing; so BB does not decrease, and Lemma 5(b) for the new matrix gives B≤m/3B\le m/3, in particular B≤mB\le m, which is all we use. The two probability bounds are union bounds, computed in Appendix A.

Proof of Theorem 1. Since B≤m=kB\le m=k by Lemma 7, we have B≤ck/2+k 1[B≥ck/2]B\le ck/2+k\,1[B\ge ck/2] pointwise. Taking expectations and using Lemma 6, ck≤EB≤ck/2+kPr⁡[B≥ck/2]ck\le\mathbb{E}B\le ck/2+k\Pr[B\ge ck/2], so Pr⁡[B≥ck/2]≥c/2\Pr[B\ge ck/2]\ge c/2. By Lemma 7, HH fails with probability at most (10−4+160000)/k2≤c/4(10^{-4}+160000)/k^2\le c/4 for k≥1020k\ge10^{20}. So HH and B≥ck/2B\ge ck/2 hold together with probability at least c/4c/4. On this event AA is feasible, and (2) with α=c/2\alpha=c/2, valid because ck/2≥2ck/2\ge2, gives G−L≥cL/8G-L\ge cL/8.

Uniform tie-breaking

For a permutation π\pi of the columns, let AπA^\pi be the matrix with columns Ajπ=Aπ(j)A^\pi_j=A_{\pi(j)}. The law of AA, the event HH, feasibility and LL are unchanged when AA is replaced by AπA^\pi.

Lemma 8. Let (Tℓ)ℓ∈Λ(T_\ell)_{\ell\in\Lambda} be a family of 3-element sets indexed by a finite set Λ\Lambda of labels; different labels may carry the same set. Consider two processes: (X) repeatedly choose, uniformly at random, a label whose set is disjoint from the sets of all labels chosen so far, until none is left; (Y) list Λ\Lambda in a uniformly random order and accept each label whose set is disjoint from the sets of the labels already accepted. The sets of chosen and of accepted labels have the same law.

Proof. Induct on ∣Λ∣|\Lambda|. In (Y), the first accepted label is the first in the order, uniform on Λ\Lambda, as in (X). Given that it is rr, the remaining order is uniform on Λ∖{r}\Lambda\setminus\{r\}, labels whose sets meet TrT_r (other labels carrying TrT_r included) are never accepted, and the order it induces on the set Λ′\Lambda' of labels whose sets are disjoint from TrT_r is uniform. So both processes continue as the same processes on Λ′\Lambda'.

Proof of Theorem 2. Assume HH and m≥2m\ge2. While some column has gain 3, the columns of maximum gain are the columns with three rows disjoint from all earlier choices, so the gain-3 phase of uniform greedy is process (X) with the columns with three rows as labels. Leftmost greedy on AπA^\pi is process (Y) with the order given by π\pi, which is uniform when π\pi is. By Lemmas 4 and 8, for every predicate FF on integers, the conditional probability given AA that F(Gu(A))F(G_u(A)) holds is the average of 1[F(G(Aπ))]\mathbf{1}[F(G(A^\pi))] over all permutations π\pi. Take F(g)F(g) to be “(1+c/8)L(A)≤g(1+c/8)L(A)\leq g”. Averaging over AA, using that the law of AA, HH and LL are invariant and substituting AA for AπA^\pi,

Pr⁡[H and Gu≥(1+c8)L]=Pr⁡[H and G≥(1+c8)L]≥c4,\Pr[H\text{ and }G_u\geq(1+\frac{c}{8})L]=\Pr[H\text{ and }G\geq(1+\frac{c}{8})L]\geq\frac{c}{4},

where the inequality is the proof of Theorem 1. Since HH implies feasibility, the theorem follows, with c/4≥c/8c/4\geq c/8.

Proof of Corollary 3. For n1/10≥10n^{1/10}\geq10, 120n1/20≤12n1/10<m(n)≤n\frac{1}{20}n^{1/20}\leq\frac{1}{2}n^{1/10}<m(n)\leq n and n−1/2≤p(n)≤1/2n^{-1/2}\leq p(n)\leq1/2, so Assumption 2 holds with c0=1/20c_0=1/20, C0=1C_0=1, δ=1/2\delta=1/2; and m(n)p(n)≤n−3/10/10→0m(n)p(n)\leq n^{-3/10}/10\to0. On the event of Theorem 1 the matrix is feasible, L≥1L\geq1 and G/L−1≥c/8G/L-1\geq c/8, whatever values are assigned on infeasible matrices. Along n=k10n=k^{10} this event has probability at least c/4c/4, so Pr⁡[∣G/L−1∣≥c/8]\Pr[|G/L-1|\geq c/8] does not tend to 0. The same argument with Theorem 2 applies to Gu/LG_u/L.

Formal verification

All of the above is proved in Lean 4 [11] (version 4.19.0) with Mathlib [13], and the build checks that the main theorems use only the axioms propext, Classical.choice and Quot.sound. A matrix is a function giving the set of rows of each column. The probability of an event is the finite sum, over all matrices, of the product over columns of ∏i(pi\prod_i(p_i or 1−p)1-p). Greedy is a recursive function scanning columns by index; LL is the real infimum of the objective over the LP’s feasible set, the actual LP value rather than a bound. Uniform ties are a recursive kernel that averages over the columns of maximum positive gain at each step. Theorem 1 is

theorem GreedyLPHittingSet.leftmost_explicit : ∀ k ≥ Uniform.threshold,
  (Uniform.c : R) / 4 ≤ matrixProb k (k^10) (parameterP k)
    (fun A => feasible A ∧ (1 + (Uniform.epsilon : R)) * L A ≤ (G A : R))

where the build also checks that Uniform.threshold is 102010^{20}, Uniform.c is cc, Uniform.epsilon is c/8c/8 and parameterP k is 1/(10k4)1/(10k^4). The other statements are:

  • Theorem 2: ADG.Uniform.uniform_probability_endpoint, the same statement with the joint probability of matrix and uniform choices and the bound c/8c/8.

  • Corollary 3, leftmost ties: ADG.full_frozen_endpoint; uniform ties: ADG.Uniform.full_uniform_endpoint. Each states Assumption 2 of [1] as printed, the identities m(k10)=km(k^{10})=k and p(k10)=1/(10k4)p(k^{10})=1/(10k^4), m(n)p(n)→0m(n)p(n)\to0, and, for every assignment of values on infeasible matrices, the failure of convergence in probability to one.

Nothing beyond these definitions and the Lean kernel is assumed; the comparison of the definitions with [1] is the one made in § 1. Appendix B lists the modules.

To reproduce, run lake exe cache get and lake build in the Lean folder accompanying this paper; with the Mathlib cache this takes a few minutes.

Probability estimates

Write μ(s)=p∣s∣(1−p)m−∣s∣\mu(s)=p^{|s|}(1-p)^{m-|s|} for the probability that a column has set ss; these masses sum to 1. Under (1), kp≤1/10kp\leq1/10.

Lemma 9. For k≥14k\geq14 and a fixed tuple tt of seven distinct rows, Pr⁡[t occurs]≥1/(192⋅109k6)\Pr[t\text{ occurs}]\geq1/(192\cdot10^9k^6).

Proof. Let q=p3(1−p)k−3q=p^3(1-p)^{k-3} be the mass of each of the three path sets, and FF the total mass of the sets ss with ∣s∣≥3|s|\ge3 and s∩{a,…,g}≠∅s\cap\{a,\ldots,g\}\ne\varnothing; this includes the three path sets. The three path columns occupy three distinct positions with the middle first, 2(n3)=n(n−1)(n−2)/32\binom{n}{3}=n(n-1)(n-2)/3 choices, and these events are disjoint because each path set occurs exactly once. So

Pr⁡[t occurs]=n(n−1)(n−2)3q3(1−F)n−3.\Pr[t\ \text{occurs}]=\frac{n(n-1)(n-2)}{3}q^3(1-F)^{n-3}.

A set counted in FF contains one of the seven rows and two others, so F≤(k−12)p3F\le\binom{k-1}{2}p^3 and nF≤7/1000nF\le7/1000. Bernoulli’s inequality gives q≥p3(1−kp)≥p3/2q\ge p^3(1-kp)\ge p^3/2 and (1−F)n−3≥1−nF≥1/2(1-F)^{n-3}\ge1-nF\ge1/2, and n(n−1)(n−2)≥n3/4n(n-1)(n-2)\ge n^3/4 since n≥4n\ge4. Hence the probability is at least n3p9/192=1/(192⋅109k6)n^3p^9/192=1/(192\cdot10^9k^6). □\square

Large columns. A column with at least four rows contains one of the (k4)\binom{k}{4} four-sets, each with probability p4p^4, so Pr⁡[some ∣Aj∣≥4]≤n(k4)p4≤nk4p4=1/(104k2)\Pr[\text{some }|A_j|\ge4]\le n\binom{k}{4}p^4\le nk^4p^4=1/(10^4k^2).

Missing pairs. A column has set exactly {a,b}\{a,b\} with probability r=p2(1−p)k−2≥p2/2r=p^2(1-p)^{k-2}\ge p^2/2. Its absence from all nn columns has probability (1−r)n(1-r)^n. The binomial term (n2)r2(1−r)n−2\binom{n}{2}r^2(1-r)^{n-2} is at most 11, so (1−r)n≤1/((n2)r2)≤16/(n2p4)(1-r)^n\le1/(\binom{n}{2}r^2)\le16/(n^2p^4), using (n2)≥n2/4\binom{n}{2}\ge n^2/4. Over at most k2k^2 pairs, the probability is at most 16k2/(n2p4)=160000/k216k^2/(n^2p^4)=160000/k^2.

Threshold. For k≥1020k\ge10^{20} we have ck/2≥2ck/2\ge2, since 4⋅196608⋅109≤10204\cdot196608\cdot10^9\le10^{20}, and (10−4+160000)/k2≤c/4(10^{-4}+160000)/k^2\le c/4, since 4⋅196608⋅109(10−4+160000)≤10404\cdot196608\cdot10^9(10^{-4}+160000)\le10^{40}.

The Lean modules

Endpoint and SourceEndpoint contain the definitions and statements; LP the basic facts on LL, among them that LL is at most the size of any cover; PathDefinitions the definition of isolated bad paths and of BB; Probability, PathProbability and QuantitativeProbability the finite probability calculations; Greedy Lemma 4; GreedyPaths, DeterministicExchange and DeterministicGap Lemma 5 and (2); PathCounting and ExpectationConstruction Lemma 6; BadMiddleBound and ExpectationTail Lemma 7 and the tail bound; FullConstruction, SourceTransport and SourceConsequence Theorem 1 and Corollary 3. For uniform ties, UniformEndpoint defines the kernel and statements; UniformKernel shows that the kernel gives probability laws; ConflictCoupling and PermutationScan prove Lemma 8 for an arbitrary directed conflict relation; UniformPhase, OrderedPhase and UniformCount identify the gain-3 phases; UniformInvariance, UniformTransport and UniformGoodLaw give the permutation invariance; UniformConstruction proves Theorem 2. Statement restates the theorems with their definitions unfolded, Examples checks small matrices (a single path, where greedy and the exchange both use three columns, and two paths, where greedy uses six and the exchange five), and Axioms fails the build if a main theorem uses another axiom.

References

  1. [1]G. Arpino, D. Dmitriev and N. Grometto, Greedy heuristics and linear relaxations for the random hitting set problem, in: Approximation, Randomization, and Combinatorial Optimization (APPROX/RANDOM 2024), LIPIcs 317, Paper 30, 2024. doi:10.4230/LIPIcs.APPROX/RANDOM.2024.30.DOI
  2. [2]G. Arpino, D. Dmitriev and N. Grometto, Greedy heuristics and linear relaxations for the random hitting set problem, arXiv:2305.05565v1, 2023.arxiv.org/abs/2305.05565
  3. [3]D. Bal and P. Bennett, The matching process and independent process in random regular graphs and hypergraphs, Electron. J. Combin. 30(1) (2023), P1.11. doi:10.37236/10698.DOI
  4. [4]J. Blot, W. Fernandez de la Vega, V. Th. Paschos and R. Saad, Average case analysis of greedy algorithms for optimisation problems on set systems, Theoret. Comput. Sci. 147 (1995), 267–298. doi:10.1016/0304-3975(95)00242-O.DOI
  5. [5]P. Chebolu, Topics in random graphs, PhD thesis, Carnegie Mellon University, 2008.
  6. [6]D. Dmitriev, High-dimensional optimization problems in average-case and worst-case settings, PhD thesis, ETH Zürich, 2025. doi:10.3929/ethz-b-000743377.DOI
  7. [7]M. Dyer, A. Frieze and B. Pittel, The average performance of the greedy matching algorithm, Ann. Appl. Probab. 3 (1993), 526–552. doi:10.1214/aoap/1177005436.DOI
  8. [8]W. Fernandez de la Vega, V. Th. Paschos and R. Saad, Average case analysis of a greedy algorithm for the minimum hitting set problem, in: LATIN ’92, Lecture Notes in Comput. Sci. 583, Springer, 1992, 130–138. doi:10.1007/BFb0023824.
  9. [9]D. S. Johnson, Approximation algorithms for combinatorial problems, J. Comput. System Sci. 9 (1974), 256–278. doi:10.1016/S0022-0000(74)80044-9.DOI
  10. [10]R. M. Karp and M. Sipser, Maximum matching in sparse random graphs, in: 22nd Annual Symposium on Foundations of Computer Science (1981), 364–375. doi:10.1109/SFCS.1981.21.DOI
  11. [11]L. de Moura and S. Ullrich, The Lean 4 theorem prover and programming language, in: Automated Deduction – CADE 28, Lecture Notes in Comput. Sci. 12699, Springer, 2021, 625–635. doi:10.1007/978-3-030-79876-5_37.DOI
  12. [12]L. Lovász, On the ratio of optimal integral and fractional covers, Discrete Math. 13 (1975), 383–390. doi:10.1016/0012-365X(75)90058-8.DOI
  13. [13]The mathlib Community, The Lean mathematical library, in: Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020), 367–381. doi:10.1145/3372885.3373824.DOI
  14. [14]M. Mézard and M. Tarzia, Statistical mechanics of the hitting set problem, Phys. Rev. E 76 (2007), 041124. doi:10.1103/PhysRevE.76.041124; arXiv:0707.0189v2.DOI
  15. [15]P. Slavík, A tight analysis of the greedy algorithm for set cover, in: Proceedings of the 28th Annual ACM Symposium on Theory of Computing (STOC 1996), 435–441. doi:10.1145/237814.237991. Journal version: J. Algorithms 25 (1997), 237–254, doi:10.1006/jagm.1997.0887.DOI
  16. [16]O. A. Tellelis and V. Zissimopoulos, Absolute o(log m) error in approximating random set covering: an average case analysis, Inform. Process. Lett. 94 (2005), 171–177. doi:10.1016/j.ipl.2005.02.009.

Paper details

vlnc:W_ca4bek2w
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

AI models (from OpenAI and Anthropic)

View statement
Looking for related papers…
Contents