Generalized arithmetic progression explained

17,20,22,23,25,26,27,28,29,...

is not an arithmetic progression, but is instead generated by starting with 17 and adding either 3 or 5, thus allowing multiple common differences to generate it. A semilinear set generalizes this idea to multiple dimensions -- it is a set of vectors of integers, rather than a set of integers.

Finite generalized arithmetic progression

A finite generalized arithmetic progression, or sometimes just generalized arithmetic progression (GAP), of dimension d is defined to be a set of the form

\{x0+\ell1x1++\elldxd:0\le\ell1<L1,\ldots,0\le\elld<Ld\}

where

x0,x1,...,xd,L1,...,Ld\inZ

. The product

L1L2 … Ld

is called the size of the generalized arithmetic progression; the cardinality of the set can differ from the size if some elements of the set have multiple representations. If the cardinality equals the size, the progression is called proper. Generalized arithmetic progressions can be thought of as a projection of a higher dimensional grid into

Z

. This projection is injective if and only if the generalized arithmetic progression is proper.

Semilinear sets

Formally, an arithmetic progression of

Nd

is an infinite sequence of the form

v,v+v',v+2v',v+3v',\ldots

, where

v

and

v'

are fixed vectors in

Nd

, called the initial vector and common difference respectively. A subset of

Nd

is said to be linear if it is of the form

\left\{v+

m
\sum
i=1

kivi\colonk1,...,km\inN\right\},

where

m

is some integer and

v,v1,...,vm

are fixed vectors in

Nd

. A subset of

Nd

is said to be semilinear if it is a finite union of linear sets.

The semilinear sets are exactly the sets definable in Presburger arithmetic.[1]

See also

References

Notes and References

  1. Ginsburg. Seymour. Spanier. Edwin Henry. Semigroups, Presburger Formulas, and Languages. Pacific Journal of Mathematics. 1966. 16. 2 . 285–296. 10.2140/pjm.1966.16.285 . free.