Papers
Topics
Authors
Recent
Search
2000 character limit reached

Weighted Ehrhart Functions

Updated 9 July 2026
  • Weighted Ehrhart functions are weighted lattice-point enumerators that extend classical Ehrhart theory by incorporating polynomial, q-, and group-ring weights.
  • They exhibit properties such as rationality, quasi-polynomial behavior, reciprocity, and are deeply connected to toric geometry, mixed Hodge modules, and Euler–Maclaurin formulas.
  • Recent advances include algorithmic approaches for efficient computation and detailed studies on the positivity, monotonicity, and geometric interpretation of weighted h*-polynomials.

Weighted Ehrhart functions are weighted lattice-point enumerators attached to dilates of polytopes. In the basic polynomial-weighted form, for a rational convex polytope P⊂RdP \subset \mathbb{R}^d and a polynomial weight ww, one considers

EP,w(k)=∑m∈kP∩Zdw(m).\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m).

The subject now includes polynomial weights, monomial qq-weights of the form qλ(x)q^{\lambda(x)}, Laurent-polynomial weights assigned to faces, equivariant and group-ring-valued refinements, and weights that are themselves Ehrhart quasi-polynomials of auxiliary parametric polytopes. Across these variants, the central problems are rationality of generating series, polynomial or quasi-polynomial dependence on the dilation parameter, reciprocity, positivity and monotonicity of weighted h∗h^*-polynomials, and geometric realizations via toric varieties, mixed Hodge modules, and Euler–Maclaurin type formulas (Bajo et al., 2023, Maxim et al., 2024, Davis et al., 13 Nov 2025).

1. Core definitions and main formalisms

The classical starting point is the Ehrhart function of a rational convex polytope PP,

EP(k)=#(kP∩Zd),\mathrm{E}_P(k)=\#(kP\cap \mathbb{Z}^d),

together with its generating series. Weighted Ehrhart theory replaces the constant weight $1$ by a nontrivial weight. In the polynomial setting, the weighted Ehrhart function is

EP,w(k)=∑m∈kP∩Zdw(m),\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m),

where ww0 is a polynomial. For lattice polytopes and polynomial weights, this produces a polynomial in the dilation parameter; for rational polytopes, it produces a quasi-polynomial. The associated numerator ww1 in the rational generating series is the weighted ww2-polynomial (Bajo et al., 2023, Reyes et al., 30 Aug 2025).

In practice, the literature uses several related but distinct weighted models.

Framework Weight data Representative object
Polynomial weights ww3 polynomial ww4
ww5-weights ww6, weight ww7 ww8
Face-weighted theory ww9, EP,w(k)=∑m∈kP∩Zdw(m).\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m).0 EP,w(k)=∑m∈kP∩Zdw(m).\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m).1
Group-ring-valued theory EP,w(k)=∑m∈kP∩Zdw(m).\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m).2 EP,w(k)=∑m∈kP∩Zdw(m).\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m).3

The face-weighted formalism is designed to encode geometric data attached to torus orbits of the toric variety EP,w(k)=∑m∈kP∩Zdw(m).\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m).4. In its generalized form, one also inserts a homogeneous polynomial EP,w(k)=∑m∈kP∩Zdw(m).\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m).5 and studies

EP,w(k)=∑m∈kP∩Zdw(m).\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m).6

so the lattice-point sum is refined simultaneously by face strata and by a polynomial weight on the lattice points themselves (Maxim et al., 2024).

The EP,w(k)=∑m∈kP∩Zdw(m).\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m).7-analogue introduced by Chapoton assigns to each lattice point EP,w(k)=∑m∈kP∩Zdw(m).\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m).8 the monomial EP,w(k)=∑m∈kP∩Zdw(m).\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m).9, where qq0 is a fixed integral linear form. The resulting weighted sum

qq1

specializes to the ordinary Ehrhart function at qq2 and gives a genuine qq3-analogue of Ehrhart theory (Chapoton, 2013).

The most expansive unification in the data is the group-ring formalism. For an Abelian group qq4 and homomorphism qq5, one defines

qq6

This framework contains polynomial-weighted, qq7-weighted, and equivariant Ehrhart theories as special cases (Davis et al., 13 Nov 2025).

2. Rationality, quasi-polynomiality, and reciprocity

For polynomial weights on rational polytopes, the basic structural theorem asserts that if qq8 has dimension qq9, denominator qλ(x)q^{\lambda(x)}0, and qλ(x)q^{\lambda(x)}1 has degree qλ(x)q^{\lambda(x)}2, then

