Weighted Ehrhart Functions
- 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 and a polynomial weight , one considers
The subject now includes polynomial weights, monomial -weights of the form , 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 -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 ,
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
where 0 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 1 in the rational generating series is the weighted 2-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 | 3 polynomial | 4 |
| 5-weights | 6, weight 7 | 8 |
| Face-weighted theory | 9, 0 | 1 |
| Group-ring-valued theory | 2 | 3 |
The face-weighted formalism is designed to encode geometric data attached to torus orbits of the toric variety 4. In its generalized form, one also inserts a homogeneous polynomial 5 and studies
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 7-analogue introduced by Chapoton assigns to each lattice point 8 the monomial 9, where 0 is a fixed integral linear form. The resulting weighted sum
1
specializes to the ordinary Ehrhart function at 2 and gives a genuine 3-analogue of Ehrhart theory (Chapoton, 2013).
The most expansive unification in the data is the group-ring formalism. For an Abelian group 4 and homomorphism 5, one defines
6
This framework contains polynomial-weighted, 7-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 8 has dimension 9, denominator 0, and 1 has degree 2, then
3
where 4 is a polynomial of degree at most 5. Consequently, 6 is a quasi-polynomial of degree 7. Its leading coefficient is 8, which ties weighted Ehrhart theory directly to integration over polytopes (Bajo et al., 2023).
For lattice polytopes and homogeneous polynomial weights of degree 9, one obtains a polynomial rather than a quasi-polynomial. The weighted Ehrhart series has denominator 0, and the weighted 1-polynomial is defined by
2
The passage from the weighted Ehrhart polynomial to the weighted 3-polynomial can be written explicitly using Eulerian polynomials 4: 5 when 6 (Hwang et al., 12 Nov 2025).
In Chapoton’s 7-theory, the generating series
8
is rational, with denominator a product of factors 9 determined by the values of 0 on vertices. More strongly, there exists a polynomial 1 such that
2
This polynomial satisfies a 3-analogue of Ehrhart reciprocity: 4 for every integer 5 (Chapoton, 2013).
In the face-weighted Hodge-theoretic setting, reciprocity and purity are encoded cohomologically. For
6
one has the generalized reciprocity formula
7
and in the intersection cohomology case a purity relation
8
which is a weighted analogue of Dehn–Sommerville symmetry (Maxim et al., 2024).
A different but related unification packages the weighted lattice sums
9
for all faces 0 into a polynomial 1. The resulting functional equation
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 3-polynomial can be negative. The basic one-dimensional example
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 5. If 6 denotes the cone of linear functionals nonnegative on the homogenized cone 7, then 8 consists of finite sums of monomials in generators of 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 0 is a convex lattice polygon and 1 is any linear form, then
2
This remains true even when 3 changes sign on 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 5, and in higher dimensions. A 20-dimensional lattice simplex gives a negative coefficient for the weight 6 (Bajo et al., 2023).
This last example has an immediate tensor-theoretic consequence. Weighted Ehrhart polynomials with weights 7 are evaluations of Ehrhart tensor polynomials, and for 8 the positivity of all coefficients of 9 is equivalent to positive semidefiniteness of the coefficients of the 00-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 01-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 02 is a full-dimensional lattice polytope. The inner normal fan 03 defines a projective toric variety 04 with ample Cartier divisor 05, and faces 06 correspond to torus orbits 07. For a mixed Hodge module complex 08 on 09 whose underlying constructible sheaves are constant on the torus-orbit stratification, the local Hodge data
10
define precisely the weights entering the combinatorial weighted Ehrhart polynomial (Maxim et al., 2024).
The central formula in this setting is
11
so the weighted Ehrhart polynomial is a Hodge-theoretic 12-polynomial of the divisor 13 with coefficients in 14. Duality for mixed Hodge modules yields a cohomological reciprocity theorem, and in the pure self-dual case one gets the purity relation
15
The intersection cohomology specialization is especially canonical. When 16 lies in the interior of 17, the local Hodge 18-polynomial of the intersection cohomology stalk on the orbit corresponding to 19 is Stanley’s 20-polynomial of the dual face of the polar polytope: 21 Hence the face weights become 22, and the resulting weighted Ehrhart polynomial gives a combinatorial formula for 23. At 24, one obtains the intersection cohomology signature
25
An equivariant refinement inserts a homogeneous polynomial 26 on 27 and studies
28
Equivariant 29-theoretic Hodge-Chern classes of 30-equivariant mixed Hodge modules on 31 produce these weighted sums, and the same duality formalism yields reciprocity and purity formulas compatible with the homogeneous weight 32. 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
33
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 34, the top 35 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
36
with multi-parameter 37, together with intermediate sums
38
On every chamber in parameter space where the combinatorial type is fixed, 39 is a quasi-polynomial in 40. 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 41 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
42
then there exists a weight lifting polytope 43 such that
44
When the auxiliary family is homogeneous in the dilation parameter, the weighted Ehrhart quasi-polynomial of 45 becomes the ordinary Ehrhart quasi-polynomial of 46. 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
47
for 48 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 49-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 50-polynomials are piecewise polynomial in the parameter vector 51. A weighted Euler–Maclaurin type formula due to KhovanskiÄ and Pukhlikov yields an algorithm and a SageMath implementation for smooth polytopes, including type 52 alcoved polytopes. For fixed dimension 53, number of facets 54, and monomial weight of degree 55, the runtime is
56
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 57 and type 58 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 59, the formulas
60
and
61
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 62, the group-ring-valued series
63
simultaneously covers classical counting, 64-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 65-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.