\section{Crossing a contact switch}\label{app:embedded-proof} Two failures of regularity matter along a segment. At a degenerate contact the second derivative of the restricted sphere power vanishes in a tangent direction. At a minimum the third derivative in that direction must then vanish too. For a generic embedding, queries with such a contact have dimension at most $d-2$. A different failure occurs when the tangents and chords of $j$ contacts in a minimal representation fail to span $\R^d$. These queries have dimension at most $d-1-|d-j(\delta+1)|$ (Section~\ref{sec:generic-proof}). Almost every pair of interior endpoints thus gives a segment that avoids degenerate contacts and avoids deficient spans whenever $d\ne j(\delta+1)$. When $d=j(\delta+1)$, however, the second type can form a hypersurface that the segment crosses. For $j=1$ the query is the contact itself, a point of $V$. This is a hypersurface case only for $\delta=d-1$. At almost every point of such an interface (for $\HH^{d-1}$), the query $q$ is a positive convex combination of base contacts $p_1,\ldots,p_j$. Every ball supporting $q$ touches each base contact, since the nonnegative powers have weighted mean zero. Their tangents and chords span a hyperplane $W$, and $H=q+W$ is tangent to the interface. The supporting centres lie on a line normal to $H$. For a unit normal $v$, a shift of $av/2$ changes the power at $p$ by $-a\,v\cdot(p-p_1)$. Points of $V$ on opposite sides of $H$ bound the allowed shifts from above and below. The two endpoint spheres gain extra contacts on opposite sides of $H$. Otherwise the ordinary minima would persist and the interval would extend. The extra contacts are unique and off $H$ outside a set of zero $\HH^{d-1}$ measure (Section~\ref{sec:resonant-geometry}). Figure~\ref{fig:sampled-cones} shows how to cover a query $y$ near the interface. It lies between a nearby interface point $q$ and one of its extra contacts. Assume each witness patch contains a site. The base witnesses lie within $O(t^2)$ of $H$. Joining each to a sampled tip on the opposite side cuts $H$ within $O(t^2)$ of its projection. The cuts enclose a disk $D\subset H$ of radius proportional to $t$. The cones from $D$ to the two tips together cover a ball of radius proportional to $t$ about $y$, even across $H$. On this ball the sampled lower hull lies between the maximum of the two endpoint supports and that maximum plus $O(t^2)$ (Section~\ref{sec:pencil}). \begin{figure}[!htbp] \centering\includegraphics[width=.94\linewidth]{figures/sampled_cones.pdf} \caption{Localizing a cell across a contact change. In (a), the diamond marks where $X_iX_-$ meets $H$, within $O(t^2)$ of the orthogonal projection $\pi X_i$. In (b), the cut points enclose a disk $D$ centred at $q$. In (c), the same disk is the base of both cones. The cone with tip $X_+$ covers the part of $B(y,bt)$ above $H$, and the cone with tip $X_-$ covers the shaded cap below $H$ (Section~\ref{sec:pencil}).} \label{fig:sampled-cones} \end{figure} A height error of $O(t^2)$ over a ball of radius proportional to $t$ gives a slope error of $O(t)$. More precisely, in each unit direction the cell slope is at most the larger endpoint slope plus $O(t)$. If the cell gradient lies outside the segment joining the endpoint gradients, test in the direction from its nearest point on the segment. The excess is then the distance to that segment. At each cell vertex, a base witness bounds the power for the interpolated support by $O(t)$. Near an extra contact the opposite support has a positive gap, so its weight is $O(t)$. The regular-case quadratic estimate now confines the cell vertices on both sides of the interface. These neighbourhoods and $\mathcal R$ form $G$. A finite cover gives uniform constants on each compact $Q\subset G$. Since $(\inter K)\setminus G$ has zero $\HH^{d-1}$ measure, almost every pair of interior endpoints gives a segment contained in $G$. Where can a segment \([a,b]\) leave the regular set \(\mathcal R\) for a generic embedding? Any set of Hausdorff dimension at most \(d-2\) has zero \((d-1)\)-dimensional Hausdorff measure and is missed by \([a,b]\) for almost every pair \((a,b)\in(\inter K)^2\) (page~\pageref{proof:segment-avoidance}). This excludes all queries supported by a sphere with a degenerate contact, whose image in query space has dimension at most \(d-2\). Call a minimal representation \emph{deficient} if its contact directions satisfy \(W\ne\R^d\). Why does the divisibility condition \(d=j(\delta+1)\) single out the only deficient configurations a generic segment can hit? Choosing \(j\ge2\) contacts on a \(\delta\)-manifold together with \(j-1\) convex weights provides \(j\delta+(j-1)=j(\delta+1)-1\) degrees of freedom, while requiring a common tangent hyperplane and sphere imposes a second bound \(2d-j(\delta+1)-1\) (Section~\ref{sec:generic-proof}). The smaller of the two equals \(d-1-|d-j(\delta+1)|\), which stays at most \(d-2\) unless \(d=j(\delta+1)\). A single contact (\(j=1\)) represents only itself, so its queries lie in \(V\cap\inter K\), of dimension at most \(\delta\), which again reaches \(d-1\) only when \(d=1\cdot(\delta+1)\). Whenever \(\delta+1\) does not divide \(d\) (for instance, a curve in \(\R^3\) or a surface in \(\R^4\) or \(\R^5\)), Theorem~\ref{thm:manifold-fixed} therefore already establishes Theorem~\ref{thm:manifold-generic} without any crossing analysis. In the remaining equality case \(d=j(\delta+1)\), a generic segment can cross the resulting \((d-1)\)-dimensional hypersurface, which we call the \emph{interface}. At a typical point \(q\) of the interface, the \(j\) contacts representing \(q\), called the \emph{base contacts}, provide a hyperplane \(W\) of dimension \(d-1\). Equidistance from the \(j\) base contacts and tangency along their \(\delta\)-dimensional tangent spaces impose \(j-1+j\delta=d-1\) independent linear constraints on the sphere centre. All tangent sphere centres therefore fill a one-dimensional line perpendicular to \(W\), and emptiness cuts out a closed interval on this line. For \(j=1\) on a nonconvex surface in \(\R^3\), a segment inside \(\inter K\) simply crosses \(V\) at \(q\). There the centres sweep the normal line from the largest empty ball on one side of \(T_qV\), through the ball of radius zero at \(q\), to the largest empty ball on the opposite side. For \(j=2\) on a curve in \(\R^4\), Figure~\ref{fig:support-interval} depicts this closed interval of centres explicitly. In both cases, the two endpoint spheres each gain one extra contact, on opposite sides of the affine hyperplane \(q+W\). Sites sampled near those extra contacts supply the missing normal direction on their respective sides, allowing Lemma~\ref{lem:powers}(c) to carry the local bound across the interface (Sections~\ref{sec:surface-crossing}--\ref{sec:pencil}). \subsection{What changes when one direction is missing?}\label{sec:examples-higher} To see concretely how an interval of supporting centres opens up when one ambient direction is missing, we compare two explicit embeddings of the unit \(\delta\)-sphere \(S^\delta=\{(x,u)\in\R\times\R^\delta:x^2+\|u\|^2=1\}\). Both embeddings keep the same two marked contacts and differ only by an extra coordinate. For any integer \(\delta\ge1\), we draw \(n\) independent sites on each embedded image from a law satisfying~\eqref{eq:sampling-law}. \paragraph{Two contacts that enclose an open set of queries.} Consider first the map into \(\R^{2\delta+1}\) given by \[ F(x,u)=(x,2u,xu). \] Because the first coordinate \(x\) and the middle block \(2u\) determine \((x,u)\), \(F\) is a smooth embedding. Its poles are \((x,u)=(\pm1,0)\), whose images are \((\pm1,0,0)\). The identity \(\|F(x,u)\|^2-1=(3+x^2)\|u\|^2\) shows that the unit ball is empty of \(F(S^\delta)\) and touches it only at those two pole images, with positive definite Hessian at both contacts. At \((\pm1,0,0)\), tangent vectors have the form \((0,2v,\pm v)\) for \(v\in\R^\delta\). Thus the two tangent spaces span the last \(2\delta\) coordinate directions, while the chord between the pole images supplies the first direction. Hence \(W=\R^{2\delta+1}\), making the origin \(0\) (the midpoint of the pole chord) a regular query. Let us check that regularity persists on an open ball around \(0\). For points \(p_1,p_2\in F(S^\delta)\) near the two poles, demanding tangency at \(p_1\) and \(p_2\) imposes one equidistance equation \((p_1-p_2)\cdot c=\tfrac12(\|p_1\|^2-\|p_2\|^2)\) and \(2\delta\) orthogonality equations \((p_i-c)\cdot T_{p_i}F(S^\delta)=0\). At the poles, the coefficient vectors of these \(2\delta+1\) linear equations form a basis of \(\R^{2\delta+1}\). A unique centre \(c(p_1,p_2)\) therefore exists nearby and depends smoothly on \((p_1,p_2)\), while positive Hessians and the positive gap off the poles keep the ball empty. By the same basis property, the map \((p_1,p_2,\lambda)\mapsto(1-\lambda)p_1+\lambda p_2\) has an invertible derivative at the poles with \(\lambda=1/2\). Every query \(q\) in a small neighbourhood of the origin therefore admits such a two-point representation with positive weights. Any supporting sphere at \(q\) must touch both points and agree with this unique sphere. Consequently, Theorem~\ref{thm:manifold-fixed} bounds \(\E N_n(s)\) by \(O(1+|s|n^{1/\delta})\) for every fixed segment \(s\) inside a small closed ball around the origin, giving \(O(1+n|s|)\) for a curve in \(\R^3\) and \(O(1+\sqrt n\,|s|)\) for a surface in \(\R^5\). \paragraph{Two contacts that leave one direction free.} Now keep the same poles and tangents in \(\R^{2\delta+1}\), and append one coordinate using the first entry \(u_1\) of \(u\): \[ G(x,u)=(x,2u,xu,u_1\|u\|^2)\in\R^{2\delta+2}. \] Because the new coordinate vanishes to third order at the poles, the pole chord and both tangent spaces span only the hyperplane \(\{x_{2\delta+2}=0\}\) in \(\R^{2\delta+2}\). Even so, the origin remains strictly inside \(\conv G(S^\delta)\). Any supporting hyperplane through the origin would have to contain the pole chord and both tangent spaces and hence equal \(\{x_{2\delta+2}=0\}\), whereas \(u_1\|u\|^2\) takes both signs on \(S^\delta\). Since the origin is the midpoint of the two pole images, any sphere supporting the origin must touch both poles. Its centre therefore lies on the last coordinate axis, say at \(t e_{2\delta+2}\) with \(t\in\R\). Passing through \((\pm1,0,0,0)\) forces squared radius \(1+t^2\). Substituting \(\|F(x,u)\|^2=1+(3+x^2)\|u\|^2\) and \(\|u\|^2=1-x^2\) gives power \[ g_t(x,u)=\|G(x,u)-te_{2\delta+2}\|^2-(1+t^2) =\|u\|^2\big[3+x^2+u_1^2(1-x^2)-2tu_1\big]. \] At \(t=2\), the bracket factors as \((1-u_1)(3-u_1)+x^2(1-u_1^2)\ge0\), which vanishes on \(S^\delta\setminus\{u=0\}\) only when \(u_1=1\) (forcing \(x=0\) and \(u=e_1\)). By reflection \(u_1\mapsto-u_1\), the bracket at \(t=-2\) vanishes only at \(u=-e_1\). For intermediate \(-22\), the power turns negative at the extra contact \(p_+=(0,2e_1,0,1)\) or \(p_-=-p_+\). The supporting centres at the origin thus fill the closed interval \([-2,2]\) along the last coordinate axis, as drawn for \(\delta=1\) in Figure~\ref{fig:support-interval}(a). Figure~\ref{fig:support-interval}(b) shows how the supporting sphere jumps across a segment through the origin. On the half-segment \(s_+\) toward \(p_+\), every point lies in the triangle spanned by the two poles and \(p_+\), so the \(t=2\) sphere supports all of \(s_+\); symmetrically, the \(t=-2\) sphere supports \(s_-\). Notice that at each pole \(g_t=4\|u\|^2+O(\|u\|^3)\) uniformly over \(t\in[-2,2]\). Near \(p_+\), writing \(y=(x,u_2,\ldots,u_\delta)\) and \(u_1=\sqrt{1-\|y\|^2}\) gives \(g_2=\|y\|^2+O(\|y\|^4)\) (and symmetrically for \(g_{-2}\) near \(p_-\)). Both extra contacts are therefore ordinary, and \(\partial_t g_t=-2u_1\|u\|^2\) is nonzero at \(p_\pm\). Section~\ref{sec:resonant-geometry} produces a smooth hypersurface interface through the origin separating the two endpoint regimes. Proposition~\ref{prop:pencil-count} gives an open neighbourhood \(U\) of the origin in which every ball of radius \(bn^{-1/\delta}\) centred at a fixed query meets \(O(1)\) closed simplices in expectation. Cover a fixed segment \(s\subset U\) by \(O(1+|s|n^{1/\delta})\) such balls with centres on \(s\). Summing the local bounds gives \(\E N_n(s)=O(1+|s|n^{1/\delta})\), including for segments that cross the interface. \begin{figure}[!htbp] \centering \includegraphics[width=.94\linewidth]{figures/support_interval.pdf} \caption{Two coordinate sections of the supporting-sphere family for \(G\) in \(\mathbb R^4\) (\(\delta=1\)), where \(e_i\) denotes the \(i\)th coordinate vector. In (a), the centres fill the vertical bar \(te_4\) for \(-2\le t\le2\), and each drawn sphere passes through both poles \(\pm e_1\). In (b), the open circle marks the origin on the query segment: the dashed sphere centred at \(-2e_4\) supports the dashed half \(s_-\) toward \(p_-=(0,-2,0,-1)\), while the solid sphere centred at \(2e_4\) supports the solid half \(s_+\) toward \(p_+=-p_-\). Notice that the poles in (a) lie outside the \((x_2,x_4)\)-plane shown in (b).} \label{fig:support-interval} \end{figure} \subsection{Which contacts can a segment encounter?}\label{sec:generic-proof} For a generic smooth embedding \(V=F(X)\subset\R^d\), we now determine how large the non-regular set \((\inter K)\setminus\mathcal R\) can be. As shown on page~\pageref{proof:segment-avoidance}, any set of zero \((d-1)\)-dimensional Hausdorff measure \(\HH^{d-1}\) is missed by \([a,b]\) for almost every pair of interior endpoints. By contrast, a hypersurface of positive \(\HH^{d-1}\)-measure (though still of \(d\)-dimensional volume zero) can split an open ball and block an open family of segments. The table summarizes the five types of contact configuration analysed in Sections~\ref{sec:generic-proof}--\ref{sec:resonant-geometry}. Dimension means Hausdorff dimension. The third row records zero \((d-1)\)-dimensional Hausdorff measure. Every configuration except the rank-nondeficient hypersurface at \(d=j(\delta+1)\) lies in countably many smooth images of dimension at most \(d-2\) (or is \(\HH^{d-1}\)-null), leaving only the codimension-one interfaces of Sections~\ref{sec:surface-crossing}--\ref{sec:pencil}. In the second row a negative bound means that the configuration is absent. \begin{center} \small \begin{tabular}{@{}ll@{}} \toprule Configuration at the query & Size of its image in query space\\ \midrule A degenerate contact & dimension at most \(d-2\)\\ A deficient \(j\)-tuple, \(j\ge2\) & dimension at most \(d-1-|d-j(\delta+1)|\)\\ A rank drop of the secant map in the equality case & \(\HH^{d-1}\)-null\\ Two extra contacts at the same sphere & dimension at most \(d-2\) in the equality case\\ An extra contact in the base hyperplane & dimension at most \(d-2\) in the equality case\\ \bottomrule \end{tabular} \end{center} Write \(V=F(X)\), where \(X\) is a compact smooth \(\delta\)-manifold without boundary, and vary \(F\) over the open set of smooth embeddings of full affine span in the \(C^\infty\) topology. Throughout our transversality arguments, marked sites \(x_1,\ldots,x_m\in X\) are distinct, and we work inside countably many coordinate charts on tuples of distinct sites. Here the \emph{\(3\)-jet} of a smooth function at a point collects its value and partial derivatives up to order three in local coordinates. A smooth map \(f\) is \emph{transverse} to a smooth constraint submanifold \(S\) if, at every point \(y\) with \(f(y)\in S\), the image of \(df_y\) and \(T_{f(y)}S\) span the ambient tangent space. For a smooth family transverse to \(S\), almost every parameter gives a transverse slice. Indeed, apply Sard's theorem to the projection of the inverse image of \(S\) onto the parameter space, as in the proof of~\cite[Chapter~II, Lemma~4.6, p.~53]{GG}. At any regular value of this projection the slice \(f\) is transverse to \(S\), and its inverse image \(f^{-1}(S)\) has codimension \(\operatorname{codim}(S)\) wherever it is nonempty. Below, the \emph{secant map} takes a contact tuple and convex weights to their weighted mean in \(\R^d\), \(j\) counts the contacts in a minimal representation of \(q\), and a tuple is deficient when its tangents and chords fail to span \(\R^d\). \paragraph{A flat minimum costs two dimensions.} Consider first a sphere of centre \(c\in\R^d\) and radius \(R>0\), with power \(u(x)=\|F(x)-c\|^2-R^2\) on \(X\). (A sphere of radius zero meets \(V\) only at its centre \(q\in V\), whose restricted power already has positive definite Hessian \(2\|v\|^2\), checked in Section~\ref{sec:surface-crossing}.) For \(R>0\), tangency at \(m\) distinct sites \(x_1,\ldots,x_m\) imposes \(m(\delta+1)\) equations: \(u(x_i)=0\) and \(du(x_i)=0\). The variables \(x_1,\ldots,x_m,c,R\) provide \(m\delta+d+1\) coordinates. For a generic embedding, the solution manifold of these tangencies thus has dimension \((m\delta+d+1)-m(\delta+1)=d+1-m\) (and is empty when \(d+1-m<0\)). In particular, a generic supporting sphere touches \(V\) in at most \(d+1\) points. To establish both this count and the hyperplane counts below rigorously across all charts, we follow three standard steps: varying jets locally, perturbing densely on compact blocks, and intersecting countably many open dense conditions. Geometrically, each tangency or degeneracy imposes equations on the position and first three derivatives of \(V\) at the marked sites. Small smooth bumps supported near those sites act like independent local knobs that tune those derivatives freely, breaking accidental coincidences until every defining system achieves full row rank. Specifically, our constraints depend on the \(3\)-jet of \(u(x)\) and, when an auxiliary hyperplane \(\nu\cdot p-h=0\) appears, on the \(3\)-jet of \(\nu\cdot F(x)-h\), with sphere parameters \((c,R)\) and plane parameters \((\nu,h)\) treated as free variables. \emph{Varying the jets.} A small perturbation \(Y\) of \(F\) changes \(u(x)\) to first order by \(2(F(x)-c)\cdot Y(x)\) and shifts \(\nu\cdot F(x)-h\) by \(\nu\cdot Y(x)\). For a positive-radius sphere, \(F(x)-c\ne0\) at every contact. Whenever both sphere and hyperplane constraints appear together below, the hyperplane passes through at least two distinct sphere contacts and so cannot be tangent to the sphere at any contact. Near each marked site, the two normal vectors \(F(x)-c\) and \(\nu\) are therefore linearly independent. The matrix with these row vectors thus admits a smooth right inverse near each site. Applying that right inverse to arbitrary Taylor polynomials of degree at most three and multiplying by smooth cutoff functions with disjoint supports produces compactly supported perturbations \(Y\). These \(Y\) realize any first-order variations of the \(3\)-jets independently across all marked sites. \emph{Obtaining density.} Fix an embedding \(F\) and a compact block of distinct-site coordinate tuples and geometric parameters where the required linear-independence rank conditions hold. Because full row rank is open and the block is compact, finitely many perturbations \(Y_i\) span every first-order jet variation at every configuration in the block. For the finite-dimensional family \(F+\sum_i b_i Y_i\), the derivative of the jet evaluation map with respect to \((b_i)\) is therefore surjective near the block for small \(b_i\). By parametric transversality~\cite[Chapter~II, Lemma~4.6, p.~53]{GG}, arbitrarily small perturbations make the jet map transverse to the smooth constraint submanifold in jet space. (When testing a degenerate contact, we adjoin a unit tangent vector \(v\in S^{\delta-1}\) in \(\ker(\Hess u)\) as an extra variable rather than stratifying the Hessian by rank.) \emph{Obtaining a residual set.} Exhaust the coordinate charts of distinct-site tuples and geometric parameters by countably many compact blocks, and exhaust each constraint submanifold in jet space by countably many compact subsets in its charts. Fix one compact block, one compact subset of the constraint submanifold, and an integer \(k\ge1\). At every point of the block mapping into that compact subset where the required normal row matrix (built from \(F-c\) and, when present, \(\nu\)) has smallest singular value at least \(1/k\), we impose transversality of the jet map to the constraint submanifold. This condition is open in the \(C^\infty\) topology: any sequence of embeddings violating transversality at points meeting those closed bounds would yield a convergent subsequence of points whose limit violates the condition for \(F\). It is also dense: apply the perturbation step above to the compact subset of the block where \(F\) satisfies the weaker singular-value bound \(1/(2k)\). By continuity of jets and derivatives, for small perturbations that subset contains every configuration meeting the stronger bound \(1/k\) for the perturbed embedding. Intersecting these open dense conditions over all countable blocks, constraint subsets and integers \(k\ge1\) gives the desired residual class. Now count the dimension when one of the \(m\) contacts is a degenerate minimum. Adding a unit vector \(v\) in the kernel of the Hessian adds \(\delta-1\) variables. The equations \(D^2u(v,\cdot)=0\) impose \(\delta\) independent constraints on second derivatives, and \(D^3u(v,v,v)=0\) adds one more (along a coordinate curve in direction \(v\), a local minimum with vanishing second derivative cannot have nonzero third derivative). The net change is \((\delta-1)-(\delta+1)=-2\), even if the kernel is larger. Including at most \(m-1\) barycentric weights to form \(q\) puts these queries inside countably many smooth images of dimension at most \((d+1-m)-2+(m-1)=d-2\). Allowing weights to vanish ensures we exclude degenerate contacts even when they carry weight zero in representing \(q\). \paragraph{A missing direction imposes a second tangency.} Suppose next that a minimal representing tuple of \(j\ge2\) contacts is deficient, meaning \(W\ne\R^d\). Choose a unit normal \(\nu\perp W\). Then all \(j\) contacts sit in one affine hyperplane \(\nu\cdot p=h\) containing all \(j\) tangent spaces \(T_{p_i}V\). We bound the dimension of such queries in two complementary ways. First, allow any \(j\) sites on \(V\) with \(j-1\) free barycentric weights. The map sending the \(j\) sites and their weights to the query is smooth, hence locally Lipschitz. Its image has Hausdorff dimension at most the number \(j(\delta+1)-1\) of parameters. For the related secant count for real algebraic varieties, see~\cite[Section~1]{RanestadSturmfels2011}. Second, project the sphere centre \(c\) orthogonally onto \(\nu^\perp\) to obtain a new centre \(c'\). For every site \(p\) in \(\nu\cdot p=h\), Pythagoras gives \(\|p-c'\|^2-\|p-c\|^2=2h(\nu\cdot c)-(\nu\cdot c)^2\), independent of \(p\). Hence all \(j\) contacts remain equidistant from \(c'\), and since their tangents lie orthogonal to \(\nu\), the sphere centred at \(c'\) stays tangent to \(V\) at all \(j\) points. Projecting \(c\) onto \(\nu^\perp\) removes one centre parameter: varying \(\nu\in S^{d-1}\) (\(d-1\) coordinates), \(c'\in\nu^\perp\) (\(d-1\) coordinates), \(h\in\R\), and the new radius gives \(2d\) geometric parameters. Both the sphere and the hyperplane are tangent to \(V\) at each of the \(j\) contacts, imposing \(2j(\delta+1)\) equations whose gradients \(F-c'\) and \(\nu\) are independent because the hyperplane cuts the sphere in \(j\ge2\) distinct points. Adding \(j\delta\) site coordinates and \(j-1\) weights, then subtracting these \(2j(\delta+1)\) equations, yields dimension at most \[ (j\delta+2d)+(j-1)-2j(\delta+1)=2d-j(\delta+1)-1 . \] Combining both bounds yields \[ \min\{j(\delta+1)-1,\ 2d-j(\delta+1)-1\}=d-1-|d-j(\delta+1)|. \] When \(j(\delta+1)\ge2d\), the dimension predicted for the transverse incidence manifold with weights is negative, so no such tuple exists. Intersecting the residual sets over the finitely many contact counts gives embeddings where all bounds hold together. For \(j=1\), the query lies in \(V\) of dimension \(\delta\); for \(j\ge2\), the combined bound applies. In both cases, dimension reaches \(d-1\) only when \(d=j(\delta+1)\), while every smaller-dimensional set is \(\HH^{d-1}\)-null and missed by almost every segment \([a,b]\). When \(\delta+1\) does not divide \(d\), Theorem~\ref{thm:manifold-fixed} thus already yields Theorem~\ref{thm:manifold-generic}; when \(d=j(\delta+1)\), we must also handle crossings of the remaining \((d-1)\)-dimensional interface. \subsection{When the query lies on the sampled hypersurface}\label{sec:surface-crossing} When \(\delta=d-1\), the manifold \(V\) is itself a hypersurface in \(\R^d\), so an interior segment inside \(\inter K\) can pierce \(V\) directly (the case \(j=1\) of \(d=j(\delta+1)\)). Before treating general interfaces, we establish two facts for hypersurfaces: away from \(V\), every interior query already has spanning contacts, and right on \(V\), every query matches the \(j=1\) base-contact picture of Section~\ref{sec:resonant-geometry}. First take any interior query \(q\in\inter K\setminus V\). Any supporting representation of \(q\) must use at least two distinct contacts \(p,x\in V\) of the supporting ball \(B(c,R)\). Because \(\|x-c\|^2=\|p-c\|^2=R^2\), expanding \(\|(x-p)+(p-c)\|^2=\|p-c\|^2\) yields \(2(c-p)\cdot(x-p)=\|x-p\|^2>0\). Notice that \(c-p\) is normal to the hypersurface \(V\) at \(p\), and hence orthogonal to the \((d-1)\)-dimensional tangent space \(T_pV\). Thus the chord \(x-p\) has a nonzero normal component and combines with \(T_pV\) to span all of \(\R^d\). Let \(E_{\mathrm{deg}}\) be the set of queries in \(\inter K\) admitting a supporting ball with a degenerate contact (shown in Section~\ref{sec:generic-proof} to be \(\HH^{d-1}\)-null for a residual class of smooth embeddings). Every query in \((\inter K)\setminus(V\cup E_{\mathrm{deg}})\) is therefore regular, so Theorem~\ref{thm:manifold-fixed} applies to every compact subset of \((\inter K)\setminus(V\cup E_{\mathrm{deg}})\). Now suppose \(q=p\in V\cap\inter K\). For any convex combination \(p=\sum_i\lambda_i p_i\) of points on \(V\), expanding \(\|p_i-p\|^2\) gives mean squared norm \(\sum_i\lambda_i\|p_i\|^2=\|p\|^2+\sum_i\lambda_i\|p_i-p\|^2\). That sum attains the lower hull height \(\|p\|^2\) only when every site \(p_i\) of positive weight equals \(p\). Every supporting ball at \(p\) therefore touches \(V\) at \(p\), forcing its centre to lie along the normal line \(p+t\nu\) (\(t\in\R\)), where \(\nu\) is a chosen unit normal to \(T_pV\). The ball of radius \(|t|\) centred at \(p+t\nu\) supports \(p\) precisely when its power satisfies \begin{equation} g_t(x)=\|x-p\|^2-2t\,\nu\cdot(x-p)\ge0\qquad (x\in V). \label{eq:surface-normal-gap} \end{equation} At \(t=0\), the restricted Hessian of \(g_0(x)=\|x-p\|^2\) on \(V\) equals \(2\|v\|^2\) on every tangent vector \(v\in T_pV\), so the ball of radius zero always has an ordinary contact at \(p\). Furthermore, no other contact can lie in the tangent hyperplane \(p+T_pV\), since any \(x\ne p\) with \(\nu\cdot(x-p)=0\) satisfies \(g_t(x)=\|x-p\|^2>0\) for every \(t\). Point \(p\in V\cap\inter K\) therefore realizes the \(j=1\) case of the interval construction in Section~\ref{sec:resonant-geometry}. To keep only nondegenerate crossings, we discard points on \(V\) belonging to a sphere with a degenerate contact (already \(\HH^{d-1}\)-null) and points belonging to a sphere with two additional contacts (a \(3\)-contact incidence of dimension at most \(d+1-3=d-2\) before projecting to \(p\)). In particular, for planar curves (\(d=2,\delta=1\)), both discarded sets have zero \(1\)-dimensional Hausdorff measure. \subsection{One interval of centres at either kind of crossing}\label{sec:resonant-geometry} When \(d=j(\delta+1)\), a generic segment can cross the \((d-1)\)-dimensional interface of deficient queries where the contact directions span only a hyperplane \(W\). Why does the local cell count still stay bounded across this crossing? We first discard three residual \(\HH^{d-1}\)-null exceptions: a rank drop of the secant map, spheres with two extra contacts, and spheres with an extra contact in the base hyperplane. Once those are removed, the same geometric picture holds uniformly for every \(j\ge1\). At an interface point \(q\), admissible sphere centres fill a nondegenerate closed interval on the line normal to \(W\), and its two endpoint spheres each acquire one extra contact on opposite sides of \(q+W\), supplying a clean two-sided coordinate system around the interface. Write \(q=\sum_{i=1}^j\alpha_i p_i\) for a minimal representation of \(q\in\inter K\) by contacts of a supporting sphere, with strictly positive weights \(\alpha_i>0\) summing to one. When \(j=1\), \(q\) is simply a manifold point on the hypersurface \(V\) treated in Section~\ref{sec:surface-crossing}; when \(j\ge2\), we first remove queries with any of the three configurations above. \paragraph{Rank loss and additional contacts at an interface.} Let \(x=(x_1,\ldots,x_j)\in X^j\) satisfy \(F(x_i)=p_i\), and let \(\alpha=(\alpha_1,\ldots,\alpha_j)\) satisfy \(\sum_{i=1}^j\alpha_i=1\). The secant map \(\Phi(x,\alpha)=\sum_{i=1}^j\alpha_i F(x_i)\) sends a domain of dimension \(j\delta+j-1=d-1\) into \(\R^d\), and the image of its differential at \((x,\alpha)\) equals the span \(W\) of the contact tangents and chords. Wherever that differential has rank below \(d-1\), its \((d-1)\)-dimensional Jacobian vanishes. Covering the domain by countably many coordinate charts and applying the area formula shows that the image of all rank-drop points is \(\HH^{d-1}\)-null. Removing these points ensures \(W\) is a \((d-1)\)-dimensional hyperplane (for \(j=1\), \(\dim W=\delta=d-1\) holds already because \(F\) is an immersion). Next exclude two residual incidence sets involving extra contacts (beyond the degenerate minima already excluded in Section~\ref{sec:generic-proof}). First, any sphere touching \(V\) at the \(j\) base contacts and at two extra contacts belongs to an \((j+2)\)-tangency family of dimension at most \(d+1-(j+2)=d-j-1\). Adding the \(j-1\) base weights to locate \(q\) puts these queries into countably many smooth images of dimension at most \(d-2\). Second, exclude queries having an extra contact inside the affine hyperplane \(q+W\). For \(j=1\), no such contact exists by~\eqref{eq:surface-normal-gap}. For \(j\ge2\), count the sphere centre and radius plus the unit normal and offset of the hyperplane, giving \(2d+1\) geometric parameters alongside \((j+1)\delta\) site coordinates and \(j-1\) base weights. Both the sphere and the hyperplane are tangent to \(V\) at each of the \(j\) base sites (\(2(\delta+1)\) equations per site), while at the extra site the sphere is tangent to \(V\) and the hyperplane passes through the site (\(\delta+2\) equations). At every marked site, the two ambient gradients \(F-c\) and \(\nu\) are independent because the hyperplane cuts the sphere in at least two points, so jet perturbations again achieve transversality as in Section~\ref{sec:generic-proof}. The net dimension is therefore at most \[ (j+1)\delta+2d+1-2j(\delta+1)-(\delta+2)+j-1=d-2. \] Together with degenerate contacts, all exclusions discard only an \(\HH^{d-1}\)-null set, which almost every interior segment misses. \paragraph{Why the centres form an interval.} Now take any remaining interface query \(q\) after these exclusions, with \(j\) base contacts \(p_1,\ldots,p_j\) and positive weights \(\alpha_1,\ldots,\alpha_j\). Every affine support attaining \(L_V(q)\) must touch \(V\) at every \(p_i\), because all gaps are nonnegative and average to zero at \(q\). Equal squared distances from the \(j\) base contacts and tangency along \(T_{p_i}V\) impose \(j-1+j\delta=d-1\) independent linear equations on the sphere centre \(c\), whose row span equals \(W\). Letting \(\nu\) be a unit normal to \(W\), all solutions \(c\) therefore lie on one normal line. Pick a supporting centre \(c_0\) at \(q\) and parametrize this line by \(c(a)=c_0+\tfrac12 a\nu\) (\(a\in\R\)), where the factor \(1/2\) makes \(a\) the linear slope of the affine support in direction \(\nu\). The power of the sphere centred at \(c(a)\) passing through \(p_1,\ldots,p_j\) then reads \[ g_a(p)=\|p\|^2-\|p_1\|^2-2c_0\cdot(p-p_1)-a\,\nu\cdot(p-p_1). \] By the compactness proof in Section~\ref{sec:regular-count}, the centres of all supporting balls at an interior query \(q\) remain bounded. Requiring \(g_a(p)\ge0\) on all of \(V\) therefore cuts out a nonempty compact interval \([a_-,a_+]\) on the normal line. At either endpoint \(a\in\{a_-,a_+\}\), the sphere must touch \(V\) at some contact outside the \(j\) base contacts. Otherwise, positive definite Hessians at the ordinary base contacts and a positive minimum on the compact remainder of \(V\) outside small neighbourhoods of the base contacts would keep \(g_{a'}\ge0\) slightly past the endpoint. By our second exclusion, each endpoint sphere has a unique extra contact. As \(a\) varies near that endpoint, the implicit function theorem continues the local minimum of \(g_a\) near the extra contact to a unique \(C^1\) point \(p_*(a)\) (smooth when \(V\) is \(C^\infty\)) with derivative \[ \frac{d}{da}g_a(p_*(a))=-\nu\cdot(p_*(a)-p_1)\ne0, \] because \(\nabla_p g_a(p_*(a))=0\) along \(V\) and our third exclusion keeps \(p_*(a)\notin q+W=p_1+W\). Moving \(a\) toward the side where \(g_a(p_*(a))>0\) produces valid supporting balls, proving \(a_-0\) they parametrize the two open sides adjacent to the interface. Each point \(y=(1-\mu)q'+\mu p_\pm(x')\) with small \(\mu>0\) is supported by the endpoint sphere at \(a_\pm(x')\). In fact, that ball is the \emph{unique} supporting ball at \(y\), because positive base weights confine any supporting centre to the normal line at \(x'\) and vanishing gap at \(p_\pm(x')\) selects \(a_\pm(x')\). Since the \(j\) base contacts and \(p_\pm(x')\) are affinely independent, every convex representation of \(y\) by contacts of its supporting ball (equivalently, attaining \(L_V(y)\)) has the same unique weights. Shrinking the chart bounds the derivatives of both inverse maps and all contact data on each side while sharing the base tuple at \(\mu=0\); in particular, \(\mu\) is comparable to the Euclidean distance from \(y\) to the interface, giving the two-sided coordinates used in Section~\ref{sec:pencil}. \subsection{Counting cells across a contact change}\label{sec:pencil} As a query \(y\) approaches an interface of contact change from either side, the weight \(\mu\) on the extra contact \(p_+\) or \(p_-\) shrinks to zero. A ball around \(y\) of radius \(bn^{-1/\delta}\) can therefore straddle the interface and touch both sides at once. How do we confine cell vertices uniformly on both sides using a single ball radius? Proposition~\ref{prop:pencil-count} pairs the two extreme supporting spheres at the interface into a convex crease \(L_\vee=\max(\ell_{a_-},\ell_{a_+})\) (Figure~\ref{fig:gap-comparison}(b)). Placing witness patches around the base contacts and both extra contacts builds a disk in \(q+W\) and two cones with that common base (Figure~\ref{fig:sampled-cones}(b) and (c)). Those two cones trap \(L_n\) within \(O(t^2)\) of \(L_\vee\) on an entire ball around \(y\), letting Lemma~\ref{lem:powers}(c) pull every cell vertex back into the \(j+2\) contact charts. \begin{proposition}\label{prop:pencil-count} Fix integers \(\delta,j\ge1\) and set \(d=j(\delta+1)\). Let \(V\subset\R^d\) be a compact \(C^2\) embedded \(\delta\)-manifold without boundary and of full affine span, and put \(K=\conv V\). Draw \(n\) sites independently on \(V\) from a common law satisfying~\eqref{eq:sampling-law}. Suppose \(q_0\in\inter K\) has a minimal representation by \(j\) contacts of a supporting ball, and every contact of every supporting ball at \(q_0\) is ordinary. Assume further that the chords and tangent spaces of the representing contacts span a hyperplane \(W\), that the centres supporting \(q_0\) form a nontrivial closed interval, and that each endpoint ball has exactly one extra contact, with these two contacts lying on opposite sides of \(q_0+W\). Then there are an open neighbourhood \(U\subset\inter K\) of \(q_0\), constants \(b,C>0\) and \(n_0\in\mathbb N\), depending only on \(V,q_0\) and~\eqref{eq:sampling-law}, such that for every \(y\in U\) fixed before sampling and every \(n\ge n_0\), the expected number of closed \(d\)-dimensional Delaunay simplices meeting \(B(y,bn^{-1/\delta})\) is at most \(C\). \end{proposition} \begin{proof} Observe first that these hypotheses match Section~\ref{sec:resonant-geometry}. Indeed, no interior parameter along the interval of centres at \(q_0\) can gain an extra contact. Because its power is affine and nonnegative on the interval, vanishing at an interior point would make it vanish at both endpoints and force the same unique extra contact on both sides of \(q_0+W\). Thus the local two-sided coordinate system of Section~\ref{sec:resonant-geometry} applies around \(q_0\) (with \(C^1\) regularity under our \(C^2\) assumption on \(V\)). On the interface, both extreme affine supports agree at all base contacts, forming the V-shaped crease drawn in Figure~\ref{fig:gap-comparison}(b). Fix a query \(y\in U\) near \(q_0\), writing \(y=(1-\mu)q+\mu p_\star\) with \(q\) on the interface, \(p_\star\in\{p_+,p_-\}\) the extra contact on the side of \(y\) (taking either if \(\mu=0\)), and \(\mu\ge0\) small. On a compact chart around \(q_0\), the \(j\) base contacts \(p_1,\ldots,p_j\) at \(q\) have weights bounded uniformly away from zero. Translate the origin of displacements to \(q\) and pick a unit normal \(\nu\) to \(q+W\). Write \(z(x)=\nu\cdot(x-q)\) for signed height above \(q+W\), labelling \(p_+\) on the positive side and \(p_-\) on the negative side. Shrinking \(U\) ensures \(z(p_+)\ge b_0>0\) and \(z(p_-)\le-b_0<0\) uniformly. Let \(\ell_0\) correspond to the midpoint of the interval of centres at \(q\), so supporting planes through the base contacts read \(\ell_a=\ell_0+az\) for \(a\in[a_-,a_+]\), with \(\ell_{a_\pm}\) touching \(p_\pm\). Define the gap \(g_a(x)=\|x\|^2-\ell_a(x)\) and the two-plane crease \(L_\vee=\max(\ell_{a_-},\ell_{a_+})\), which equals \(\ell_{a_+}\) on \(\{z\ge0\}\) and \(\ell_{a_-}\) on \(\{z\le0\}\). \paragraph{A sampled disk in the interface plane.} At scale \(t>0\), place the \(2\delta\) signed witness patches of radius proportional to \(t\) around each base contact \(p_1,\ldots,p_j\) (as in Section~\ref{sec:regular-count}), plus one patch of radius \(t\) around \(p_+\) and around \(p_-\). By~\eqref{eq:sampling-law}, each patch has sampling mass at least \(ct^\delta\). Suppose every patch contains a site, and choose one representative \(X_i\) from each base patch and \(X_\pm\) from the extra patches. By tangency of both endpoint spheres at \(p_i\), every base representative satisfies \(z(X_i)=O(t^2)\) and \(g_{a_\pm}(X_i)=O(t^2)\). Applying the enclosing argument of Section~\ref{sec:regular-count} inside the \((d-1)\)-dimensional hyperplane \(W\) shows that the orthogonal projections \(\pi X_i\) onto \(q+W\) enclose a \((d-1)\)-dimensional disk of radius \(c_1 t\) centred at \(q\) in \(q+W\). Meanwhile, \(z(X_+)\ge b_0/2\) and \(z(X_-)\le-b_0/2\), with \(g_{a_+}(X_+)=O(t^2)\) and \(g_{a_-}(X_-)=O(t^2)\). Next build points inside \(q+W\) where \(L_n\) stays bounded above by \(L_\vee+Ct^2\). Join each base representative \(X_i\) having \(z(X_i)\ne0\) by a segment to the extra representative \(X_-\) or \(X_+\) of opposite sign (drawn for \(z(X_i)>0\) in Figure~\ref{fig:sampled-cones}(a)), and mark where it crosses \(q+W\). Because \(|z(X_i)|=O(t^2)\) while \(|z(X_\mp)|\ge b_0/2\), the crossing point puts weight \(O(t^2)\) on \(X_\mp\). It therefore stays within \(O(t^2)\) of \(\pi X_i\), and its interpolated sample height exceeds both \(\ell_{a_+}\) and \(\ell_{a_-}\) by at most \(Ct^2\) (the bounded gap at \(X_\mp\) is multiplied by \(O(t^2)\)). When \(z(X_i)=0\), \(X_i\) already lies in \(q+W\) with gap \(O(t^2)\). Replacing \(\pi X_i\) by points within \(O(t^2)\) preserves enclosure for small \(t\), so convex combinations of these cuts produce a \((d-1)\)-dimensional disk \(D\subset q+W\) of radius \(c_1t/2\) centred at \(q\) where \(L_n\le L_\vee+Ct^2\). \paragraph{Extending the disk to both sides.} Form the two cones \(\conv(D\cup\{X_+\})\) and \(\conv(D\cup\{X_-\})\), which lie on opposite sides of the interface hyperplane \(q+W\). On \(\{z\ge0\}\) we have \(L_\vee=\ell_{a_+}\) and on \(\{z\le0\}\) we have \(L_\vee=\ell_{a_-}\), while \(L_n\) is convex and satisfies \(L_n(X_\pm)\le\ell_{a_\pm}(X_\pm)+Ct^2\) and \(L_n\le L_\vee+Ct^2\) on \(D\). Because \(L_\vee\) is affine on each half-space separately, convexity inside each cone yields \begin{equation} L_\vee(x)\le L_n(x)\le L_\vee(x)+Ct^2 \label{eq:sample-wedge} \end{equation} throughout the union \(\conv(D\cup\{X_+\})\cup\conv(D\cup\{X_-\})\). To show that this union of two cones contains \(B(y,bt)\) for a uniform \(b>0\) once \(U\) (and hence \(\mu\)) is small, set \(\widetilde y=(1-\mu)q+\mu X_\star\), so \(\|\widetilde y-y\|=\mu\|X_\star-p_\star\|\le C\mu t\). Radial projection from the tip \(X_\star\) onto \(q+W\) sends \(\widetilde y\) directly to \(q\). Because \(|z(X_\star)|\ge b_0/2\) while \(|z(y)|=\mu|z(p_\star)|\) is small, this radial projection has uniformly bounded derivative near \(y\). Any point of \(B(y,bt)\) on the \(X_\star\)-side of \(q+W\) thus projects into \(q+W\) within distance \(C(b+\mu)t\) of \(q\), landing inside \(D\) for small enough \(\mu\) and \(b\) while keeping height strictly below \(|z(X_\star)|\). If \(B(y,bt)\) crosses \(q+W\) into the opposite shaded cap (Figure~\ref{fig:sampled-cones}(c)), then \(\mu|z(p_\star)|=|z(y)|\le bt\), forcing \(\|y-q\|\le Cbt\); projecting points of that cap from the opposite tip likewise lands in \(D\). Shrinking \(U\) first to bound \(\mu\) and then fixing \(b>0\) yields~\eqref{eq:sample-wedge} on all of \(B(y,bt)\), even across the interface. \paragraph{Where the vertices can lie.} Suppose a closed Delaunay simplex meets \(B(y,bt/2)\) at \(x_0\), so \(B(x_0,bt/2)\subset B(y,bt)\) where~\eqref{eq:sample-wedge} holds. Lemma~\ref{lem:powers}(c) yields a parameter \(a\in[a_-,a_+]\) such that every simplex vertex \(p\) and every sampled site \(x\) obey \[ g_a(p)\le g_a(x)+Ct\|p-x\|. \] Choosing \(x=X_i\) as any base representative (with gap \(O(t^2)\) for both endpoint supports and thus for \(\ell_a\)) gives \(g_a(p)=O(t)\) by boundedness of \(V\). By compactness of \([a_-,a_+]\) and of the query chart around \(q_0\), \(g_a\) has a uniform positive lower bound outside the \(j+2\) contact charts around \(p_1,\ldots,p_j,p_+,p_-\). For small \(t\), every vertex \(p\) therefore enters one of those charts. If \(p\) falls in a base chart around \(p_i\), ordinary tangency gives \(g_a(p)\ge c\|p-p_i\|^2\) uniformly over \(a\in[a_-,a_+]\). Comparing against the base site within \(Ct\) of \(p_i\) yields \(c\|p-p_i\|^2\le C(t^2+t\|p-p_i\|)\) and hence \(\|p-p_i\|=O(t)\), just as in Section~\ref{sec:regular-count}. If instead \(p\) falls in the chart around \(p_+\), where \(z\ge b_0/2\), rewrite \(g_a=g_{a_+}+(a_+-a)z\). Since \(g_{a_+}\ge0\), having \(g_a(p)=O(t)\) and \(z(p)\ge b_0/2\) forces \(a_+-a=O(t)\). When comparing \(g_a(p)\) with \(g_a(X_+)\), switching to \(g_{a_+}\) alters the difference by \((a_+-a)|z(p)-z(X_+)|\le Ct\|p-X_+\|\). Ordinary tangency of \(g_{a_+}\) at \(p_+\) then gives \(c\|p-p_+\|^2\le C(t^2+t\|p-p_+\|)\) and \(\|p-p_+\|=O(t)\), and reversing the sign of \(z\) handles \(p_-\) identically. Every vertex of a simplex meeting \(B(y,bt/2)\) thus lies in a deterministic union of \(j+2\) collector balls of radius \(O(t)\) and mass \(O(t^\delta)\). Putting \(t=v^{1/\delta}\ge n^{-1/\delta}\) satisfies Lemma~\ref{lem:window-count} for \(B(y,bn^{-1/\delta}/2)\), and halving \(b\) completes the proof. \end{proof} \phantomsection\label{proof:generic-completion} \begin{proof}[Completion of the proof of Theorem~\ref{thm:manifold-generic}] By Section~\ref{sec:regular-count}, the regular queries form an open set \(\mathcal R\subset\inter K\). For each query point \(q_0\) on a nondegenerate crossing interface of Section~\ref{sec:resonant-geometry}, Proposition~\ref{prop:pencil-count} yields an open neighbourhood \(U\subset\inter K\) where the local expected crossing bound holds uniformly at scale \(bn^{-1/\delta}\). Let \(G\) be the union of \(\mathcal R\) and these neighbourhoods \(U\). The proof of Proposition~\ref{prop:pencil-count} chooses \(U\) using only the contact geometry near \(q_0\), independently of the density bounds used to estimate the masses of the witness patches. Thus \(G\) is open and depends only on \(V\). By the dimension bounds and exclusions in Sections~\ref{sec:generic-proof}--\ref{sec:resonant-geometry}, the complement \(E=(\inter K)\setminus G\) has zero \((d-1)\)-dimensional Hausdorff measure. Applying the covering argument on page~\pageref{proof:segment-avoidance} directly to \(E\) shows that for Lebesgue-almost every pair \((a,b)\in(\inter K)^2\), the segment \([a,b]\) avoids \(E\) and therefore stays inside \(G\) (possibly crossing interfaces of contact switch there). To obtain uniform constants on any compact subset \(Q\subset G\), cover \(Q\) by finitely many open neighbourhoods on which the local ball bound of Section~\ref{sec:regular-count} or Proposition~\ref{prop:pencil-count} holds. Choosing the smallest radius coefficient \(b\), the largest local expectation constant \(C\), and the largest threshold \(n_0\) from this finite cover gives uniform parameters across \(Q\). Any fixed segment \(s\subset Q\) is covered by at most \(O_Q(1+|s|n^{1/\delta})\) balls of radius \(bn^{-1/\delta}\) centred along \(s\), and summing their expected cell counts establishes the bound on \(Q\).\phantomsection\label{proof:generic-end} For any fixed segment \(s=[a,b]\) avoiding \(E\), taking \(Q=s\) gives the individual-segment bound as well. \end{proof} Notice that the final finite-cover argument also yields a deterministic criterion for any specific compact smooth embedding \(V\subset\R^d\) of full affine span. Suppose one checks directly that, outside a set of zero \((d-1)\)-dimensional Hausdorff measure, every interior query either is regular or satisfies the hypotheses of Proposition~\ref{prop:pencil-count}. Then the expected crossing bound holds uniformly on every compact subset of the resulting open set \(G\).