qλ(x)q^{\lambda(x)}3

where qλ(x)q^{\lambda(x)}4 is a polynomial of degree at most qλ(x)q^{\lambda(x)}5. Consequently, qλ(x)q^{\lambda(x)}6 is a quasi-polynomial of degree qλ(x)q^{\lambda(x)}7. Its leading coefficient is qλ(x)q^{\lambda(x)}8, which ties weighted Ehrhart theory directly to integration over polytopes (Bajo et al., 2023).

For lattice polytopes and homogeneous polynomial weights of degree qλ(x)q^{\lambda(x)}9, one obtains a polynomial rather than a quasi-polynomial. The weighted Ehrhart series has denominator h∗h^*0, and the weighted h∗h^*1-polynomial is defined by

h∗h^*2

The passage from the weighted Ehrhart polynomial to the weighted h∗h^*3-polynomial can be written explicitly using Eulerian polynomials h∗h^*4: h∗h^*5 when h∗h^*6 (Hwang et al., 12 Nov 2025).

In Chapoton’s h∗h^*7-theory, the generating series

h∗h^*8

is rational, with denominator a product of factors h∗h^*9 determined by the values of PP0 on vertices. More strongly, there exists a polynomial PP1 such that

PP2

This polynomial satisfies a PP3-analogue of Ehrhart reciprocity: PP4 for every integer PP5 (Chapoton, 2013).

In the face-weighted Hodge-theoretic setting, reciprocity and purity are encoded cohomologically. For

PP6

one has the generalized reciprocity formula

PP7

and in the intersection cohomology case a purity relation

PP8

which is a weighted analogue of Dehn–Sommerville symmetry (Maxim et al., 2024).

A different but related unification packages the weighted lattice sums

PP9

for all faces EP(k)=#(kP∩Zd),\mathrm{E}_P(k)=\#(kP\cap \mathbb{Z}^d),0 into a polynomial EP(k)=#(kP∩Zd),\mathrm{E}_P(k)=\#(kP\cap \mathbb{Z}^d),1. The resulting functional equation

EP(k)=#(kP∩Zd),\mathrm{E}_P(k)=\#(kP\cap \mathbb{Z}^d),2

simultaneously generalizes weighted Ehrhart–Macdonald reciprocity and the Dehn–Sommerville relations (Beck et al., 2018).

3. Positivity, monotonicity, and sharp counterexamples

A central question is whether positivity phenomena from classical Ehrhart theory survive after weights are introduced. They do not do so automatically. Even if a polynomial weight is nonnegative on all dilates, the coefficients of the weighted EP(k)=#(kP∩Zd),\mathrm{E}_P(k)=\#(kP\cap \mathbb{Z}^d),3-polynomial can be negative. The basic one-dimensional example

EP(k)=#(kP∩Zd),\mathrm{E}_P(k)=\#(kP\cap \mathbb{Z}^d),4

already shows a negative numerator coefficient (Bajo et al., 2023).

The strongest general results currently in the data are formulated through two semirings of weights attached to EP(k)=#(kP∩Zd),\mathrm{E}_P(k)=\#(kP\cap \mathbb{Z}^d),5. If EP(k)=#(kP∩Zd),\mathrm{E}_P(k)=\#(kP\cap \mathbb{Z}^d),6 denotes the cone of linear functionals nonnegative on the homogenized cone EP(k)=#(kP∩Zd),\mathrm{E}_P(k)=\#(kP\cap \mathbb{Z}^d),7, then EP(k)=#(kP∩Zd),\mathrm{E}_P(k)=\#(kP\cap \mathbb{Z}^d),8 consists of finite sums of monomials in generators of EP(k)=#(kP∩Zd),\mathrm{E}_P(k)=\#(kP\cap \mathbb{Z}^d),9 with positive coefficients, while $1$0 enlarges this to sums of nonnegative products of linear forms, allowing squares of products and even powers. For homogeneous $1$1, the weighted $1$2-polynomial has nonnegative coefficients. For homogeneous $1$3, coefficientwise nonnegativity can fail, but one still has

$1$4

These statements extend Stanley’s nonnegativity theorem, and there are parallel monotonicity theorems under containment: coefficientwise monotonicity for $1$5, and functionwise monotonicity on $1$6 for $1$7 when dimensions agree (Bajo et al., 2023).

