% V2, 2026-11-28: primary home of the shared carrier, weighted lattice completion, and pruning proofs. % Sparse-grid exponent 1/100 or 1/20 consolidates the two existing V1 applications. % Neither N01 nor N05 is a proof input. % N03 -- consolidated English research manuscript. % Sources: continuation 4, Paper IV (arithmetic_phase_transitions.tex), % Paper I (robust_reciprocal_subsets.tex), and Paper VI % (restricted_denominator_transversals.tex), in the original archive. % IV: all nine numbered mathematical statements retained, with proofs. % I: transversal deficit and quantitative stability retained in the % growing-height section. The general arbitrary-weight LLT, interval % basis and exponential counting results belong to N06, not this paper. % VI: both the restricted-family formula and the pruned-grid lemma retained. % Mathematical review and changes: % 1. Martin's published Denser Egyptian fractions, Theorem 1 % (Theorem 2 in arXiv:math/9811112v1), % establishes the best possible error ORDER. The coefficient lower bound % and onset upper attacks use the classical large-prime obstruction; % the proposed sharp coefficient depends on the full completion proof. % Checked published text (Acta Arith. 95, pp. 231--260) and % arXiv:math/9811112v1, p. 2. The differing numbers are version-specific. % 2. LS arXiv:2404.07113v1 Lemma 2.4 is the standard upper-bound sieve % with primes <= exp(log X / sqrt(log log X)); checked both coarse scales. % No use of its Proposition 5.2 is needed for the new VI proof. % 3. To prove VI's original grid at density log(X)^(-1/20), change the % coarse size bound from L^(-.02) to L^(-.06), the local density from % L^(-.04) to L^(-.07), and the extracted fiber density from L^(-.24) % to L^(-.27). The O(X L^(-.1)) carrier losses are smaller than % X L^(-.07). Synchronizing primes now lie between exp(L^(.05)) % and exp(L^(.6)); reciprocal mass .55 log L exceeds two missing % masses .27 log L each. The same sieve range, exponential Fourier % margins, and bounded rational denominator b' <= L still work. % Iterative pruning costs O(X L^(-.07) log L), which is % o(X L^(-.05)) and also o(X L^(-.02)) in the first-order proof. % 4. The protected-reservoir lemma is a self-contained specialization % of I's input using IV's fine exact completion. Mark AFTER arithmetic % exclusions and charge all upper-half exceptions in the second moment; % C_2 is independent of the fine power cutoff B. This avoids a pointwise % assumption on exceptional losses in every individual power fiber. % Explicitly enforce the probability floor for the main set and the % high-reservoir cardinality tail. General arbitrary weights stay N06. % 5. Review of IV: checked actual lattice inversion, rational resonance % exclusion at density >1/2, bad-power incidence budget, both scales of % sparse modular repair, target-adic CRT and disjointness, rank estimates, % active template restrictions, and the weighted onset dual formula. % In particular the optimal multiplier is obtained by differentiating the % objective, H-J(exp(alpha/mu)); its inverse and both junctions yield % the stated Psi. At beta=0 use strict existence/emptiness sandwiches. % No eventual existence or emptiness at u=u_0 is asserted. % 6. This is an internal proof review, not a referee report or formal % verification. The delicate lower bounds still merit independent % review. Author metadata intentionally not invented. No original, % frozen, N01, or N02 manuscript is changed. % N03 submission candidate V1 -- 2026-11-28 (source only). % Frozen source SHA-256: 856e91075b8866281d08148f79fcf7a7cfb110ab36ede025641c86f0ec4b1eed % Scope extension: Theorem Nonlinear onset and Corollary Minimum height only, % from fixed proper rational targets to fixed rational 0 < r <= 1. % Endpoint audit: no use of the macroscopic first-order stability or of q=max % prime-power divisor of b in the onset proof; b=1 means Qr=Q. The unrestricted % small-power ledger, large-prime attacks and exact length repair are unchanged. % Alpha <= 1-1/(e-1) < log(2) implies the optimizer lies below v=2, as required % by the truncated cost function f. The LLT phase congruence is spelled out. % At K>=2 denominator 1 is impossible in a representation of 1. % The leading and second-order coefficient calculations are algebraic; decimal % values are illustrative, not a computer certification of the whole theorem. % The original 13 theorem/lemma/proposition/corollary environments are retained. % Independent external referee verification and author metadata remain pending. \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,amsmath,amssymb,amsthm,mathtools,microtype,booktabs} \usepackage[margin=1.03in]{geometry} \usepackage{enumitem} \usepackage{xcolor} \usepackage[hidelinks]{hyperref} \allowdisplaybreaks[1] \setlength{\emergencystretch}{2em} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{remark}\newtheorem{remark}[theorem]{Remark} \newcommand{\R}{\mathcal R} \newcommand{\N}{\mathbb N} \newcommand{\Z}{\mathbb Z} \newcommand{\E}{\mathbb E} \newcommand{\Prob}{\mathbb P} \newcommand{\lcm}{\operatorname{lcm}} \newcommand{\dist}{\operatorname{dist}} \newcommand{\floor}[1]{\left\lfloor #1\right\rfloor} \newcommand{\ind}{\mathbf 1} \title{Second-Order Minimum Heights and Arithmetic Phase Transitions in Egyptian Fraction Hypergraphs} \author{Pengcheng Chen} \date{} \begin{document} \maketitle \begin{abstract} We study the least maximum denominator in representations of a fixed rational by exactly $K$ distinct unit fractions, and the minimum number of forbidden denominators that obstruct all such representations. For every fixed rational $0e^r$: if $q=2$ then $b=2$ and $r=1/2$, and otherwise $q\ge3$. The question has several different regimes. The first is governed by the largest available reciprocal sum, another by divisibility of the common denominator, and a third (for exactly $K$ terms) by the smallest available reciprocal sum. The unit-target minimum-height question was posed by Erd\H{o}s and Graham \cite[p.~33]{EG}. Martin \cite[Theorem 1 in the published version; Theorem 2 in arXiv v1]{Martin} proved that the minimum maximum denominator in an exact $K$-term representation of a fixed positive rational is $K/(1-e^{-r})+O_r(K\delta_K)$, with optimal error order. Croot \cite{Croot} established a related sharp-order short-interval theorem. Bloom \cite{Bloom} and Liu--Sawhney \cite{LS} developed powerful Fourier and pruning techniques for reciprocal subset sums. The latter paper's Proposition 5.2 concerns arbitrary sets and general rational grid targets, and its denominator applications use two scales (we refer to the numbering of arXiv v1). Our carrier arguments are adaptations of those methods, not claims of invention of the circle method or of modular cancellation. The specific questions here are sharp adversarial costs, exact cardinality and the onset window. \begin{theorem}[Macroscopic heights and stability]\label{thm:first} Assume $00$ and $M=DK+o(K)$, \begin{align} \tau_K(r;M)/K&\longrightarrow \min(A,D/q),\label{eq:firstatmost}\\ \tau_K^=(r;M)/K&\longrightarrow [\min(A,D/q,D-D_*)]_+ .\label{eq:firstexact} \end{align} For the second assertion suppose $D>D_*$. Every transversal with size equal to the limiting minimum times $K$, plus $o(K)$, is at symmetric-difference distance $o(K)$ from one of the minimizing templates: an initial segment of the vertices, the set of multiples of $q$, or a terminal segment. The first assertion has the same stability conclusion with only the first two templates. Segment lengths may be taken to be the size of the transversal, up to rounding. At a tie the assertion is proximity to the union of the template classes, not to every class. \end{theorem} In particular, the critical height for saturation at $AK$ is $qA$ for at most $K$ terms and $\max(qA,2A+1)$ for exactly $K$ terms. \begin{theorem}[Second-order height windows]\label{thm:macro} Assume $00$ and $u\in\mathbb R$, and let $M=\floor{DK+uK\delta_K}$. For at most $K$ terms use the index set $I=\{1,2\}$; for exactly $K$ terms assume $D>D_*$ and use $I=\{1,2,3\}$. Define \begin{center} \begin{tabular}{@{}cll@{}} \toprule $i$ & $h_i(D)$ & $g_i(D,u)$\\ \midrule 1 & $A$ & $-D(e^{c/D}-1)$\\ 2 & $D/q$ & $u/q-D(e^{1/q}-1)$\\ 3 & $D-D_*$ & $u-D(e^{1-c/D}-1)$\\ \bottomrule \end{tabular} \end{center} Let $h_* =\min_{i\in I}h_i(D)$ and $I_*=\{i\in I:h_i(D)=h_*\}$. For the corresponding transversal number $\tau$, \begin{equation}\label{eq:macro} \tau=Kh_*+K\delta_K\min_{i\in I_*}g_i(D,u)+o(K\delta_K). \end{equation} An asymptotically optimal transversal (with an $o(K\delta_K)$ error) must be $o(K)$-close to a template that minimizes both levels of this comparison. \end{theorem} The second-order comparison must be restricted to the first-order minimizers. When $q>1+e^r$, the exact-length phases occur in the order terminal, divisibility, initial, with junctions $qD_*/(q-1)$ and $qA$. When $q<1+e^r$, the divisibility phase is absent and the junction is $2A+1$. Formulas \eqref{eq:macro} also cover ties without requiring a nondegeneracy assumption. The synchronized-carrier and actual-lattice completion estimates are proved in Sections~\ref{sec:carrier}--\ref{sec:sparse}, with the general pruned grid in Section~\ref{sec:grid}. The capped cost profile in this paper suffices for its active parameters; it must not be identified with the full Dickman profile beyond exponent two. The boundary $D=D_*$ calls for a different argument, because a transversal then has only second-order size. In the following theorem and corollary, let $00$, and $1-1/(e-1)<1/2<\log2$. In particular $1h$, the second coefficient is $u(\beta)$, where \[ u(\beta)=\begin{cases} D_*\alpha v,&\beta\le D_*J(e^\alpha),\quad J(v)=\beta/D_*,\ 1\le v\le e^\alpha,\\ \beta+D_*(e^\alpha-1),&\beta\ge D_*J(e^\alpha). \end{cases} \] In particular $u(\beta)=u_0+\alpha\sqrt{2D_*\beta}+O_r(\beta)$ as $\beta\downarrow0$, after taking the large-$K$ limit. \end{corollary} The lower bound on the coefficient in \eqref{eq:martin}, including \eqref{eq:martinunit}, follows directly from the forbidden large primes, without Fourier analysis. The upper bound and nonlinear onset require the full repair argument. Neither a finer onset scale nor the eventual existence of representations at $u=u_0$ follows from the stated errors. Sections~\ref{sec:wide} and \ref{sec:restricted} establish the complementary growing-height and restricted-family results. The latter concerns at most $K$ terms; exact length in restricted families requires additional lattice information. \section{Arithmetic estimates and two carrier regimes}\label{sec:carrier} We use the standard prime number estimates \begin{equation}\label{eq:primes} \log\lcm(1,\ldots,\floor x)\ll x,\qquad \sum_{p\le x}p^{-1}=\log\log x+c_M+O(1/\log x),\qquad \pi(x)\ll x/\log x. \end{equation} We also use the standard upper-bound sieve: for primes from an arbitrary set $\mathcal P$ below $\exp(\log X/\sqrt{\log\log X})$, the count of integers in $[1,X]$ divisible by none of these primes is $\ll X\prod_{p\in\mathcal P}(1-1/p)$ (the fundamental lemma, in the form of \cite[Lemma 2.4]{LS}). We only apply it at well-separated exponential scales. For later estimates, \begin{equation}\label{eq:moment} \sum_{n\le X}(3/2)^{\Omega(n)}\ll X(\log(2X))^{1/2},\qquad \sum_{p^j>Y,\ j\ge2}p^{-j}\ll Y^{-1/2}. \end{equation} The first follows by expanding the nonnegative divisor convolution with local coefficients $g(p^j)=\tfrac12(3/2)^{j-1}$ and applying Mertens to the Euler product. The second follows by splitting at $p=\sqrt Y$ and summing geometric tails. Write $L=\log N$, $\lambda=\log L$, $\delta=\lambda/L$. A power-smooth integer has every prime-power divisor at most $Y$. We work in two regimes for a pool $P\subseteq[m,N]$: \begin{description}[leftmargin=1.5em] \item[Fine.] $m=N/L^3$, $Y=N/L^B$, with fixed $B$ sufficiently large. Assume $|P|\ge c_0N$ and $|P\cap s\N|\ge\eta N/s$ for every prime power $s$ appearing in $P$, where $c_0,\eta>0$ are fixed. \item[Coarse.] $m=N/L^{1/100}$, $Y=Ne^{-12L^{9/10}}$. Assume $|P|\ge N/L^{3/50}$ and $|P\cap s\N|\ge L^{-7/100}N/s$ for every prime power $s$ appearing in $P$. \end{description} In both regimes assume $P$ is power-smooth and $\Omega(n)\le20\lambda$ for $n\in P$. When $s=1$, the local bound follows from the global size. Write $Q=\lcm(P)$; then $\log Q\ll Y$. The following lemma formalizes the common-carrier device. \begin{lemma}[Carriers and synchronizing primes]\label{lem:carrier} In either regime, for any appearing power $s$ (or $s=1$), even after deletion of $o(N/s)$ elements in the fine regime or $o(L^{-7/100}N/s)$ in the coarse regime, the surviving $s$-multiples contain a family $d_s U_s$, with $s\mid d_s$ and $U_s\subseteq[1,z_s]$, $z_s=N/d_s$. In the fine regime, for fixed constants $d,J,\nu,\gamma>0$, \[ L^{d\nu}\le z_s\le L^{3+dJ},\qquad |U_s|\ge\gamma z_s. \] In the coarse regime, \[ e^{L^{7/10}}\le z_s\le L^{1/100}e^{L^{9/10}},\qquad |U_s|\gg L^{-27/100}z_s. \] Any two obtained sets $U_s$ have common prime divisors whose product exceeds $N$. A common divisor means a prime dividing some member of each set, not necessarily all members. \end{lemma} \begin{proof} Write $X=N/s$ and let $T$ be the surviving set of cofactors. For the construction of a single fiber only the local lower bound for this $s$ is required, along with the common interval bounds. In particular, when $s=1$ the same construction applies to a subset having the stipulated global density, with the fine density constant decreased if necessary; no health assumptions for its other powers are needed. Define $s_y(k)=\prod_{p\le y}p^{v_p(k)}$. Its logarithmic sum over $k\le X$ is $\ll X\log y$, by Chebyshev and summing the valuations. In the fine regime take $y=L^d$. For any desired constant small proportion, one may choose $\nu>0$ sufficiently small so that the count of integers avoiding all primes in $[y^\nu,y]$ is less than that proportion of $X$. Indeed the prime reciprocal sum tends to $\log(1/\nu)$; if a subcollection of primes up to $y$ has reciprocal sum $v$, expanding the square and counting multiples gives \[ \sum_{k\le X}\left(\sum_{p\in\mathcal P_0}\ind_{p\mid k}-v\right)^2 \le Xv+2v|\mathcal P_0|\le 2Xv. \] The floor errors in the first moment cost at most $2v|\mathcal P_0|$; the pairwise intersections of different primes have counts at most $X/(pp')$. The final inequality holds since $X\ge y^3$. The number missing every prime is therefore at most $2X/v$. Markov's inequality for $\log s_y$ then allows a fixed large $J$ such that a fixed positive fraction of $X$ remains in $T$ with $y^\nu\le s_y(k)\le y^J$. Partition by the unique rough part $j=k/s_y(k)$, writing $z=X/j$ for each fiber. Since $k\ge (m/N)X$, a nonempty fiber satisfies $y^\nu\le z\le L^3y^J$. For fixed $U$, the count of $y$-smooth integers up to $z$ is $\gg_U z$ uniformly for $1\ll z\le y^U$. One can use the fixed-parameter smooth-number estimate \cite[Theorem~1.1]{HT}; alternatively, for $z>y$ multiply smooth integers in $[1,z/p]$ by primes in $[y^{1/4},y^{1/2}]$ and induct on $U$ in steps of $1/4$. Each integer is counted at most $4U$ times, and the prime reciprocal sum tends to $\log2$. The base case $z\le y$ is immediate. Use $U=J+3$ (with $d\ge1$). Uniqueness of the rough parts implies $\sum_j z_j\ll_{J} X$, since the full smooth fibers give disjoint subsets of $[1,X]$. Thus one of the fibers has density at least $\gamma>0$, depending only on the original fixed density, $J,\nu$, not on $d$. It yields $d_s=sj$. For the coarse regime use $y=e^{L^{4/5}}$. By the upper-bound sieve the integers lacking every prime from $[e^{L^{7/10}},y]$ have count $O(XL^{-1/10})$: the product of the sieve factors has this order by Mertens, and $X\ge e^{12L^{9/10}}$ permits the sieve. The logarithmic moment eliminates $O(XL^{-1/10})$ integers with smooth part greater than $e^{L^{9/10}}$. These losses are $o(L^{-7/100}X)$. Partition the remaining set by rough parts. The sum of reciprocals of possible rough parts is bounded by the Euler product $\prod_{y4d$ ensures $X\ge y^3$ in the earlier variance argument. The common primes have reciprocal sum at least one and are all at least $L^2$, so their product exceeds $N$. In the coarse regime use primes in $[e^{L^{1/20}},e^{L^{3/5}}]$, with reciprocal sum $\tfrac{11}{20}\lambda+o(1)$. The upper-bound sieve, applicable since $z\ge e^{L^{7/10}}$, implies that the missing primes for any fiber have reciprocal sum at most $(27/100)\lambda+O(1)$. Thus the common primes have reciprocal sum at least $\lambda/100-O(1)$, and their product exceeds $N$. In both regimes the construction and bounds are uniform after the stated small deletions. \end{proof} \section{Weighted exact completion}\label{sec:fourier} \begin{lemma}[One- and two-dimensional completion]\label{lem:LLT} In either regime above, give each $n\in P$ an independent Bernoulli variable $X_n$ of parameter $p_n\in[L^{-4},1-L^{-4}]$. Set $Z=\sum X_n/n$, $T=\sum X_n$. If $Q\E Z\in\Z$, then \begin{equation}\label{eq:LLTscalar} \Prob(Z=\E Z)\sim\frac{1}{Q\sqrt{2\pi\operatorname{Var}Z}}. \end{equation} If moreover $|P|\ge(1/2+\beta)N$ for a fixed $\beta>0$ and $\E T\in\Z$, then, with $\Sigma=\operatorname{Cov}(Z,T)$, \begin{equation}\label{eq:LLT} \Prob(Z=\E Z,T=\E T)\sim\frac{1}{2\pi Q\sqrt{\det\Sigma}}. \end{equation} The conclusions are uniform for the stated parameter regimes. In the fine case the fixed $B$ may be chosen large enough in terms of the fixed densities (and, for the two-dimensional assertion, $\beta$), independently of the probabilities. In the coarse case the displayed fixed exponents suffice. \end{lemma} \begin{proof} We give details for the two-dimensional case. For the one-dimensional assertion set $b'=1$ and $\theta=0$ throughout, omit the good-phase density test and rational approximation below, and begin directly with the bad-power classification. The size bound in either regime suffices for the one-dimensional variance estimate. Write $e(t)=e^{2\pi it}$, $\|t\|=\dist(t,\Z)$ and $\phi(\xi,\theta)=\E e(\xi(Z-\E Z)+\theta(T-\E T))$. From the Bernoulli factor bound, \begin{equation}\label{eq:phasebound} |\phi(\xi,\theta)|\le\exp[-cL^{-4}\sum_{n\in P}\|\xi/n+\theta\|^2]. \end{equation} Frequencies range over $[-Q/2,Q/2]\times[-1/2,1/2]$. Choose, in the fine case, fixed $w>3+dJ+2$, $\zeta>w+3+dJ+2$ and $B>\max(4d,2w+12,2\zeta+6)$, increasing $B$ if needed. Use \[ W=N/L^w,\quad \Delta=L^{-\zeta},\quad T_*=L^{2w+10}. \] In the coarse case use $W=Ne^{-2L^{9/10}}$, $\Delta=e^{-4L^{9/10}}$, $T_*=e^{5L^{9/10}}$. Round thresholds if necessary. In both regimes $W$ is smaller than all carriers in Lemma \ref{lem:carrier}; $T_*=o(\eta N/Y)$ with $\eta=L^{-7/100}$ in the coarse case. Also $NL^{-4}\Delta^2\gg Y+L$ (with ratio to $Y+L$ tending to infinity). If more than $\beta N/2$ of the denominators have $\|\xi/n+\theta\|\ge\Delta$, their entire integral contribution is negligible, by \eqref{eq:phasebound} and $\log Q\ll Y$. Otherwise the good-phase subset has cardinality at least $(1/2+\beta/2)N$. Apply the carrier construction for $s=1$ to this subset. In its fiber there are two cofactors $uW$, all these multiples are the same integer $x_s$. The common primes from Lemma \ref{lem:carrier} divide $x_s-x_{s'}$; their product exceeds $N>W$, forcing equality. Thus, writing $d'$ for the lcm of the good powers (or $1$ if there are none), $v'$ lies within $W/2$ of a multiple of $d'$. Modulo $Q$ this has measure at most $(W+1)Q/d'$, and $Q/d'\le N^j$. The $v'$ integration runs over $b'$ periods and the change of variables cancels that factor. With at most $N^j$ choices of bad powers, all contributions with $j\ge1$, including the $O(L^2)$ rational choices, are $O(L^2\sum_{j\ge1}N^{1-18j})$. This also proves the analogous one-dimensional bound by setting $b'=1,\theta=0$. If $j=0$, then $v'=hQ+O(W)$ for an integer $h$. For every good-phase denominator, \eqref{eq:rat} and $W/m=o(1)$ imply \[ hQ/n+a'\equiv0\pmod{b'}. \] Indeed, after multiplying the distance by $b'$, the error is bounded by $b'\Delta+O(W/m)+|b'\theta-a'|=o(1)$. The numerator $hQ/n+a'$ is an integer since $n\mid Q$, so the stated congruence follows. Since $a',b'$ are coprime, $h$ is invertible modulo $b'$. If a prime $\ell\mid b'$ also divides $Q$, then every good-phase denominator must have valuation $v_\ell(n)=v_\ell(Q)$, and there are at most $N/2$ of them. If $\ell\nmid Q$, multiplication by $n$ shows instead that all such denominators lie in one nonzero residue class modulo $\ell$, of size at most $N/2+1$. Both contradict their density. Thus $b'=1$, $\theta=o(W/N)$, and $\xi$ is within $W/2$ of zero in the chosen period. In the one-dimensional case this last conclusion follows immediately from $j=0$. On this central region all unwrapped phases are small. In two dimensions the normalized covariance $\operatorname{diag}(N,1)\Sigma\operatorname{diag}(N,1)$ is $\succeq cNL^{-4}I_2$: a positive-density set has two fixed positive-size subcollections in a fixed proportion of $[1,N]$ with separated denominators. For example, discard $n0$, and suppose every element has a prime divisor exceeding $z\ge2$. For either fixed choice $\vartheta\in\{1/100,1/20\}$ (with $1/100$ the default in this paper), there is a set $C\subseteq U\cap[c_\epsilon X,X]$ such that, with $\ell=\log X$ and $Q_C=\lcm(C)$, \begin{gather} |C|\asymp X\ell^{-\vartheta},\qquad R(C)\asymp_\epsilon\ell^{-\vartheta},\qquad \log Q_C\gg z\log z\,\ell^{-\vartheta},\label{eq:QC}\\ [R(C)/3,2R(C)/3]\cap Q_C^{-1}\Z\subseteq\{R(E):E\subseteq C\}.\label{eq:grid} \end{gather} All conclusions hold uniformly for large $X$ (depending on $\epsilon$). \end{lemma} \begin{proof} Discard $n<\epsilon X/4$, and choose $\floor{X\ell^{-\vartheta}}$ of the remaining integers. Remove all integers with a prime-power divisor greater than $Xe^{-12\ell^{9/10}}$, or with $\Omega(n)>20\log\ell$. The count removed is $O(X\ell^{-1/10})+o(X\ell^{-1/10})$ by \eqref{eq:primes}--\eqref{eq:moment}. Repeatedly remove all multiples of a power $s$ whose surviving nonempty pool has size less than $\ell^{-7/100}X/s$. Each power triggers at most once, with total count $O(X\ell^{-7/100}\log\ell)=o(X\ell^{-\vartheta})$. For both choices of $\vartheta$ the loss is $o(X\ell^{-\vartheta})$, the retained size is at least $X\ell^{-3/50}$ for large $X$, and the fixed lower endpoint $\epsilon X/4$ exceeds $X/\ell^{1/100}$ eventually. This leaves a coarse-regime pool for Lemma \ref{lem:LLT} at scale $X$. Its size and reciprocal mass have the asserted orders. Each prime exceeding $z$ divides at most $X/z$ of its elements, so the lcm contains at least $\gg z\ell^{-\vartheta}$ such distinct primes. This proves \eqref{eq:QC}. For any grid target in \eqref{eq:grid} use the uniform inclusion probability $R_{\rm target}/R(C)\in[1/3,2/3]$ and the one-dimensional part of Lemma \ref{lem:LLT}. \end{proof} In particular, if $p>X$, $\log Q_C\gg\log p$ with ratio tending to infinity, and $\log X=O(\log\log p)$, the consecutive grid numerators in \eqref{eq:grid} span every residue class modulo $p$, and also any additional fixed coprime modulus. More generally we may prescribe a numerator modulo an integer $d$ whenever $Q_CR(C)/d\to\infty$. We shall also use this with a composite power $d$; this is just counting consecutive integers, not a finite-field estimate for a composite modulus. This proves the precise sparse covering required below without invoking a cardinality-constrained version of \cite[Proposition 5.2]{LS}. \section{First-order phase transitions and stability}\label{sec:coarse} Let $N=M$ throughout, with $N\sim DK$ for a fixed $D>0$. The initial-segment deletion $[2,h+1]$ leaves at most the mass of the first $K$ available reciprocals, which is less than $\log(1+K/(h+1))$. Taking $h=\floor{AK}$ (intersecting with the vertex set if necessary) hits all edges. Deleting all multiples of $q$ prevents the lcm from being divisible by $b$, and costs $\floor{N/q}$. Finally, deleting the largest $h$ denominators forces every exact $K$-term sum to be at least $\sum_{n=N-h-K+1}^{N-h}1/n$, provided $K$ terms remain. The cost for making this exceed $r$ is $[N-D_*K]_++O_r(1)$; if fewer than $K$ terms remain the obstruction is automatic. These give the three first-order upper bounds. If $D0$. Then the pruned pool still has these properties (up to harmless smaller margins), provided the cutoff and pruning do not change the endpoints by more than $o(1)$. In the applications, removing $o(N)$ points only increases the minimum and decreases the maximum by at most $o(1)$ after the initial cutoff, or the endpoints are checked directly by rank comparisons. Set $p_n=L^{-4}+(1-2L^{-4})z_n$ for $z_n\in[0,1]$. The required fractional cardinality differs from $K$ by $O(NL^{-4})$, and the required reciprocal sum from $r$ by $O(L^{-4}R(P))$. The endpoint changes from this fractional cardinality shift are $O(L^{-4}/\rho)=o(1)$. The two target means lie within the interval of achievable weighted masses at that cardinality, by the extremal weight allocations and convexity. Apply the two-dimensional coarse completion lemma. \end{itemize} For clarity, these tests can always be applied with the top and bottom sums evaluated \emph{after} pruning, using the uniform rank estimates below; no bound on the reciprocal mass of the initial cutoff is needed. Write $h=|F|$. If $h$ is less than $\min(A,D/q)K$ by a fixed multiple of $K$, then the top available reciprocal sum is larger than $r$ by a fixed margin after the cutoff. If there are at least $K$ available denominators this follows from comparison with deleting the first $h+O(\rho N)$ integers; otherwise the sum of the entire available set is at least $\log(N/(h+O(\rho N)))+o(1)\ge\log q-o(1)>r$. Every target power $s\mid b$ has at least $N/s-h-O(\rho N)\gg N$ multiples. This proves the first lower bound. For exact length and $D>D_*$, the strict inequality $h<\min(A,D/q,D-D_*)K-\epsilon K$ ensures that at least $K$ denominators remain, and both capacities have fixed margins by the initial- and terminal-segment comparisons. The largest possible first-order cost is at most $(D-1)K/2$, since $\min(A,D-D_*)\le(D-1)/2$. Thus the remaining density exceeds $1/2$ by a fixed amount. The second test applies. The same rank comparisons after pruning remain valid, since the total cutoff and pruning count is $o(N)$. This proves the limits in Theorem \ref{thm:first}. At $D=D_*$ the upper bound gives $o(K)$ and hence the asserted limit. Here is the stability argument in a form that also applies when $D$ is approached along a sequence. Suppose a sequence of transversals has the first-order minimum cost plus $o(K)$. Pass to a subsequence on which each normalized distance to a template has a limit. If no minimizing template is at distance $o(N)$, every target power has $\gg N$ surviving multiples: failure would force $h\ge N/s-o(N)$, and consequently $s=q$ and the multiples template would be minimizing and at distance $o(N)$. For a pool with at least $K$ survivors, a displacement of $2d$ from the initial-segment deletion of the same size increases its top-$K$ mass by at least $\min(d,K)^2/N^2$. To see this, even the least favorable $\min(d,K)$ restored low denominators and displaced larger ones give a sum of reciprocal gaps at least $\sum_{j\le\min(d,K)}(2j-1)/N^2$. The corresponding terminal-segment displacement decreases the bottom-$K$ mass by the same amount. Both comparisons can be made after adding the initial cutoff and the coarse pruning to the deleted set, changing its size and template distances by $o(N)$. If fewer than $K$ survivors remain in the at-most case, the earlier $\log q>r$ margin suffices. Thus a nonminimizing template has a fixed margin automatically, and a minimizing but distant template yields a fixed margin by the displacement estimate. Both forcing tests now contradict transversality. This proves stability and finishes Theorem \ref{thm:first}. \section{Large-prime attacks and the cost of repairing them}\label{sec:cost} This section gives a deletion ledger for both the onset and the macroscopic second-order analysis. In the onset application $0Y). \] All these large primes exceed $\sqrt N$ and none divides $b$ when $N$ is sufficiently large. Their multiples form disjoint pools. We shall repeatedly use the scale integration rule \begin{equation}\label{eq:primeintegral} \sum_{p>Y}^{p\le N}\frac{g(v_p)}p=\delta\int_0^B g(v)\,dv+o(\delta) \end{equation} for bounded, fixed piecewise continuously differentiable functions $g$ (and interval indicators). Indeed Mertens and partial summation give $\int_0^B \lambda g(v)/(L-\lambda v)\,dv$ with error $O_g(1/L)$; the replacement of the integrand denominator by $L$ costs $O_B(\delta^2)$. Floors of $N/p$ introduce total error $O(\pi(N))=o(N\delta)$. \subsection{An explicit attack}\label{sec:attack} Put $f(v)=0$ for $v\le1$, $f(v)=\log v$ for $12$. The last part will only be used as a lower bound on repair failure cost. For $1N/L^v$ by deleting its multiples $pm\le N$ for which $m$ has a prime-power divisor exceeding $c_1 L$, with $c_1>0$ sufficiently small. Call the actual deleted set $E_v$ and the union of the entire attacked multiple pools $V_v$. If an exact sum $r$ avoiding $E_v$ used a nonempty set of multiples of such $p$, their cofactor reciprocal sum would vanish modulo $p$, since $p^2>N$ and $p\nmid b$. All its cofactors divide $Q_0=\lcm(1,\ldots,\floor{c_1L})$. But the numerator obtained with denominator $Q_0$ is positive and less than $p$: indeed $Q_0(1+\log L^v)N/(c_1L)$ give a \emph{free} attack of density $(1+o(1))\delta$: their entire pools are unusable without any deletions. A bounded Lipschitz weight $w$ has total weight over a $p$-pool equal to $(N/p)\int_0^1 w(t)dt+O_w(1)$, a direct Riemann sum estimate. Thus \eqref{eq:attackcost} applies to weighted benefits as well. \subsection{Marking damaged small powers}\label{sec:mark} Exclude an exceptional set $E_0$ consisting of $nY$ ($j\ge2$), and integers with $\Omega(n)>20\lambda$. Then \begin{equation}\label{eq:E0} |E_0|=o(N\delta) \end{equation} by \eqref{eq:moment}. Let $G$ be the complement of $E_0$, all large-prime multiples and the actual deletion set $F$. In a divisibility-template argument only, also exclude $q\N$ from $G$, temporarily; call a power allowed if it is not divisible by $q$ in that case, and otherwise allow all powers at most $Y$. Mark an allowed power $s\le Y$ as bad if $|G\cap s\N|<\eta N/s$ for a fixed sufficiently small $\eta>0$. Include zero-size pools in this definition. For each base prime retain only its lowest marked power, forming the pairwise coprime set $\mathcal B$. Let \[ T_s=\sum_{s\in\mathcal B}1/s,\qquad V_s=\bigcup_{s\in\mathcal B}(s\N\cap[1,N]),\qquad P=G\setminus V_s. \] (The notation $T_s$ here denotes a scalar total, not a separate quantity indexed by $s$.) We work either with $|F|=O(N\delta)$ (onset), or $F$ at distance $o(N)$ from a minimizing macroscopic template $F_0$. We claim $T_s=O(\delta)$ at onset and $T_s=o(1)$ for the macroscopic templates. For this purpose one must not assume uniform small exceptional losses for each power separately. Instead put $g(n)=\sum_{s\in\mathcal B}\ind_{s\mid n}$. Coprimality gives \[ \sum_{n\le N}g(n)^2\le N(T_s+T_s^2). \] In the onset case set $F_0=\varnothing$. Before excluding $E_0$ or the large primes, the surviving multiples of each allowed $s$ in the complement of $F_0$ have count at least $c_0 N/s-O(1)$ with fixed $c_0>0$: this holds for both segment templates, and for a multiples template it follows by subtracting the multiples of $\lcm(s,q)$, with ratio at most $1/2$ if $q\nmid s$. At onset take $c_0=1$. In the multiples-template case, excluding $q\N$ is already part of this comparison. Since all bad powers have fewer than $\eta N/s$ actual survivors, summing the lost multiples gives \[ (c_0-\eta-o(1))NT_s\le \sum_{n\in (F\setminus F_0)\cup E_0}g(n). \] Here the total large-prime overlap is at most $NT_s\sum_{p>Y}1/p=O_B(NT_s\delta)$ (the primes are coprime to all $s$); the floor errors are $O(|\mathcal B|)\le YT_s=o(NT_s)$. Cauchy--Schwarz and \eqref{eq:E0} now show $T_s\ll (|F\setminus F_0|+|E_0|)/N$, because this fraction is $o(1)$ and $\eta1/2$ by a fixed margin whenever that phase is active. \subsection{Large-prime failure versus sparse repair}\label{sec:large} Choose small fixed $\gamma,\epsilon>0$, and for each $p>Y$, put $x=N/p$ and $z_p=\max(L^{1+\gamma},\sqrt{x})$. Classify its pool as healthy if at least $\epsilon x$ cofactors $m$ have $pm\notin F\cup E_0\cup V_s$ and have a prime divisor greater than $z_p$. In the multiples-template case use this same test, including surviving $q$-multiples, rather than the restricted pool $G$. Denote the set of failed large primes by $\mathcal D$, and put \[ V_p=\bigcup_{p\in\mathcal D}(p\N\cap[1,N]),\qquad V=V_s\cup V_p,\qquad \omega=T_s+\sum_{p\in\mathcal D}1/p. \] In a healthy pool Lemma \ref{lem:sparse} supplies a reserve $C_p$ of size $O(x(\log x)^{-1/100})$, with all cofactors at least $c_\epsilon x$. Its lcm $Q_p$ satisfies $\log Q_p\gg z_p\log z_p(\log x)^{-1/100}\gg L$ with ratio tending to infinity, as $x\le L^B$ and $z_p\ge L^{1+\gamma}$. Thus it covers all residues modulo $p$, including after excluding a specified single seed if necessary, by constructing the reserve from the remaining fixed-density set. It can correct any chosen base subset disjoint from that reserve, by adding a subset whose reciprocal sum cancels the residue modulo $p$. The resulting block has no $p$ in its reduced denominator. In the nondivisibility cases all its other prime-power divisors occur in $Q$ by \eqref{eq:health}: every cofactor of an available $pm$ avoiding $E_0,V_s$ has its prime powers at most $Y$ and not divisible by any bad power. This includes the cofactor $1$. No assumption of lcm equality between the local reserve and the global pool is made. The reserves in distinct large-prime pools are disjoint from each other and from $P$. Since every healthy pool has $x\ge L^{1+\gamma}$, their total cardinality and reciprocal mass in the original scale are bounded by \begin{equation}\label{eq:repaircost} \sum_{p\ {\rm healthy}}|C_p|\ll_{\epsilon,B}N\delta\lambda^{-1/100}=o(N\delta),\qquad \sum_{p\ {\rm healthy}}R(p C_p)=o(\delta). \end{equation} The second estimate uses $pm\ge c_\epsilon N$ for each reserved denominator. This is why a bounded harmonic repair cost alone would not suffice for the present problem. For a failed $p$-pool, count all cofactors with a prime factor greater than $z_p\ge\sqrt{x}$. There is no overlap between distinct such primes. Mertens and floor errors show this count is at least $x(f(v_p)-O(\gamma)-o(1))$ uniformly; if the lower bound is negative it is trivial. For $v_p>2$, the bound $\log2$ follows from primes above $\sqrt{x}$, or loses at most $O(\gamma)$ if the other cutoff is larger. The number remaining is less than $\epsilon x$. In charging actual deletions exclude $V_s$ and charge exceptional losses separately. Using the disjointness of the large pools, \eqref{eq:E0}, and $|V_s\cap\bigcup_{p>Y}p\N|\le O_B(NT_s\delta)=o(N\delta)$, we obtain \begin{equation}\label{eq:failcost} |F\cap(V_p\setminus V_s)|\ge \sum_{p\in\mathcal D}(N/p)f(v_p)-O_B((\gamma+\epsilon)N\delta)-o(N\delta). \end{equation} Floors of counts, including when $x$ is small, are harmless by $O(\pi(N))=o(N\delta)$; all uses of Mertens for positive $f$ take place at $x\gg L$. By pairwise coprimality of $\mathcal B$ and disjointness of the large pools, uniformly in $0\le X\le N$, \begin{equation}\label{eq:distribution} |V\cap[1,X]|=\omega X+o(N(T_s+\delta)). \end{equation} Indeed the errors from small-small overlaps are $O(NT_s^2)$, from large-small overlaps $O_B(NT_s\delta)$, and from floors $O(YT_s+\pi(N))$. In the multiples-template case each bad power is coprime to $q$: an allowed power of the base of $q$ is fixed and has already been shown not bad. Thus $|V\cap q\N|\le (N/q)\omega$ in that case. \subsection{A common cost ledger}\label{sec:ledger} In either segment case or at onset, there are fewer than $\eta NT_s$ surviving nonexcluded small-power multiples in $G$. Summing over the marked powers, the union bound and \eqref{eq:E0} give \begin{equation}\label{eq:smallcost} |F\cap V_s|\ge (1-\eta-o(1))NT_s-o(N\delta). \end{equation} Indeed $|V_s|=NT_s+O(NT_s^2+YT_s)$, and the exceptional and large-prime exclusions in $V_s$ have count at most $|E_0|+O_B(NT_s\delta)$. In the multiples-template case we shall prove below, for a transversal, the analogous inequality with $2\eta$ in place of $\eta$. Given either such inequality with $j\eta$ ($j=1$ or $2$), for any fixed $0<\alpha'<\log2$ one has \begin{align}\label{eq:ledger} |F\cap V|-\alpha'N\omega\ &\ge (1-j\eta-\alpha'-o(1))NT_s\nonumber\\ &\quad-N\delta(e^{\alpha'}-1)-O_B((\gamma+\epsilon)N\delta)-o(N\delta). \end{align} To verify this, sum \eqref{eq:smallcost} (or its $j=2$ version) and \eqref{eq:failcost}. Optimize the negative contribution by including only the positive values of $\alpha'-f(v_p)$, then apply \eqref{eq:primeintegral}. The integral is \begin{equation}\label{eq:integral} \int_0^B (\alpha'-f(v))_+dv=\alpha'+\int_1^{e^{\alpha'}}(\alpha'-\log v)dv=e^{\alpha'}-1. \end{equation} We always take $B>2$. The term $(1-j\eta-\alpha')NT_s$ is strictly positive if $\eta$ is chosen small. In particular, the error $o(NT_s)$ in the ledger must be absorbed by this term, not treated as $o(N\delta)$ without justification. \section{Macroscopic second-order bounds}\label{sec:macro} We prove Theorem \ref{thm:macro}. All quantities $D,u$ are fixed in the limit. Write $N=\floor{DK+uK\delta_K}$, so $N\delta=(D+o(1))K\delta_K$ and $\delta\sim\delta_K$. \subsection{Upper bounds and comparison of scales} After the attack $E_v$ in Section \ref{sec:attack}, the effective vertices have density $d=1-v\delta$, with a uniform rank error $o(N\delta)$. On any interval bounded away from zero on the $N$ scale, partial summation gives the corresponding reciprocal sums with error $o(\delta)$. In particular: \begin{itemize}[leftmargin=1.5em] \item If the initial-segment branch is active, delete the smallest remaining $h$ vertices, with $h=K/(e^{r/d}-1)+o(N\delta)$, increasing the lower-order adjustment if necessary to make the maximal capacity strictly less than $r$. The corresponding maximal sum is $d\log(1+K/h)+o(\delta)$. There are enough denominators at that rank: $D\ge qA>A+1$. Thus the total attack cost is at most \[ AK-vcK\delta+N\delta J(v)+o(N\delta). \] \item Delete the remaining multiples of $q$, at cost $(N/q)(1-v\delta)+o(N\delta)$, in addition to $E_v$. This yields total cost at most $N/q-v(N/q)\delta+N\delta J(v)+o(N\delta)$. \item For exact length and active terminal branch, delete the largest remaining $h$ vertices. The minimal $K$-term mass is $d\log((dN-h)/(dN-h-K))+o(\delta)$, at $h=N-D_*K+O(N\delta)$. Its critical value occurs at $h=dN-K/(1-e^{-r/d})$. This is positive to first order since $D>D_*$. The total cost is at most \[ N-D_*K-v(N-cK)\delta+N\delta J(v)+o(N\delta). \] \end{itemize} Here the rank and mass comparisons follow by locating the boundary ranks to accuracy $o(N\delta)$ and applying partial summation; increasing $h$ by $\epsilon' N\delta$ produces a strict obstruction, and one may let $\epsilon'\downarrow0$ after taking the large-$N$ limit. This also avoids treating a capacity equality as a strict hitting condition. The relevant benefit parameters are $\alpha_1=c/D$, $\alpha_2=1/q$, and $\alpha_3=1-c/D$. Each active parameter is in $(0,\log2)$. For the first branch, $D\ge qA$ implies $c/D\le r/(q(1-e^{-r}))$; for $q\ge3$ this is at most $1/(3(1-e^{-1}))<\log2$, and for $q=2$ we use $r=1/2$ directly. For the third branch, $D_*Y}p^{-1}(1+\log(N/p))=O_B(\lambda^2/L)=o(1). \] The corrected blocks are disjoint from $P$, and $QR(C)\in\Z$. The remaining target is $r'=r-R(C)>0$, with $Qr'\in\Z$. For at most $K$ terms, first remove enough of the largest selected smooth denominators to compensate the added terms of $C$ and leave a count slack of a sufficiently small fixed multiple of $N\delta$. More explicitly, the slack can be chosen to be $\epsilon_0 N\delta$ with $\epsilon_0$ small in terms of the fixed capacity margin, plus $|C|-|C_0|$. Such removals cost $O_r(\epsilon_0\delta)+o(\delta)$ reciprocal mass: since the original top set has $K\asymp N$ elements, a positive fraction of its smooth elements have denominators $\gg N$. Denote the resulting smooth set by $S_1$. Give every denominator in $P\setminus S_1$ probability $L^{-4}$, and those of $S_1$ a common parameter in $[L^{-4},1-L^{-4}]$. The mean reciprocal sum can be set to $r'$ because the extreme means are below and above it (the floor-probability mass is $o(\delta)$). The mean number selected is at most $K-|C|-\tfrac12\epsilon_0N\delta$. The probability of exceeding $K-|C|$ is $e^{-\Omega(N\delta^2)}$ by Hoeffding's inequality~\cite{Hoeffding}, which is $o(Q^{-1})$ since $B>2$. Lemma \ref{lem:LLT} gives exact reciprocal mass with probability at least a constant times $Q^{-1}$, so the two requirements intersect. This proves the at-most forcing. For exactly $K$ terms put $K'=K-|C|$. Remove precisely $|C|-|C_0|$ of the largest denominators from the original smooth part of $S_0$, leaving $K'$ smooth terms. The removed mass is $o(\delta)$, preserving the required upper-end or lower-end margin for $r'$. In the initial-template case the opposite (minimum) endpoint has a fixed margin: the full upper tail after deleting the initial segment remains essentially intact, and $D\ge2A+1>D_*$. Thus $\log(D/(D-1))0$ such that a positive proportion of these cofactors have a prime factor above $X^\nu$. To see this without a density assertion about the adversary, first discard $m0$. The sum of $\log s_{X^\nu}(m)$ over $m\le X$ is $O(\nu X\log X)$, so the count of $X^\nu$-smooth $m\ge c'X$ is $O(\nu X)$ by Markov. Choose $\nu$ small in terms of the density. This leaves a positive-density eligible set. Apply Lemma \ref{lem:sparse} to this set to obtain a reserve $C$. Fix $B$ in advance sufficiently large that $B\nu>2$. Then $\log Q_C/L\to\infty$ by \eqref{eq:QC}. The cofactor lcm has the form $Q_C=\ell^k D_C$, with $D_C$ coprime to $\ell$ and $D_C\mid Q_0$, where $Q=\ell^{a-1}Q_0$. Indeed the base $p$ has been stripped entirely and no other bad base divides any cofactor to its marked exponent; all other powers are allowed and appear in $Q$. To cancel the extra $s'$ and match the target $\ell$-adic part, prescribe a grid numerator $j_0=s'z_0$ satisfying \begin{equation}\label{eq:crt} z_0 Q_0/D_C\equiv \ell^{k-a+1}Qr\pmod{\ell^{k-a+1}}. \end{equation} The right side is an integer, and the coefficient on the left is a unit modulo $\ell$. This restricts $j_0$ to a progression of modulus $s'\ell^{k-a+1}=O_{r,\eta}(N)$, whereas the grid interval contains $\gg Q_C(\log X)^{-1/100}$ consecutive numerators, much larger than this modulus. Pick one by \eqref{eq:grid}, giving $R(E)=j_0/Q_C$ for $E\subseteq C$. For $S_*=s'E$ we then have $R(S_*)=z_0/Q_C$ and \eqref{eq:crt} implies \eqref{eq:adicgoal}. In addition $|S_*|=O(X(\log X)^{-1/100})=o(N)$ and $R(S_*)=O((\log X)^{-1/100}/s')=o(1)$. It is disjoint from $P$ because every member is divisible by $q$. \subsection{Corrections from nonexcluded target multiples} Any nonexceptional smooth $q$-multiple outside $F\cup V_s$ has $Q/n\bmod1$ a nonzero element of an $\ell$-power-order subgroup of $\mathbb Q/\mathbb Z$, with order bounded by a fixed power of $L$ (since $\Omega(n)\le20\lambda$). Its non-$\ell$ powers all divide $Q$. If at least $\epsilon_1 N\delta$ such denominators survive for some fixed $\epsilon_1>0$, there are more than any fixed power of $L$ of them. By pigeonholing among at most a fixed power of $L$ classes, one can choose a number of distinct equal-class denominators, itself at most a fixed power of $L$, whose class sum is $Qr\bmod1$. This uses the fact that every nonzero cyclic $\ell$-power subgroup contains the entire subgroup of order $\ell$. Since $n\ge N/L^3$ their mass is $o(1)$, proving \eqref{eq:adicgoal}. Suppose instead that at least $\epsilon_1 N\delta$ nonexcluded $q$-multiples belong to healthy large-prime pools. There are at least $\epsilon_1N\delta/L^B$ distinct such pools. Choose one seed $pm$ from each, and construct the reserve $C_p$ excluding the seed (Section \ref{sec:large}). Prescribe a numerator $j$ for $R(E)=j/Q_p$ with \[ 1/m+j/Q_p\equiv0\pmod p. \] This is a valid condition since $p\nmid mQ_p$. We may also require that the $\ell$-valuation of the reduced denominator of $1/m+j/Q_p$ be at least $a$. To check it, put $k=v_\ell(m)\ge a$, $k'=v_\ell(Q_p)$. If $k>k'$, cancellation of that leading denominator is impossible. If $k\le k'$, prescribe $j$ modulo $\ell$ to keep the numerator at common denominator $\lcm(m,Q_p)$ a unit modulo $\ell$; exactly one residue is forbidden because the coefficient of $j$ is an $\ell$-unit. The CRT with the modulus $p$ is valid and the grid interval spans all needed residues by \eqref{eq:QC}. After dividing by $p$, the block $B_p=\{pm\}\cup pE$ has nonzero class $QR(B_p)\bmod1$ of bounded polylogarithmic $\ell$-power order. All other denominator primes and powers divide $Q$: the $p$ factor has been canceled, and other bad powers were excluded in both the seed and reserve. These blocks are pairwise disjoint, each of polylogarithmic length, and with denominators at least $N/L^3$. There are more than any fixed power of $L$ of them. The same pigeonhole argument on their classes yields \eqref{eq:adicgoal}, with total length polylogarithmic and total mass $o(1)$. Unlike the first two constructions, some correction terms within these blocks need not be $q$-multiples; the entire blocks nevertheless remain outside $P$ because they contain the factor $p>Y$. This is sufficient for disjointness. \subsection{Why the correction defeats a transversal} For a multiples-template transversal any successful $S_*$ as above yields a contradiction. The remaining $r'=r-R(S_*)\to r$ is allowed by $Q$. The smooth non-$q$ pool differs by $o(N)$ points from the fixed-density periodic non-$q$ integers. Hence there is a fixed-proportion low interval with more than $r+1$ reciprocal mass but fewer than $K/2$ denominators, obtained by taking its upper endpoint sufficiently small and then its lower-to-upper ratio sufficiently small. This is enough for at-most forcing using the one-dimensional lemma, floor probabilities $L^{-4}$ and a linear cardinality slack, as in Section \ref{sec:segmentforcing}. For exact length let $d_q=1-1/q$. Since the divisibility branch is active we have $d_qD\ge D_*$. For $K'=K-|S_*|=K-o(N)$ the minimum mass in the non-$q$ template complement tends to \[ d_q\log\frac{d_qD}{d_qD-1}\le d_q rN/2$ by a fixed margin. In either edge family we obtain a representation contradicting that $F$ hits all edges. Consequently the first resource cannot occur for a transversal: each bad small-power pool has fewer than $\eta N/s$ surviving smooth $q$-multiples. By definition it has fewer than $\eta N/s$ surviving smooth non-$q$ multiples. The proof of \eqref{eq:smallcost} now gives its version with $2\eta$ in place of $\eta$, including the same exception and overlap errors. Also by the other two constructions \begin{equation}\label{eq:targetleft} |(q\N\cap[1,N])\setminus(F\cup V\cup E_0)|=o(N\delta). \end{equation} If this were false along a subsequence then a fixed positive multiple of $N\delta$ would survive in one of the two resources. Thus, using coprimality of all bad powers with $q$, \[ h\ge N/q+|F\cap V|-(N/q)\omega-o(N\delta). \] The ledger \eqref{eq:ledger} with $j=2$ and $\alpha'=1/q$ applies. Its small-power term is positive for sufficiently small $\eta$, giving \[ h\ge N/q-N\delta(e^{1/q}-1)-O_B((\gamma+\epsilon)N\delta)-o(N\delta). \] Choose the fixed $B$ after $\eta$ and the carrier parameters, but before $\gamma,\epsilon$. The small-power correction above only requires $B\nu>2$ for $\nu$ depending on $r,\eta$; it introduces no dependence on $\gamma,\epsilon$. Taking their limits after $N\to\infty$ gives the required matching lower bound. Together with both segment bounds this proves Theorem \ref{thm:macro}. Strict separation between minimizing second-order costs excludes the higher-cost template subsequences, proving the asserted second-order template selection. \section{The onset window: weighted loss and a budget constraint}\label{sec:onset} We now prove Theorem \ref{thm:onset} for each fixed rational $0 (u/D_*)N\delta$, and \eqref{eq:response} rules out all exact representations. For $u=u_0$ attack up to $v>1$ arbitrarily close to $1$. For $u_0Y}\frac{(\alpha-\mu f(v_p))_+}{p}+O_B(\mu(\gamma+\epsilon)N\delta)+o(N\delta). \] Use \eqref{eq:primeintegral} and the integral in \eqref{eq:Phi}. Overlap of the two virtual sets only decreases the weight, so we have proved \begin{equation}\label{eq:weightedledger} \mathcal W(F\cup V)\le \mu |F|+N\delta\,\mu(e^{\alpha/\mu}-1) +O_B(\mu(\gamma+\epsilon)N\delta)+o(N\delta). \end{equation} All estimates are uniform for $F$ in the budget. Given a fixed error tolerance, choose $\mu$ first to approximate the infimum in \eqref{eq:Phi} (a large finite $\mu$ is sufficient at $H=0$). Choose the fine carrier parameters and $B$ for fixed $\eta$; these are independent of $\gamma,\epsilon$. Then choose $\gamma,\epsilon$ sufficiently small and take $N$ sufficiently large. It follows that the right side of \eqref{eq:weightedledger} can be made at most $(\Phi(H)+\text{tolerance})N\delta$. This order of choices is essential; no uniformity in unbounded $\mu$ or vanishing local density is claimed. This proves the needed bound for the actual adversary, rather than only for whole-pool attacks in an abstract optimization. \subsection{Exact-length forcing below the budget boundary}\label{sec:onsetforce} Suppose $\Phi(H)0$. All of $S_0$ lies above a fixed positive proportion of $N$ (the rank of its smallest member is at least $N-K-O(N\delta)\sim sN$). Split off the selected large-prime portion $C_0$ and correct it with the reserved cofactors, keeping the original selected terms and adding the terms that cancel each large prime. The corrected union $C$ avoids $F$ and is disjoint from $P$; $QR(C)\in\Z$, by the precise cofactor lcm implication in Section \ref{sec:large}. The total number of terms of $C$ is $O_B(N\delta)$, and $R(C)=O_B(\delta)$ here since both the selected terms and added terms lie on the scale $N$. Set \[ K'=K-|C|,\qquad r'=r-R(C). \] Both $K'$ and $Qr'$ are integers. Indeed $QR(C)\in\Z$ by the cofactor-lcm implication and cancellation modulo each large prime; $Qr\in\Z$ by the preceding argument (for the unit target, $Qr=Q$). Moreover $K'/N\to1/D_*\in(0,1)$ and $r'=r-O(\delta)>0$, so both targets are in the stated range for large $N$. The extra terms in the correction have count $o(N\delta)$ and mass $o(\delta)$. Remove exactly that many terms from the original smooth part of $S_0$ (there are $K-O(N\delta)$ such terms). The remaining smooth set has $K'$ terms, and together with $C$ its reciprocal sum is less than $r-c_3\delta+o(\delta)$. Thus \begin{equation}\label{eq:onsetL} L_P(K')\le r'-\tfrac12 c_3\delta. \end{equation} The upper endpoint has a fixed positive margin. To see this, fix a sufficiently small $c_2>0$ so that $c_2Nr+2$. The interval $[c_1N,c_2N]$ has fewer than $K'/2$ points but reciprocal mass exceeding $r+1$ in $P$ for large $N$: only $o(N)$ vertices are missing from it. Complete to $K'$ vertices using other members of $P$, possible because $K'/N\to1/D_*<1$ and $|P|=N-o(N)$. Therefore $U_P(K')>r'+c_4$ with fixed $c_4>0$. Now impose the probability floor $p_*=L^{-4}$ and write $p_n=p_*+(1-2p_*)z_n$. The desired means $\E T=K'$, $\E Z=r'$ correspond to fractional cardinality and weight \[ k_z=(K'-p_*|P|)/(1-2p_*),\quad R_z=(r'-p_*R(P))/(1-2p_*). \] The cardinality shift is $O(NL^{-4})$ and the reciprocal shift is $O(L^{-4}(1+R(P)))=O(L^{-3})$. Since every denominator is at least $N/L^3$, the extremal masses at size $k_z$ differ from those at $K'$ by at most $O(L^{-1})=o(\delta)$. Thus \eqref{eq:onsetL} and the fixed opposite margin allow a convex combination of the minimum and maximum fractional allocations to attain $R_z$. Lemma \ref{lem:LLT} now applies in the fine two-dimensional regime, with $|P|=N-o(N)$, $Qr'\in\Z$ and $K'\in\Z$, and gives positive probability of simultaneously attaining $(r',K')$. In particular, no assumption that each large-prime repair preserves its length has entered the proof. Appending $C$ yields an exact $K$-term representation avoiding $F$. We have shown that every deletion budget $HN\delta$ with $\Phi(H)u_0$, $\Phi$ is continuous and strictly increasing, so take any $H$ below $\Phi^{-1}(u/D_*)$ and then approach that endpoint. This proves the matching lower bound $D_*\Phi^{-1}(u/D_*)$ on the $K\delta_K$ scale. For $u\le u_0$, nonnegativity and the upper bound already give the limit zero. This proves Theorem \ref{thm:onset}, including $r=1$. In particular the unit-target extension uses neither a largest prime power of $1$ nor a limiting argument through proper rational targets. \section{Minimum heights, regularity and remaining problems}\label{sec:cor} \begin{proof}[Proof of Corollary \ref{cor:martin}] Fix $\epsilon>0$. Theorem \ref{thm:onset} gives eventual emptiness below $u_0-\epsilon$ and a positive limiting normalized transversal number above $u_0+\epsilon$. In particular an edge exists at the latter height. The edge family grows monotonically with height, so these two heights sandwich the minimum, and $\epsilon\downarrow0$ proves \eqref{eq:martin}. For a fixed positive $\beta$ the function in \eqref{eq:onset} has a unique positive-level inverse. Apply the same strict sandwich to the level $\beta$; the integer rounding of the budget is $o(K\delta_K)$. At $\beta=0$ use the just-established existence threshold, not an inverse of the entire zero plateau. The claimed inverse is then obtained from \eqref{eq:Phi}. Finally $J(1+t)=t^2/2+O(t^3)$ proves the square-root expansion. At $r=1$ we have $A=1/(e-1)$, $D_*=e/(e-1)$ and $\alpha=(e-2)/(e-1)$; hence $D_*\alpha=e(e-2)/(e-1)^2$, as in \eqref{eq:martinunit}. The two strict sandwiches apply to this fixed target directly. \end{proof} Some further consequences concern the shape of the limit, rather than a finer uniform estimate. The derivative of the middle piece of $\Psi_r$ is $(D_*/u_0)\log(u/u_0)$, tending to zero at $u_0$ and to one at $u_1$. Thus the function is continuously differentiable and not twice continuously differentiable at either junction. Near the first junction, \[ \Psi_r(u_0+\varepsilon)=\frac{D_*}{2u_0^2}\varepsilon^2+O_r(\varepsilon^3),\quad \varepsilon\downarrow0. \] This is a statement about the limiting function. It does not justify predicting constant-sized transversals at distance $\sqrt{K\delta_K}$ from $D_*K+u_0K\delta_K$: the present remainder can be much larger and the true finite-scale center can drift. For the macroscopic phase junctions, set $C_i(D)=D(e^{\alpha_i}-1)$. Comparing the active second-order functions gives the following offsets from the respective first-order junctions, when those junctions are active: \begin{align*} D_{21}=qA,&\quad u_{21}=q(C_2(D_{21})-C_1(D_{21})),\\ D_{32}=qD_*/(q-1),&\quad u_{32}=\tfrac q{q-1}(C_3(D_{32})-C_2(D_{32})),\\ D_{31}=2A+1,&\quad u_{31}=C_3(D_{31})-C_1(D_{31}). \end{align*} These are comparisons of limiting costs within the $K\delta_K$ windows. They do not assert finite-size uniqueness of the transition or the exact shape of the optimal deletion set. The active-template stability proved above is macroscopic; a description of the microscopic distribution of actual deletions inside each failed pool is still a further question. \section{Uniform deficit and quantitative stability at larger heights}\label{sec:wide} The preceding macroscopic second-order formula assumes a fixed proper rational and a fixed linear height window; the exact-length onset result allows a fixed rational $00$ in lowest terms, $a_r=e^r-1$, $\alpha_r=1/a_r$, and $\Delta_r(K;M)=K/a_r-\tau_K(r;M)$. The definition of the at-most-$K$ edge family is unchanged. \begin{theorem}[Transversal deficit]\label{thm:wide} For every fixed positive rational $r$ there exists an integer $D_r\ge2$ such that, for every fixed $0<\epsilon<1$, uniformly over integers \[ D_rK\le M\le K\exp((\log K)^{1-\epsilon}), \] one has \begin{equation}\label{eq:trans} \Delta_r(K;M)\asymp_{r,\epsilon} \frac{K\log\log K}{\log K} \end{equation} as $K\to\infty$. In particular this holds at $M=D_rK$ and at $M=\lfloor CK\log K\rfloor$ for every fixed $C>0$ (with constants allowed to depend on $r,C$). \end{theorem} \begin{theorem}[Stability]\label{thm:widestab} For $M\ge D_rK$, every minimum transversal $F$ satisfies \[ |F\triangle[2,1+\lfloor K/a_r\rfloor]| \ll_r K\sqrt{\frac{\log\log K}{\log K}}. \] \end{theorem} \subsection{A protected high reservoir} We only require a specialized form of reservoir pruning, rather than the more general weighted local limit theorem with arbitrary deterministic weights. \begin{lemma}[Uniform prefix loss and reservoir health]\label{lem:protected} Fix $b_0\ge1$. There are constants $B>0$, $\eta_0>0$, $C_1>0$ and an absolute $C_2>0$ such that the following holds for large $N$. Write $L=\log N$, $\lambda=\log L$, $\delta=\lambda/L$ and $Y=N/L^B$. If $F\subseteq[2,N]$ has $h_H=|F\cap(N/2,N]|\le\eta_0N$, there is $G\subseteq[1,N]$ with \begin{equation}\label{eq:loss} |[1,X]\setminus G|\le C_1X\delta+C_2Xh_H/N\qquad(1\le X\le N). \end{equation} For $H=G\cap(N/2,N]\setminus F$ and $Q=\lcm(H)$, we have $|H|\gg N$, $b_0\mid Q$, $n\mid Q$ for all $n\in G$, and $\log Q\ll Y$. For every $A\subseteq G\cap[N/L^2,N/2]\setminus F$, the one-dimensional conclusion of Lemma~\ref{lem:LLT} holds on $P=A\cup H$ with parameters in $[L^{-4},1-L^{-4}]$ and with this $Q$. \end{lemma} \begin{proof} Choose a fixed small threshold $\eta=1/16$. First exclude $E$, the integers with a prime-power divisor above $Y$ or with $\Omega(n)>20\lambda$. By Mertens' estimate and \eqref{eq:moment}, uniformly for $1\le X\le N$, \[ |E\cap[1,X]|\ll_B X\delta. \] Indeed the first exclusion is bounded by $X\sum_{Y2+\alpha_r$ and choose an integer $D_r$ so large that \begin{equation}\label{eq:D} D_r>2D_1,\qquad C_2 D_1/D_r\le1/2,\qquad \alpha_r/D_r<\eta_0. \end{equation} Take $N=D_rK$, and suppose $F\subseteq[2,N]$ has size $h\le\alpha_r K-C_r K\delta$ with a constant $C_r$ to be specified. Put $h_H=|F\cap(N/2,N]|$. Lemma~\ref{lem:protected} applies. At scale $N$ use $L=\log N$, $\lambda=\log L$ and $\delta=\lambda/L$. Let $X=D_1KJ_K)\le\left(\frac{e\E Z_H}{J_K}\right)^{J_K}\le e^{-J_K}=o(Q^{-1}). \] Indeed $J_K/(N/L^2)\to\infty$ and $J_K\gg\log Q$ in the sense $J_K/ (N/L^B)\to\infty$. Lemma~\ref{lem:protected} gives exact mass with probability asymptotic to $1/(Q\sqrt{2\pi\operatorname{Var}Z})$, where $Z$ is the sampled reciprocal sum. Since $\operatorname{Var}Z\le N/(N/L^2)^2=o(1)$, the probability is at least $1/Q$ for large $N$, while the failure probability above is $o(1/Q)$. Hence there is an outcome $S\subseteq A\cup H$ with $R(S)=r$ and $|S|\le k_0+J_K=K$. It avoids $F$ and its height is at most $N$. Consequently \begin{equation}\label{eq:lower} \tau_K(r;D_rK)\ge \alpha_r K-O_r(K\log\log K/\log K). \end{equation} By monotonicity in the height, this lower bound holds for every $M\ge D_rK$. \subsection{Matching obstruction throughout the growing-height range} We prove the upper bound on $\tau_K(r;M)$ in Theorem~\ref{thm:wide} throughout its stated height range. Write $\ell=\log K$ and fix $0<\epsilon<1$. Consider primes \[ \mathcal P=\{p:K/\ell^{\epsilon/2}\le p\le K/\ell^{\epsilon/4}\}. \] For large $K$, they do not divide $b$, and $pq>M$ for every $p,q\in\mathcal P$, including $p=q$, because $M\le K\exp(\ell^{1-\epsilon})=K^{1+o(1)}$. If an exact representation $S$ contains $s>0$ multiples $pm_1,\ldots,pm_s$ of $p$, then $p\nmid m_i$ and multiplication of $R(S)=r$ by $p$, followed by reduction modulo $p$ in the localization of $\Z$ at $p$, gives $\sum_i m_i^{-1}\equiv0\pmod p$. Hence $p$ divides the positive integer $U=\sum_i\prod_{j\ne i}m_j$. Since $m_i\le M/p$, for $s\le\ell^\epsilon/4$ we have \[ \log U\le\log s+(s-1)\log(M/p)\le(1/4+o(1))\ell<\log p. \] This is impossible, so $s>\ell^\epsilon/4$ whenever $s>0$. Among integers at most $h+2K+1$ with $h\asymp_r K$, only $O_r(\ell^{\epsilon/2})$ are multiples of $p$; hence a representation using $p$ must contain $\gg\ell^\epsilon$ larger multiples of $p$. For $h\asymp_r K$, delete $F_h=[2,h+1]$ and let $B_h=[h+2,h+K+1]$, $v=(h+K+1)^{-1}$, $I=[h+2,h+1+\lfloor K/2\rfloor]$. For any representation avoiding $F_h$ with $|S|\le K$, the identity \begin{align}\label{eq:gap} R(B_h)-R(S)={}&\sum_{n\in B_h\setminus S}(1/n-v) +\sum_{n\in S\setminus B_h}(v-1/n)\notag\\ &+(K-|S|)v \end{align} has nonnegative terms. For each $p\in\mathcal P$ there are $t_p=|I\cap p\N|\asymp K/p$ integers of $I$ divisible by $p$. If $S$ omits all multiples of $p$, their contribution in the first sum of \eqref{eq:gap} is $\gg_r t_p/K$. Otherwise the second sum contains $\gg\ell^\epsilon$ multiples of $p$ above $h+2K+1$, each contributing $\gg_r 1/K$. As $t_p=O(\ell^{\epsilon/2})$, the latter cost is also $\gg_r t_p/K$. No denominator is counted twice across these primes. It follows that \[ R(B_h)-r\gg_r\sum_{p\in\mathcal P}p^{-1}\asymp_\epsilon \frac{\log\ell}{\ell}. \] The last estimate follows from \eqref{eq:primes}, with main term $(\epsilon/4)\log\ell/\ell$. Now take $h=\lfloor\alpha_rK-c_{r,\epsilon}K\log\ell/\ell\rfloor$. Then $R(B_h)-r=O_r(c_{r,\epsilon}\log\ell/\ell+1/K)$ by harmonic-sum comparison. Choosing $c_{r,\epsilon}>0$ small enough contradicts the preceding lower bound if $S$ exists. Thus $F_h$ is a transversal and the matching upper bound follows. Together with \eqref{eq:lower}, this proves Theorem~\ref{thm:wide}. \subsection{Quantitative stability} Let $M\ge D_rK$, let $F$ be a minimum transversal of size $h$, and put $N=D_rK$, $X=D_1K$. Apply the same construction to $F\cap[2,N]$, using $L=\log N$ and $\delta=(\log L)/L$. From the basic upper bound and \eqref{eq:lower}, $h=\alpha_rK+O_r(K\delta)$. Let $h_{\rm out}=|F\setminus[2,N]|$, and define $h_H$ as above. Equation \eqref{eq:budget} now gives $d_F\le h-h_{\rm out}-h_H/2+O_r(K\delta)$. If $d_F\le\alpha_rK-C'K\delta$ with $C'$ as in the linear-height construction, the construction produces a representation avoiding $F$, impossible. Consequently $h_{\rm out}+h_H=O_r(K\delta)$ and the extra exclusions in $[1,X]$ from \eqref{eq:loss} number $O_r(K\delta)$. Choose an integer $h' = h+O_r(K\delta)$ with $h'\ge d_F$ and $h'\ge h$. Put $d=|[2,h+1]\setminus F|$, and let $d'$ be the number of good, non-forbidden integers in $[J_K,J_K+h'-1]$. Translating endpoints and removing the extra excluded integers costs $O_r(K\delta)$, so $d'\ge d-O_r(K\delta)$. Take $t=\min\{d',k_0\}$. Since at most $h'$ integers of $[2,X]$ are excluded, the $k_0$ smallest available integers in $[J_K,X]$ have reciprocal mass at least \begin{align*} R(A)&\ge\sum_{n=J_K+h'}^{J_K+h'+k_0-1}\frac1n +\sum_{j=1}^t\left(\frac1{J_K+h'-j}-\frac1{J_K+h'+j-1}\right)\\ &\ge\log\frac{h'+K}{h'+J_K}+\frac{t^2}{X^2}\ge r-O_r(\delta)+\frac{t^2}{X^2}. \end{align*} For clarity, if $d'0$. For $r=a/b>0$ in lowest terms let $\mathcal Q_b$ denote the highest prime power $p^{v_p(b)}$ for each prime $p\mid b$; when $b=1$ this set is empty. Assume for every $q\in\mathcal Q_b$ that the density \[ d_q=\lim_{X\to\infty}\frac{|\mathcal A\cap q\N\cap[1,X]|}{X} \] exists. For $M\ge2$ define $\tau_{K,\mathcal A}(r;M)$ as the smallest number of deleted vertices in $\mathcal A\cap[2,M]$ hitting every subset $S$ of that family with $|S|\le K$ and $R(S)=r$, where $R(S)=\sum_{n\in S}1/n$. The transversal number of an empty edge family is zero. \begin{theorem}[First-order height formula]\label{thm:restricted} Fix $D>0$. With the convention $\min_{q\in\varnothing}d_q=+\infty$, we have \begin{equation}\label{eq:restricted} \lim_{K\to\infty}\frac{\tau_{K,\mathcal A}(r;\lfloor DK\rfloor)}{K} =\min\left\{\frac1{e^{r/d}-1},\ dD e^{-r/d},\ D\min_{q\in\mathcal Q_b}d_q\right\}. \end{equation} \end{theorem} The middle branch is essential for general targets. In the full integer family, for $0e^r$. For arbitrary $r>0$, and in particular for integer targets, the finite total reciprocal mass must be retained in the formula. This first-order statement uses natural densities only, not a specific distribution in short intervals. It is complementary to Martin's prescribed-length theorem \cite{Martin} and the positive-density reciprocal sum tools of Bloom and Liu--Sawhney \cite{Bloom,LS}. It does not follow merely by replacing each integer with its average-density analogue in an exact-cardinality result. \subsection{A pruned exact grid}\label{sec:grid} The coarse completion lemma above provides the precise grid input needed for arbitrary fixed families, without invoking a stronger external proposition about exact rational sums. \begin{lemma}[Pruned rational grid]\label{lem:grid} Fix $c,c'>0$. Let $X\to\infty$, $l=\log X$, and $A_0\subseteq[cX,X]\cap\N$ have size at least $c'Xl^{-1/20}$. One can remove $o(Xl^{-1/20})$ elements to obtain $A$ such that, writing $Q=\lcm(A)$, every $u\in Q^{-1}\Z$ with \[ R(A)/\log X\le u\le R(A)/(1+1/\log X) \] is a reciprocal subset sum of $A$. In particular the central third of the reciprocal-mass interval is filled at its grid points. \end{lemma} \begin{proof} Apply the arithmetic exclusions and iterative power pruning from the proof of Lemma~\ref{lem:sparse} directly to $A_0$, without downsampling or a large-prime-factor condition. Those steps use neither condition. Their total loss is $O(Xl^{-1/10}+Xl^{-7/100}\log l)=o(Xl^{-1/20})$. Thus the remaining size is at least $(c'/2)Xl^{-1/20}\ge Xl^{-3/50}$, and the fixed lower endpoint $cX$ exceeds $X/l^{1/100}$ eventually. The arithmetic restrictions and all local density conditions of the coarse regime hold. For an admissible $u$ set $p_n=u/R(A)$ on every member; then $l^{-4}\le p_n\le1-l^{-4}$ for large $X$, and $Q\mathbb E Z=Qu\in\Z$. The scalar conclusion of Lemma~\ref{lem:LLT} gives positive probability of the exact target. \end{proof} \subsection{Proof of the height formula} Let $N=\lfloor DK\rfloor$, and denote the right side of \eqref{eq:restricted} by $C_*$. \subsubsection{Necessary bounds} Order the elements of $\mathcal A\cap[2,\infty)$ as $a_10$ and $k_0>0$, if there are enough elements, the reciprocal sum of ranks $\lfloor h_0K\rfloor+1$ through $\lfloor(h_0+k_0)K\rfloor$ tends to $d\log(1+k_0/h_0)$, by uniformity of $a_j/(j/d)\to1$ for $j\asymp K$ and harmonic-sum estimates. For the first branch, delete the smallest $(1/(e^{r/d}-1)+\epsilon)K$ available denominators, or all vertices if fewer exist. The largest possible $K$-term reciprocal sum of survivors is less than $r$ for large $K$: if there are fewer than $K$ survivors it is bounded by the sum of the next $K$ ranks in the infinite family. This proves the first upper bound after $\epsilon\downarrow0$. For the second branch, delete the smallest $(dD e^{-r/d}+\epsilon)K$ vertices (take $\epsilon$ small enough that this is below $dDK$). The total reciprocal mass remaining tends to at most $d\log(dD/(dD e^{-r/d}+\epsilon))0$. \subsubsection{Constructing a small candidate set with the right lcm} Fix $0<\epsilon0$. Choose sufficiently small $s>0$ so that excluding all $n0$ sufficiently small and reserve $\lceil\rho K\rceil$ such multiples for each $q$, taking their union $B_0$ (the choices need not be disjoint). Let $t_b=|\mathcal Q_b|$. Thus $|B_0|\le t_b\lceil\rho K\rceil$; each reserved class contains at least $\rho K$ elements. If $b=1$ reserve nothing. Complete this union with the smallest available elements of $U\setminus B_0$ until its size reaches $K$ or $U$ is exhausted; call the result $A_0$. The set $A_0$ contains all of the first $k$ ranks of $U$ where $k=\min(\lfloor(1-2t_b\rho)K\rfloor,|U|)$ (for $b=1$ use $k=\min(K,|U|)$). Indeed each such rank is either reserved or among the first $K-|B_0|$ unreserved ones. The reciprocal mass is consequently at least that of the corresponding worst-case rank interval after deleting $\lfloor h_0K\rfloor+1$ smallest members of the finite family. More explicitly, let $j_0=\lceil h_0K\rceil$. The interval of ranks \[ j_0+1,\ldots,\min\{|\mathcal A\cap[2,N]|,j_0+\lfloor(1-2t_b\rho)K\rfloor\} \] provides a lower bound by rearrangement: the survivor rank $j$ is at most $j_0+j$, and the total number of survivors is at least the size of that rank interval. Hence \begin{equation}\label{eq:mass} \liminf R(A_0)\ge d\log\frac{\min(dD,h_0+1-2t_b\rho)}{h_0}. \end{equation} At $\rho=0$, the right side strictly exceeds $r$, because $h_0r$ with a fixed surplus, and each reserved class still contains some member. Consequently $b\mid Q=\lcm(A)$ (all highest prime powers are present). The upper bound $R(A)=O_{s,D}(1)$ follows from the proportional denominator interval. For sufficiently large $K$, \[ R(A)/\log N\le r\le R(A)/(1+1/\log N). \] The target is a legal rational grid point, since $Qr$ is integral. Lemma~\ref{lem:grid} gives $S\subseteq A$ with $R(S)=r$. It automatically has at most $K$ members, avoids $F$, belongs to $\mathcal A$, and has height at most $N$. This proves the lower bound for every fixed $\epsilon>0$, and hence \eqref{eq:restricted}. \subsection{Examples and critical heights} When all relevant $d_q>0$, set $C_1=(e^{r/d}-1)^{-1}$. The smallest fixed height coefficient at which the right side of \eqref{eq:restricted} reaches $C_1$ is \[ D_{\mathcal A,*} = C_1\max\left\{\frac{e^{r/d}}d,\frac1{\min_{q\in\mathcal Q_b}d_q}\right\}, \] with the second term taken as zero when $b=1$. If any $d_q=0$ there is no finite $D$ attaining the positive plateau on this linear scale. \paragraph{Squarefree denominators.} Their density is $d=6/\pi^2$ by the identity $\mu^2(n)=\sum_{k^2\mid n}\mu(k)$. For a prime $p$, the density of squarefree multiples of $p$ is $d/(p+1)$, by the Euler product (the local factor at $p$ changes from $1-1/p^2$ to $1/p-1/p^2$). A nonsquarefree target denominator makes representation impossible, not merely difficult. For squarefree $b>1$ with largest prime factor $P^+(b)$ we obtain \[ \lim_{K\to\infty}\frac{\tau_{K,\mathrm{sf}}(r;\lfloor DK\rfloor)}K =\min\left\{\frac1{e^{r/d}-1},dD e^{-r/d},\frac{dD}{P^+(b)+1}\right\}, \] with critical height $\max(e^{r/d},P^+(b)+1)/(d(e^{r/d}-1))$. \paragraph{One residue class.} For $\mathcal A=\{n:n\equiv a_0\pmod m\}$ with fixed $m\ge1$, $d=1/m$. The density $d_q$ is $1/\lcm(q,m)$ if $\gcd(q,m)\mid a_0$, and zero otherwise, by the Chinese remainder theorem. In particular an odd denominator family cannot represent a rational with an even reduced denominator. For odd $b$ the odd family has $d=1/2$ and $d_q=1/(2q)$. These give explicit piecewise-linear formulas from Theorem~\ref{thm:restricted}. \paragraph{Full integers.} For $d=1$ and $0e^r$: if $q_*=2$ then $b=2$ and $r=1/2$, otherwise $q_*\ge3>e^r$. Thus the formula reduces to $\min((e^r-1)^{-1},D/q_*(b))$. For $r=1$, $b=1$, and $D