This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

An Ehrhart theoretic approach to generalized Golomb rulers

Tristram Bogart Departamento de Matemáticas
Universidad de los Andes
Bogotá, Colombia
[email protected]
 and  Daniel Felipe Cuéllar Departamento de Matemáticas
Universidad de los Andes
Bogotá, Colombia
[email protected]
Abstract.

A Golomb ruler is a sequence of integers whose pairwise differences, or equivalently pairwise sums, are all distinct. This definition has been generalized in various ways to allow for sums of hh integers, or to allow up to gg repetitions of a given sum or difference. Beck, Bogart, and Pham applied the theory of inside-out polytopes of Beck and Zaslavsky to prove structural results about the counting functions of Golomb rulers. We extend their approach to the various types of generalized Golomb rulers.

1. Introduction

A Golomb ruler of length tt with m+1m+1 markings is a sequence of integers 0=x0<x1<<xm1<xm=t0=x_{0}<x_{1}<\dots<x_{m-1}<x_{m}=t such that the differences xjxix_{j}-x_{i} are all distinct. Golomb rulers were originally considered by Sidon [Sid32] and are also known as Sidon sets or B2B_{2}-sets.

The main question that has been studied about such sets is their maximum density; that is, for a given tt, what is the maximum possible mm such that there exists a Golomb ruler of length tt with m+1m+1 markings? It has long been known that as tt tends to \infty, this maximum is asymptotic to t\sqrt{t}. The lower bound is due to Singer [Sin38] and the asymptotically matching upper bound to Erdós and Turán [ET41]. For a range of more recent and related results, we refer the reader to O’Bryant’s survey [O’B04].

A different problem is to count Golomb rulers given the parameters mm and tt. We denote by bm(t)b_{m}(t) the number of Golomb rulers of length tt with m+1m+1 markings. For mm fixed and tt tending to infinity, almost every possible sequence is a Golomb ruler, so

limtbm(t)(t1m1)=1.\lim_{t\to\infty}\frac{b_{m}(t)}{\binom{t-1}{m-1}}=1.

In order to obtain more algebraically precise results, Beck, Bogart, and Pham [BBP12] introduced the following framework. Since x0=0x_{0}=0, the sequence 𝐱=(x0,x1,,xm)\mathbf{x}=(x_{0},x_{1},\dots,x_{m}) is equivalently specified by the sequence of successive differences 𝐳=(z1,,zm)\mathbf{z}=(z_{1},\dots,z_{m}), where zi=xixi1z_{i}=x_{i}-x_{i-1}. The condition that x0<x1<<xmx_{0}<x_{1}<\dots<x_{m} becomes the condition that the ziz_{i}’s are all positive, and the ziz_{i}’s, like the xix_{i}’s, must all be integers. That is, each Golomb ruler corresponds to a lattice point in the ttth dilation of the standard (m1)(m-1)-simplex in m\mathbb{R}^{m}. Finally, the condition that differences are unique can be written as a collection of linear inequations in the ziz_{i}’s.

In more general terms, we have just observed that Golomb rulers are in bijection with the lattice points in the interior of a certain polytope that do not lie on any of the hyperplanes in a certain arrangement. Beck and Zaslavsky [BZ06] studied such sets of lattice points in general under the name of inside-out polytopes. They extended Ehrhart’s theorem (both quasipolynomiality and reciprocity) to this context. Their theory could thus be brought to bear on the counting function bm(t)b_{m}(t) (see Theorem 2.2 below.) It also yielded a bijection between the combinatorial types of Golomb rulers and the regions of the hyperplane arrangement that intersect the interior of the polytope.

Golomb rulers have been generalized in several ways.

Definition 1.1.

We define a ruler to be any sequence of integers 0=x0<x1<<xm1<xm=t0=x_{0}<x_{1}<\cdots<x_{m-1}<x_{m}=t.

  1. (1)

    The ruler is a B2[g]B_{2}[g]-set if each positive integer admits at most gg representations as a sum of two markings.

  2. (2)

    The ruler is a gg-Golomb ruler or B2[g]B_{2}^{-}[g]-set if each positive integer admits at most gg representations as a difference of two markings.

  3. (3)

    For h2h\geq 2, the set is a BhB_{h}-set if each positive integer admits at most one representation as a sum of hh markings.

  4. (4)

    Combining the first and third definitions, the ruler is a Bh[g]B_{h}[g]-set if each positive integer admits at most gg representations as a sum of hh markings.

Remark 1.2.

A Golomb ruler (i.e. B2[1]B_{2}^{-}[1] set) is the same as a B2B_{2}-set, but for g>2g>2, a B2[g]B_{2}[g]-set is not the same as a B2[g]B^{-}_{2}[g]-set.

The asympototic density question is still open in these cases. To our knowledge, the best general upper and lower bounds for the density of Bh[g]B_{h}[g] sets appear in a recent preprint of Johnson, Tait, and Timmons [JTT21]. They also note that in many cases, their upper bound matches one of Green [Gre01], and their lower bound matches one of Caicedo, Gómez, Gómez, and Trujillo [CGGT14]. For BhB_{h}-sets, Dellamonica, Kohayakwawa, Lee, Rödl, and Samotij [DJKL+16] give good asymptotic results for the total number of BhB_{h} sets of length at most tt.

Returning to the question of enumeration, given mm and tt, we denote by bm[g](t)b_{m}[g](t), bm[g](t)b_{m}^{-}[g](t), and bm,h(t)b_{m,h}(t) the number of rulers of length tt with m+1m+1 markings that are respectively B2[g]B_{2}[g]-sets. B2[g]B_{2}^{-}[g]-sets, and BhB_{h}-sets. (We will not consider Bh[g]B_{h}[g]-sets from now on, but it should be possible to extend our results on B2[g]B_{2}[g]-sets to this case.) In comparison with [DJKL+16], our approach deals with the simpler situation in which the number of markings m+1m+1 is fixed, but it yields results that are more precise in an algebraic sense.

In Section 2 we state our main theorems about the counting functions of generalized Golomb rulers after laying out the necessary definitions. In Section 3, we extend the approach of Beck, Bogart, and Pham in order to prove these theorems. In all cases, the underlying polytope is still a dilated standard simplex. For BhB_{h}-sets, we explicitly describe the hyperplane arrangement that must be removed. For the other types of generalized Golomb rulers, the conditions yield that not a hyperplane arrangement but a subspace arrangement must be removed, and we explicitly describe these arrangements. Some of the results of Beck and Zaslavsky extend to the situation of subspace arrangements, so in particular we obtain quasipolynomiality results in all cases.

In addition, Beck, Bogart, and Pham gave a combinatorial interpretation of the regions of the inside-out polytope in terms of orientations of a certain mixed graph that satisfy a certain coherence property. Unfortunately, in the course of this project we realized that this result is not correct. There is indeed an explicit injection from regions to orientations but this function is not surjective in general. We review the proof of injectivity and give an explicit counterexample to surjectivity in Section 4. Finally, in Section 5 we extend the construction and the injective map to the case of BhB_{h}-sets, using a more elaborate mixed graph.

2. Background and Statements of Theorems

Let 𝐱=(x0,,xm)\mathbf{x}=(x_{0},\dots,x_{m}) denote a ruler with m+1m+1 markings and again identify the ruler with the sequence of successive differences 𝐳=(z1,,zm)\mathbf{z}=(z_{1},\dots,z_{m}) of 𝐱\mathbf{x}. As we have seen, these differences form a sequence of positive integers that sum to tt, which can be identified with an integer point in the interior of the tt-th dilation of the standard (m1)(m-1)-simplex. That is,

{rulers with m+1 markings and of length t}tΔm1m,\{\textup{rulers with $m+1$ markings and of length $t$}\}\Leftrightarrow t\Delta_{m-1}^{\circ}\cap\mathbb{Z}^{m},