The special case $1$8 is particularly delicate. In dimension $1$9, if EP,w(k)=∑m∈kP∩Zdw(m),\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m),0 is a convex lattice polygon and EP,w(k)=∑m∈kP∩Zdw(m),\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m),1 is any linear form, then

EP,w(k)=∑m∈kP∩Zdw(m),\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m),2

This remains true even when EP,w(k)=∑m∈kP∩Zdw(m),\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m),3 changes sign on EP,w(k)=∑m∈kP∩Zdw(m),\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m),4. The proof uses triangulations into half-open lattice triangles and a geometric analysis of when a half-open simplex can contribute a negative coefficient. The result is sharp in multiple directions: it fails for squares of degree-two polynomials, for non-convex polygons, for rational polygons of denominator EP,w(k)=∑m∈kP∩Zdw(m),\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m),5, and in higher dimensions. A 20-dimensional lattice simplex gives a negative coefficient for the weight EP,w(k)=∑m∈kP∩Zdw(m),\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m),6 (Bajo et al., 2023).

This last example has an immediate tensor-theoretic consequence. Weighted Ehrhart polynomials with weights EP,w(k)=∑m∈kP∩Zdw(m),\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m),7 are evaluations of Ehrhart tensor polynomials, and for EP,w(k)=∑m∈kP∩Zdw(m),\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m),8 the positivity of all coefficients of EP,w(k)=∑m∈kP∩Zdw(m),\mathrm{E}_{P,w}(k)=\sum_{m\in kP\cap \mathbb{Z}^d} w(m),9 is equivalent to positive semidefiniteness of the coefficients of the ww00-tensor polynomial. The 20-dimensional example therefore disproves Conjecture 6.1 of Berg, Jochemko, and Silverstein, while the polygon theorem reproves their two-dimensional positive semidefiniteness result (Bajo et al., 2023).

A common misconception is that nonnegative weights should force nonnegative weighted ww01-coefficients. The existing counterexamples show that the correct positivity regime depends on the algebraic form of the weight, the denominator of the polytope, convexity, and dimension, not merely on pointwise nonnegativity.

4. Toric, Hodge-theoretic, and equivariant interpretations

Weighted Ehrhart theory admits a toric interpretation when ww02 is a full-dimensional lattice polytope. The inner normal fan ww03 defines a projective toric variety ww04 with ample Cartier divisor ww05, and faces ww06 correspond to torus orbits ww07. For a mixed Hodge module complex ww08 on ww09 whose underlying constructible sheaves are constant on the torus-orbit stratification, the local Hodge data

ww10

define precisely the weights entering the combinatorial weighted Ehrhart polynomial (Maxim et al., 2024).

The central formula in this setting is

ww11

so the weighted Ehrhart polynomial is a Hodge-theoretic ww12-polynomial of the divisor ww13 with coefficients in ww14. Duality for mixed Hodge modules yields a cohomological reciprocity theorem, and in the pure self-dual case one gets the purity relation

ww15

(Maxim et al., 2024).

The intersection cohomology specialization is especially canonical. When ww16 lies in the interior of ww17, the local Hodge ww18-polynomial of the intersection cohomology stalk on the orbit corresponding to ww19 is Stanley’s ww20-polynomial of the dual face of the polar polytope: ww21 Hence the face weights become ww22, and the resulting weighted Ehrhart polynomial gives a combinatorial formula for ww23. At ww24, one obtains the intersection cohomology signature

ww25

(Maxim et al., 2024).

An equivariant refinement inserts a homogeneous polynomial ww26 on ww27 and studies

ww28

Equivariant ww29-theoretic Hodge-Chern classes of ww30-equivariant mixed Hodge modules on ww31 produce these weighted sums, and the same duality formalism yields reciprocity and purity formulas compatible with the homogeneous weight ww32. In the equivariant intersection cohomology case, this recovers in geometric terms the generalized weighted Ehrhart reciprocity theorem of Beck–Gunnells–Materov (Maxim et al., 2024).

These geometric constructions show that weighted Ehrhart functions are not merely ad hoc deformations of counting functions. In the toric setting, the weights often arise as local Hodge-theoretic invariants of orbit strata, and reciprocity reflects Verdier duality rather than only an inclusion–exclusion identity.

5. Parametric, algorithmic, and computational developments

For rational simple polytopes with polynomial weights, the highest coefficients of the weighted Ehrhart quasi-polynomial can be computed efficiently by a local refinement of Barvinok’s method. In the model case

ww33

