Computing the Ehrhart Quasi-Polynomial of a Rational Simplex

Computing the Ehrhart Quasi-Polynomial of a Rational Simplex

MATHEMATICS OF COMPUTATION Volume 75, Number 255, July 2006, Pages 1449–1466 S 0025-5718(06)01836-9 Article electronically published on March 10, 2006 COMPUTING THE EHRHART QUASI-POLYNOMIAL OF A RATIONAL SIMPLEX ALEXANDER BARVINOK Abstract. We present a polynomial time algorithm to compute any fixed number of the highest coefficients of the Ehrhart quasi-polynomial of a ratio- nal simplex. Previously such algorithms were known for integer simplices and for rational polytopes of a fixed dimension. The algorithm is based on the formularelatingthekth coefficient of the Ehrhart quasi-polynomial of a ratio- nal polytope to volumes of sections of the polytope by affine lattice subspaces parallel to k-dimensional faces of the polytope. We discuss possible extensions andopenquestions. 1. Introduction and main results Let P ⊂ Rd be a rational polytope, that is, the convex hull of a finite set of points with rational coordinates. Let t ∈ N be a positive integer such that the vertices of the dilated polytope tP = tx : x ∈ P are integer vectors. As is known (see, for example, Section 4.6 of [27]), there exist functions ei(P ; ·):N −→ Q,i=0,...,d, such that ei(P ; n + t)=ei(P ; n) for all n ∈ N and d d i |nP ∩ Z | = ei(P ; n)n for all n ∈ N. i=0 The function on the right-hand side is called the Ehrhart quasi-polynomial of P .It is clear that if dim P = d, then ed(P ; n)=volP . In this paper, we are interested in the computational complexity of the coefficients ei(P ; n). If the dimension d is fixed in advance, the values of ei(P ; n) for any given P, n, and i can be computed in polynomial time by interpolation, as implied by a poly- nomial time algorithm to count integer points in a polyhedron of a fixed dimension [4], [6]. If the dimension d is allowed to vary, it is an NP-hard problem to check whether P ∩ Zd = ∅, let alone to count integer points in P . This is true even when P is a rational simplex, as exemplified by the knapsack problem; see, for example, Section 16.6 of [25]. If the polytope P is integral, then the coefficients ei(P ; n)=ei(P ) Received by the editor April 29, 2005. 2000 Mathematics Subject Classification. Primary 52C07; Secondary 05A15, 68R05. Key words and phrases. Ehrhart quasi-polynomial, rational polytope, valuation, algorithm. This research was partially supported by NSF Grant DMS 0400617. c 2006 American Mathematical Society 1449 License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 1450 ALEXANDER BARVINOK do not depend on n.Inthatcase,foranyk fixed in advance, computation of the Ehrhart coefficient ed−k(P ) reduces in polynomial time to computation of the volumes of the (d−k)-dimensional faces of P [5]. The algorithm is based on efficient formulas relating ed−k(P ), volumes of the (d − k)-dimensional faces, and cones of feasible directions at those faces; see [22], [6], and [23]. In particular, if P =∆is an integer simplex, there is a polynomial time algorithm for computing ed−k(∆) as long as k is fixed in advance. In this paper, we extend the last result to rational simplices (a d-dimensional rational simplex is the convex hull in Rd of (d + 1) affinely independent points with rational coordinates). • Let us fix an integer k ≥ 0. The paper presents a polynomial time algorithm, which,givenanintegerd ≥ k, a rational simplex ∆ ⊂ Rd, and a positive integer n, computes the value of ed−k(∆; n). We present the algorithm in Section 7 and discuss its possible extensions in Section 8. This is in contrast to the case of an integral polytope, for a general rational poly- tope P computation of ei(P ; n) cannot be reduced to computation of the volumes of faces and some functionals of the “angles” (cones of feasible direction) at the faces. A general result of McMullen [19] (see also [21] and [20]) asserts that the contribution of the i-dimensional face F of a rational polytope P to the coefficient ei(P ; n) is a function of the volume of F, the cone of feasible directions of P at F, and the translation class of the affine hull aff(F )ofF modulo Zd. Our algorithm is based on a new structural result, Theorem 1.1 below, relating the coefficient ed−k(P ; n) to volumes of sections of P by affine lattice subspaces parallel to faces F of P with dim F ≥ d − k. Theorem 1.1 may be of interest in its own right. 1.1. Valuations and polytopes. Let V be a d-dimensional real vector space and let Λ ⊂ V be a lattice, that is, a discrete additive subgroup which spans V .A polytope P ⊂ V is called a Λ-polytope or a lattice polytope if the vertices of P belong to Λ. A polytope P ⊂ V is called Λ-rational or just rational if tP is a lattice polytope for some positive integer t. ForasetA ⊂ V, let [A]:V −→ R be the indicator of A: 1ifx ∈ A, [A](x)= 0ifx/∈ A. A complex-valued function ν on rational polytopes P ⊂ V is called a valuation if it preserves linear relations among indicators of rational polytopes: αi[Pi]=0=⇒ αiν(Pi)=0, i∈I i∈I where Pi ⊂ V is a finite family of rational polytopes and αi are rational numbers. We consider only Λ-valuations or lattice valuations ν that satisfy ν(P + u)=ν(P ) for all u ∈ Λ; see [21] and [20]. A general result of McMullen [19] states that if ν is a lattice valuation, P ⊂ V is a rational polytope, and t ∈ N is a number such that tP is a lattice polytope, then License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use COMPUTING THE EHRHART QUASI-POLYNOMIAL OF A RATIONAL SIMPLEX 1451 there exist functions νi(P ; ·):N −→ C,i=0,...,d, such that d i ν(nP )= νi(P ; n)n for all n ∈ N i=0 and νi(P ; n + t)=νi(P ; n) for all n ∈ N. Clearly, if we compute ν(mP )form = n, n + t,...,n+ td, we can obtain νi(P ; n) by interpolation. We are interested in the counting valuation E, where V = Rd, Λ=Zd, and E(P )=|P ∩ Zd| is the number of lattice points in P . The idea of the algorithm is to replace valuation E by some other valuation, so that the coefficients ed(P ; n),...,ed−k(P ; n) remain intact, but the new valuation can be computed in polynomial time on any given rational simplex ∆, so that the desired coefficient ed−k(∆; n) can be obtained by interpolation. d 1.2. Valuations EL. Let L ⊂ R be a lattice subspace, that is, a subspace spanned by the points L ∩ Zd. Suppose that dim L = k and let pr : Rd −→ L be the orthogonal projection onto L.LetP ⊂ R d be a rational polytope, let Q = pr(P ), Q ⊂ L, be its projection, and let Λ = pr Zd .SinceL is a lattice subspace, Λ ⊂ L is a lattice. Let L⊥ be the orthogonal complement of L.ThenL⊥ ⊂ Rd is a lattice sub- ⊥ space. We introduce the volume form vold−k on L which differs from the volume form inherited from Rd by a scaling factor chosen so that the determinant of the d ⊥ lattice Z ∩ L is 1. Consequently, the same volume form vold−k is carried by all translations x + L⊥,x∈ Rd. We consider the following quantity ⊥ ⊥ EL(P )= vold−k P ∩ m + L = vold−k P ∩ m + L m∈Λ m∈Q∩Λ (clearly, for m/∈ Q the corresponding terms are 0). In words, we take all lattice translates of L⊥, select those that intersect P, and add the volumes of the intersections. Clearly, EL is a lattice valuation, so d i EL(nP )= ei(P, L; n)n i=0 for some periodic functions ei(P, L; ·). If tP is an integer polytope for some t ∈ N, then ei(P, L; n + t)=ei(P, L; n) for all n ∈ N and i =0,...,d. d d Note that if L = {0}, then EL(P )=volP and if L = R , then EL(P )=|P ∩Z |, so the valuations EL interpolate between the volume and the number of lattice points as dim L grows. We prove that ed−k(P ; n) can be represented as a linear combination of ed−k(P, L; n) for some lattice subspaces L with dim L ≤ k. License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 1452 ALEXANDER BARVINOK Theorem 1.1. Let us fix an integer k ≥ 0.LetP ⊂ Rd be a full-dimensional ratio- nal polytope and let t be a positive integer such that tP is an integer polytope. For a (d − k)-dimensional face F of P let lin(F ) ⊂ Rd be the (d − k)-dimensional sub- ⊥ space parallel to the affine hull aff(F ) of F and let LF = (lin F ) be its orthogonal complement, so LF ⊂ Rd is a k-dimensional lattice subspace. Let L be a finite collection of lattice subspaces which contains the subspaces LF for all (d − k)-dimensional faces F of P andisclosedunderintersections.For L ∈Llet µ(L) be integer numbers such that the identity L = µ(L)[L] L∈L L∈L holds for the indicator functions of the subspaces from L. Let us define ν(nP )= µ(L)EL(nP ) for n ∈ N.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    18 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us