We design the first fully polynomial-time randomized approximation scheme (FPRAS) to estimate the mixed volume of n arbitrary compact convex sets in Rn specified by weak membership oracles. This disproves a longstanding conjecture of Gurvits [Gur09a, Section 4, item 2].
AI Disclosure The main ideas were generated entirely by GPT 6 Astra. The purpose of this paper is to provide a human-written exposition of the algorithm.
Contents
1 Introduction
2
1.1 Applications of Mixed Volume Computation
3
1.2 Prior Work
5
1.3 Acknowledgements
6
1.4 Technical Overview
6
2 Preliminaries
7
2.1 Notation
7
2.2 Mixed Discriminants and Volumes
9
2.3 Algorithmic Inputs
10
2.4 Calculus on the Sphere
12
3 The Smooth and Well-Rounded Case
12
3.1 A Poincaré Inequality on the Sphere
13
3.2 Proof of Theorem 3.3
16
4 Smoothing
16
4.1 Convolving with a Gaussian
17
4.2 Efficient Implementation
21
5 The General Case
22
5.1 Simultaneous Rounding via Convex Programming
23
5.2 Balancing
25
A Lower-Dimensional Sets
31
A.1 Dimensions One and Two
32
B Sampling on the Sphere
33
B.1 Rapid Mixing of the Lazy Metropolis Chain
33
B.2 Proof of Lemma 2.16
37
C Calculus on the Sphere
38
D Proofs of the Applications
40
D.1 Proof of Theorem 1.7
40
D.2 Proof of Theorem 1.10
41
*Email: xiaoyu@mit.edu, Massachusetts Institute of Technology. Supported by the NSF CAREER grant CCF-2443045, and the Reed Fund at MIT.
†Email: liukui@mit.edu, Massachusetts Institute of Technology. Supported by the NSF CAREER grant CCF-2443045, and the Reed Fund at MIT.
1 Introduction
For n,m∈N, let K1,…,Km⊆Rn be a collection of compact convex sets. A classical theorem of Minkowski [Min03], stated in arbitrary dimension in [Sch14], shows that the function
Here, we write A+B:={a+b:a∈A,b∈B} for the Minkowski sum of two sets A,B⊆Rn, and tA:={t⋅a:a∈A} for the dilation of A⊆Rn. The coefficient ∨n(Ki1,…,Kin) is called the mixed volume of Ki1,…,Kin. Moreover, these coefficients are all evaluations of the same symmetric multilinear functional that takes as input n compact convex sets in Rn and outputs a nonnegative real number.
The mixed volume functional vastly generalizes many natural and important geometric parameters. To illustrate, let B2n denote the unit Euclidean ball in Rn, and fix an arbitrary compact convex set K⊆Rn. A special case of Eq. (1) is Steiner's Formula:
The coefficients W0(K),…,Wn(K) are called the quermassintegrals (or, up to a simple rescaling, the intrinsic volumes) in convex geometry (see e.g. [Sch14]). The first two coefficients recover familiar objects: W0(K)=Vol(K), and nW1(K) equals the surface area of K. The higher coefficients also admit natural geometric descriptions. For instance, the Cauchy–Kubota formula states that
where the expectation is taken over the projection Πn−k onto a Haar random (n−k)-dimensional subspace of Rn. Mixed volumes also obey many deep geometric inequalities that generalize classical ones such as the isoperimetric inequality. These form the subject of the beautiful Brunn–Minkowski theory; see e.g. [Sch14].
A natural computational question is whether or not there exist polynomial-time algorithms that compute mixed volumes. This problem was first posed in [DGH98], building on the seminal work of [DFK91] giving a positive resolution for volumes. The special case of volumes has a particularly long and rich history of research [LS90; DF91; AK91; DFK91; LS93; KLS97; LV06]; see [Jia+26] and references therein for more recent developments. This special case can be extended slightly [DGH98; BNN13; NR25; Nar26]; see Section 1.2 for a more in-depth discussion. However, the general case remained a longstanding open problem. The difficulty of this problem is underscored by a conjecture of Gurvits that in fact, no efficient algorithm exists [Gur09a, Section 4, item 2]. Surprisingly, we disprove this conjecture by giving the first fully polynomial-time randomized approximation scheme (FPRAS), building directly on the recent FPRAS for computing general mixed discriminants of positive semidefinite matrices [CL26].
To state our result more formally, let us first specify precisely how the compact convex sets are given to the algorithm. For simplicity, the main body of this paper concerns convex bodies, i.e. compact convex sets with nonempty interior; the lower-dimensional setting is handled in Theorem A.2.
Definition 1.1 (Well-Presentedness; [DGH98]). Let K⊆Rn be a convex body. All our algorithms will be supplied with the following data concerning K:
Weak Membership Oracle: There is a blackbox that, given any point x∈Qn and rational ε>0, returns either YES, certifying x∈K(ε):=K+εB2n, or NO, certifying x∈/K(−ε):=Rn∖((Rn∖K)+εB2n). Either answer is allowed when both assertions hold.
Initial Data: A point xinit∈K∩Qn and rational numbers 0<r≤R are supplied such that
xinit+rB2n⊆K⊆xinit+RB2n.
Theorem 1.2 (FPRAS for Mixed Volumes). There exists a randomized algorithm that, given access to n well-presented convex bodies K1,…,Kn and rational 0<ε,δ<1, outputs a number V with the guarantee
The number of weak membership oracle calls and bit operations used by the algorithm is polynomial in n, 1/ε, log(1/δ), and the total binary length of ε,δ and the supplied data {(xiinit,ri,Ri)}i=1n.
Theorem A.2 extends these guarantees to lower-dimensional compact convex sets.
Remark 1.3. Even in the special case of volumes, exact computation is #P-hard and hence, unlikely to admit efficient algorithms [DF88]. Moreover, randomization is necessary for polynomial-time relative approximation in the access model described by Definition 1.1 [BF87].
Remark 1.4. It is natural to wonder what the running time of our algorithm is, say, assuming each membership oracle call takes constant time. Such a question is relevant primarily when one is interested in actually implementing the algorithm. However, with a running time of O(nc), analyzing the precise value of the constant c isn't particularly meaningful once c is larger than, say, 10; the algorithm is hopelessly impractical unless the inputs are extremely low-dimensional. This is certainly the case for our algorithm, as it invokes a long nested sequence of algorithmic black-boxes from the literature and their variants. These include convex optimization, smoothing and rounding, self-reduction from counting to sampling, Monte Carlo approximation with a large poly(n) number of samples, Markov chain simulation with a large poly(n) number of steps, mixed-discriminant approximation, support function approximation, etc. The focus of this paper is chiefly to highlight the conceptual ideas that establish the existence of an FPRAS, and we have endeavored to present them in the cleanest possible manner.
For fun, we asked GPT 6 Astra to give a crude running time estimate. It claimed an upper bound of O~(n900ε−220) poly(L)log(2/δ), where L≥1 is the total binary input length and O~ suppresses logarithmic factors. This is probably quite conservative, but we have not carefully verified this estimate, including the costs and precision requirements of the black boxes, and do not claim it as a proved bound. We leave it as an interesting open problem to develop a practically useful FPRAS for computing general mixed volumes, with a genuinely reasonable running time.
1.1 Applications of Mixed Volume Computation
Mixed volumes are fundamental geometric quantities that are interesting and important to study algorithmically in their own right. But beyond convex geometry, mixed volumes also arise in many natural algebraic and combinatorial applications. We discuss several of these to illustrate how they fit into the general mixed volume setting, although FPRAS were already previously known for some of them.
Complex Algebraic Geometry The Bernstein–Khovanskii–Kouchmirenko (BKK) Theorem expresses the number of complex solutions to generic systems of Laurent polynomial equations in terms of certain mixed volumes. To state this theorem, for a collection of variables z=(z1,…,zn) and α∈Zn, we write zα:=∏i=1nziαi. Define the algebra of Laurent polynomials as
For f∈C[z1±1,…,zn±1], we write supp(f):={α∈Zn:cα=0} for its support, and define its Newton polytope as Newt(f):=conv(supp(f))⊆Rn.
Theorem 1.5 (Informal; [Ber75; Kou76; Kho78]). Fix n∈N, and let f1,…,fn∈C[z1±1,…,zn±1] be arbitrary Laurent polynomials. If the coefficients of f1,…,fn are generic1, then
1This means that the coefficients lie outside a certain Lebesgue measure zero subset of the space of all possible coefficients ∏i=1nCsupp(fi). When the coefficients are not generic, one must take care to count (with multiplicity) only the isolated zeros. Moreover, the mixed volume in the right-hand side becomes only an upper bound.
Thus, given the list of coefficients of a collection of generic Laurent polynomials f1,…,fn, Theorem A.2 yields an efficient algorithm to approximate the number of commons zeros in z∈(C∖{0})n.
Permanents and Zonohedra A zonotope is a Minkowski sum of segments, i.e. sets obtained by taking the convex hull of two points. Equivalently, they are the image of a hypercube (with possibly higher dimension) under an affine transformation. Mixed volumes of zonotopes encode numerous classical combinatorial quantities. For example, for a nonnegative vector v∈R≥0n, define the box
B(v):={z∈Rn:0≤zi≤vi,∀i=1,…,n}.
We can recover the permanent of nonnegative matrices (and hence, the number of perfect matchings in a bipartite graph) from mixed volumes.
Proposition 1.6 (Folklore; see e.g. [DGH98]). Let A∈R≥0n×n be an entrywise nonnegative matrix with rows a1,…,an∈R≥0n. Then
per(A)=n!⋅Vn(B(a1),…,B(an)),
where recall that per(A):=∑σ∈Sn∏i=1nA(i,σ(i)) is the permanent of A. Here Sn is the set of permutations of [n]:={1,…,n}.
An FPRAS for the permanent of nonnegative matrices was already known [JSV04], with subsequent improvements in [Bez+08; CVY26; Che+26]. It also follows from the FPRAS for counting common bases of two matroids [CL26].
Linear Extensions of Posets Let P=(X,⪯) be a partially ordered set (poset) on n elements X={x1,…,xn}. A linear extension of P is an order-preserving bijection σ:P→[n]. It is well-known [Sta86] that the number of such linear extensions is exactly equal to n! times the volume of the order polytope
O(P):={z∈[0,1]X:zx≤zywheneverx⪯y}.
Membership and separation oracles for O(P) can be implemented in polynomial-time via standard linear programming routines [GLS88]. Hence, standard volume computation algorithms already give efficient and accurate approximations to the number of linear extensions [DFK91]. We refer interested readers to [CP25] for a comprehensive survey.
Mixed volumes of various sections of the order polytope also count the number of linear extensions of P subject to various constraints. For a nonnegative integer r, write K[r] for the tuple of r copies of K, with K[0] denoting the empty tuple.
Theorem 1.7 ([Sta81]). Fix x1≺⋯≺xk in P with k<n, and positions a1<⋯<ak in [n]; for convenience, write a0=0,ak+1=n+1. For each j=0,…,k, let dj:=aj+1−aj−1 and
Fj:=O(P)∩i=1⋂j{zxi=0}∩i=j+1⋂k{zxi=1},
which we may identify with the polytope in Rn−k obtained by forgetting zx1,…,zxk. Then
From these theorems, one can deduce highly nontrivial inequalities between these counts by appealing to the Alexandrov–Fenchel Inequality; see Theorem 2.12. This is perhaps one of the original motivations for these results. Further applications of encoding combinatorial information of posets into mixed volumes can be found in [Sta86; Sta81]. Theorem A.2 gives an FPRAS for computing each of the quantities appearing in Theorems 1.7 and 1.8. The Kahn–Saks count, involving only two bodies, and Stanley’s formula with a constant number of prescribed ranks already fall within the purview [Nar26]. Our theorem also permits the number of prescribed ranks to grow with n.
Job Scheduling with Precedence Constraints Let X={x1,…,xn} be a collection of n tasks to be completed by a single machine within some time horizon T∈N. These tasks are subject to two natural types of constraints:
There is a poset P=(X,≤) on X describing precedence constraints between the jobs.
Each x∈X comes with a window ⌊ℓx,ux⌋⊆[T] in which work on x must commence.
A feasible schedule is an injective map σ:P→[T] satisfying σ(x)<σ(y) whenever x≺y, and ℓx≤σ(x)≤ux for every x∈X.
Let 0=b0<⋯<bm=T list the distinct values in {0,T}∪{ℓx−1,ux:x∈X}, where m≤2n+1. For each i=1,…,m, set Li=bi−bi−1 and define
Stanley’s formula [Sta81] yields an expression for the total number of feasible schedules in terms of (mixed) volumes. To state it, for a collection of variables z=(zu)u∈E and a subset U⊆E, we write zU:=∏u∈Uzu. If p(z) is a polynomial, then [zU]p denotes the coefficient of the monomial zU in p. Now, for convenience, set E:=[m]×[n] and Ej:={j}×[n] for each j=1,…,m.
Definition 1.9 (Polarization). For a homogeneous degree-n polynomial F(t1,…,tm), we define its polarization Fpol(zij:ij∈E) as the polynomial obtained from F by replacing tjk with the normalized degree-k elementary symmetric polynomial (kn)1∑S⊆E;∣S∣=kzS for each j=1,…,m and k=0,…,n.
where (L)q=L(L−1)⋯(L−q+1) denotes the falling factorial (with the convention that (L)q=0 for q>L). Then the number of feasible schedules equals the subset convolution
For completeness, we give a proof in Appendix D.2. Note that Fpol and G are log-concave: the former is by [BH20, Theorem 4.1 and Proposition 3.1], and the latter is by [BH20, Corollary 3.16 and Theorem 2.30], since its falling-factorial weights satisfy the coefficient exchange inequality. Positive starting coefficients can be found in polynomial time by choosing independent directions from the Ki for Fpol (Eq. (17)) and filling the block capacities for G; failure of either construction certifies that no feasible schedule exists. The ratios between positive coefficients have polynomially bounded logarithms. Theorem 1.2 (see also Theorem A.2) supplies a relative coefficient oracle for Fpol, while the coefficients of G are explicit. Combining this with [CL26, Theorem 1.6 and Remark 1.17] gives an FPRAS2 for approximately counting the number of feasible schedules.
1.2 Prior Work
Prior algorithmic results on estimating mixed volumes can be roughly classified into two types.
2The algorithm first performs the polynomial-time cycle check from the proof in Appendix D.2 and returns zero if a cycle is found; this includes every case with an empty Ki.
FPRAS for Special Cases Dyer–Frieze–Kannan [DFK91] gave the first FPRAS for computing volumes of convex bodies, i.e. Vn(K1,…,Kn) where K1=⋯=Kn. A long sequence of work has gradually reduced the complexity of this problem [LS90; DF91; AK91; LS93; KLS97; LV06]; see [Jia+26] and references therein for more recent developments. These algorithms are all based on the Markov chain Monte Carlo method.
Building upon these volume computation algorithms, several works have developed FPRAS for computing special cases of mixed volumes. [DGH98] gave an FPRAS for Vn(K1,…,Kn) when K1=⋯=Kn−s(n) for s(n)=o(loglognlogn). An important case covered by this result is the surface area of a convex body; a faster algorithm for surface area was developed in [BNN13]. More recently, [NR25] developed an FPRAS for Vn(P1[α1],…,Pk[αk]) for lattice convex polytopes P1,…,Pk given by their vertices, where k is a fixed constant independent of n, and α1,…,αk∈N with α1+⋯+αk=n are arbitrary. In a follow-up work, [Nar26] relaxed the input and obtained the same guarantee except where P1,…,Pk are allowed to be arbitrary well-presented convex bodies.
Coarse Approximations in General An alternative line of work has developed polynomial-time algorithms for general mixed volumes, but achieve significantly weaker approximation guarantees. [Bar97] gave a randomized polynomial-time nO(n)-approximation algorithm to the mixed volume of general convex bodies by reducing to mixed volumes of ellipsoids, and then further reducing to randomized eO(n)-approximation of mixed discriminants. [GS00; GS02] derandomized this result using convex programming to approximate mixed discriminants. Using the same convex program but applied directly to the volume polynomial, [Gur09a] obtained a randomized polynomial-time n!nn-approximation algorithm, where the randomness stems from calling existing volume computation algorithms.
1.3 Acknowledgements
This work was initiated and completed while the authors were visiting the Simons Institute for the Theory of Computing for the program on Spectral Theory Beyond Graphs (Fall 2026), where most of the discussions behind it took place. We are grateful to the Simons Institute for its hospitality. The authors thank Hariharan Narayanan for asking clarifying questions that helped significantly improve the exposition of this paper, and for describing the high-level ideas behind his prior work on the problem [NR25; Nar26].
AI Disclosure The main ideas were generated entirely by GPT 6 Astra. The authors simplified and rewrote the arguments by hand in an effort to provide a clean exposition. The authors assume full responsibility for the contents of this paper.
1.4 Technical Overview
This paper builds a sequence of efficient algorithmic reductions that gradually increase the generality of the input bodies that we are able to handle. These are outlined in the remainder of this section.
The simplest and cleanest special case we attack first is when the bodies K1,…,Kn are smooth and well-rounded (see Definitions 3.1 and 3.2 for precise definitions). This step is based on the Markov chain Monte Carlo method and a reduction to prior work of the authors on computing mixed discriminants of positive semidefinite matrices [CL26]; the details are provided in Section 3. To handle well-rounded but nonsmooth bodies, we reduce to the smooth well-rounded setting via a standard smoothing procedure involving convolutions (see e.g. [Gho04]); the details are provided in Section 4. To handle the most general setting, we reduce to the well-rounded setting via a dual maximum entropy convex program called the Gurvits capacity (see the discussion in Remark 5.6), which can be solved by gradient descent; the details are provided in Section 5.
The Smooth Well-Rounded Case Our starting point is to leverage a well-known formula that expresses the mixed volume as an integral over the unit sphere Sn−1 of the mixed discriminant of certain natural Hessian matrices associated to the input bodies; see Proposition 2.9 for a formal statement. The mixed discriminant is a natural multilinear form on tuples of positive semidefinite matrices that is derived from determinantal polynomials in a similar fashion to how the mixed volume functional is derived. The mixed discriminant of n−1 fixed positive semidefinite matrices in R(n−1)×(n−1) is related to the mixed volume of the ellipsoids in Rn−1 defined by those matrices; see e.g. [Bar97].
Recently, the authors designed the first FPRAS for mixed discriminants of general positive semidefinite matrices [CL26]. Our goal is to combine this FPRAS with the aforementioned integral formula to obtain an FPRAS for mixed volumes. However, the terms appearing in the integral may vary by an exponentially large amount, and so a direct application of the Monte Carlo method by repeatedly sampling uniformly from Sn−1 will fail. To overcome this, we take inspiration from standard counting-to-sampling reductions (see e.g. [JVV86]) by interpolating to an easy-to-compute quantity via a telescoping product. More specifically, we write
Our task then reduces to estimating each ratio in the product. Using Proposition 2.9, we can interpret each ratio as the expectation of a certain test function on Sn−1 with respect to a certain nonuniform probability measure on Sn−1 defined via mixed discriminants. This test function is Lipschitz provided the input bodies are smooth and well-rounded. Its expectation can then be estimated by the Monte Carlo method, provided we can sample from these measures.
We will achieve efficient sampling using Markov chains. To bound the mixing time, we directly use the famous Alexandrov–Fenchel Inequality in convex geometry to prove a global Poincaré Inequality for continuous-time Langevin diffusion; see Theorem 2.12, although to be more precise, we use an equivalent formulation due to [SvH19]. Smoothness and well-roundedness are again used to transfer this Poincaré Inequality to a mixing time upper bound for a discrete-time Metropolized implementation.
The Well-Rounded Case When the bodies K1,…,Kn are well-rounded but not necessarily smooth, we first compute approximations to them that are both well-rounded and smooth. This is achieved via convolution, a technique which is quite standard; see e.g. [Gho04]. We then use the preceding MCMC-based algorithm to compute the mixed volume of these smooth approximations. By tuning the magnitude of the perturbation, this also gives an accurate approximation of Vn(K1,…,Kn).
The General Case In the most general case, the bodies K1,…,Kn can have exponentially large aspect ratios R1/r1,…,Rn/rn, i.e. they are not even well-rounded. To fix this, we compute approximating bodies that are well-rounded. The key challenge is that the bodies can be extremely ill-conditioned in different directions, and so simply applying a single affine transformation (as is often done in algorithms that compute the volume of a single body) will fail. One might be tempted to apply a different transformation to each body, but this can lead to uncontrollable changes to the mixed volume. However, we can overcome these obstacles by adding a polynomially-small multiple of the combined sum K1+⋯+Kn to every body, and then globally applying the affine transform that well-rounds this single body.
Unfortunately, this scheme still fails, roughly because the “sizes” of the bodies K1,…,Kn can still vary drastically (e.g. multiplicatively on an exponential-in-n scale). As a result, some bodies can have an undue “influence” on the resulting mixed volume. To address this, we normalize the bodies by rescaling. More concretely, we will apply the aforementioned scheme to t1K1,…,tnKn, and then algorithmically search for a good rescaling t=(t1,…,tn)∈R≥0n using convex programming. The specific convex program is known as the Gurvits capacity, applied to the mixed volume polynomial derived from this scheme.
2 Preliminaries
2.1 Notation
For convenience, for any object X and any k∈N, we write X[k]:=(X,…,X) for the tuple of length-k with X placed in all entries. So, for example, we may condense the notation for mixed volumes as Vn(K[n])=Vn(K,…,K)=Voln(K). If K is a tuple of objects (e.g. a tuple of n convex bodies in Rn), and S⊆[n], we write KS:=(Ki)i∈S and K−S:=(Ki)i∈/S; when S={i} or S={i,j}, we simply write Ki,K−i,Kij,K−ij instead.
We write B2n for the unit Euclidean ball in Rn, and Sn−1 for the unit Euclidean sphere (i.e. the boundary of B2n). We also write ω for the surface measure on Sn−1. Finally, let dSn−1(x,y):=arccos⟨x,y⟩ denote the geodesic distance between points on Sn−1.
Linear Algebra We write ⟨⋅,⋅⟩ and ∥⋅∥2 for the standard inner product and Euclidean norm, and I for the identity map of the space under consideration. For symmetric matrices A,B, we write A⪯B if B−A is positive semidefinite. For a linear subspace V⊆Rn with orthogonal projection PV, the restriction of a matrix A∈Rn×n to V is the linear map A∣V:V→Rn, v↦Av. If A maps V into itself, we may view A∣V as a map from V to V. For a vector g∈Rn, its orthogonal projection onto V is PVg, characterized by ⟨PVg,v⟩=⟨g,v⟩ for all v∈V. Finally, by fixing an orthonormal basis of a k-dimensional subspace V, we treat linear maps from V to V as k×k matrices; the quantities we use, such as traces, determinants, the Loewner order, and mixed discriminants (Section 2.2), do not depend on this choice.
Probability For a probability measure μ, we write Eμ[f] and Varμ[f] for the expectation and variance of a function f under μ, and ∥μ−ν∥TV for the total variation distance between probability measures μ and ν.
Euler Identity We write ∇RnF and ∇Rn2F for the usual Euclidean gradient and Hessian of F, respectively. We first recall homogeneity and Euler's identities.
Definition 2.1. Let d∈R. A function F:Rn∖{0}→R is d-homogeneous if F(rx)=rdF(x) for every x=0 and r>0.
Proposition 2.2. Let F:Rn∖{0}→R be twice differentiable and d-homogeneous. For x=0 and r>0,
Now let F:Rn∖{0}→R be twice differentiable and 1-homogeneous, and let θ∈Sn−1. Write θ⊥:={x∈Rn:⟨x,θ⟩=0} for the (n−1)-dimensional tangent space of Sn−1 at θ. By Proposition 2.2, ∇Rn2F(θ)θ=0, so symmetry implies that the Euclidean Hessian maps θ⊥ into itself. Its restriction to θ⊥ can therefore be represented by the full n×n Hessian, extending the restriction by zero on span{θ}. We define D2F(θ):θ⊥→θ⊥ by
D2F(θ):=∇Rn2F(θ)θ⊥.
Determinants and mixed discriminants of D2F(θ) are always taken on θ⊥.
For a differentiable function F:U→R on an open set U⊆Rn, the directional derivative at x∈U in a fixed direction a∈Rn is
∂aF(x):=s→0limsF(x+sa)−F(x)=⟨∇RnF(x),a⟩.
Higher-order directional derivatives are defined by iteration. In particular, for a three times differentiable F, we write ∂a∂b∂cF=∂a(∂b(∂cF)), with a,b,c∈Rn held fixed. For vector- or matrix-valued functions, directional derivatives are taken componentwise.
Convex Geometry A convex body K is a compact convex set with nonempty interior. The support function of a nonempty compact set K⊆Rn is the 1-homogeneous convex function
hK(x):=z∈Ksup⟨x,z⟩.
Proposition 2.3. Every nonempty compact convex set K⊆Rn is the intersection of its supporting half-spaces:
K=θ∈Sn−1⋂{z∈Rn:⟨θ,z⟩≤hK(θ)}.
Proposition 2.4. For nonempty compact convex sets K,L⊆Rn,
K⊆L⟺hK≤hLonSn−1.
Proposition 2.5. Let K,L⊆Rn be nonempty compact sets. Then:
hK+L=hK+hL;
htK=thK for every t≥0;
hK+z(x)=hK(x)+⟨x,z⟩ for every x,z∈Rn;
hTK(x)=hK(T⊤x) for every linear map T:Rn→Rn and x∈Rn.
Proposition 2.6. Let h:Rn→R be sublinear, meaning that it is convex and 1-homogeneous. Then h is the support function of the nonempty compact convex set
K={z∈Rn:⟨x,z⟩≤h(x)forallx∈Rn}.
For smooth functions on the sphere, there is also the following characterization.
Lemma 2.7 (see e.g. [SvH19]). Let n≥2 and h∈C2(Sn−1), and let F be its 1-homogeneous extension to Rn∖{0}. Then h is the restriction of the support function of a nonempty compact convex set if and only if D2F(θ)⪰0 for all θ∈Sn−1.
2.2 Mixed Discriminants and Volumes
For n−1 matrices A1,…,An−1∈R(n−1)×(n−1), their mixed discriminant is defined as the quantity
If A1′⪰A1 and A2,…,An−1 are symmetric positive semidefinite, then Dn−1(A1,A2,…,An−1)≤Dn−1(A1′,A2,…,An−1).
Now, let us turn to convex bodies. Crucial to our approach is the following relationship between mixed volumes and mixed discriminants.
Proposition 2.9. For any collection of convex bodies K1,…,Kn⊆Rn such that hK1,…,hKn are twice continuously differentiable away from the origin and D2hK1,…,D2hKn are positive definite on Sn−1, we have
and is intimately related to the interpretation of mixed volumes as a generalization of “surface area”. This, however, does not give an efficient algorithmic reduction from mixed volumes to standard volumes, as there are exponentially many terms and the terms have signs.
Lemma 2.11. Mixed volumes satisfy the following properties:
Vn(⋅,…,⋅) is symmetric and multilinear in its arguments (with respect to Minkowski addition and dilation).
For any convex body K⊆Rn, we have Vn(K,…,K)=Vol(K).
For any convex bodies K1,…,Kn⊆Rn, we have Vn(K1,…,Kn)≥0.
If T:Rn→Rn is any linear transformation given by a matrix B∈Rn×n, then
Vn(T(K1),…,T(Kn))=∣det(B)∣⋅Vn(K1,…,Kn).
For any x1,…,xn∈Rn, we have Vn(x1+K1,…,xn+Kn)=Vn(K1,…,Kn).
If K1⊆K1′, then Vn(K1,K2,…,Kn)≤Vn(K1′,K2,…,Kn).
Theorem 2.12 (Alexandrov–Fenchel Inequality; [Ale37; Ale38; Fen36]; see also [Sch14; SvH19]). For any tuple of convex bodies K,L,C1,…,Cn−2 in Rn, writing C=(C1,…,Cn−2), we have
Vn(K,L,C)2≥Vn(K,K,C)⋅Vn(L,L,C).
Theorem 2.13 ([BGL18]; see also [GHP02; FGM03]). For any tuple of convex bodies J,K,L,C1,…,Cn−2 in Rn, writing C=(C1,…,Cn−2), we have
Vn(K,K,C)⋅Vn(J,L,C)≤2⋅Vn(J,K,C)⋅Vn(K,L,C).
2.3 Algorithmic Inputs
In this subsection, we record several key building blocks that we will need to prove Theorem 1.2.
Theorem 2.14 ([CL26]). There exists a randomized algorithm that, given n−1 symmetric positive semidefinite matrices A1,…,An−1∈R(n−1)×(n−1) and 0<ε,δ<1, outputs a number D with the guarantee
The running time of the algorithm is polynomial in n, 1/ε, log(1/δ), and the total binary length of the input matrices A1,…,An−1.
Theorem 2.15 (Rounding; see e.g. [GLS88; AK91; GK94; DGH98]). Given access to a convex body K⊆Rn (in the sense of Definition 1.1), there is a deterministic algorithm that produces an invertible affine transformation T:Rn→Rn satisfying the following guarantee:
B2n⊆T(K)⊆nn+1B2n.
Moreover, the number of membership oracle calls and arithmetic operations used by the algorithm is polynomial in n and the total binary length of the data (xinit,r,R).
Lemma 2.16 (Mean Estimation on a Sphere). Let n≥2, and let μ be a probability measure on Sn−1 with smooth positive density ψ=dωdμ. Here ∇Sn−1 denotes the spherical gradient; see Section 2.4. Suppose that given constants γ,ζ>0 satisfy the following analytic conditions:
Poincaré Inequality: For every smooth function f:Sn−1→R, we have
γ⋅Varμ[f]≤∫Sn−1∥∇Sn−1f∥22dμ.
Lipschitzness: ∥∇Sn−1logψ∥2≤ζ uniformly on Sn−1.
Let g:Sn−1→[1,B] satisfy ∣g(x)−g(y)∣≤L∥x−y∥2 for all x,y∈Sn−1. Then for any 0<ε,δ<1, there is a randomized algorithm that outputs a number E with
Pr[(1−ε)Eμ[g]≤E≤(1+ε)Eμ[g]]≥1−δ.
The algorithm only needs approximate values of g(x/∥x∥2) and ψ(y/∥y∥2)/ψ(x/∥x∥2) for nonzero x,y∈Qn: it suffices that each value is within a factor 1±η with probability at least 1−η, where 1/η=poly(n,ζ,1/γ,B,1/ε). The number of such values it uses, and its running time apart from computing them, are polynomial in n,ζ,1/γ,B,L,1/ε, and log(1/δ).
Remark 2.17. The Markov chain used here is quite natural. It may be viewed as a Metropolized ball walk on the sphere. Since the algorithm and its analysis are somewhat standard, we relegate the proof to Appendix B.
Standard analyses of stochastic gradient descent and stochastic mirror descent with unbiased gradient estimates appear in [Nem+09, Section 2]; see also [Bub15, Chapter 6]. Our approximate gradients need not be unbiased, so we use inexact projected gradient descent. The following is a consequence of the cited proposition, specialized to Euclidean projection and combined with a union bound.
Proposition 2.18 ([SLB11, Proposition 1]). Let C⊆Rn be a nonempty closed convex set of Euclidean diameter at most D>0, and let f:Rn→R be convex and differentiable with L-Lipschitz gradient, where L>0. Given ε>0 and 0<δ<1, set
T:=max{2,⌈ε2LD2⌉},η:=2TLD.
Suppose that, at each queried point x∈C, a gradient oracle returns g satisfying ∥g−∇Rnf(x)∥2≤η with conditional probability at least 1−δ/T, given all previous computations. Starting from any x0∈C, let
xk+1=ΠC(xk−L−1gk)(0≤k<T),x=T1k=1∑Txk,
where ΠC is the Euclidean projection onto C and gk is the oracle estimate at xk. Then
Pr[f(x)≤x∈Cminf(x)+ε]≥1−δ.
The algorithm uses T gradient queries, T projections, and O(nT) additional arithmetic operations. The gradient estimates need not be unbiased.
Support functions describe a convex body through its supporting half-spaces; see Proposition 2.3. Approximating hK(w) amounts to approximately optimizing a linear function over K. The membership-to-optimization reduction gives the following guarantee.
Proposition 2.19 ([GLS88, Corollary 4.3.12]). Let K⊆Rn be a convex body with B2n⊆K⊆RB2n, where R≥1 is rational. Given weak membership oracle access to K, a vector w∈Qn, and rational 0<ε<1, one can compute h∈Q such that ∣h−hK(w)∣≤ε. The number of weak membership queries and bit operations is polynomial in n and the binary lengths of R,w,ε.
Approximations to derivatives of smoothed support functions are provided in Lemma 4.8.
Remark 2.20 ([BM58, pp. 610–611]; [BZ10, Chapters 3–4]). Throughout, we use standard routines for Gaussian sampling and elementary arithmetic. Rational arithmetic can be performed exactly in polynomial time. For any integer p≥1, c, log, sin, cos, and π can be evaluated on rational inputs in their domains to absolute error 2−p in time polynomial in p and the input bit length. For rational 0<δ<1, a rational approximation Z~ to a standard Gaussian vector in Rd can be generated in time polynomial in d, p, and the binary length of δ, and coupled to Z∼N(0,Id) so that Z~−Z2≤2−p with probability at least 1−δ.
2.4 Calculus on the Sphere
For θ∈Sn−1, we write Pθ⊥:=I−θθ⊤ for the projection matrix onto the tangent space θ⊥. For a twice differentiable function f:Sn−1→R, we denote its spherical gradient and spherical Hessian by ∇Sn−1f and ∇Sn−12f, respectively. These are the canonical gradient and Hessian on the sphere, describing the first- and second-order variation of f along great circles. The gradient lies in θ⊥, and the Hessian is represented by an n×n matrix that maps θ⊥ into itself and vanishes on θ. Their formal definitions and motivation, together with the proofs of the following two propositions, are given in Appendix C.
Proposition 2.21. Let f:Sn−1→R, and let F:U→R be any twice differentiable extension of f, where U⊆Rn is an open set containing Sn−1. For every θ∈Sn−1,
These expressions do not depend on the choice of extension F.
The spherical gradient ∇Sn−1 and Hessian ∇Sn−12 satisfy the same product and chain rules as their Euclidean counterparts ∇Rn and ∇Rn2. The full statements and proof are given in Proposition C.5; we record the special case used below.
Proposition 2.22. Let f:Sn−1→R be twice differentiable on the sphere. Then f2 is twice differentiable on the sphere, with
∇Sn−12(21f2)=f⋅∇Sn−12f+∇Sn−1f⋅∇Sn−1f⊤.
3 The Smooth and Well-Rounded Case
In this section, we describe an important special case of Theorem 1.2 where the given bodies are both smooth and well-rounded. This will serve as a key building block for the general case.
Definition 3.1 (Well-Roundedness; see e.g. [GLS88; AK91; GK94; DGH98]). For R>0, we say a convex body K⊆Rn is R-well-rounded if it is sandwiched as B2n⊆K⊆RB2n.
Definition 3.2 (Smoothness). Fix parameters Λ≥1≥λ>0 and M>0. We say a convex body K⊆Rn is (λ,Λ,M)-smooth if
hK:Rn∖{0}→R is smooth (i.e. it has derivatives of all orders everywhere),
λ⋅I⪯D2hK(θ)⪯Λ⋅I for every θ∈Sn−1, and
∣∂a∂b∂chK(θ)∣≤M for every θ∈Sn−1 and all unit vectors a,b,c∈Rn.
Unlike Theorem 1.2, which can tolerate aspect ratios Ri/ri which are exponentially large in n, we will require that R≤poly(n) in this section, as the algorithm we will design has running time polynomial in R. The second condition will allow us to invoke Proposition 2.9. Notice that the third condition precludes the boundary of K from having very flat or sharp sections (e.g. polytopes). The fourth condition ensures that the mixed discriminants appearing in the integral formula from Proposition 2.9 do not vary too wildly.
Theorem 3.3. Let n≥3. There exists a randomized algorithm that, given access to well-presented, R-well-rounded and (λ,Λ,M)-smooth convex bodies K1,…,Kn and 0<ε,δ<1, outputs a number V with the guarantee
The number of membership oracle calls and arithmetic operations used by the algorithm is polynomial in n, 1/ε, log(1/δ), and Λ/λ, R, M.
We follow the strategy outlined in Section 1.4 by estimating the ratios appearing in Eq. (2) using the Markov chain Monte Carlo method. The required Poincaré Inequality for rapid mixing of the Markov chain is provided in Section 3.1. The full proof of Theorem 3.3 is given in Section 3.2.
Remark 3.4. Of course, the unit Euclidean ball B2n in Eq. (2) could be replaced by any convex body L⊆Rn. However, L=B2n is the most natural and convenient choice, as Voln(B2n) has a closed-form formula and its support function is hB2n(x)=∥x∥2. Thus, hB2n≡1 on Sn−1 and D2hB2n≡I when we compute the mixed discriminant.
3.1 A Poincaré Inequality on the Sphere
For the purposes of this subsection, our goal will be to implement an approximate sampler for the following probability measure on Rn: For convex bodies K1,…,Kn−3⊆Rn, define the density with respect to ω
This is pointwise nonnegative, and Proposition 2.9 guarantees it integrates to 1 under ω. To invoke Lemma 2.16, the main challenge is proving a Poincaré Inequality for μ. To do this, we will use a spectral gap theorem of Shenfeld and van Handel [SvH19, Lemma 3.1 and Section 3]. As explained in [SvH19, Remark 3.2], this spectral statement is equivalent to the Alexandrov-Fenchel Inequality (Theorem 2.12). We specialize their construction by taking C1=B2n and Ci+1=Ki for i=1,…,n−3, and normalize their measure to have total mass 1.
To state the spectral gap, let L2(μ) denote the space of square-integrable functions f:Sn−1→R endowed with the weighted inner product ⟨f,g⟩μ:=∫Sn−1fgdμ. Define the operator A initially on C2(Sn−1)3 by
By multilinearity of the mixed discriminant (see Lemma 2.8), this operator is linear. Furthermore, it is straightforward to verify that ⟨f,Ag⟩μ=⟨Af,g⟩μ for all f,g∈C2(Sn−1). Finally, since ∇Sn−121=0, we see that A1=1. While A does not necessarily map nonnegative functions to nonnegative functions, the reader is encouraged to liken A to the (infinite-dimensional) transition matrix of a reversible Markov chain with stationary measure μ. As discussed in [SvH19, Section 3], A is uniformly elliptic and extends to a self-adjoint operator on L2(μ) with discrete spectrum and unique maximum eigenvalue 1 corresponding to hB2n≡1. In the special case where K1=⋯=Kn−3=B2n, the distribution μ becomes uniform over Sn−1 and (n−1)(A−id) is the standard Laplace–Beltrami operator on Sn−1; see [SvH19, Section 6.3].
Theorem 3.5 ([SvH19, Lemma 3.1 and Section 3]). For every twice continuously differentiable f∈L2(μ), we have
⟨Af,Af⟩μ≥⟨f,Af⟩μ.
In particular,
Varμ[f]≤⟨f,(id−A)f⟩μ.
3In other words, this means that the 1-homogeneous extension F(x):=∥x∥2f(x/∥x∥2) is in C2(Rn∖{0}). We write D2f:=D2F.
Corollary 3.6. The probability measure μ defined in Eq. (4) satisfies the Poincaré inequality
Varμ[f]≤∫Sn−1∥∇Sn−1f∥22dμ,∀f∈C2(Sn−1).
Proof. By Theorem 3.5, it suffices to show that
⟨f,(Id−A)f⟩μ≤∫Sn−1∥∇Sn−1f∥22dμ.
For notational convenience, for each θ∈Sn−1, let us write A=A(θ) for the unique symmetric positive semidefinite linear map on θ⊥ satisfying
Such a matrix exists since the mixed discriminant is multilinear, and nonnegative when its inputs are symmetric positive semidefinite (see Lemma 2.8). With this notation in hand, the definition of A, multilinearity, and D2f=∇Sn−12f+f⋅I allow us to rewrite the left-hand side as follows:
For the first term, 0⪯Tr(A)A⪯I uniformly on Sn−1 implies it is upper bounded by ∫Sn−1∥∇Sn−1f∥22dμ. The second term is zero by self-adjointness of A. Indeed, (A−Id)1=0 implies
Lemma 3.7. Let n≥3, and suppose K1,…,Kn−1 are (λ,Λ,M)-smooth convex bodies in the sense of Definition 3.2. Define
ψ(θ)=Dn−1(D2hK1(θ),…,D2hKn−1(θ)).
Then ψ>0 and
∥∇Sn−1logψ(θ)∥2≤λ(n−1)M≤λnM,∀θ∈Sn−1.
The same bound holds if any of the bodies are replaced by B2n.
Proof. The curvature lower bound and monotonicity of mixed discriminants give ψ≥λn−1>0. It suffices to bound the directional derivative of logψ in every unit tangent direction. We will show that each of the n−1 Hessian factors contributes at most M/λ to this derivative.
Fix θ∈Sn−1 and a unit vector v∈θ⊥, and consider the great circle θ(s)=cos(s)θ+sin(s)v. The mixed discriminant Dn−1 takes (n−1)×(n−1) matrices, whereas D2hKi(θ(s)) acts on the varying tangent space θ(s)⊥. We therefore choose an orthonormal basis of this tangent space for each s and differentiate the resulting matrix representations, accounting for the change of basis.
Start with an orthonormal basis e1=v,e2,…,en−1 of θ⊥, and set e1(s)=−sin(s)θ+cos(s)v and ea(s)=ea for a≥2. These vectors form an orthonormal basis of θ(s)⊥. Let Qi(s)∈R(n−1)×(n−1) be the matrix representation of D2hKi(θ(s)) in this basis; explicitly,
Thus all Qi(s) act on the fixed coordinate space Rn−1, even though the tangent bases vary with s. At s=0, the derivative of the first basis vector is −θ and all other basis derivatives are zero. Since Proposition 2.2 gives ∇Rn2hKi(θ)θ=0 and the Hessian is symmetric, differentiating the basis vectors contributes zero. Hence
The norm bound follows from the third-derivative assumption in Definition 3.2, applied to arbitrary unit vectors in θ⊥. Together with Qi(0)⪰λI, it gives
−λMQi(0)⪯−MI⪯Qi′(0)⪯MI⪯λMQi(0).
Write F(s)=Dn−1(Q1(s),…,Qn−1(s)). To compute F′(0), use the first-order expansions
Qi(s)=Qi(0)+sQi′(0)+o(s),i=1,…,n−1,
where the remainders are measured in operator norm. Substituting into F(s) and using multilinearity gives
Indeed, terms containing a remainder contribute o(s), and terms containing at least two factors sQi′(0) are O(s2). Thus F′(0) is the displayed sum. By the preceding matrix inequalities and nonnegativity of mixed discriminants on positive semidefinite inputs (Lemma 2.8), each summand has absolute value at most (M/λ)F(0). Since F(s)=ψ(θ(s)), we obtain
dsdlogψ(θ(s))s=0=F(0)∣F′(0)∣≤λ(n−1)M.
Taking the supremum over unit tangent vectors v proves the required bound. If Ki=B2n, then Qi(s)=I and Qi′(0)=0, so its contribution vanishes.
Corollary 3.8. Let n≥3, and suppose K1,…,Kn−3 are (λ,Λ,M)-smooth in the sense of Definition 3.2. The probability measure defined in Eq. (4) satisfies the conditions of Lemma 2.16 with γ=1 and ζ=nM/λ. Hence, for every g as in Lemma 2.16, we can estimate Eμ[g] as there, with all bounds polynomial in n,M,1/λ,B,L,1/ε,log(1/δ).
Proof. By Corollary 3.6, the Poincaré inequality holds with γ=1. Applying Lemma 3.7 with two of the bodies equal to B2n gives the logarithmic gradient bound with ζ=nM/λ, since D2hB2n=I and the normalizing constant in Eq. (4) does not affect logarithmic derivatives. The conclusion follows from Lemma 2.16.
Remark 3.9. One aspect of Eq. (4) and Corollary 3.8 that may seem slightly strange is the insistence that the Euclidean ball appears at least thrice. Indeed, for n general convex bodies K1,…,Kn, one can generalize Eq. (4) to
Assuming 0∈K1,…,Kn, μ remains a genuine probability measure. One can also extend A to this setting; see [SvH19]. A natural question is then whether or not the Poincaré Inequality established in Corollary 3.6 still holds in this more general setting.
When K1,…,Kn are R-well-rounded and (λ,Λ,M)-smooth, this is indeed the case, up to a poly(R,Λ/λ)-multiplicative loss in the Poincaré constant γ. This can be proved by a standard perturbation argument, combining the Poincaré Inequality proved in Corollary 3.6 with Lemma 2.8.
3.2 Proof of Theorem 3.3
Observation 3.10. Let K⊆RB2n be a nonempty set, where R>0. Its support function hK is R-Lipschitz: for all x,y∈Rn,
∣hK(x)−hK(y)∣≤z∈Ksup∣⟨x−y,z⟩∣≤R∥x−y∥2.
Recalling Eq. (4), for ℓ=1,…,n−2, let μℓ be the probability measure on Sn−1 whose density with respect to ω is given by
Hence, to obtain a (1±ε)-multiplicative approximation to Vn(K1,…,Kn), it suffices to obtain a (1±O(ε/n))-multiplicative approximation to each term in the product. By Corollary 3.8, we can estimate each expectation within a factor 1±O(ε/n) with high probability, provided the test functions hK1,…,hKn−3, φ are Lipschitz and bounded above and below by positive constants. Each hKi is R-Lipschitz by Observation 3.10. For φ, Lemma 3.7 bounds the logarithmic derivative of each mixed-discriminant factor by nM/λ; together with the Lipschitz bound for hKn and the bounds below, this gives a polynomial Lipschitz constant. For each i=1,…,n, we have 1≤hKi≤R1 uniformly on Sn−1 by the sandwich assumption B2n⊆Ki⊆RB2n. For φ, we have λ21≤φ≤Λ2R1 uniformly on Sn−1 by multilinearity and nonnegativity of mixed discriminants (Lemma 2.8), the assumption λ⋅I⪯D2hKi⪯Λ⋅I, and 1≤hKn≤R1.
4 Smoothing
In this section, we remove the smoothness assumption required in Theorem 3.3. The following theorem is identical to Theorem 1.2, the main result of this paper, except that the running time depends polynomially on the aspect ratios Ri/ri, rather than polylogarithmically.
Theorem 4.1. Let n≥3. There exists a randomized algorithm that, given access to well-presented R-well-rounded convex bodies K1,…,Kn and 0<ε,δ<1, outputs a number V with the guarantee
The number of membership oracle calls and arithmetic operations used by the algorithm is polynomial in n, 1/ε, log(1/δ), and R.
Our strategy will be to reduce to Theorem 3.3. To achieve this, we will smoothen K1,…,Kn to "construct" new convex bodies K1,…,Kn with the following properties:
Ki⊆Ki⊆(1+O(ε/n))Ki for each i=1,…,n. This implies that K1,…,Kn remains O(R)-well-rounded and Vn(K1,…,Kn) approximates Vn(K1,…,Kn) up to O(ε)-multiplicative error.
K1,…,Kn are (λ,Λ,M)-smooth with 1/λ, Λ, and M polynomial in n, R, and 1/ε.
By “construct”, we mean efficiently approximate the support functions and their restricted Hessians for K1,…,Kn given the membership oracles for K1,…,Kn. This access suffices for the proof of Theorem 3.3. We obtain approximate support values for the original bodies using Proposition 2.19; Section 4.2 explains how to use these values to compute the smoothed support functions and restricted Hessians to the required accuracy.
A standard method in functional analysis for constructing a smooth approximation to a nonsmooth function is to convolve with a smooth function. We apply this idea to the support functions hK1,…,hKn, using the Gaussian density as the source of smoothness. To obtain a small but strictly positive curvature, we also add a small copy of hB2n(⋅). We formalize it in Section 4.1; Propositions 4.3 and 4.4 give the approximation and smoothness guarantees, and Lemma 4.8 gives the implementation.
Proof of Theorem 4.1. We apply Propositions 4.3 and 4.4 with ξ=cε/n, t=ξ/(2Rn), and λ=ξ/2, for a sufficiently small absolute constant c>0, and use Lemma 4.8 for each body K1,…,Kn to obtain approximate query access to the support functions and restricted Hessians of smoothened bodies K1,…,Kn. Running the algorithm furnished by Theorem 3.3 on the smoothened bodies produces a (1±O(ε))-multiplicative approximation to Vn(K1,…,Kn), which is itself a (1±O(ε))-multiplicative approximation to Vn(K1,…,Kn) by monotonicity and multilinearity of mixed volumes and Ki⊆Ki⊆(1+ξ)⋅Ki for all i=1,…,n. Outputting this value concludes the proof. □
4.1 Convolving with a Gaussian
Our construction is a Gaussian variant of the Schneider transform [Gho04, Section 3, Eq. (7)]. For related Gaussian smoothing estimates, see [DBW12, Lemma E.3] and [Nar26, Sections 6.3 and 8.2]. We prove the estimates below because our application requires uniform curvature and third-derivative bounds for the resulting 1-homogeneous support function, with polynomial parameter dependence; the cited results do not directly provide this combination.
Definition 4.2. Let K⊆Rn be a convex body and let t,λ>0. The (t,λ)-smoothing of hK is the function h:Rn→R defined by
h(x):=E[hK(x+t∥x∥2Z)]+λ∥x∥2,Z∼N(0,I).
Proposition 4.3. Let K⊆RB2n be a convex body, where R>0, and let t,λ>0. Its (t,λ)-smoothing h is the support function of a convex body K satisfying
K⊆K⊆K+(Rtn+λ)B2n.
If B2n⊆K and 0<ξ≤1/2, the choices t=ξ/(2Rn) and λ=ξ/2 give K⊆K⊆(1+ξ)K.
Proof. Let W be an n×n matrix with independent standard Gaussian entries. Since Wx and ∥x∥2Z have the same distribution,
By Propositions 2.5 and 2.6, h is the support function of a nonempty compact convex set K.
Jensen's inequality gives the lower bound below. Observation 3.10 and E[∥Z∥2]≤E[∥Z∥22]=n give the upper bound:
hK(x)≤h(x)≤hK(x)+(Rtn+λ)∥x∥2.
By Propositions 2.4 and 2.5, these are the claimed inclusions. In particular, K contains K, so it has nonempty interior and is a convex body.
The stated choices of t,λ give Rtn+λ≤ξ. If B2n⊆K, then K⊆K+ξB2n⊆(1+ξ)K.
Proposition 4.4. Let n≥2, R≥1, and K⊆RB2n be a convex body. For 0<t≤1/n and 0<λ≤1, its (t,λ)-smoothing h is the support function of a(λ,Λ,M)-smooth convex body K in the sense of Definition 3.2, where
Λ=t2R+λ,M=t215R.
We prove Proposition 4.4 in three steps. We first establish smoothness and derive formulas for the Gaussian average (Proposition 4.5), then bound the curvature of K (Proposition 4.6), and finally bound the third derivatives of h (Proposition 4.7). We combine these results at the end of the subsection.
Proposition 4.5. Let K⊆Rn be a convex body and let t,λ>0. Its (t,λ)-smoothing h is C∞ on Rn∖{0}. The Gaussian average
Proof. Choose R>0 with K⊆RB2n. The Gaussian average has the integral representation
gt(v)=(2πt2)n/21∫RnhK(w)exp(−2t2∥w−v∥22)dw.
Since hK(0)=0, Observation 3.10 gives ∣hK(w)∣≤R∥w∥2. Dominated convergence therefore permits differentiating the Gaussian density under the integral to every order. Thus gt is smooth in (v,t) for t>0. Homogeneity gives
h(x)=∥x∥2(gt(∥x∥2x)+λ),x=0,
so h is smooth away from the origin. Differentiating the same Gaussian density gives Eqs. (5) to (7).
Proposition 4.6. Let n≥2, R>0, and K⊆RB2n be a convex body. Let h be its (t,λ)-smoothing with 0<t≤1/n and λ>0. For every θ∈Sn−1, on θ⊥ we have
λI⪯D2h(θ)⪯ΛI,Λ:=t2R+λ.
Proof. Fix θ∈Sn−1, and let gt be the Gaussian average from Proposition 4.5. We first claim the following representation:
where the last inequality uses Eq. (9). Taking the supremum over a shows that ∇Rngt is (R/t)-Lipschitz. Since gt is convex as an average of translates of hK, we obtain 0⪯∇Rn2gt⪯(R/t)I. Hence the two nonconstant terms in Eq. (8) are positive semidefinite and at most (R/t)I on θ⊥, using t2Tr∇Rn2gt≤ntR≤R/t. This proves the bounds λI⪯D2h(θ)⪯ΛI.
It remains to prove Eq. (8). Note that h and gt+λ agree on the sphere, which implies that
Substituting Eq. (10) into the preceding display gives Eq. (8).
Proposition 4.7. Let n≥2, R>0, and K⊆RB2n be a convex body. Let h be its (t,λ)-smoothing with 0<t≤1/n and 0<λ≤R. Then, for every θ∈Sn−1 and all unit vectors a,b,c∈Rn,
∂c∂b∂ah(θ)≤M,M:=t215R.
Proof. Let gt be the Gaussian average from Proposition 4.5, and set Λ=2R/t+λ as in Proposition 4.6. Fix θ∈Sn−1 and unit vectors a,b,c∈Rn. It suffices to bound the directional derivative of the Euclidean Hessian:
The last two inequalities use Λ=2R/t+λ, nt2≤1, t≤1, and λ≤R.
We now prove the four bounds in order.
Proof of Eq. (11). Since h is smooth away from the origin, its Euclidean Hessian is symmetric. By Proposition 2.2 and the 1-homogeneity of h, ∇Rn2h(θ)θ=0. Symmetry also gives θ⊤∇Rn2h(θ)=0⊤. Consequently, using the n×n matrix representation of D2h(θ),
∇Rn2h(θ)=Pθ⊥∇Rn2h(θ)Pθ⊥=D2h(θ).
Differentiating h(ry)=rh(y) twice in y, with r > 0 fixed, gives
Taking operator norms and applying the triangle inequality proves Eq. (11).
Proof of Eq. (12). To bound the difference of D2h at θ and η, we compare the two terms in Eq. (8) separately. For the first term, adding and subtracting intermediate products gives
where the last inequality uses the facts that ∣TrB∣≤n∥B∥op and 0≤t2Tr∇Rn2gt(η)≤ntR. Adding these two bounds by the triangle inequality in Eq. (8) proves Eq. (12).
Proof of Eq. (13). For θ,η∈Sn−1, the triangle inequality gives
Taking the supremum over unit a,b proves Eq. (14).
Proof of Proposition 4.4. The support-function claim follows from Proposition 4.3. The three smoothness conditions in Definition 3.2 follow from Propositions 4.5 to 4.7, respectively.
If B2n⊆K and 0<ξ≤1/2, choose t=ξ/(2Rn) and λ=ξ/2 as in Proposition 4.3. These bounds become
λ1=ξ2,Λ=ξ4R2n+2ξ,M=ξ260R3n2.
Thus 1/λ, Λ, and M are polynomial in n, R, and 1/ξ.
4.2 Efficient Implementation
Lemma 4.8. Let n≥2, let K be a convex body with B2n⊆K⊆RB2n, and let R≥1, 0<t≤1/n, and 0<λ≤1 be rational. Let h=hK be the (t,λ)-smoothing of hK from Proposition 4.3. Given membership oracle access to K, a nonzero vector u∈Qn, and rational 0<ε,δ<1/2, there is a randomized algorithm that outputs a positive rational number h and a rational positive semidefinite matrix Q with Qu=0. Writing θ=u/∥u∥2, with probability at least 1−δ,
(1−ε)h(θ)≤h≤(1+ε)h(θ),(1−ε)D2h(θ)⪯Q⪯(1+ε)D2h(θ).
The matrix inequalities are on θ⊥. The number of membership queries and bit operations is polynomial in n, R, 1/t, 1/λ, 1/ε, log(1/δ), and the binary length of the input numbers.
Proof. Estimating Gaussian averages. We estimate the Gaussian averages in Eqs. (6) and (8), using Proposition 2.19 and Remark 2.20 to compute the samples to the required accuracy.
For Z∼N(0,I), let Y0=hK(θ+tZ) and Yij=t−2(ZiZj−1i=j)Y0. By Eq. (6), their expectations are gt(θ) and the entries of ∇Rn2gt(θ). Since ∣Y0∣≤R(1+t∥Z∥2) and nt2≤1, Gaussian moments give E[Y02],E[Yij2]=O(R2/t4). Set ε0=ελ/(8n). Chebyshev's inequality and the standard median trick, followed by a union bound over the entries, estimate all expectations with additive error at most ε0, with failure probability at most δ/2, using N=O(R2t−4ε0−2log(n/δ)) independent samples. Each estimate is the median of independent block averages; use the same samples and blocks for all entries.
Relative error. Computing each scalar sample within ε0 changes each block average, and hence their median, by at most ε0. The resulting estimates satisfy ∣g−gt(θ)∣≤2ε0 and H−∇Rngt(θ)op≤2nε0=ελ/4. The projection Pθ⊥=I−uu⊤/(u⊤u) is rational. Compute
h=g+λ,Q=Pθ⊥HPθ⊥+(t2TrH+λ)Pθ⊥.
By Eq. (8), Q−D2h(θ)op≤(1+nt2)H−∇Rn2gt(θ)op≤ελ/2. The lower bounds h≥1 and D2h⪰λI on θ⊥ imply the relative guarantees. To ensure valid outputs on failure, replace h by max{h,1/2} and replace Q by λPθ⊥ if Q+I−Pθ⊥ is not positive definite. These rational checks leave successful estimates unchanged.
Finite precision. Choose an integer B=O(nlog(nN/δ)) large enough that all N Gaussian vectors have norm at most B, except with probability δ/4. Set ρ=ε0t2/(8R(1+B)2). By Remark 2.20, compute rational approximations to θ and all Gaussian vectors within Euclidean error ρ, with joint failure probability at most δ/4. Use Proposition 2.19 to evaluate the support function at the resulting rational arguments within additive error ρ. When these bounds hold, Observation 3.10 and the quadratic factors in Yij give, for each computed sample,
Both routines run in polynomial time since log(1/ρ) is polynomially bounded in the input length. The final matrix operations and checks use exact rational arithmetic. A union bound with the estimation error above gives total failure probability at most δ. □
5 The General Case
In this section, we complete the proof of Theorem 1.2. Theorem 4.1 already solves the problem in the well-rounded setting where B2n⊆K1,…,Kn⊆RB2n for R=poly(n). The challenge is now to handle the case where the bodies K1,…,Kn are extremely ill-conditioned. At a high level, our eventual goal will be to find suitable replacements K1,…,Kn that are smooth, well-rounded, and such that an accurate approximation to Vn(K1,…,Kn) can be easily recovered from Vn(K1,…,Kn). The latter can be estimated via Theorem 4.1.
The remainder of this section is organized as follows. We begin by attempting a “motivated exposition” for how we eventually compute K1,…,Kn. Section 5.1 gives the formal description, and proves Theorem 1.2 conditional on two crucial lemmas on rescaling factors t=(t1,…,tn)∈R≥0n that “balance” the bodies K1,…,Kn. Section 5.2 then proves these two lemmas.
A Motivated Exposition We begin our discussion by describing two natural methods for rounding convex bodies. While neither in isolation will be sufficient, their combination will be. The impatient reader may directly skip to Section 5.1.
Rounding by Affine Transformation: A natural first idea, following prior work on volume computation, is to apply affine transformations to the bodies to make them well-rounded using Theorem 2.15. However, on the one hand, it is in general difficult to control the effect on the mixed volume of applying different transformations to different bodies (unless they only involve shifting and dilation); we cannot use Lemma 2.11 Item 4. On the other hand, the bodies could be ill-conditioned in genuinely different directions, and so a single affine transformation will not be able to simultaneously well-round all K1,…,Kn.
Rounding by Minkowski Sum: A second way to well-round K1,…,Kn is to add a polynomially-small multiple β of another body L to each component. A naïve idea could be to simply use L=B2n. This, however, can disturb the mixed volume by a massive amount (e.g. imagine K1=⋯=Kn is a thin cylinder of width 1/exp(poly(n)) and height exp(poly(n))). The same issue arises with any fixed choice of L, and so we must adapt the choice of L to the input K1,…,Kn. A natural idea is to set L=K1+⋯+Kn.
By translation invariance, we may first assume that each Ki contains the origin. Note that L itself need not be well-rounded in general. However, Theorem 2.15 gives an affine transformation T(x)=Ax+b that well-rounds βL. We can then apply this single affine transformation to each component to obtain Ki=T(Ki+βL) for each i=1,…,n. If we choose β≳1/poly(n), the new bodies K1,…,Kn become genuinely poly(n)-well-rounded, and we may use Theorem 4.1 to approximate their mixed volume. The question is whether or not ∣det(A)∣−1⋅Vn(K1,…,Kn) accurately approximates Vn(K1,…,Kn) for β≳1/poly(n).
Unfortunately, this approximation can fail even when all the bodies are balls. If Ki=riB2n and L=∑jKj, then
For any fixed β>0, taking r1↓0 while r2=⋯=rn=1 makes this ratio arbitrarily large: the common addition βL overwhelms the smallest body. Thus choosing β polynomially small does not by itself control the approximation error.
This suggests rescaling the bodies before forming their sum. For balls, equalizing the radii makes the ratio (1+nβ)n≤en2β, so choosing β=O(ε/n2) changes the mixed volume by only a factor 1+O(ε).
For general bodies, we will choose rescalings that control how much replacing one body by another changes the mixed volume. The final scheme is to let Ki(t)=T(tiKi+βL(t)) for every i=1,…,n, where L(t):=t1K1+⋯+tnKn, and compute a suitable rescaling t∈R≥0n using a convex program.
5.1 Simultaneous Rounding via Convex Programming
Motivated by the preceding discussion, for t=(t1,…,tn)∈R≥0n, let L(t):=t1K1+⋯+tnKn, and define the function
Zβ(t):=Vn(t1K1+βL(t),…,tnKn+βL(t)).
This is a multivariate polynomial in β,t, and homogeneous of degree-n in t. We will view β≥0 as a small fixed parameter to be determined later, and vary t. Note that Zβ(t) is a monotone increasing function in each of β,t1,…,tn, and
Z0(t)=Vn(K1,…,Kn)⋅i=1∏nti.(15)
Our strategy will have two components:
On the one hand, we will need β≥1/poly(n) so that we can approximate Zβ(t) using Theorem 4.1, since our hope is that up to a common affine transformation, each of the new bodies tiKi+βL(t) is smooth and well-rounded.
On the other hand, we must show that for β≤1/poly(n), Zβ(t) well-approximates Z0(t).
The first item is relatively straightforward using Theorems 2.15 and 4.1. The second item is more subtle, and in general, the well-approximation statement will not hold universally for all t∈R≥0n. However, it turns out we will only need to show existence of a good t∈R≥0n, as we will eventually optimize over t∈R≥0n (see Eq. (16)). Towards this, we will need to study the effect on the mixed volume of adding βL(t)=βt1K1+⋯βtnKn to every component. A natural approach is to decompose this effect by considering how the mixed volumes changes when we add just a single one of the Kj to just a single coordinate i. To control these, we introduce the following notion of “balancedness”.
Definition 5.1 (Balancedness). Fix a tuple of convex bodies K=(K1,…,Kn) in Rn. For A≥1, we say K is A-balanced if
Vn(K)Vn(K−i,Kj)≤A,∀i,j∈[n].
We have the following two key lemmas. Their proofs are provided in Section 5.2 below.
Lemma 5.2 (Existence of Balancing t). Suppose riB2n⊆Ki⊆RiB2n for each i=1,…,n. For convenience, write K=(K1,…,Kn), K−i=(Kj)j=i, and R=maxi=1,…,nRi. Define
ti∘:=Vn(K)Vn(K−i,RB2n),∀i=1,…,n.
Then 1≤ti∘≤R/ri for each i=1,…,n, and (t1∘K1,…,tn∘Kn) is 2-balanced.
Remark 5.3. One can replace RB2n by any convex body L and achieve 2-balancedness. We chose L=RB2n to obtain reasonable control on the magnitude of the entries of t∘.
Lemma 5.4 (Balancing t Implies Good Approximation). Suppose t∈R≥0n is such that (t1K1,…,tnKn) is A-balanced for some A≥1. Then for every 0≤β<An21, we have
1≤Z0(t)Zβ(t)≤1−An2β1.
Proposition 5.5. Under the assumptions and notation of Lemma 5.2, let 0≤β<1/(2n2) and B:=∏i=1n[0,log(R/ri)]. The convex program
y∈Bmin{logZβ(ey)−⟨y,1⟩}(16)
attains its minimum. Every minimizer y∗, with t∗:=ey∗, satisfies
Proof. The objective function is convex, and continuity and compactness of B ensure that a minimizer exists. To bound the approximation error, we compare Zβ(t∗) with Zβ(t∘), noting that logt∘∈B by Lemma 5.2. In particular,
Proof of Theorem 1.2. We prove the theorem for n≥3; the cases n=1,2 are handled in Appendix A.1. By translation invariance (Lemma 2.11), replacing each Ki by Ki−xiinit allows us to assume without loss of generality that riB2n⊆Ki⊆RiB2n for every i∈[n]. Given 0<ε<1, let β=10n2ε. By Proposition 5.5, the exponential of the optimal value of Eq. (16) approximates Vn(K1,…,Kn) within a factor of 1/(1−ε/5). It remains to compute an approximate solution and control the resulting errors.
We claim that we can efficiently evaluate the objective function at any y∈Rn. To see this, observe that by definition,
βL(t)⊆tiKi+βL(t)⊆(1+β)L(t),∀i=1,…,n.
We can run the algorithm furnished by Theorem 2.15 to produce an affine map T(x)=Ax+b that well-rounds βL(t), i.e. B2n⊆T(βL(t))⊆qB2n for q=O(n3/2). Since 0∈βL(t), we have ∥b∥2≤q, and therefore
T((1+β)L(t))=β1+βT(βL(t))−βb⊆(1+β2)qB2n.
Thus the bodies Ki(t)=T(tiKi+βL(t)) for i=1,…,n are O(n7/2/ε)-well-rounded. By translation invariance and linear equivariance (Lemma 2.11), Theorem 4.1 returns a (1±ε)-multiplicative approximation to
Vn(K1(t),…,Kn(t))=∣det(A)∣⋅Zβ(t)
in polynomial-time. Together, this yields an efficient algorithm for computing a (1±ε)-multiplicative approximation to the evaluation Zβ(t) for any 0<ε<1, with polynomial dependence on 1/ε.
We now account for approximation errors. We claim that the objective function
F(y):=logZβ(ey)−⟨y,1⟩
has an n2-Lipschitz gradient on Rn. Assuming it, we can apply Proposition 2.18 as follows.
Using the claimed Lipschitz bound and the arithmetic routines in Remark 2.20, logarithms and finite differences give approximate gradients with polynomial dependence on the inverse accuracy. Since B has polynomially bounded diameter, Proposition 2.18 yields an additive O(ε)-approximate minimizer y∗ in polynomial time, with failure probability at most δ/2.
Set t∗=ey∗ and estimate Zβ(t∗)/∏iti∗ to relative error O(ε), with failure probability at most δ/2. Choosing the constants in these error bounds sufficiently small, the comparison in the proof of Proposition 5.5 gives a (1±ε)-approximation to Vn(K1,…,Kn). A union bound proves the theorem assuming the Lipschitz claim.
It remains to prove the Lipschitz claim. Write Zβ(t)=∑αcαtα with cα≥0, where the sum ranges over α∈Z≥0n satisfying ∑iαi=n. At each y, the weights py(α):=cαe(α,y)/Zβ(ey) form a probability distribution. Differentiating gives ∇RnF(y)=Epy[α]−1 and
∇Rn2F(y)=Covpy(α)⪯Epy[αα⊤]⪯n2I,
where in the last inequality, we use the fact that ∥α∥2≤∥α∥1≤n. Integrating the Hessian along the line segment joining y and z therefore gives
∥∇RnF(y)−∇RnF(z)∥2≤n2∥y−z∥2,∀y,z∈Rn.
Remark 5.6. The convex program stated in Eq. (16) is precisely the Gurvits capacity of the polynomial Zβ(t) (up to taking the logarithm and imposing the box constraint y∈B). This program was first introduced in [GS00; GS02] to obtain a deterministic polynomial-time eO(n) (resp. nO(n)) multiplicative approximation to the mixed discriminant (resp. mixed volume). This machinery has subsequently had many applications in combinatorics; see e.g. [Gur06b; Gur06a; Gur08; Gur09b; GL21; SV17; AO21; AOV21]. In [Gur09a], the Gurvits capacity was applied directly to the volume polynomial Voln(t1K1+⋯+tnKn), as an FPRAS for volumes of general convex bodies was already known, but the technology from [CL26] was not yet available. Using log-concavity of the volume polynomial, Gurvits proved that this gives an n!nn-multiplicative approximation to Vn(K1,…,Kn) in polynomial-time.
Our overarching strategy combining Markov chain Monte Carlo with the Gurvits capacity has a strong conceptual parallel with the algorithm developed in [CL26] for computing mixed discriminants. In fact, one can view the addition of L(t) in the definition of Zβ(t) as the analog of “softening” used in [CL26], noting that in the β→+∞ (resp. β→0) limits, β−nZβ(t) (resp. Zβ(t)) recovers the volume polynomial Voln(t1K1+⋯+tnKn) (resp. the target Vn(K1,…,Kn)⋅∏i=1nti).
5.2 Balancing
Proof of Lemma 5.2. Write K(t∘)=(t1∘K1,…,tn∘Kn) and recall K=(K1,…,Kn). To verify balancedness, notice that by multilinearity of the mixed volume and the definition of t∘, we have
This is at most 2 by applying Theorem 2.13 with C=K−ij,J=Ki,K=Kj,L=RB2n. The claim that 1≤ti∘≤R/ri is an immediate consequence of riB2n⊆Ki⊆RB2n and Lemma 2.11. □
Proof of Lemma 5.4. For the purposes of this proof, t is fixed and β is being varied. Hence, we may absorb t into the definition of K and assume that t=1 without loss of generality. To simplify notation, we also write L=L(1). To bound the ratio Z0(1)Zβ(1), it suffices to bound the logarithmic derivatives of Zβ(1) in the variable β. To carry out these calculations and to emphasize that the relevant variable is β, let us define the multiaffine polynomial
Note that balancedness only gives us control of ∂βlogZβ(1) at β=0. To control this logarithmic derivative for β>0, we bound its derivative. Similar to the above, we have
[AK91] David Applegate and Ravi Kannan. "Sampling and Integration of Near Log-Concave Functions". In: Proceedings of the Twenty-Third Annual ACM Symposium on Theory of Computing. STOC '91. New York, NY, USA: Association for Computing Machinery, 1991, pp. 156–163. doi: 10.1145/103418.103439 (cit. on pp. 2, 6, 10, 12).
[Ale37] A. D. Alexandrov. "Zur Theorie der gemischten Volumina von konvexen Körpern. II. Neue Ungleichungen zwischen den gemischten Volumina und ihre Anwendungen". In: Mathemicheskii Sbornik (N.S.) 2(44).6 (1937). In Russian, pp. 1205–1238 (cit. on p. 10).
[Ale38] A. D. Alexandrov. "Zur Theorie der gemischten Volumina von konvexen Körpern. IV. Die gemischten Diskriminanten und die gemischten Volumina". In: Mathemicheskii Sbornik (N.S.) 3(45).2 (1938). In Russian, pp. 227–251 (cit. on p. 10).
[AO21] Nima Anari and Shayan Oveis Gharan. "A generalization of permanent inequalities and applications in counting and optimization". In: Advances in Mathematics 383 (2021), p. 107657. doi: 10.1016/j.aim.2021.107657 (cit. on p. 25).
[AOV21] Nima Anari, Shayan Oveis Gharan, and Cynthia Vinzant. "Log-concave polynomials, I: Entropy and a deterministic approximation algorithm for counting bases of matroids". In: Duke Mathematical Journal 170.16 (2021), pp. 3459–3504. doi: 10.1215/00127094-2020-0091 (cit. on p. 25).
[Bar97] Alexander I. Barvinok. "Computing mixed discriminants, mixed volumes, and permanents". In: Discrete & Computational Geometry 18.2 (1997), pp. 205–237. doi: 10.1007/PL00009316 (cit. on pp. 6, 7).
[Ber75] D. N. Bernshtein. "The number of roots of a system of equations". In: Functional Analysis and Its Applications 9.3 (1975), pp. 183–185. doi: 10.1007/BF01075595 (cit. on p. 3).
[Bez+08] Ivona Bezáková, Daniel Štefanković, Vijay V. Vazirani, and Eric Vigoda. "Accelerating Simulated Annealing for the Permanent and Combinatorial Counting Problems". In: SIAM Journal on Computing 37.5 (2008), pp. 1429–1454. doi: 10.1137/050644033 (cit. on p. 4).
[BF87] Imre Bárány and Zoltán Fúredi. "Computing the Volume Is Difficult". In: Discrete & Computational Geometry 2 (1987), pp. 319–326. doi: 10.1007/BF02187886 (cit. on p. 3).
[BGL18] Silouanos Brazitikos, Apostolos Giannopoulos, and Dimitris-Marios Liakopoulos. "Uniform Cover Inequalities for the Volume of Coordinate Sections and Projections of Convex Bodies". In: Advances in Geometry 18.3 (2018), pp. 345–354. doi: 10.1515/advgeom-2017-0063 (cit. on p. 10).
[BH20] Petter Brändén and June Huh. "Lorentzian Polynomials". In: Annals of Mathematics 192.3 (2020). Corrected version: arXiv:1902.03719v8, pp. 821–891. doi: 10.4007/annals.2020.192.3.4 (cit. on p. 5).
[BM58] George E. P. Box and Mervin E. Muller. "A Note on the Generation of Random Normal Deviates". In: The Annals of Mathematical Statistics 29.2 (1958), pp. 610–611. doi: 10.1214/aoms/1177706645 (cit. on p. 12).
[BNN13] Mikhail Belkin, Hariharan Narayanan, and Partha Niyogi. "Heat flow and a faster algorithm to compute the surface area of a convex body". In: Random Structures & Algorithms 43.4 (2013), pp. 407–428. doi: 10.1002/rsa.20513 (cit. on pp. 2, 6).
[Bub15] Sébastien Bubeck. "Convex Optimization: Algorithms and Complexity". In: Foundations and Trends in Machine Learning 8.3–4 (2015), pp. 231–358. doi: 10.1561/2200000050 (cit. on p. 11).
[BZ10] Richard P. Brent and Paul Zimmermann. Modern Computer Arithmetic. Cambridge University Press, 2010 (cit. on pp. 12, 38).
[Che+26] Xiaoyu Chen, Heng Guo, Eric Vigoda, and Xiongxin Yang. An O~(n3)-time FPRAS for the Permanent. 2026. arXiv: 2609.20717 [cs.DS] (cit. on p. 4).
[CL26] Xiaoyu Chen and Kuikui Liu. An FPRAS for Counting Common Bases of Two Matroids. 2026. doi: 10.48550/arXiv.2610.06724. arXiv: 2610.06724 [cs.DS] (cit. on pp. 2, 4–7, 10, 25).
[CP25] Swee Hong Chan and Igor Pak. "Linear extensions of finite posets". In: EMS Surveys in Mathematical Sciences (2025). Published online first. doi: 10.4171/EMSS/97 (cit. on p. 4).
[CPP25] Swee Hong Chan, Igor Pak, and Greta Panova. "On the cross-product conjecture for the number of linear extensions". In: Canadian Journal of Mathematics 77.2 (2025), pp. 535–562. doi: 10.4153/S0008414X24000087 (cit. on p. 4).
[Cun86] William H. Cunningham. "Improved Bounds for Matroid Partition and Intersection Algorithms". In: SIAM Journal on Computing 15.4 (1986), pp. 948–957. doi: 10.1137/0215066 (cit. on p. 32).
[CVY26] Xiaoyu Chen, Eric Vigoda, and Xiongxin Yang. Faster FPRAS for the Permanent via Restricted Poincaré Inequalities and Coupled Flows. 2026. arXiv: 2608.26599 [cs.DM] (cit. on p. 4).
[DBW12] John C. Duchi, Peter L. Bartlett, and Martin J. Wainwright. "Randomized Smoothing for Stochastic Optimization". In: SIAM Journal on Optimization 22.2 (2012), pp. 674–701. doi: 10.1137/110831659 (cit. on p. 17).
[DF88] Martin E. Dyer and Alan M. Frieze. "On the Complexity of Computing the Volume of a Polyhedron". In: SIAM Journal on Computing 17.5 (1988), pp. 967–974. doi: 10.1137/0217060 (cit. on p. 3).
[DF91] Martin Dyer and Alan Frieze. "Computing the Volume of Convex Bodies: A Case Where Randomness Provably Helps". In: Probabilistic Combinatorics and Its Applications. Ed. by Béla Bollobás. Vol. 44. Proceedings of Symposia in Applied Mathematics. Providence, RI: American Mathematical Society, 1991, pp. 123–169. doi: 10.1090/psapm/044/1141926 (cit. on pp. 2, 6).
[DFK91] Martin Dyer, Alan Frieze, and Ravi Kannan. "A Random Polynomial-Time Algorithm for Approximating the Volume of Convex Bodies". In: Journal of the ACM 38.1 (1991), pp. 1–17. doi: 10.1145/102782.102783 (cit. on pp. 2, 4, 6).
[DGH98] Martin Dyer, Peter Gritzmann, and Alexander Hufnagel. "On the Complexity of Computing Mixed Volumes". In: SIAM Journal on Computing 27.2 (1998), pp. 356–400. doi: 10.1137/S0097539794278384 (cit. on pp. 2, 4, 6, 10, 12, 31, 32).
[Edm79] Jack Edmonds. "Matroid Intersection". In: Discrete Optimization I. Vol. 4. Annals of Discrete Mathematics. North-Holland, 1979, pp. 39–49. doi: 10.1016/S0167-5060(08)70817-3 (cit. on p. 32).
[Fen36] Werner Fenchel. "Inégalités quadratiques entre les volumes mixtes des corps convexes". In: Comptes rendus hebdomadaires des séances de l'Académie des sciences 203 (1936), pp. 647–650 (cit. on p. 10).
[FGM03] Matthieu Fradelizi, Apostolos Giannopoulos, and Mathieu Meyer. "Some Inequalities about Mixed Volumes". In: Israel Journal of Mathematics 135 (2003), pp. 157–179. doi: 10.1007/BF02776055 (cit. on p. 10).
[Gho04] Mohammad Ghomi. "Optimal Smoothing for Convex Polytopes". In: Bulletin of the London Mathematical Society 36.4 (2004), pp. 483–492. doi: 10.1112/S0024609303003059 (cit. on pp. 6, 7, 17).
[GHP02] Apostolos Giannopoulos, Marianna Hartzoulaki, and Grigoris Paouris. "On a Local Version of the Aleksandrov–Fenchel Inequality for the Quermassintegrals of a Convex Body". In: Proceedings of the American Mathematical Society 130.8 (2002), pp. 2403–2412. doi: 10.1090/S0002-9939-02-06329-3 (cit. on p. 10).
[GK94] Peter Gritzmann and Victor Klee. "On the Complexity of Some Basic Problems in Computational Convexity: II. Volume and Mixed Volumes". In: Polytopes: Abstract, Convex and Computational. Ed. by Tibor Bisztriczky, Peter McMullen, Rolf Schneider, and Asia Ivić Weiss. Vol. 440. NATO ASI Series C: Mathematical and Physical Sciences. Dordrecht: Kluwer Academic Publishers, 1994, pp. 373–466. doi: 10.1007/978-94-011-0924-6_17 (cit. on pp. 10, 12).
[GL21] Leonid Gurvits and Jonathan Leake. "Counting Matchings via Capacity-Preserving Operators". In: Combinatorics, Probability and Computing 30.6 (2021). arXiv:1804.04351, pp. 956–981. doi: 10.1017/S0963548321000122 (cit. on p. 25).
[GLS88] Martin Grötschel, László Lovász, and Alexander Schrijver. Geometric Algorithms and Combinatorial Optimization. 1st ed. Vol. 2. Algorithms and Combinatorics. Berlin, Heidelberg: Springer-Verlag, 1988. doi: 10.1007/978-3-642-97881-4 (cit. on pp. 4, 10–12).
[GS00] Leonid Gurvits and Alex Samorodnitsky. "A deterministic polynomial-time algorithm for approximating mixed discriminant and mixed volume". In: Proceedings of the Thirty-Second Annual ACM Symposium on Theory of Computing. STOC '00. New York, NY, USA: Association for Computing Machinery, 2000, pp. 48–57. doi: 10.1145/335305.335311 (cit. on pp. 6, 25).
[GS02] Leonid Gurvits and Alex Samorodnitsky. "A deterministic algorithm for approximating the mixed discriminant and mixed volume, and a combinatorial corollary". In: Discrete & Computational Geometry 27.4 (2002), pp. 531–550. doi: 10.1007/s00454-001-0083-2 (cit. on pp. 6, 25).
[Gur06a] Leonid Gurvits. "Hyperbolic polynomials approach to Van der Waerden/Schrijver-Valiant like conjectures: Sharper bounds, simpler proofs and algorithmic applications". In: Proceedings of the Thirty-Eighth Annual ACM Symposium on Theory of Computing. STOC '06. New York, NY, USA: Association for Computing Machinery, 2006, pp. 417–426. doi: 10.1145/1132516.1132578 (cit. on p. 25).
[Gur06b] Leonid Gurvits. "The Van der Waerden conjecture for mixed discriminants". In: Advances in Mathematics 200.2 (2006), pp. 435–454. doi: 10.1016/j.aim.2004.12.002 (cit. on p. 25).
[Gur08] Leonid Gurvits. "Van der Waerden/Schrijver-Valiant like conjectures and stable (aka hyperbolic) homogeneous polynomials: One theorem for all". In: The Electronic Journal of Combinatorics 15.1 (2008), R66. doi: 10.37236/790 (cit. on p. 25).
[Gur09a] Leonid Gurvits. "A polynomial-time algorithm to approximate the mixed volume within a simply exponential factor". In: Discrete & Computational Geometry 41.4 (2009), pp. 533–555. doi: 10.1007/s00454-009-9147-5 (cit. on pp. 1, 2, 6, 25, 31).
[Gur09b] Leonid Gurvits. "On multivariate Newton-like inequalities". In: Advances in Combinatorial Mathematics. Ed. by Ilias S. Kotsireas and Eugene V. Zima. Berlin: Springer, 2009, pp. 61–78. doi: 10.1007/978-3-642-03562-3_4 (cit. on p. 25).
[Hoe63] Wassily Hoeffding. "Probability Inequalities for Sums of Bounded Random Variables". In: Journal of the American Statistical Association 58.301 (1963), pp. 13–30. doi: 10.1080/01621459.1963.10500830 (cit. on p. 38).
[HYZ24] Ramon van Handel, Alan Yan, and Xinmeng Zeng. "The extremals of the Kahn–Saks inequality". In: Advances in Mathematics 456 (2024), p. 109892. doi: 10.1016/j.aim.2024.109892 (cit. on p. 4).
[Jia+26] He Jia, Aditi Laddha, Yin Tat Lee, and Santosh Vempala. "Reducing Isotropy and Volume to KLS: Faster Rounding and Volume Algorithms". In: J. ACM 73.2 (Apr. 2026). ISSN: 0004-5411. doi: 10.1145/3795687 (cit. on pp. 2, 6).
[JSV04] Mark Jerrum, Alistair Sinclair, and Eric Vigoda. "A polynomial-time approximation algorithm for the permanent of a matrix with nonnegative entries". In: Journal of the ACM 51.4 (2004), pp. 671–697. doi: 10.1145/1008731.1008738 (cit. on p. 4).
[JVV86] M. R. Jerrum, L. G. Valiant, and V. V. Vazirani. "Random Generation of Combinatorial Structures from a Uniform Distribution". In: Theoretical Computer Science 43.2–3 (1986), pp. 169–188. doi: 10.1016/0304-3975(86)90174-X (cit. on p. 7).
[Kar16] Charles F. F. Karney. "Sampling Exactly from the Normal Distribution". In: ACM Transactions on Mathematical Software 42.1 (2016), 3:1–3:14. doi: 10.1145/2710016 (cit. on p. 38).
[Kho78] A. G. Khovanskii. "Newton polyhedra and the genus of complete intersections". In: Functional Analysis and Its Applications 12.1 (1978), pp. 38–46. doi: 10.1007/BF01077562 (cit. on p. 3).
[KLS97] Ravi Kannan, László Lovász, and Miklós Simonovits. "Random Walks and an O∗(n5) Volume Algorithm for Convex Bodies". In: Random Structures & Algorithms 11.1 (1997), pp. 1–50. doi: 10.1002/(SICI)1098-2418(199708)11:1<1::AID-RSA1>3.0.CO;2-X (cit. on pp. 2, 6).
[Kou76] A. G. Kouchnirenko. "Polyèdres de Newton et nombres de Milnor". In: Inventions Mathematicae 32.1 (1976), pp. 1–31. doi: 10.1007/BF01389769 (cit. on p. 3).
[KS84] Jeff Kahn and Michael Saks. "Balancing poset extensions". In: Order 1.2 (1984), pp. 113–126. doi: 10.1007/BF00565647 (cit. on p. 4).
[LS90] László Lovász and Miklós Simonovits. "The Mixing Rate of Markov Chains, an Isoperimetric Inequality, and Computing the Volume". In: Proceedings of the 31st Annual Symposium on Foundations of Computer Science. FOCS '90. Los Alamitos, CA: IEEE Computer Society Press, 1990, pp. 346–354. doi: 10.1109/FSCS.1990.89553 (cit. on pp. 2, 6).
[LS93] László Lovász and Miklós Simonovits. "Random Walks in a Convex Body and an Improved Volume Algorithm". In: Random Structures & Algorithms 4.4 (1993), pp. 359–412. doi: 10.1002/rsa.3240040402 (cit. on pp. 2, 6).
[LV06] László Lovász and Santosh Vempala. "Simulated Annealing in Convex Bodies and an O∗(n4) Volume Algorithm". In: Journal of Computer and System Sciences 72.2 (2006), pp. 392–417. doi: 10.1016/j.jcss.2005.08.004 (cit. on pp. 2, 6).
[Min03] Hermann Minkowski. "Volumen und Oberfläche". In: Mathematische Annalen 57.4 (1903), pp. 447–495. doi: 10.1007/BF01445180 (cit. on p. 2).
[MT06] Ravi Montenegro and Prasad Tetali. "Mathematical Aspects of Mixing Times in Markov Chains". In: Foundations and Trends in Theoretical Computer Science 1.3 (2006), pp. 237–354. doi: 10.1561/0400000003 (cit. on p. 37).
[Nar26] Hariharan Narayanan. Approximation algorithm for mixed volumes of a constant number of convex bodies. arXiv preprint arXiv:2610.08248. 2026. doi: 10.48550/arXiv.2610.08248. arXiv: 2610.08248 [cs.CG] (cit. on pp. 2, 5, 6, 17).
[Nem+09] Arkadi Nemirovski, Anatoli Juditsky, Guanghui Lan, and Alexander Shapiro. "Robust Stochastic Approximation Approach to Stochastic Programming". In: SIAM Journal on Optimization 19.4 (2009), pp. 1574–1609. doi: 10.1137/070704277 (cit. on p. 11).
[NR25] Hariharan Narayanan and Sourav Roy. Approximating mixed volumes to arbitrary accuracy. arXiv preprint arXiv:2508.19582. 2025. doi: 10.48550/arXiv.2508.19582. arXiv: 2508.19582 [cs.CG] (cit. on pp. 2, 6).
[Sch14] Rolf Schneider. Convex Bodies: The Brunn–Minkowski Theory. 2nd ed. Vol. 151. Encyclopedia of Mathematics and its Applications. Cambridge University Press, 2014. doi: 10.1017/CB09781139003858 (cit. on pp. 2, 10, 32).
[SLB11] Mark Schmidt, Nicolas Le Roux, and Francis Bach. "Convergence Rates of Inexact Proximal-Gradient Methods for Convex Optimization". In: Advances in Neural Information Processing Systems. Vol. 24. 2011, pp. 1458–1466 (cit. on p. 11).
[Sta81] Richard P. Stanley. "Two combinatorial applications of the Aleksandrov–Fenchel inequalities". In: Journal of Combinatorial Theory, Series A 31.1 (1981), pp. 56–65. doi: 10.1016/0097-3165(81)90053-4 (cit. on pp. 4, 5, 41).
[Sta86] Richard P. Stanley. "Two poset polytopes". In: Discrete & Computational Geometry 1.1 (1986), pp. 9–23. doi: 10.1007/BF02187680 (cit. on pp. 4, 5).
[SV17] Damian Straszak and Nisheeth K. Vishnoi. "Real Stable Polynomials and Matroids: Optimization and Counting". In: Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing (STOC). arXiv:1611.04548. 2017, pp. 370–383. doi: 10.1145/3055399.3055457 (cit. on p. 25).
[SvH19] Yair Shenfeld and Ramon van Handel. "Mixed Volumes and the Bochner Method". In: Proceedings of the American Mathematical Society 147.12 (2019), pp. 5385–5402. doi: 10.1090/proc/14651 (cit. on pp. 7, 9, 10, 13, 15).
A Lower-Dimensional Sets
We extend our result to possibly lower-dimensional compact convex sets, as allowed in the original setting of Gurvits [Gur09a, Section 3.2].
An affine subspace is a translate b+U of a linear subspace U. The affine hull aff K is the smallest affine subspace containing K. The following generalizes Definition 1.1 by measuring weak membership and ball bounds within this affine hull, as in [DGH98, Section 1.2].
Definition A.1. Let K⊆Rn be a nonempty compact convex set. We call K well-presented if the following data concerning K are supplied:
Weak Membership Oracle: There is a blackbox that, given any point x∈Qn and rational ε>0, returns either YES, certifying x∈K(ε), or NO, certifying x∈/K(−ε), where
Either answer is allowed when both assertions hold.
Initial Data: A point xinit∈K∩Qn, a rational basis of a linear subspace U, and rational numbers 0<r≤R are supplied such that
affK=xinit+U,xinit+(rB2n∩U)⊆K⊆xinit+(RB2n∩U).
When affK=Rn, one may take the standard basis for U=Rn, and this reduces to Definition 1.1.
Theorem A.2. There exists a randomized algorithm that, given access to n well-presented nonempty compact convex sets K1,…,Kn⊆Rn in the sense of Definition A.1 and rational 0<ε,δ<1, outputs a number V with the guarantee
The number of weak membership oracle calls and bit operations used by the algorithm is polynomial in n, 1/ε, log(1/δ), and the total binary length of ε,δ, the supplied data {(xiinit,ri,Ri)}i=1n, and the supplied bases of U1,…,Un. Moreover, whether Vn(K1,…,Kn)=0 can be decided in deterministic polynomial time.
This includes the presentation used by Gurvits [Gur09a, Section 3.2, Eq. (13)]: a weak membership oracle and rational Yi,Ai satisfying
Yi+AiB2n⊆Ki⊆Yi+nn+1AiB2n.
Given these inputs, the data {(xiinit,ri,Ri)}i=1n and rational bases of U1,…,Un required by Definition A.1 can be computed by rational linear algebra in time polynomial in n and the total binary length of {(Yi,Ai)}i=1n. Indeed, set xiinit=Yi and Ui=imAi, and compute a rational basis of Ui. If Ai=0, choose positive rational radii ri≤1/∥Ai†∥op and Ri≥n(n+1)∥Ai∥op, where Ai† is the Moore–Penrose pseudoinverse. These give the required ball bounds within affKi. If Ai=0, then Ki={Yi}, so Ui={0} and the mixed volume is zero and the algorithm can return zero immediately. Thus the algorithm requires no stronger oracle or geometric input than Gurvits' presentation. His mixed volume is n! times our normalization, which does not affect relative approximation.
Proof. We first prove the theorem for n≥3; the cases n=1,2 are handled in Appendix A.1. We first test whether the mixed volume is zero. Otherwise, we compute a positive lower bound, add a sufficiently small Euclidean ball to each set, and apply Theorem 1.2 to the resulting full-dimensional bodies.
Mixed volumes and the properties in Lemma 2.11 extend to nonempty compact convex sets by continuity: apply the corresponding statements to Ki+ρB2n and let ρ↓0. Translation invariance allows us to replace Ki by Ki−xiinit. Write R=max{1,R1,…,Rn} and K=(K1,…,Kn). Thus
riB2n∩Ui⊆Ki⊆RB2n,affKi=Ui.
The zero test and a lower bound. For the translated sets containing the origin, the standard positivity criterion [Sch14, Theorem 5.1.8] gives
We test this criterion and find the vectors using matroid intersection. On the ground set of at most n2 supplied basis vectors, each labeled by its subspace Ui, intersect the linear matroid with the partition matroid allowing at most one vector of each label. The standard deterministic matroid-intersection algorithm [Edm79; Cun86] finds a largest common independent set in polynomial time, using Gaussian elimination for the linear independence tests.
If this set has fewer than n vectors, no spanning choice in Eq. (17) is possible, so Vn(K)=0, and we return zero.
Otherwise, the algorithm finds n independent vectors ui∈Ui, one for each i. Set
uˉi=∥ui∥1riui,vmin=n!1∣det(uˉ1,…,uˉn)∣.
Since ∥uˉi∥2≤ri, the segments [0,uˉi] lie in Ki. Their Minkowski sum is a parallelope, so their mixed volume equals vmin. Monotonicity gives
0<vmin≤Vn(K)≤Voln(RB2n)≤(2R)n.(18)
Both the selected vectors and vmin are rational with polynomial binary length.
Reduction to full-dimensional sets. We choose the added ball small enough to change the mixed volume by at most εVn(K)/4. Set
ρ=min{1,4n2n(R+1)n−1εvmin},Kiρ=Ki+ρB2n,
and write Kρ=(K1ρ,…,Knρ). Multilinearity expands Vn(Kρ)−Vn(K) into terms with at least one added ball. Since Ki⊆RB2n, monotonicity bounds these terms by
Using Voln(B2n)≤2n,ρ≤1, and the mean value theorem gives
Vn(Kρ)−Vn(K)≤n2n(R+1)n−1ρ≤εvmin/4≤εVn(K)/4.
The new sets satisfy
ρB2n⊆Kiρ⊆(R+1)B2n.
Applying [DGH98, Proposition 3] to Ki and the explicitly presented ball ρB2n provides a weak membership oracle for Kiρ in polynomial time. Thus these sets are well-presented in the sense of Definition 1.1, with initial point 0 and radii ρ,R+1.
Apply Theorem 1.2 to these bodies with accuracy ε/4 and failure probability δ. With probability at least 1−δ, its output satisfies
The last inequality uses 0<ε<1. The number ρ has polynomial binary length, so the small inner radius causes no additional difficulty: Theorem 1.2 depends on the binary lengths of the radii. All additional computations and oracle reductions take polynomial time.
A.1 Dimensions One and Two
Proof. We complete the proofs of Theorems 1.2 and A.2 by reducing to the already established three-dimensional case of Theorem A.2. We add one coordinate at a time. Given K1,…,Kd⊆Rd, place them in the coordinate hyperplane Rd×{0}⊆Rd+1 by setting K~i=Ki×{0}, and add the unit segment S=[0,ed+1] along the new coordinate axis. Their weighted Minkowski sum is (∑itiKi)×[0,s], whose volume is sVold(∑itiKi). Comparing coefficients in Eq. (1) gives
Vd+1(K1,…,Kd,S)=d+11Vd(K1,…,Kd).
The initial points and affine-hull bases gain a zero coordinate, with the same relative ball bounds. Weak membership queries check that the new coordinate is zero and then use the original oracle; the added segment has an explicit presentation. Repeat until the dimension is three and apply Theorem A.2 in that dimension. Multiplying its estimate by 6 when n=1, or by 3 when n=2, gives the required estimate with the same relative accuracy and failure probability. The deterministic zero test transfers through the same identity. □
B Sampling on the Sphere
In this section, we prove Lemma 2.16. Recall that, for x,y∈Sn−1,
d(x,y):=dSn−1(x,y)=arccos⟨x,y⟩
is the geodesic distance, namely the length of the shortest spherical arc joining x and y. The target probability measure is
dμ(x)=ψ(x)dω(x),∫Sn−1ψ(x)dω(x)=1,
where ω is surface measure on Sn−1 and ψ is the smooth positive density in Lemma 2.16. In Appendix B.1, we define the lazy Metropolis chain and prove its rapid mixing (Lemma B.2). We then use this bound to prove Lemma 2.16 in Appendix B.2.
B.1 Rapid Mixing of the Lazy Metropolis Chain
Definition B.1 (Lazy Metropolis Chain on the Sphere). Set the proposal radius α=1/(n+ζ). For each x∈Sn−1, define the proposal probability measure Qα(x,⋅) by
Note that qα(x,y)=qα(y,x) by definition. Rotational invariance makes Zα independent of x. The lazy Metropolis chain has transition kernel P defined as follows. From state xt, it stays at xt with probability 1/2. Otherwise, it performs these two steps:
Propose: Draw y∼Qα(xt,⋅).
Accept or reject: Set xt+1=y with probability min{1,ψ(xt)ψ(y)}, and set xt+1=xt otherwise.
This chain satisfies the detailed balance equation: for all x=y∈Sn−1,
Thus P is reversible with stationary distribution μ. We have the following bounds on the spectral gap and mixing time of P.
Lemma B.2 (Poincaré Inequality and Mixing Time for P). Assume the conditions of Lemma 2.16, and let P be the lazy Metropolis chain of Definition B.1, with proposal radius α=1/(n+ζ). Then P satisfies the Poincaré inequality
where κ−1:=24(1+3(n−1)(n+3)/(γα2)). Consequently, if X0∼σ:=ω/ω(Sn−1) is uniform on Sn−1 and X1,X2,… are generated by P, then ∥Law(XT)−μ∥TV≤ε/2 for every 0<ε<1 and every
T≥κ−1(2πζ+logε1).(20)
(a) The plane spanned by x and y.
(b) Polar coordinates centered at x.
Figure 1: Geometry of Sn−1 around a point x. In (a), d=d(x,y). Since ∥y∥2=1, the right triangle gives ⟨x,y⟩=cosd and ∥Px⊥y∥2=sind, so y=cos(d)x+sin(d)v with v=Px⊥y/sind. If 0<d<α, the gradient (∇Rn)xqα(x,y) in Rn is a positive multiple of y, and its projection onto x⊥ is ∇xqα(x,y). In (b), drawn for n=3, the points at distance t from x form a sphere of radius sint (blue): the unit sphere of x⊥ (the equator) scaled by sint and shifted by cos(t)x. This sphere has dimension n−2, which gives the factor sinn−2t in dω(y)=sinn−2tdtdν.
To prove Lemma B.2, we compare P with its proposal kernel Qα. Throughout this subsection, we assume the conditions of Lemma 2.16 and write ∇=∇Sn−1. For functions of two points x,y∈Sn−1, such as d(x,y) and qα(x,y), we write ∇x for the spherical gradient with respect to x, with y held fixed. For an ambient extension, (∇Rn)x denotes its Euclidean gradient with respect to x. For f∈L2(μ), let
where the first integrand is defined as zero whenever qα(x,y)=0. This quantity, known as the Fisher information of the family Qα(x,⋅), measures how fast the proposal distribution changes as x moves.
Both Lemma B.5 and Lemma B.6 below use the following explicit formula for ∇xqα, which is illustrated in Fig. 1a.
Proposition B.3. Fix y∈Sn−1. Then x↦qα(x,y) is continuously differentiable on Sn−1, with
Proof. Since both u↦Zα−1max{0,1−u/α2}2 and x↦d(x,y)2 are continuously differentiable on [0,∞) and on Sn−1∖{−y}, respectively, the composition x↦qα(x,y) is also continuously differentiable on Sn−1∖{−y}. Moreover, qα(⋅,y) vanishes near −y, since d(−y,y)=π>α, so it is continuously differentiable on all of Sn−1.
For d(x,y)>α, we have ∇xqα(x,y)=0, because qα(⋅,y) is constant there. By continuity of ∇xqα(⋅,y), this also implies that ∇xqα(x,y)=0 when d(x,y)=α.
Now, we calculate ∇xqα(x,y) when 0<d(x,y)<α; the case x=y then follows by continuity. Under this condition, we have qα(x,y)=Zα−1(1−d(x,y)2/α2)2. Considering x↦qα(x,y) as a function on the open set {x∈Rn:∣⟨x,y⟩∣<1}, we have
and the identity ∇xqα(x,y)=Px⊥(∇Rn)xqα(x,y) from Proposition 2.21.
Finally, we show the upper bound on ∥∇xqα(x,y)∥2. Since x,y∈Sn−1, we have ∥Px⊥y∥2=1−⟨x,y⟩2=sind(x,y). So Eq. (22) gives the claimed formula for ∥∇xqα(x,y)∥2, and the bound follows from d(x,y)<α.
The Poincaré inequality in Lemma B.2 follows by combining the next three lemmas. Lemma B.4 holds because every proposal is accepted with probability at least e−1; Lemma B.5 transfers the Poincaré inequality of μ to Qα by averaging f over one proposal; and Lemma B.6 is a direct computation.
Lemma B.4 (Comparing P with Qα). For every f∈L2(μ), we have EQα(f,f)≤2e⋅EP(f,f).
Proof. We first show that every acceptance probability is at least e−1. Recall the Lipschitzness assumption ∥∇logψ∥2≤ζ of Lemma 2.16. For x,y∈Sn−1, let c:[0,d(x,y)]→Sn−1 be a shortest great-circle arc from x to y, parametrized by arc length, so that ∥c′(s)∥2=1. By the fundamental theorem of calculus applied to s↦logψ(c(s)),
where the first inequality follows from Cauchy–Schwarz, and the second uses the Lipschitzness assumption and ∥c′(s)∥2=1. Every proposal y from x satisfies d(x,y)≤α, and ζα=ζ/(n+ζ)≤1, so its acceptance probability is min{1,ψ(y)/ψ(x)}≥e−ζα≥e−1.
Since the chain makes a proposal with probability 1/2, it follows that P(x,dy)≥2e1Qα(x,dy) for y=x. The integrand (f(y)−f(x))2 of EP and EQα vanishes at y=x, so EP(f,f)≥2e1EQα(f,f). □
Lemma B.5 (Poincaré Inequality for Qα). For every f∈L2(μ),
Varμ[f]≤4(1+γT)EQα(f,f).
Proof. Since Varμ[f]≤Eμ[(f−c)2] for every constant c, taking c=Eμ[fˉ] and using (a+b)2≤2a2+2b2 gives
Integrating against μ gives Eμ[(f−fˉ)2]≤2EQα(f,f).
The second bound. We apply the Poincaré inequality of μ to fˉ. Although f need not be differentiable, fˉ is continuously differentiable. Indeed, by Proposition B.3, the function x↦qα(x,y) is continuously differentiable for every y, and ∥∇xqα(x,y)∥2≤4/(Zαα) for all x,y. Since f is integrable with respect to ω (as ψ is bounded below), we may therefore differentiate under the integral sign, and
∇fˉ(x)=∫∇xqα(x,y)f(y)dω(y)
is continuous in x. The Poincaré inequality, which we assumed for smooth functions, extends to continuously differentiable functions by approximating them with smooth functions, so
Varμ[fˉ]≤γ1∫∇fˉ22dμ.
It remains to bound ∇fˉ. Since ∫qα(x,y)dω(y)=1 for every x, differentiating under the integral sign as above gives ∫∇xqα(x,y)dω(y)=0. Hence
Here the first equality is the formula for ∇fˉ above, the second equality uses ∫∇xqα(x,y)dω(y)=0 to subtract f(x) inside the integral, and the inequality follows from Cauchy–Schwarz, applied to ∇xqα/qα and qα(f(y)−f(x)), followed by the definition of I in Eq. (21). Integrating against μ gives ∫∥∇fˉ∥22dμ≤2IEQα(f,f), which proves the second bound in Eq. (24). □
Lemma B.6 (Fisher Information of Qα). We have I≤3(n−1)(n+3)/α2.
Proof. Fix x, and let y satisfy qα(x,y)>0, that is, d=d(x,y)<α. Then qα(x,y)=Zα−1(1−d2/α2)2, and Proposition B.3 gives
To integrate, we use polar coordinates centered at x (see Fig. 1b): we write y=cos(t)x+sin(t)v, where t=d(x,y) and v is a unit vector in x⊥, so that dω(y)=sinn−2tdtdv, where dv is the surface measure on the unit sphere of x⊥. In the integral in Eq. (21) and in the integral defining Zα, both integrands depend only on t, so integration over v contributes a common factor that cancels, and the result does not depend on x:
I=α416∫0α(1−t2/α2)2sinn−2tdt∫0αt2sinn−2tdt.
Since 0≤t≤α≤1/n, we can approximate sint by t to simplify the integrals:
Mixing time. Since P is reversible and lazy, it is a self-adjoint operator on L2(μ) with nonnegative spectrum, and Eq. (19) says that its spectral gap is at least κ. A standard spectral argument shows that if X0 has density h0 with respect to μ, then
∥Law(XT)−μ∥TV≤21(1−κ)T∥h0−1∥L2(μ);
see, e.g., [MT06, Section 2.3] (the argument there is written for finite state spaces, but carries over verbatim). For X0∼σ, we have h0=dσ/dμ=1/(ω(Sn−1)ψ). Any two points of Sn−1 are at distance at most π, so Eq. (23) gives maxψ/minψ≤eπζ; since ∫ψdω=1, we also have maxψ≥1/ω(Sn−1). Hence h0≤maxψ/minψ≤eπζ, so ∥h0−1∥L2(μ)2=∫h0dσ−1≤eπζ. Therefore
∥Law(XT)−μ∥TV≤21(1−κ)Teπζ/2≤21exp(−κT+2πζ),
which is at most ε/2 under Eq. (20).
B.2 Proof of Lemma 2.16
Proof of Lemma 2.16. Write E=Eμ[g]≥1. We construct a bounded random variable F∈[1,B] with ∣E[F]−E∣≤ε/2, then average independent copies using Hoeffding's inequality. Set
τ:=16Bε,T:=⌈κ−1(2πζ+logτ1)⌉.
By Lemma B.2, the exact chain started from the uniform distribution satisfies ∥Law(XT)−μ∥TV≤τ. To implement this run, choose a sufficiently small absolute constant c>0 and set
λ:=min{1+πζ1,8(L+1)ε},ξ:=(T+1)2cτ,η:=cζ.
To sample from Qα(x,⋅), project a standard Gaussian vector onto x⊥ and divide the projection by its length to obtain a uniform unit tangent vector v. Independently draw U uniformly on [0,1], and set
t=αU1/(n−1),y=cos(t)x+sin(t)v.
Accept y with probability
a(t)=(1−α2t2)2(tsint)n−2,
and otherwise repeat with independent draws. Before acceptance, t has density (n−1)tn−2/αn−1 on [0,α]. The accepted radius therefore has density proportional to
tn−2a(t)=(sint)n−2(1−t2/α2)2.
Together with the uniform tangent direction, the polar-coordinate formula in the proof of Lemma B.6 shows that this gives exactly Qα(x,⋅). The same proof gives (sint/t)n−2≥5/6 for t≤α≤1/n, so each trial succeeds with probability at least
65(n−1)∫01rn−2(1−r2)2dr=3(n+1)(n+3)20.
Thus the expected number of trials is O(n2), and each trial uses O(n) Gaussian draws and elementary operations. Limiting the sampler to O(n2log(1/ξ)) trials adds failure probability O(ξ). The uniform initial point is obtained by dividing a standard Gaussian vector in Rn by its length.
We measure numerical and coupling errors by the Euclidean distance ∥x−y∥2 in Rn, with both points normalized to lie on Sn−1. The geodesic distance d(x,y) used in the proposal density satisfies
∥x−y∥2=2sin2d(x,y)≤d(x,y)≤2π∥x−y∥2.
To implement these operations at finite precision, we use Gaussian sampling [Kar16] and arithmetic [BZ10, Chapters 3–4] as black boxes. With sufficiently high precision for all the rejection trials and a polynomial running-time limit, these routines compute the initial point and each proposal within Euclidean distance O(λξ) of the exact point, except with probability O(ξ). All queried points are specified by nonzero rational vectors and normalized before evaluation, and each estimate uses independent randomness. Approximating the density ratio changes the acceptance decision with probability O(η+ξλξ), including failed estimates. Choosing the precision and c appropriately ensures that the points produced by the computed and exact steps have Euclidean distance at most λξ, except with probability at most ξ.
We consider a coupling between the ideal chain (Xt) and the implemented chain (X^t). For two states x,x′∈Sn−1 at Euclidean distance D=∥x−x′∥2, relate their proposed points by the smallest rotation taking x to x′. Use the same coin toss to decide whether to stay put, and the same uniform random number to accept or reject each proposal. The new points remain within Euclidean distance D unless the acceptance decisions differ, which happens with probability at most 2ζd(x,x′)≤πζD≤D/λ, by Eq. (23) and the distance comparison above. Let Dt=X^t−Xt2. The initial points can be generated with D0≤λξ except with probability ξ. Including numerical errors at each later step gives Dt≤Dt−1+λξ, except with conditional probability at most Dt−1/λ+ξ. If no earlier failure occurred, then Dt−1≤tλξ. Hence a union bound, including the initial draw, gives
Pr[DT>(T+1)λξ]≤ξj=1∑T+1j=2ξ(T+1)(T+2)≤τ.
Since (T+1)ξ≤1, the final points satisfy X^T−XT2≤λ except with probability at most τ.
Estimate g(X^T) with relative error and failure probability at most η. Replace values below 1 by 1 and values above B by B to obtain F. The Lipschitz bound and the two comparisons above give
∣E[F]−E∣≤Lλ+2Bτ+2Bη≤ε/2.
Take N=⌈2B2ε−2log(2/δ)⌉ independent runs and output E=N−1∑i=1NFi. Hoeffding's inequality [Hoe63, Theorem 2] gives
Pr[E−E[F]>ε/2]≤2exp(−2B2Nε2)≤δ.
Thus E−E≤ε≤εE with probability at least 1−δ. We request at most N(T+1) value or ratio estimates, and all complexity bounds are polynomial as claimed. The required accuracy η depends on neither L nor δ. □
C Calculus on the Sphere
The spherical gradient and Hessian describe the first two terms of a Taylor expansion when both points lie on the sphere. We first characterize them without choosing an extension, then prove the extension formulas in Proposition 2.21 and the product and chain rules in Proposition C.5.
Definition C.1. Let f:Sn−1→R and θ∈Sn−1. We say that f is differentiable on the sphere at θ if there is a vector g∈Rn with ⟨g,θ⟩=0 such that for every ε>0 there exists δ>0 satisfying
In this case, we write ∇Sn−1f(θ):=g and call it the spherical gradient of f at θ.
Definition C.2. Let f:Sn−1→R be differentiable on the sphere at θ∈Sn−1. We say that f is twice differentiable on the sphere at θ if there is a symmetric matrix H∈Rn×n with Hθ=0 such that for every ε>0 there exists δ>0 satisfying
for all v∈Sn−1 with ∥v−θ∥2<δ. In this case, we write ∇Sn−12f(θ):=H and call it the spherical Hessian of f at θ.
Remark C.3. Since the test points lie on the sphere, the first- and second-order approximations leave freedom in the normal components of g and H, respectively. The conditions ⟨g,θ⟩=0 and Hθ=0 select unique canonical choices: g lies in θ⊥, and H acts on θ⊥ and vanishes in the normal direction.
Proposition 2.21. Let f:Sn−1→R, and let F:U→R be any twice differentiable extension of f, where U⊆Rn is an open set containing Sn−1. For every θ∈Sn−1,
These expressions do not depend on the choice of extension F.
Remark C.4. Let F∈C2(U) be an extension of f as above, and let γ:I→Sn−1 be a C2 curve. Suppressing the argument t, the chain rule and Proposition 2.21 give
For a constant-speed great circle, γ′′=−∥γ′∥22γ is normal to the sphere, so the last term vanishes. Thus the spherical Hessian alone gives the second derivative along constant-speed great circles, which play the role of straight lines in Euclidean calculus. For general curves, ∇Sn−12f alone is not a good tool for computing the second derivative, since the acceleration term also contributes.
Proof of Proposition 2.21. Throughout, v∈Sn−1, and o(⋅) and O(⋅) refer to v→θ. We prove both formulas by rewriting the Euclidean Taylor expansion in tangent directions. In this notation, Definition C.1 asks for f(v)=f(θ)+⟨∇Sn−1f(θ),v−θ⟩+o(∥v−θ∥2), and Definition C.2 requires a quadratic approximation with error o(∥v−θ∥22). Since we require ⟨∇Sn−1f(θ),θ⟩=0 and ∇Sn−12f(θ)θ=0, the natural candidates are the tangential parts Pθ⊥∇RnF(θ) and Pθ⊥∇Rn2F(θ)Pθ⊥. Projecting costs little, because the normal part of v−θ is of second order:
v−θ=Pθ⊥(v−θ)+⟨θ,v−θ⟩θ,⟨θ,v−θ⟩=−21∥v−θ∥22.
In particular, for every matrix A∈Rn×n,
(v−θ)⊤A(v−θ)=(v−θ)⊤Pθ⊥APθ⊥(v−θ)+O(∥v−θ∥23).
(*)
For the gradient formula, let c=⟨∇RnF(θ),θ⟩, so that the normal part of ∇RnF(θ) is (I−Pθ⊥)∇RnF(θ)=cθ. It only sees the normal part of v−θ:
⟨(I−Pθ⊥)∇RnF(θ),v−θ⟩=c⟨θ,v−θ⟩=−2c∥v−θ∥22.
This is O(∥v−θ∥22), so the differentiability of F at θ gives
As in the gradient formula, ⟨∇RnF(θ),v−θ⟩=⟨∇Sn−1f(θ),v−θ⟩−2c∥v−θ∥22. The remainder −2c∥v−θ∥22 is now of the same order as the quadratic term, so it has to go into the Hessian. By (*) with A=I and with A=∇Rn2F(θ),
The matrix Pθ⊥∇Rn2F(θ)Pθ⊥−cPθ⊥ is symmetric and vanishes on θ. Comparing the quadratic terms in Definition C.2 along every tangent direction identifies this matrix with ∇Sn−12f(θ). □
Proposition C.5. Let f,g:Sn−1→R be differentiable on the sphere, and let ϕ:R→R be differentiable. Then fg and ϕ∘f are differentiable on the sphere, with
Proof of Proposition C.5. The rules follow by multiplying and composing the defining Taylor expansions, just as in Euclidean calculus. Fix θ∈Sh−1 and let y→θ on the sphere. For twice differentiable f, Definition C.2 gives
The same expansion holds for g. Multiplying them gives the product rules: the constant times quadratic terms give f∇Sn−12g+g∇Sn−12f, and the product of the linear terms gives the two outer products in the Hessian formula. All remaining terms are o(∥y−θ∥22).
For composition, substitute the expansion of f into the scalar Taylor formula for ϕ at f(θ). The linear term of this formula gives the terms multiplied by ϕ′(f), and its quadratic term gives ϕ′′(f)(∇Sn−1f)(∇Sn−1f)⊤ in the Hessian. Since f(y)−f(θ)=O(∥y−θ∥2), the scalar remainder is also o(∥y−θ∥22).
The resulting linear coefficients are tangent at θ, and the quadratic coefficient matrices are symmetric and vanish on θ. Thus Definitions C.1 and C.2 give the claimed derivatives. Under first-order differentiability alone, the same argument uses the first-order Taylor expansions with o(∥y−θ∥2) remainders and proves both gradient rules. Taking g=f in the Hessian product rule proves Proposition 2.22.
D Proofs of the Applications
D.1 Proof of Theorem 1.7
Recall that P=(X,≤) is a poset on n elements, and its order polytope O(P) consists of the vectors z∈[0,1]X satisfying zx≤zy whenever x≤y.
Theorem 1.7 ([Sta81]). Fix x1≺⋯≺xk in P with k<n, and positions a1<⋯<ak in [n]; for convenience, write a0=0,ak+1=n+1. For each j=0,…,k, let dj:=aj+1−aj−1 and
Fj:=O(P)∩i=1⋂j{zxi=0}∩i=j+1⋂k{zxi=1},
which we may identify with the polytope in Rn−k obtained by forgetting zx1,…,zxk. Then
Proof. Let N denote the number of linear extensions σ satisfying σ(xi)=ai for all i=1,…,k, and write d:=n−k. We compute Vold(t0F0+⋯+tkFk) in two ways and compare the coefficients of t0d0⋯tkdk; note that d0+⋯+dk=d.
Fix t∈R>0k+1, and set sj:=t0+⋯+tj−1 for j=0,…,k+1. Then 0=s0<s1<⋯<sk+1, and the interval [sj,sj+1] has length tj. We note that t0F0+⋯+tkFk=K(t), where
Outside a set of measure zero (contained in finitely many hyperplanes), the coordinates of z∈K(t) are pairwise distinct, and ranking X by them gives a linear extension σ of P with zσ−1(1)<⋯<zσ−1(n); summing over σ gives the first equality below. For a linear extension σ, set σ(x0):=0 and σ(xk+1):=n+1, and let dj(σ):=σ(xj+1)−σ(xj)−1 be the number of elements that σ places strictly between xj and xj+1. Since σ is a linear extension, any vector whose coordinates increase in the order given by σ is order-preserving. So, up to a set of measure zero, the vectors z∈K(t) with zσ−1(1)<⋯<zσ−1(n) are those with zxi=si for all i such that, for each j, the coordinates of these dj(σ) elements lie in (sj,sj+1) and increase in the order given by σ. This gives the second equality:
Both ends of this display are polynomials in t (the left one by Eq. (1)); as they agree on R>0k+1, their coefficients of t0d0⋯tkdk agree. On the left, by the symmetry of mixed volumes, this coefficient is Vd(F0[d0],…,Fk[dk]) times the number of index sequences in Eq. (1) in which each j appears exactly dj times. On the right, dj(σ)=dj for all j if and only if σ(xi)=ai for all i. Therefore
Recall that P=([n],⪯) specifies precedence constraints on the jobs, each with an integer window [ℓx,ux]⊆[T]. A feasible schedule is an injective map σ:[n]→[T] with σ(x)<σ(y) whenever x≺y and ℓx≤σ(x)≤ux. The boundaries 0=b0<⋯<bm=T list the distinct values in {0,T}∪{ℓx−1,ux:x∈[n]}. Block i consists of the slots bi−1+1,…,bi and has length Li=bi−bi−1. As in Theorem 1.10, we assume the faces
where (L)q=L(L−1)⋯(L−q+1) denotes the falling factorial (with the convention that (L)q=0 for q>L). Then the number of feasible schedules equals the subset convolution
Proof. Let N be the number of feasible schedules. Add virtual elements c1,…,cm−1, where ci sits between the slots bi and bi+1, and consider the following relations on jobs and virtual elements: the relations x≺y of P, the chain c1<⋯<cm−1, and the ones that encode windows
ci<xifℓx>bi,x<ciifux≤bi.
They generate a partial order P unless they contain a cycle, that is, elements a1<a2<⋯<ar<a1, each related to the next by one of these relations.
Suppose a cycle exists, and choose a virtual element cj of largest index on it. The path to the next virtual element has the form cj<x⪯y<cj′ with j′≤j. Hence ℓx>bj≥bj′≥uy, so no feasible schedule exists. For i≤j and z∈Ki, the constraints defining Ki force zx=zy=1; for i>j, they force zy=0. Thus z∈∑itiKi always has zy=∑i≤jti, giving F=0, so both sides of the claimed identity vanish.
Otherwise, P is a poset. A schedule σ with αi jobs in block i is equivalent to a linear extension σ of P satisfying σ(ci)=i+∑j=1iαj, together with a choice of αi occupied slots in each block. For a fixed σ, there are (αiLi) ways to choose these slots from the Li slots in block i. Assigning the jobs in σ-order to the chosen slots in increasing order gives exactly one assignment; every slot is allowed because each job's window contains its entire block. The choices are independent across blocks, so each σ gives ∏i(αiLi) schedules.
The faces in Theorem 1.7 are exactly the Ki, obtained by setting zcj=0 for j<i and zcj=1 for j≥i. Hence, by Theorem 1.7 and Eq. (1),
This sum equals the stated subset convolution: polarization splits [tα]F equally among the ∏j(αjn) sets S⊆E with ∣S∩Ej∣=αj for all j, and each such S has [zE∖S]G=∏j(Lj)αj.