A generalized arithmetic progression (GAP) in an abelian group $\alpha$: a base point,
a dim-dimensional family of step directions $v_1,\dots,v_{\dim}$, and integer lengths
$N_1,\dots,N_{\dim}$, representing the set
$\{\text{base} + n_1 v_1 + \dots + n_{\dim} v_{\dim} : 0 \le n_i < N_i\}$.
- dim : ℕ
- base : α
Instances For
The finset of points represented by a GAP $P$: all sums $P.\text{base} + \sum_i n_i \cdot P.\text{dirs}\,i$ for $0 \le n_i < P.\text{lengths}\,i$.
Instances For
The volume of a GAP, i.e. the product $\prod_i P.\text{lengths}\,i$ of all the side
lengths. This bounds the cardinality of P.toFinset.
Instances For
Freiman–Ruzsa theorem. If $A \subset \mathbb{Z}$ satisfies $|A+A| \le K|A|$, then $A$ is contained in a generalized arithmetic progression of dimension at most $r(K)$ and volume at most $V(K) \cdot |A|$, where $r(K), V(K)$ depend only on $K$.
Polynomial Freiman–Ruzsa conjecture (meaningful bound form). Even when the doubling constant is allowed to grow polynomially as $K = |A|^\delta$ for some $\delta > 0$, one should still get a GAP of dimension $r_0$ and volume $V_0 \cdot |A|$ containing $A$, with $r_0, V_0$ depending only on $\delta$.