the top coefficients are extracted from low-degree homogeneous pieces of cone generating functions at the vertices. The output is given in closed form as step polynomials of the dilation parameter, and the algorithm computes, for fixed ww34, the top ww35 coefficients in polynomial time in the dimension, number of vertices, and encoding lengths (Baldoni et al., 2010).

A complementary parametric theory considers semi-rational polytopes

ww36

with multi-parameter ww37, together with intermediate sums

ww38

On every chamber in parameter space where the combinatorial type is fixed, ww39 is a quasi-polynomial in ww40. The paper introduces both Barvinok’s patched quasi-polynomial and the cone-by-cone patched quasi-polynomial, and proves that each agrees with the discrete weighted sum in the ww41 highest polynomial degrees (Baldoni et al., 2014).

The 2024 paper on sums of weighted lattice points of polytopes pushes the notion of weight much further: the weight itself may be an Ehrhart quasi-polynomial of a family of parametric polytopes. If

ww42

then there exists a weight lifting polytope ww43 such that

ww44

When the auxiliary family is homogeneous in the dilation parameter, the weighted Ehrhart quasi-polynomial of ww45 becomes the ordinary Ehrhart quasi-polynomial of ww46. This transforms weighted sums into unweighted sums and yields applications to integration, maxima of quasi-polynomial weights, and new identities in representation theory and number theory (Loera et al., 2024).

For lattice polytopes with polynomial weights, an interpolation-based algorithm computes weighted Ehrhart functions by evaluating

ww47

for ww48 and reconstructing the polynomial by Lagrange interpolation. The same work shows how to compute generating functions of polynomials using those of unit cubes and Eulerian numbers, studies the Ehrhart ring of the ww49-th unit cube, and introduces weighted Ehrhart rings for linear weight maps (Reyes et al., 30 Aug 2025).

For smooth integral polytopes deformed by varying the right-hand sides of fixed facet normals, the coefficients of weighted Ehrhart and weighted ww50-polynomials are piecewise polynomial in the parameter vector ww51. A weighted Euler–Maclaurin type formula due to Khovanskiĭ and Pukhlikov yields an algorithm and a SageMath implementation for smooth polytopes, including type ww52 alcoved polytopes. For fixed dimension ww53, number of facets ww54, and monomial weight of degree ww55, the runtime is

ww56

and the implementation is explicitly designed to output the parametric weighted count polynomial on a type cone (Hwang et al., 12 Nov 2025).

6. Extensions, applications, and unifying viewpoints

Weighted Ehrhart functions now serve as a common language across several areas. In type ww57 and type ww58 Coxeter combinatorics, weighted Ehrhart series of products of simplices and cross polytopes realize generating polynomials for joint distributions of major index and descents. For a composition ww59, the formulas

ww60

and

ww61

identify generalized Eulerian polynomials as numerators of weighted Ehrhart series. Geometric properties of the associated polytopes, such as Gorenstein or reflexive behavior, then explain palindromicity and unimodality phenomena (Tielker, 2022).

The group-ring formalism gives a broad conceptual unification. For ww62, the group-ring-valued series

ww63

simultaneously covers classical counting, ww64-weights, polynomial weights through auxiliary constructions, and equivariant refinements. Rationality, Brion-type formulas, and reciprocity survive in this enriched setting, and the framework accommodates coset counting and representation-valued coefficients (Davis et al., 13 Nov 2025).

Applications recorded in the data include Ehrhart tensor polynomials, intersection cohomology signatures, weighted formulas for representation-theoretic multiplicities, sums over simultaneous core partitions, and weighted counts on numerical semigroups (Bajo et al., 2023, Loera et al., 2024). A plausible implication is that the most robust future developments will continue to come from settings where the weight is itself geometric—arising from toric, Hodge-theoretic, tensorial, or representation-theoretic structures—because those are the cases in which reciprocity, purity, and computability are currently best understood.

At the same time, the subject retains sharp boundaries. Coefficientwise positivity of weighted ww65-polynomials is exceptional rather than generic; sign patterns can be arbitrarily complicated in parametric families; and even when coefficients eventually stabilize under large dilations, small-dimensional examples already exhibit non-convex positivity regions and dimension-sensitive failures (Bajo et al., 2023, Hwang et al., 12 Nov 2025). Weighted Ehrhart functions therefore occupy a distinctive position in modern discrete geometry: they generalize classical Ehrhart theory, preserve much of its algebraic and geometric structure, and yet expose precisely where that structure breaks.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Weighted Ehrhart Functions.