where Δm1={(𝐳:z1,,zm0,i=1mzi=1\Delta_{m-1}=\{(\mathbf{z}:\,z_{1},\dots,z_{m}\geq 0,\sum_{i=1}^{m}z_{i}=1.

Now by definition, a Golomb ruler is a ruler for which the differences xjxix_{j}-x_{i} between two markings are all distinct. In terms of the consecutive differences, we have xjxi=k=i+1jzkx_{j}-x_{i}=\sum_{k=i+1}^{j}z_{k}. Thus a ruler is a Golomb ruler if for every pair of consecutive subsets U,VU,V of [m][m] we have

iUziiVzi.\sum_{i\in U}z_{i}\neq\sum_{i\in V}z_{i}.
Definition 2.1.

In the following, we specify rulers by their consecutive differences.

  1. (1)

    Two Golomb rulers 𝐳=(z1,,zm)\mathbf{z}=(z_{1},\dots,z_{m}) and 𝐰=(w1,,wm)\mathbf{w}=(w_{1},\dots,w_{m}) are combinatorially equivalent if for all consecutive sets U,V[m]U,V\subseteq[m], we have

    (1) iUzi<iVziiUwi<iVwi.\sum_{i\in U}z_{i}<\sum_{i\in V}z_{i}\iff\sum_{i\in U}w_{i}<\sum_{i\in V}w_{i}.
  2. (2)

    Applying the same notion of equivalence to Golomb rulers with real entries, the multiplicity of an (integral) ruler 𝐳\mathbf{z} is defined as the number of combinatorial types of real Golomb rulers in a sufficiently small neighborhood of 𝐳\mathbf{z}.

Note that if 𝐳\mathbf{z} is itself a Golomb ruler, then its multiplicity is one.

Theorem 2.2.

[BBP12, Theorem 1] The Golomb counting function bm(t)b_{m}(t), is a quasipolynomial of degree in tt of degree m1m-1, with leading coefficient 1(m1)!\frac{1}{(m-1)!}. The evaluation (1)m1bm(t)(-1)^{m-1}b_{m}(-t) equals the number of rulers with length tt and m+1m+1 markings, counted with multiplicity, and the evaluation (1)m1bm(0)(-1)^{m-1}b_{m}(0) equals the number of combinatorial types of Golomb rulers with m+1m+1 markings.

We extend parts of this result to generalized Golomb rulers as follows.

Theorem 2.3.

For any m1m\geq 1, and (where appropriate) h2h\geq 2, g2g\geq 2, the functions bm[g](t)b_{m}[g](t), bm[g](t)b_{m}^{-}[g](t) and bm,h(t)b_{m,h}(t) are all quasipolynomials in tt of degree m1m-1 with leading coefficient 1(m1)!\frac{1}{(m-1)!}.

Our remaining results apply only to BhB_{h}-sets. The reason for this is that (as we will see in Section 3), BhB_{h}-sets are defined by avoidance of certain hyperplanes, while the other types of generalized Golomb rulers are defined by avoidance of certain subspaces.

By definition, a BhB_{h} set with m+1m+1 markings is a ruler 𝐱\mathbf{x} such that for each pair of distinct sequences 0r1rhm0\leq r_{1}\leq\dots\leq r_{h}\leq m and 0s1shm0\leq s_{1}\leq\dots\leq s_{h}\leq m we have

(2) xr1++xrhxs1++xsh.x_{r_{1}}+\dots+x_{r_{h}}\neq x_{s_{1}}+\dots+x_{s_{h}}.
Definition 2.4.
  1. (1)

    Two such rulers are combinatorially equivalent if for every such pair 0r1rhm0\leq r_{1}\leq\dots\leq r_{h}\leq m and 0s1shm0\leq s_{1}\leq\dots\leq s_{h}\leq m, either the inequality xr1++xrh<xs1++xshx_{r_{1}}+\dots+x_{r_{h}}<x_{s_{1}}+\dots+x_{s_{h}} holds for both rulers or the opposite inequality xr1++xrh>xs1++xshx_{r_{1}}+\dots+x_{r_{h}}>x_{s_{1}}+\dots+x_{s_{h}} holds for both rulers.

  2. (2)

    We can apply the same notion of equivalence for real Golomb rulers 0=y0<y1<<ym1<ym=t0=y_{0}<y_{1}<\dots<y_{m-1}<y_{m}=t. Then the BhB_{h}-multiplicity of an integral ruler 0=x0<x1,<xm1<xm=t0=x_{0}<x_{1},\dots<x_{m-1}<x_{m}=t is the number of combinatorial types of real Golomb ruler in an ϵ\epsilon-neighborhood of 𝐱\mathbf{x} for sufficiently small ϵ\epsilon.

Theorem 2.5.

Let h2h\geq 2 and m1m\geq 1.

  1. (1)

    For each t>0t>0, the evaluation (1)m1bm,h(t)(-1)^{m-1}b_{m,h}(-t) equals the total number of rulers with length tt and m+1m+1 markings, counted with BhB_{h}-multiplicities.

  2. (2)

    The evaluation (1)m1bm,h(0)(-1)^{m-1}b_{m,h}(0) is the number of combinatorial types of BhB_{h}-sets.

3. Inside-out polytopes and proofs of Theorems 2.3 and 2.5

Our results are proved via the theory of inside-out polytopes, developed by Beck and Zaslavsky [BZ06]. Their main ideas, which we now review, extend Ehrhart theory to the situation of a polytope with a hyperplane arrangement or a subspace arrangement removed.

An inside-out polytope in d\mathbb{R}^{d} is a pair (P,)(P,\mathcal{H}) where PP is a rational polytope and \mathcal{H} is a rational hyperplane arrangement. A region of (P,)(P,\mathcal{H}) is a connected component of 𝒫HH\mathcal{P}\setminus\bigcup_{H\in\mathcal{H}}H and a closed region (respectively open region) is simply the relative closure (respectively relative interior) of a region. For 𝐱d\mathbf{x}\in\mathbb{R}^{d}, the multiplicity mP.m_{P.\mathcal{H}} of 𝐱\mathbf{x} with respect to (P,)(P,\mathcal{H}) is defined to be the number of closed regions that contain 𝐱\mathbf{x}. In particular, if 𝐱\mathbf{x} does not belong to PP then mP,(𝐱)=0m_{P,\mathcal{H}}(\mathbf{x})=0 and if 𝐱\mathbf{x} is contained in an open region of (P,)(P,\mathcal{H}) then mP,(𝐱)=1m_{P,\mathcal{H}}(\mathbf{x})=1.

By analogy with standard Ehrhart theory (see for example [BR07]), the closed Ehrhart function and the open Ehrhart function of the inside-out polytope (P,)(P,\mathcal{H}) are respectively defined to be

EP,(t):=xt1dmP,(x), and E_{P,\mathcal{H}}(t):=\sum_{x\in t^{-1}\mathbb{Z}^{d}}m_{P,\mathcal{H}}(x)\text{, and }
EP,(t):=#(t1d[P\HH])E^{\circ}_{P,\mathcal{H}}(t):=\#(t^{-1}\mathbb{Z}^{d}\cap[P\backslash\cup_{H\in\mathcal{H}}H])
Theorem 3.1.

[BZ06, Theorem 4.1] If (P,)(P,\mathcal{H}) is an inside-out polytope in d\mathbb{R}^{d} such that \mathcal{H} does not contain the degenerate hyperplane d\mathbb{R}^{d}, then both EP,(t)E_{P,\mathcal{H}}(t) and EP,(t)E^{\circ}_{P^{\circ},\mathcal{H}}(t) are quasipolynomials in tt of degree dd, with leading coefficients equal to the volume of PP and periods dividing the least common multiple of the denominators in the coordinates of the vertices of the closed regions of (P,)(P,\mathcal{H}). The value EP,(0)E_{P,\mathcal{H}}(0) is equal to the number of closed regions of (P,)(P,\mathcal{H}). Furthermore, the Ehrhart reciprocity formula

EP,(t)=(1)dEP,(t)E^{\circ}_{P^{\circ},\mathcal{H}}(t)=(-1)^{d}E_{P,\mathcal{H}}(-t)

continues to hold in this case.

Note that the Ehrhart reciprocity law involves not the open Ehrhart function EP,E^{\circ}_{P,\mathcal{H}} itself, but the function EP,E^{\circ}_{P^{\circ},\mathcal{H}} for which we remove not only the hyperplanes of \mathcal{H}, but also the boundary of PP. If the facet-defining hyperplanes of PP belong to \mathcal{H}, then these two functions coincide.

More generally, if 𝒜\mathcal{A} is a rational affine subspace arrangement in d\mathbb{R}^{d} and PP is a rational dd-polytope, then the closed Ehrhart function EP,𝒜E_{P,\mathcal{A}} and open Ehrhart function EP,𝒜E^{\circ}_{P,\mathcal{A}} can be defined just as above. However, 𝒜\mathcal{A} no longer divides PP into regions and so multiplicity must be defined in a different way. The multiplicity of xPx\in P is defined to be

mP,𝒜(x)=u(𝒜):xuμ(0^,u)(1)codim(u)m_{P,\mathcal{A}}(x)=\sum_{u\in\mathcal{L}(\mathcal{A}):x\in u}\mu(\hat{0},u)(-1)^{codim(u)}

where (𝒜)\mathcal{L}(\mathcal{A}) is the intersection semilattice of flats of 𝒜\mathcal{A}. If xPx\notin P then we simply define its multiplicity to be zero. If 𝒜\mathcal{A} is in fact a hyperplane arrangement then this algebraic definition of multiplicity coincides with the geometric one given above [BZ06, Lemma 3.4].

Theorem 3.2.

[BZ06, Theorem 8.2] Let PP be a rational polytope of dimension in d\mathbb{R}^{d} and 𝒜\mathcal{A} a rational subspace arrangement. Then, EP,𝒜(t)E_{P,\mathcal{A}}(t) and EP,𝒜(t)E^{\circ}_{P^{\circ},\mathcal{A}}(t) are quasipolynomials in tt of degree dim(P)\dim(P), with leading coefficients equal to the volume of PP, periods dividing the least common multiple of the denominators in the coordinates of the vertices of (P,)(P,\mathcal{H}) (which are the vertices of PP and its regions), and the flats of dimension 0 in (𝒜)\mathcal{L}(\mathcal{A}). Furthermore, we have the reciprocity law

EP,𝒜(t)=(1)dEP,𝒜(t).E^{\circ}_{P^{\circ},\mathcal{A}}(t)=(-1)^{d}E_{P,\mathcal{A}}(-t).

Theorems 2.3 and 2.5 will thus follow by interpreting the various types of generalized Golomb rulers as lattice points in inside-out polytopes. From their definitions via linear inequations it is not surprising that this will be possible, but we give explicit combinatorial descriptions of the hyperplanes and subspaces in order to be able to calculate examples.

3.1. BhB_{h}-sets

Proposition 3.3.

BhB_{h}-sets with m+1m+1 markings and length tt are in bijection with lattice points in the interior of tΔm1t\Delta_{m-1} that are not contained in any nondegenerate hyperplane of the form

(3) k=1(jUkzj)=+1h(jUkzj),\sum_{k=1}^{\ell}\left(\sum_{j\in U_{k}}z_{j}\right)=\sum_{\ell+1}^{h^{\prime}}\left(\sum_{j\in U_{k}}z_{j}\right),

where hhh^{\prime}\leq h and U1,,UhU_{1},\dots,U_{h^{\prime}} are proper consecutive subsets of [m][m].

Proof.

Consider one of the constraints on BhB_{h}-sets given in (2); that is,

xr1++xrhxs1++xshx_{r_{1}}+\dots+x_{r_{h}}\neq x_{s_{1}}+\dots+x_{s_{h}}

with 0r1rhm0\leq r_{1}\leq\dots\leq r_{h}\leq m and 0s1shm0\leq s_{1}\leq\dots\leq s_{h}\leq m. Rewrite the constraint as j=1hxrjxsj0\sum_{j=1}^{h}x_{r_{j}}-x_{s_{j}}\neq 0. In terms of the consecutive differences zi=xixi1z_{i}=x_{i}-x_{i-1}, this becomes

j:rj>sj(i=sj+1rjzi)=j:rj<sj(i=rj+1sjzi)\sum_{j:r_{j}>s_{j}}\left(\sum_{i=s_{j}+1}^{r_{j}}z_{i}\right)=\sum_{j:r_{j}<s_{j}}\left(\sum_{i=r_{j}+1}^{s_{j}}z_{i}\right)

which is an inequation of the desired form with =|{j:rj>sj}|\ell=\left|\{j:\,r_{j}>s_{j}\}\right| and h=|{j:rjsj}|h^{\prime}=\left|\{j:\,r_{j}\leq s_{j}\}\right|. Conversely, each inequation in 𝐳\mathbf{z} as in (3) gives a valid inequation on 𝐱\mathbf{x} by reversing these steps. ∎

Example 3.4.

The B3B_{3}-sets with 4 markings and length tt are in bijection with lattice points of tΔ3t\Delta^{\circ}_{3} that avoid the 20 hyperplanes

z1=z2z_{1}=z_{2} 2z1=z22z_{1}=z_{2} z1=2z2z_{1}=2z_{2}
z1=z3z_{1}=z_{3} 2z1=z32z_{1}=z_{3} z1=2z3z_{1}=2z_{3}
z2=z3z_{2}=z_{3} 2z2=z32z_{2}=z_{3} z2=2z3z_{2}=2z_{3}
z1=z2+z3z_{1}=z_{2}+z_{3} 2z1=z2+z32z_{1}=z_{2}+z_{3} z1=2z2+z3z_{1}=2z_{2}+z_{3}
z1=z2+2z3z_{1}=z_{2}+2z_{3} z1=2z2+2z3z_{1}=2z_{2}+2z_{3} z1+z2=z3z_{1}+z_{2}=z_{3}
2z1+z2=z32z_{1}+z_{2}=z_{3} z1+2z2=z3z_{1}+2z_{2}=z_{3} 2z1+2z2=z32z_{1}+2z_{2}=z_{3}
z1+z2=2z3z_{1}+z_{2}=2z_{3} z1+z3=z2z_{1}+z_{3}=z_{2}

as shown in Figure 1. There are 37 intersection points in the interior of the simplex, 12 points of intersection in the boundary of the polytope and the hyperplanes divide the polytope into 80 closed regions. From Theorem 2.3, we conclude that the Ehrhart quasipolynomial b4,3(t)b_{4,3}(t) has period 25202520, so it is not practical to describe it completely. However, we calculate111https://github.com/Quillar/ExtensionsGolomb/tree/a97554c93916108bfb69efb5326106442ed7e11f that if tt is a multiple of 2520, the number of B3B_{3}-sets with 4 markings and length tt is

b4,3(t)=12t2556t+80.b_{4,3}(t)=\frac{1}{2}t^{2}-\frac{55}{6}t+80.
Remark 3.5.

The correspondence given in the proof of Proposition 3.3 is not a bijection: several collections of consecutive subsets may correspond to the same constraint. For example, again take B3B_{3}-sets with 4 markings and consider the equation x2+x3+x3=x0+x1+x4x_{2}+x_{3}+x_{3}=x_{0}+x_{1}+x_{4} that must be avoided. Following the proof of Proposition 3.3, we rewrite this equation as (x2x0)+(x3x1)=x4x3(x_{2}-x_{0})+(x_{3}-x_{1})=x_{4}-x_{3}. In terms of 𝐳\mathbf{z}, this becomes (z1+z2)+(z2+z3)=z4(z_{1}+z_{2})+(z_{2}+z_{3})=z_{4}. However, we can also write the original equation as (x2x1)+(x3x0)=x4x3(x_{2}-x_{1})+(x_{3}-x_{0})=x_{4}-x_{3}, which yields z2+(z1+z2+z3)=z4z_{2}+(z_{1}+z_{2}+z_{3})=z_{4}.

Refer to caption
Figure 1. The inside-out-polytope for B3B_{3}-sets with 4 markings.
Proof of Theorem 2.3 for BhB_{h}-sets and Theorem 2.5.

Let m,h\mathcal{H}_{m,h} be the hyperplane arrangement described in Proposition 3.3. By this proposition, we have that bm,h(t)=EΔm,m,h(t)b_{m,h}(t)=E^{\circ}_{\Delta_{m}^{\circ},\mathcal{H}_{m,h}}(t). It is immediate from Theorem 3.1 that the function bm,hb_{m,h} is a quasipolynomial. The same theorem yields that bm,h(0)b_{m,h}(0) is the number of closed regions of the inside-out polytope (Δm,m,h)(\Delta_{m},\mathcal{H}_{m,h}), which is the number of possible combinatorial types of a BhB_{h}-set. (For sufficiently large tt, there will exist a lattice point in each open region, so all of these types are actually realized. This holds because Δm\Delta_{m} is unimodularly equivalent to a full-dimensional polytope in m1\mathbb{R}^{m-1} via projection on any m1m-1 coordinates.) Finally, reciprocity yields that for t>0t>0,

bm,h(t)=(1)m1EΔm,m,h(t)b_{m,h}(-t)=(-1)^{m-1}E_{\Delta_{m},\mathcal{H}_{m,h}}(t)

which is the number of rulers counted with their m,h\mathcal{H}_{m,h}-multiplicities. ∎

3.2. B2[g]B_{2}[g]-sets


By Definition 1.1, a ruler 0=x0<x1<<xm1<xm=t0=x_{0}<x_{1}<\cdots<x_{m-1}<x_{m}=t is a B2[g]B_{2}[g]-set if it does not satisfy any chain of equations of the form

(4) x0+xr0=x1+xr1==xg1+xrg1=xg+xrg.x_{\ell_{0}}+x_{r_{0}}=x_{\ell_{1}}+x_{r_{1}}=\cdots=x_{\ell_{g-1}}+x_{r_{g-1}}=x_{\ell_{g}}+x_{r_{g}}.

As we did for BhB_{h}-sets, we can obtain an inside-out polytope by expressing these equations in terms of the successive differences z1,,zmz_{1},\dots,z_{m}.

Proposition 3.6.

B2[g]B_{2}[g]-sets with m+1m+1 markings and length tt are in bijection with lattice points in the interior of tΔmt\Delta_{m} that are not contained in any subspace of the form

(5) rgr0zi=01zi+rgr1zi==0kzi+rgrkzi==0gzi\sum_{r_{g}}^{r_{0}}z_{i}=\sum_{\ell_{0}}^{\ell_{1}}z_{i}+\sum_{r_{g}}^{r_{1}}z_{i}=\cdots=\sum_{\ell_{0}}^{\ell_{k}}z_{i}+\sum_{r_{g}}^{r_{k}}z_{i}=\cdots=\sum_{\ell_{0}}^{\ell_{g}}z_{i}

where the indices satisfy

(6) 00<1<<grg<rg1<<r0m.0\leq\ell_{0}<\ell_{1}<\cdots<\ell_{g}\leq r_{g}<r_{g-1}<\cdots<r_{0}\leq m.
Proof.

Given indices i<jk<i<j\leq k<\ell, and any ruler 𝐱\mathbf{x}, we have xi+xj<xi+xk<xj+x<xk+xx_{i}+x_{j}<x_{i}+x_{k}<x_{j}+x_{\ell}\leq<x_{k}+x_{\ell} by the order of the markings, so it can never be the case that xi+xk=xj+xx_{i}+x_{k}=x_{j}+x_{\ell} nor that xi+xj=xk+xx_{i}+x_{j}=x_{k}+x_{\ell}. So in order to see whether 𝐱\mathbf{x} is a BgB_{g}-set, the only equation on these four indices that must be considered is xi+x=xj+xkx_{i}+x_{\ell}=x_{j}+x_{k}.

Now consider a chain of equations as in (4). Without loss of generality iri\ell_{i}\leq r_{i} for each ii and 0<1<g\ell_{0}<\ell_{1}<\dots\ell_{g}. Then by the previous paragraph, we may also assume that r0>r1>rgr_{0}>r_{1}>\dots r_{g}. That is, the indices satisfy (6). Since xj=i=1jzix_{j}=\sum_{i=1}^{j}z_{i} (using the usual convention that the empty sum equals zero to correctly obtain x0=0x_{0}=0), (4) is equivalent to

i=10zi+i=1r0zi==i=1kzi+i=1rkzi==i=1gzi+i=1rgzi.\sum_{i=1}^{\ell_{0}}z_{i}+\sum_{i=1}^{r_{0}}z_{i}=\cdots=\sum_{i=1}^{\ell_{k}}z_{i}+\sum_{i=1}^{r_{k}}z_{i}=\cdots=\sum_{i=1}^{\ell_{g}}z_{i}+\sum_{i=1}^{r_{g}}z_{i}.

Now cancel the common terms i=10zi\sum_{i=1}^{\ell_{0}}z_{i} and i=1rgzi\sum_{i=1}^{r_{g}}z_{i} to obtain (5).

By reversing this process, a chain of equations of the form (5) also yields one of the form (4). ∎

Example 3.7.

For B2[2]B_{2}[2]-sets with five markings (that is, g=2g=2 and m=4m=4), the only chain of equations we must consider is

x0+x4=x1+x3=x2+x2.x_{0}+x_{4}=x_{1}+x_{3}=x_{2}+x_{2}.

In terms of the successive differences, this becomes

z1+z2+z3+z4=2z1+z2+z3=2z1+2z2,z_{1}+z_{2}+z_{3}+z_{4}=2z_{1}+z_{2}+z_{3}=2z_{1}+2z_{2},

or after cancelling common terms,

z3+z4=z1+z3=z1+z2.z_{3}+z_{4}=z_{1}+z_{3}=z_{1}+z_{2}.

This forbidden subspace is a line which passes through the interior of the tetrahedron Δ3\Delta_{3}.

Proof of Theorem 2.3 for B2[g]B_{2}[g]-sets: This follows immediately from Theorem 3.2 and Proposition 3.6.

3.3. B2[g]B_{2}^{-}[g]-sets

The defining inequations for B2[g]B_{2}^{-}[g]-sets are similar to those for B2[g]B_{2}[g]-sets, but with differences instead of sums. That is, we must avoid chains of equations

(7) xr0x0=xr1x1==xrg1xg1=xrgxg.x_{r_{0}}-x_{\ell_{0}}=x_{r_{1}}-x_{\ell_{1}}=\cdots=x_{r_{g-1}}-x_{\ell_{g-1}}=x_{r_{g}}-x_{\ell_{g}}.

Again we obtain an inside-out polytope by expressing these chains in terms of the successive differences.

Proposition 3.8.

B2[g]B_{2}[g]-sets with m+1m+1 markings and length tt are in bijection with lattice points in the interior of tΔm1t\Delta_{m-1} that are not contained in any subspace of the form

(8) iU0zi=iU1zi==iUgzi\sum_{i\in U_{0}}z_{i}=\sum_{i\in U_{1}}z_{i}=\cdots=\sum_{i\in U_{g}}z_{i}

where U0,,UgU_{0},\dots,U_{g} are consecutive subsets of [m][m], none of which is contained in another.

Proof.

As in the proof of Proposition 3.3, we must rewrite each constraint given by (7) in terms of the vector 𝐳\mathbf{z} of successive differences. Now for any <r\ell<r we have xrx=(z+1+z+2++zrx_{r}-x_{\ell}=(z_{\ell+1}+z_{\ell+2}+\dots+z_{r}, so we obtain a constraint of the form (8) by taking Uj={j+1,j+2,,rj}U_{j}=\{\ell_{j+1},\ell_{j+2},\dots,r_{j}\} for j=0,1,,gj=0,1,\dots,g. If UjU_{j} is contained in UkU_{k}, then the condition is redundant because each succesive difference is positive, so it can never be the case that iUjzi=iUkzi\sum_{i\in U_{j}}z_{i}=\sum_{i\in U_{k}}z_{i}. By reversing this process, we can also transform any constraint of the form (8) into one of the form (7). ∎

Remark 3.9.

Unlike the original case of Golomb rulers (i.e. B2[1]B_{2}^{-}[1]-sets), we cannot restrict to conditions given by disjoint consecutive sets U0,,UgU_{0},\dots,U_{g}. For example, let g=2g=2 and m=5m=5 and consider the chain of equations

x3x0=x4x1=x5x2.x_{3}-x_{0}=x_{4}-x_{1}=x_{5}-x_{2}.

In terms of the ziz_{i}’s, this becomes

z1+z2+z3=z2+z3+z4=z3+z4+z5z_{1}+z_{2}+z_{3}=z_{2}+z_{3}+z_{4}=z_{3}+z_{4}+z_{5}

so that the consecutive subsets are U0={1,2,3}U_{0}=\{1,2,3\}, U1={2,3,4}U_{1}=\{2,3,4\} and U2={3,4,5}U_{2}=\{3,4,5\} which are not disjoint. On the other hand, we could obtain an equivalent chain of equations with disjoint sets by cancelling the common term z3z_{3}, but then one of these sets would be U1{3}={2,4}U_{1}\setminus\{3\}=\{2,4\}, which is no longer consecutive.

Proof of Theorem 2.3 for B2[g]B_{2}^{-}[g]-sets: This follows immediately from Theorem 3.2 and Proposition 3.8.

4. Combinatorial Types and Orientations of Mixed Graphs

Returning to the original case of Golomb rulers, the combinatorial types are related to acyclic orientations of a certain mixed graph. We have already seen that combinatorial types are in bijection with open regions of an inside-out polytope (Δm1,𝒢m)(\Delta_{m-1},\mathcal{G}_{m}), where 𝒢m\mathcal{G}_{m} is the hyperplane arrangement given by the hyperplanes (1) for each pair of consecutive subsets of [m][m], so we will work directly with these regions.

Definition 4.1.
  1. (1)

    The Golomb graph Γm\Gamma_{m} is a mixed graph whose vertices are the proper consecutive subsets of [m][m]. The graph is complete and an edge is directed from UU to VV if UVU\subseteq V. All other edges are undirected.

  2. (2)

    An orientation of Γm\Gamma_{m} is called coherent if:

    1. (a)

      it is consistent with the directed edges, and

    2. (b)

      if U,V,WU,V,W are disjoint consecutive sets and A=UWA=U\cup W and B=CWB=C\cup W are also consecutive, then ABA\rightarrow B if and only if UVU\rightarrow V.

We first review the construction in [BBP12] of an injective map ϕ\phi from regions of the Golomb inside-out polytope (Δm1,𝒢m)(\Delta_{m-1},\mathcal{G}_{m}) to acyclic orientations of the Golomb (mixed) graph Γm\Gamma_{m}. To do this, let RR be a region of the inside-out polytope. Then RR is the intersection of half-spaces given by inequalities of the form

jUzj<jVzj\sum_{j\in U}z_{j}<\sum_{j\in V}z_{j}

where UU and VV range over all pairs of consecutive subsets of [m][m]. We may assume that both sets are proper, since otherwise the inequality would hold over the entire positive orthant (in particular, over all of Δm\Delta_{m}.) Furthermore, we may restrict to disjoint sets because if AA and BB are consecutive subsets that are not disjoint, then U:=ABU:=A\setminus B, V:=BAV:=B\setminus A, and W:=ABW:=A\cap B are all consecutive sets, and

jAzjjBzj=jUzjjVzj.\sum_{j\in A}z_{j}-\sum_{j\in B}z_{j}=\sum_{j\in U}z_{j}-\sum_{j\in V}z_{j}.

For a pair of disjoint proper consecutive sets (dpcs) (U,V)(U,V), orient the edge UVUV of Γm\Gamma_{m} by UVU\rightarrow V. If WW is disjoint from both UU and VV and if A=UWA=U\cup W and B=VWB=V\cup W are consecutive sets, then orient the edge ABAB by ABA\rightarrow B. Thus the orientation is coherent. It is total because (again) any pair of consecutive sets A,BA,B can be decomposed in this way. Finally, it is acyclic because if there were a cycle then we could take the multiset union MM of the sets along the whole cycle and conclude that jMzj<jMzj\sum_{j\in M}z_{j}<\sum_{j\in M}z_{j}, which is impossible.

Proposition 4.2.

The injection ϕ\phi is not surjective when m=5m=5. In particular, there is no bijection between the orientations of Γ5\Gamma_{5} and the regions of (Δ4,𝒢5)(\Delta_{4},\mathcal{G}_{5}).

Remark 4.3.

It would not be difficult to extend the counterexample to any m5m\geq 5.)

Proof.

Consider the following linear order on proper consecutive subsets of [5][5]:

351423423124512334523423451234.3\rightarrow 5\rightarrow 1\rightarrow 4\rightarrow 2\rightarrow 34\rightarrow 23\rightarrow 12\rightarrow 45\rightarrow 123\rightarrow 345\rightarrow 234\rightarrow 2345\rightarrow 1234.

Its transitive closure is an acyclic orientation 𝒪\mathcal{O} on the Golomb graph Γ5\Gamma_{5} consistent with the directed edges given by set containment. To verify that 𝒪\mathcal{O} is coherent, note that the linear order always places smaller subsets before larger ones, so it suffices to consider pairs (A,B)(A,B) of sets of the same size. So we check all such pairs, and indeed:

3423 and 423445 and 352312 and 31123345 and 1245123234 and 14345234 and 5223451234 and 51.\begin{tabular}[]{c|c}$34\rightarrow 23$ and $4\rightarrow 2$&$34\rightarrow 45$ and $3\rightarrow 5$\\ $23\rightarrow 12$ and $3\rightarrow 1$&$123\rightarrow 345$ and $12\rightarrow 45$\\ $123\rightarrow 234$ and $1\rightarrow 4$&$345\rightarrow 234$ and $5\rightarrow 2$\\ $2345\rightarrow 1234$ and $5\rightarrow 1$&\end{tabular}.

However, suppose there exists a region RR of the inside-out polytope such that ϕ(R)=𝒪\phi(R)=\mathcal{O}. Let 𝐳=(z1,z2,z3,z4,z5)\mathbf{z}=(z_{1},z_{2},z_{3},z_{4},z_{5}) be a vector in the relative interior of RR. Then from the edges 342334\rightarrow 23, 124512\rightarrow 45, and 515\rightarrow 1, we obtain that

z3+z4<z2+z3,z1+z2<z4+z5,z5<z1z_{3}+z_{4}<z_{2}+z_{3},\;z_{1}+z_{2}<z_{4}+z_{5},\;z_{5}<z_{1}

and these three inequalities sum to

z1+z2+z3+z4+z5<z1+z2+z3+z4+z5z_{1}+z_{2}+z_{3}+z_{4}+z_{5}<z_{1}+z_{2}+z_{3}+z_{4}+z_{5}

which is a contradiction. ∎

5. Reciprocity and the BhB_{h}-graph

In this section we generalize the injection described in Section 4 to the case of BhB_{h}-sets.

For Golomb graphs, the vertices are consecutive subsets of [m][m]. Here we would need to consider collections of such sets, but in light of the non-uniqueness illustrated in Remark 3.5, it is better to consider unions with repetition of such sets, which are multisets. We represent a multiset A={1a1,2a2,,mam}A=\{1^{a_{1}},2^{a_{2}},\dots,m^{a_{m}}\} by the vector 𝐚=(a1,a2,,am)m\mathbf{a}=(a_{1},a_{2},\dots,a_{m})\in\mathbb{N}^{m}. In this way, multiset union corresponds to addition of vectors, and multiset containment ABA\subseteq B corresponds to 𝐚𝐛\mathbf{a}\leq\mathbf{b} with respect to the standard partial order on m\mathbb{N}^{m}. A single consecutive set U={j,j+1,k}U=\{j,j+1,\dots k\} corresponds to a consecutive vector 𝐞[j,k]:=𝐞j+𝐞j+1++𝐞k\mathbf{e}_{[j,k]}:=\mathbf{e}_{j}+\mathbf{e}_{j+1}+\dots+\mathbf{e}_{k}.

Next, we need to know which pairs of vectors correspond to inequations defining BhB_{h}-sets. In particular, given a vector y𝐚y^{\mathbf{a}}, we need to know the minimum number of consective vectors whose sum is 𝐚\mathbf{a}. The following definition and lemma will help us do this.

Definition 5.1.

The climb of a vector 𝐚=(a1,,am)\mathbf{a}=(a_{1},\dots,a_{m}) is climb(𝐚)=j=1mclimbj(𝐚)\operatorname{climb}(\mathbf{a})=\sum_{j=1}^{m}\operatorname{climb}_{j}(\mathbf{a}), where climbi(𝐚)={ajaj1if aj1<aj0otherwise\operatorname{climb}_{i}(\mathbf{a})=\begin{cases}a_{j}-a_{j-1}&\textup{if }a_{j-1}<a_{j}\\ 0&\textup{otherwise}\end{cases},
with a0a_{0} taken to be 0.

Lemma 5.2.

Let 𝐚m\mathbf{a}\in\mathbb{N}^{m}. The minimum number rr of consecutive vectors whose sum is 𝐚\mathbf{a} equals the climb of 𝐚\mathbf{a}.

Proof.

Induct on rr. If r=1r=1 then 𝐚\mathbf{a} is a consecutive vector and the result is clear. Otherwise, we can write 𝐚=𝐞[j,k]+𝐛\mathbf{a}=\mathbf{e}_{[j,k]}+\mathbf{b} for some nonzero vector 𝐛m\mathbf{b}\in\mathbb{N}^{m}. Then climbj(𝐚)\operatorname{climb}_{j}(\mathbf{a}) equals either climbj(𝐛)\operatorname{climb}_{j}(\mathbf{b}) (if bj1>bjb_{j-1}>b_{j}) or climbj(𝐛)+1\operatorname{climb}_{j}(\mathbf{b})+1 (if bj1bjb_{j-1}\leq b_{j}). Similarly, climbk+1(𝐚)\operatorname{climb}_{k+1}(\mathbf{a}) equals either climbk+1(𝐛)1\operatorname{climb}_{k+1}(\mathbf{b})-1 (if bk<bk+1b_{k}<b_{k+1}) or climbk(𝐛)\operatorname{climb}_{k}(\mathbf{b}) (if bkbk+1b_{k}\geq b_{k+1}). For all other values of \ell, we always have climb(𝐚)=climb(𝐛)\operatorname{climb}_{\ell}(\mathbf{a})=\operatorname{climb}_{\ell}(\mathbf{b}). In particular, climb(𝐚)climb(𝐛)+1\operatorname{climb}(\mathbf{a})\leq\operatorname{climb}(\mathbf{b})+1. It follows by induction that the number of consecutive vectors in any decomposition of 𝐚\mathbf{a} is at least the climb of 𝐚\mathbf{a}.

For the other direction, we first observe that if the support of 𝐚\mathbf{a} is disconnected (that is, if there exist j1<j2<j3j_{1}<j_{2}<j_{3} such that aj1,aj3>0a_{j_{1}},a_{j_{3}}>0 and aj2=0a_{j_{2}}=0), then the climb of 𝐚\mathbf{a} is the sum of the climbs of the connected components. Also, any decomposition of 𝐚\mathbf{a} into consecutive vectors respects the connected components of 𝐚\mathbf{a}. So it is enough to consider vectors with connected support.

Let 𝐚\mathbf{a} be such a vector, so its support is an interval [j,k][j,k], and again let r:=climb(𝐚)r:=\operatorname{climb}(\mathbf{a}). Now we can subtract the consecutive vector 𝐞[j,k]\mathbf{e}_{[j,k]}, and the remaining vector (0,,aj1,aj+11,,ak1,,0)(0,\dots,a_{j}-1,a_{j+1}-1,\dots,a_{k}-1,\dots,0) has climb exactly r1r-1 because the climb at the first step is one less than that of 𝐚\mathbf{a}, and the climb at all other steps equals that of 𝐚\mathbf{a}. By induction, we conclude that there exists a decomposition of 𝐲𝐚\mathbf{y}^{\mathbf{a}} into rr consecutive vectors. ∎

Now the Golomb graph is complete in the sense that there is either a directed or an undirected edge between every pair of vertices. However, the analogous graph that we will define for BhB_{h}-sets cannot be complete for the following reason.

Example 5.3.

Again consider B3B_{3}-sets with four markings as in Example 3.4. (That is, m=41=3m=4-1=3 and h=3h=3.) Two of the hyperplanes we consider are given by 2z1=z22z_{1}=z_{2} and z1=2z2+z3z_{1}=2z_{2}+z_{3}. That is, our graph must include vertices given by each of the vectors 2𝐞1,𝐞2,𝐞1,2𝐞2+𝐞32\mathbf{e}_{1},\mathbf{e}_{2},\mathbf{e}_{1},2\mathbf{e}_{2}+\mathbf{e}_{3} with (undirected) edges between 2𝐞12\mathbf{e}_{1} and 𝐞2\mathbf{e}_{2} and between 2𝐞12\mathbf{e}_{1} and 2𝐞2+𝐞32\mathbf{e}_{2}+\mathbf{e}_{3}. However, 2z1=2z2+z32z_{1}=2z_{2}+z_{3} is not a hyperplane in the arrangement 3,3\mathcal{H}_{3,3} because it does not correspond to an equation built from only three consecutive sets. Therefore our graph must not include an edge between 2𝐞12\mathbf{e}_{1} and 2𝐞2+𝐞32\mathbf{e}_{2}+\mathbf{e}_{3}.

On the other hand, it will not suffice to consider only edges between vectors 𝐚\mathbf{a} and 𝐛\mathbf{b} such that the sum of the climbs of 𝐚\mathbf{a} and of 𝐛\mathbf{b} is at most hh. The reason is as follows.

Example 5.4.

Again consider B3B_{3}-sets with four markings. The hyperplanes listed in Example 3.4 require our graph to contain vertices labelled by the vectors 𝐞1\mathbf{e}_{1}, 2𝐞12\mathbf{e}_{1}, 𝐞2\mathbf{e}_{2}, 𝐞3\mathbf{e}_{3}, and 𝐞1+𝐞3\mathbf{e}_{1}+\mathbf{e}_{3} with certain undirected edges between them. We also will need directed edges from 𝐞1\mathbf{e}_{1} to 𝐞1𝐞3\mathbf{e}_{1}\mathbf{e}_{3}, from 𝐞1\mathbf{e}_{1} to 2𝐞12\mathbf{e}_{1}, and from 𝐞3\mathbf{e}_{3} to 𝐞1+𝐞3\mathbf{e}_{1}+\mathbf{e}_{3} to represent the fact that z1z_{1} and z3z_{3} are always positive. The resulting mixed subgraph on these five vertices is shown on the left side of Figure 2(b)

Now the climbs of the vectors 2𝐞12\mathbf{e}_{1} and 𝐞1𝐞3\mathbf{e}_{1}\mathbf{e}_{3} are both equal to two, so the sum of the two climbs is greater than h=3h=3. But if we do not add an edge between these two vertices, then the graph can be acyclically oriented as in Figure 2(b). In this orientation, the edge (1)(3)(1)\to(3) would be associated with the inequality z1<z3z_{1}<z_{3} and the edges (1)(3)(2)(1)(3)\to(2) and (2)(1)(1)(2)\to(1)(1), by transitivity, would be associated with the inequality z3<z1z_{3}<z_{1}.

In determining which vertices and edges to include in our graph, we must also take into account that climb is not monotonic. For example, the climb of (1,0,1)(1,0,1) is two and the climb of (1,1,1)(1,1,1) is only one. However, we have the following result for pairs of vectors.

(1)(1)(3)(3)(2)(2)(1)(1)(1)(1)(1)(3)(1)(3)
(a) A partial B3B_{3}-graph
(1)(1)(3)(3)(2)(2)(1)(1)(1)(1)(1)(3)(1)(3)
(b) An invalid acyclic orientation
Proposition 5.5.

Let 𝐚,𝐛,𝐜m\mathbf{a},\mathbf{b},\mathbf{c}\in\mathbb{N}^{m} be vectors such that 𝐚\mathbf{a} and 𝐛\mathbf{b} have disjoint supports. Then

climb(𝐚+𝐜)+climb(𝐛+𝐜)climb(𝐚)+climb(𝐛).\operatorname{climb}(\mathbf{a}+\mathbf{c})+\operatorname{climb}(\mathbf{b}+\mathbf{c})\geq\operatorname{climb}(\mathbf{a})+\operatorname{climb}(\mathbf{b}).
Proof.

We can write 𝐜\mathbf{c} as a sum of consecutive vectors, so by induction it is sufficient to prove the statement in the case that 𝐜\mathbf{c} is itself a consecutive vector. Furthermore, if climb(𝐚+𝐜)climb(𝐚)\operatorname{climb}(\mathbf{a}+\mathbf{c})\geq\operatorname{climb}(\mathbf{a}) and climb(𝐛+𝐜)climb(𝐛)\operatorname{climb}(\mathbf{b}+\mathbf{c})\geq\operatorname{climb}(\mathbf{b}) then the conclusion immediately follows.

So without loss of generality, let 𝐜=𝐞[j,k]\mathbf{c}=\mathbf{e}_{[j,k]} and assume that climb(𝐚+𝐜)<climb(𝐚)\operatorname{climb}(\mathbf{a}+\mathbf{c})<\operatorname{climb}(\mathbf{a}). From the proof of Lemma 5.2, this can happen only if aj1>aja_{j-1}>a_{j} and ak<ak+1a_{k}<a_{k+1}, and in this case climb(𝐚+𝐞[j,k])=climb(𝐚)1\operatorname{climb}(\mathbf{a}+\mathbf{e}_{[j,k]})=\operatorname{climb}(\mathbf{a})-1. In particular, this means that both j1j-1 and k+1k+1 belong to the support of 𝐚\mathbf{a}. Since 𝐚\mathbf{a} and 𝐛\mathbf{b} have disjoint supports, neither j1j-1 nor k+1k+1 belong to the support of 𝐛\mathbf{b}. So bj1bjb_{j-1}\leq b_{j} and bkbk+1b_{k}\geq b_{k+1}, and again by the proof of Lemma 5.2, climb(𝐛+𝐞[j,k])=climb(𝐛)+1\operatorname{climb}(\mathbf{b}+\mathbf{e}_{[j,k]})=\operatorname{climb}(\mathbf{b})+1. We conclude that in this case,

climb(𝐚+𝐞[j,k])+climb(𝐛+𝐞[j,k])=climb(𝐚)+climb(𝐛).\operatorname{climb}(\mathbf{a}+\mathbf{e}_{[j,k]})+\operatorname{climb}(\mathbf{b}+\mathbf{e}_{[j,k]})=\operatorname{climb}(\mathbf{a})+\operatorname{climb}(\mathbf{b}).

Definition 5.6.

Let MhM_{h} be the set of vectors in m\mathbb{N}^{m} of climb at most hh.

  1. (1)

    Let Γm,h\Gamma_{m,h} be the undirected graph on the vertex set MhM_{h} where 𝐮𝐯\mathbf{u}\mathbf{v} is an edge if, when we write 𝐮=𝐚+𝐜\mathbf{u}=\mathbf{a}+\mathbf{c}, 𝐯=𝐛+𝐜\mathbf{v}=\mathbf{b}+\mathbf{c} with supp(𝐚)supp(𝐛)=\operatorname{supp}(\mathbf{a})\cap\operatorname{supp}(\mathbf{b})=\emptyset, we have climb(𝐚)+climb(𝐛)h\operatorname{climb}(\mathbf{a})+\operatorname{climb}(\mathbf{b})\leq h.

  2. (2)

    An orientation of the edges of Γm,h\Gamma_{m,h} is called coherent if:

    • Every edge 𝟎𝐮\mathbf{0}\mathbf{u} is oriented from 𝟎\mathbf{0} to 𝐮\mathbf{u}, and

    • for every 𝐚\mathbf{a}, 𝐛\mathbf{b} with climb(𝐚)+climb(𝐛)h\operatorname{climb}(\mathbf{a})+\operatorname{climb}(\mathbf{b})\leq h and every 𝐜\mathbf{c} such that 𝐮=𝐚+𝐜\mathbf{u}=\mathbf{a}+\mathbf{c} and 𝐯=𝐛+𝐜\mathbf{v}=\mathbf{b}+\mathbf{c} belong to MhM_{h}, the orientation of 𝐮𝐯\mathbf{u}\mathbf{v} agrees with the orientation of 𝐚𝐛\mathbf{a}\mathbf{b}.

Note that Γm,h\Gamma_{m,h} is a finite graph because no coordinate of any vector in MhM_{h} can be greater than hh.

Now define a function ϕ\phi from the inside-out polytope Q:=Δm1Hm,hHQ:=\Delta_{m-1}\setminus\bigcup_{H\in\mathcal{H}_{m,h}}H to the set of orientations of Γm,h\Gamma_{m,h} as follows. Given an integer vector 𝐳=(z1,,zm)Q\mathbf{z}=(z_{1},\dots,z_{m})\in Q and an edge 𝐮𝐯\mathbf{u}\mathbf{v} of Γm,h\Gamma_{m,h}, choose the orientation

𝐮𝐯 if i=1muizi<i=1mvizi.\mathbf{u}\to\mathbf{v}\textup{ if }\sum_{i=1}^{m}u_{i}z_{i}<\sum_{i=1}^{m}v_{i}z_{i}.
Theorem 5.7.

The function ϕ\phi induces an injection from the open regions of the inside-out polytope QQ to the coherent acyclic orientations of the graph Γm,h\Gamma_{m,h}.

Proof.

Let 𝐳Q\mathbf{z}\in Q. We first note that since 𝐮n\mathbf{u}\in\mathbb{N}^{n}, every edge of the form 𝟎𝐮\mathbf{0}\mathbf{u} is oriented 𝟎𝐮\mathbf{0}\rightarrow\mathbf{u}. For each edge 𝐮𝐯\mathbf{u}\mathbf{v} of the graph, write 𝐮=𝐚+𝐜\mathbf{u}=\mathbf{a}+\mathbf{c}, 𝐯=𝐛+𝐜\mathbf{v}=\mathbf{b}+\mathbf{c} where supp(𝐚)supp(𝐛)=\operatorname{supp}(\mathbf{a})\cap\operatorname{supp}(\mathbf{b})=\emptyset. Since 𝐮𝐯\mathbf{u}\mathbf{v} is an edge, we have climb(𝐮)+climb(𝐯)h\operatorname{climb}(\mathbf{u})+\operatorname{climb}(\mathbf{v})\leq h. Then by Proposition 5.5, climb(𝐚)+climb(𝐛)h\operatorname{climb}(\mathbf{a})+\operatorname{climb}(\mathbf{b})\leq h as well. Since 𝐳\mathbf{z} cannot belong to the hyperplane i=1maizi=i=1mbizi\sum_{i=1}^{m}a_{i}z_{i}=\sum_{i=1}^{m}b_{i}z_{i} in Γm,h\Gamma_{m,h}, the edge 𝐚𝐛\mathbf{a}\mathbf{b} is assigned an orientation by ϕ(z)\phi(z), say 𝐚𝐛\mathbf{a}\rightarrow\mathbf{b}. By adding i=1mcivi\sum_{i=1}^{m}c_{i}v_{i} to both sides of the inequality i=1maizi<i=1mbizi\sum_{i=1}^{m}a_{i}z_{i}<\sum_{i=1}^{m}b_{i}z_{i} we see that the edge 𝐮𝐯\mathbf{u}\mathbf{v} is also oriented as 𝐮𝐯\mathbf{u}\rightarrow\mathbf{v}. That is, for any 𝐳Q\mathbf{z}\in Q, the orientation ϕ(z)\phi(z) is total and coherent.

Furthemore, if the orientation ϕ(𝐳)\phi(\mathbf{z}) contained a cycle

𝐮(1)𝐮(2)𝐮(r)𝐮(1)\mathbf{u}^{(1)}\rightarrow\mathbf{u}^{(2)}\rightarrow\dots\rightarrow\mathbf{u}^{(r)}\rightarrow\mathbf{u}^{(1)}

then by the definition of ϕ\phi we would have

i=1mui(1)zi<i=1mui(2)zi<i=1mui(r)zi<i=1mui(1)zi\sum_{i=1}^{m}u^{(1)}_{i}z_{i}<\sum_{i=1}^{m}u^{(2)}_{i}z_{i}<\dots\sum_{i=1}^{m}u^{(r)}_{i}z_{i}<\sum_{i=1}^{m}u^{(1)}_{i}z_{i}

which is a contradiction. Thus ϕ(z)\phi(z) is acyclic.

It remains to show that ϕ\phi is invariant within each region and that it takes different values on different regions. That is:

Claim: Given 𝐳,𝐰Q\mathbf{z},\mathbf{w}\in Q, we have ϕ(𝐰)=ϕ(𝐳)\phi(\mathbf{w})=\phi(\mathbf{z}) if and only if 𝐳\mathbf{z} and 𝐰\mathbf{w} lie in the same region of the inside-out polytope.

To prove this claim, first suppose that ϕ(𝐳)=ϕ(w)\phi(\mathbf{z})=\phi(w). Then for all edges 𝐮𝐯\mathbf{u}\mathbf{v} in Γm,h\Gamma_{m,h}, we have

i=1muizi<i=1mvizii=1muiwi<i=1mviwi.\sum_{i=1}^{m}u_{i}z_{i}<\sum_{i=1}^{m}v_{i}z_{i}\Leftrightarrow\sum_{i=1}^{m}u_{i}w_{i}<\sum_{i=1}^{m}v_{i}w_{i}.

Since edges of Γm,h\Gamma_{m,h} correspond to hyperplanes in 𝒢m,h\mathcal{G}_{m,h}, 𝐳\mathbf{z} and 𝐰\mathbf{w} lie on the same side of each of the hyperplanes in the arrangement.

On the other hand, suppose ϕ(𝐳)ϕ(𝐰)\phi(\mathbf{z})\neq\phi(\mathbf{w}). Then there exists an edge 𝐮𝐯\mathbf{u}\mathbf{v} such that when we again write 𝐮=𝐚+𝐜\mathbf{u}=\mathbf{a}+\mathbf{c}, 𝐯=𝐛+𝐜\mathbf{v}=\mathbf{b}+\mathbf{c} where supp(𝐚)supp(𝐛)=\operatorname{supp}(\mathbf{a})\cap\operatorname{supp}(\mathbf{b})=\emptyset, the orientation ϕ(𝐳)\phi(\mathbf{z}) has 𝐚𝐛\mathbf{a}\rightarrow\mathbf{b} and ϕ(𝐰)\phi(\mathbf{w}) has 𝐚𝐛\mathbf{a}\leftarrow\mathbf{b}. That is,

i=1muizi<i=1mvizi,i=1muiwi>i=1mviwi.\sum_{i=1}^{m}u_{i}z_{i}<\sum_{i=1}^{m}v_{i}z_{i},\;\sum_{i=1}^{m}u_{i}w_{i}>\sum_{i=1}^{m}v_{i}w_{i}.

This implies that 𝐰\mathbf{w} and 𝐳\mathbf{z} lie on opposite sides of the hyperplane in GmG_{m} determined by the pair 𝐚𝐛\mathbf{a}\mathbf{b}. ∎

Acknowledgements

Tristram Bogart was supported by internal research grant INV-2020-105-2076 from the Faculty of Sciences of the Universidad de los Andes.

References

  • [BBP12] Matthias Beck, Tristram Bogart, and Tu Pham, Enumeration of golomb rulers and acyclic orientations of mixed graphs, The Electronic Journal of Combinatorics 19 (2012), no. 3, P42.
  • [BR07] Matthias Beck and Sinai Robins, Computing the continuous discretely, vol. 61, Springer, 2007.
  • [BZ06] Matthias Beck and Thomas Zaslavsky, Inside-out polytopes, Advances in Mathematics 205 (2006), no. 1, 134–162.
  • [CGGT14] Nidia Y Caicedo, Carlos A Gómez, Jhonny C Gómez, and Carlos A Trujillo, b_b\_{hh}[g][g] modular sets from b_b\_{hh} modular sets, arXiv preprint arXiv:1411.5741, 2014.
  • [DJKL+16] Domingos Dellamonica Jr, Yoshiharu Kohayakawa, Sang June Lee, Vojtěch Rödl, and Wojciech Samotij, The number of b3-sets of a given cardinality, Journal of Combinatorial Theory, Series A 142 (2016), 44–76.
  • [ET41] Paul Erdos and Pál Turán, On a problem of sidon in additive number theory, and on some related problems, J. London Math. Soc 16 (1941), no. 4, 212–215.
  • [Gre01] Ben Green, The number of squares and b_h[g]b\_h[g] sets, Acta Arithmetica 100 (2001), 365–390.
  • [JTT21] Griffin Johnston, Michael Tait, and Craig Timmons, Upper and lower bounds on the size of b_k[g]b\_k[g] sets, arXiv preprint arXiv:2105.03706, 2021.
  • [O’B04] Kevin O’Bryant, A complete annotated bibliography of work related to sidon sequences, The Electronic Journal of Combinatorics 1000 (2004), DS11–Jul.
  • [Sid32] Simon Sidon, Ein satz über trigonometrische polynome und seine anwendung in der theorie der fourier-reihen, Mathematische Annalen 106 (1932), no. 1, 536–539.
  • [Sin38] James Singer, A theorem in finite projective geometry and some applications to number theory, Transactions of the American Mathematical Society 43 (1938), no. 3, 377–385.