Lattice Definitions and Generator Matrices

From QAM to Lattices: Why the Abstraction Pays Off

Every coded-modulation scheme we have built so far lives on a lattice, whether we acknowledged it or not. A 16-QAM constellation is a 4×44 \times 4 patch of Z2\mathbb{Z}^2. A cross-32 constellation is a slightly cleverer patch of Z2\mathbb{Z}^2. The 8-PSK constellation is a single orbit of a rotated lattice. Even continuous-phase modulation, viewed through the Laurent representation, walks around a lattice. The point is this: lattices are the natural abstraction of modulation. Every QAM constellation is a finite piece of Z2\mathbb{Z}^2; every turbo-coded bit stream carried over integer symbols lives on a lattice; the modulo-lattice reductions at the heart of dirty-paper coding and LAST codes are defined against lattices.

Understanding the general theory — what lattices exist, how dense they can be, how we count lattice points of a given norm — tells us what is and isn't achievable for modulation and coding together. In particular, the lattice gives us the raw coding-gain budget; whether we can reach it with a practical decoder is a separate question, and is where later chapters will focus.

This chapter sets up the theory as cleanly as Conway and Sloane's Sphere Packings, Lattices and Groups does. Ch. 16 will then use it to build lattice codes that achieve the AWGN capacity 12log2(1+SNR)\tfrac12 \log_2(1 + \text{SNR}), and Ch. 17 will nest two lattices to get the DMT-optimal LAST construction for MIMO fading. The single abstraction pays off three chapters in a row.

,

Definition:

Lattice

A lattice ΛRn\Lambda \subset \mathbb{R}^n is a discrete additive subgroup of Rn\mathbb{R}^n of rank nn. Explicitly, Λ\Lambda is closed under addition and under negation, contains the origin 0\mathbf{0}, has no accumulation points, and spans Rn\mathbb{R}^n as a real vector space.

Equivalently (the constructive definition), there exist nn linearly independent vectors b1,,bnRn\mathbf{b}_1, \ldots, \mathbf{b}_n \in \mathbb{R}^n — a basis of Λ\Lambda — such that Λ  =  {i=1nuibi  :  u1,,unZ}.\Lambda \;=\; \Bigl\{\, {\textstyle \sum_{i=1}^n} u_i \mathbf{b}_i \;:\; u_1, \ldots, u_n \in \mathbb{Z} \,\Bigr\}. Stacking the basis vectors as columns of GRn×n\mathbf{G} \in \mathbb{R}^{n \times n}, we write Λ={Gu:uZn}\Lambda = \{\mathbf{G} \mathbf{u} : \mathbf{u} \in \mathbb{Z}^n\} and call G\mathbf{G} a generator matrix of Λ\Lambda.

"Discrete additive subgroup of full rank" is the definition; the constructive form (integer combinations of nn linearly independent vectors) is a theorem one proves from it. Both definitions are widely used in the literature, and the equivalence is exactly what makes lattices such clean algebraic objects.

,

Definition:

Generator Matrix and Gram Matrix

The generator matrix GRn×n\mathbf{G} \in \mathbb{R}^{n \times n} of Λ\Lambda has the basis vectors as columns. Different bases give different G\mathbf{G}'s; any two generator matrices G1,G2\mathbf{G}_1, \mathbf{G}_2 of the same lattice are related by a unimodular transformation G2=G1U\mathbf{G}_2 = \mathbf{G}_1 \mathbf{U} with UGLn(Z)\mathbf{U} \in \mathrm{GL}_n(\mathbb{Z}) (i.e., U\mathbf{U} integer and detU=1|\det \mathbf{U}| = 1).

The Gram matrix of the basis is A  =  GTG,Aij=bi,bj.\mathbf{A} \;=\; \mathbf{G}^T \mathbf{G}, \qquad A_{ij} = \langle \mathbf{b}_i, \mathbf{b}_j \rangle. Unlike G\mathbf{G} (which depends on the embedding of Λ\Lambda in Rn\mathbb{R}^n including rotation), the Gram matrix is unique up to unimodular congruence AUTAU\mathbf{A} \to \mathbf{U}^T \mathbf{A} \mathbf{U} and determines Λ\Lambda up to an isometry.

In practice, lattices are often specified by a Gram matrix only, because the precise embedding in Rn\mathbb{R}^n does not affect packing, covering, or any other isometry invariant. The Conway–Sloane catalog lists Gram matrices rather than generator matrices for this reason.

Theorem: Basis Invariance of the Fundamental Volume

For any lattice ΛRn\Lambda \subset \mathbb{R}^n with generator matrix G\mathbf{G}, the quantities detG|\det \mathbf{G}| and det(GTG)\det(\mathbf{G}^T \mathbf{G}) are independent of the choice of basis. We may therefore define the fundamental volume V(Λ)=detGV(\Lambda) = |\det \mathbf{G}| unambiguously, and the identity V(Λ)2  =  det(GTG)  =  detAV(\Lambda)^2 \;=\; \det(\mathbf{G}^T \mathbf{G}) \;=\; \det \mathbf{A} holds for the Gram matrix A\mathbf{A}.

Changing basis is just a relabeling of lattice points. The total "real estate" each point occupies — the volume of a fundamental region — is a property of the lattice itself, not of which basis we happen to draw on a chalkboard.

,

Definition:

Dual Lattice

The dual lattice of ΛRn\Lambda \subset \mathbb{R}^n is Λ  =  {yRn:x,yZ for all xΛ}.\Lambda^* \;=\; \{\,\mathbf{y} \in \mathbb{R}^n : \langle \mathbf{x}, \mathbf{y} \rangle \in \mathbb{Z} \text{ for all } \mathbf{x} \in \Lambda \,\}. If Λ\Lambda has generator matrix G\mathbf{G}, then Λ\Lambda^* has generator matrix GT=(GT)1\mathbf{G}^{-T} = (\mathbf{G}^T)^{-1}. Consequently V(Λ)=1/V(Λ)V(\Lambda^*) = 1 / V(\Lambda) and (Λ)=Λ(\Lambda^*)^* = \Lambda.

A lattice is self-dual (or unimodular) if Λ=Λ\Lambda^* = \Lambda. Self-dual lattices have V(Λ)=1V(\Lambda) = 1. The exceptional lattices Zn\mathbb{Z}^n, E8E_8, and Λ24\Lambda_{24} are all self-dual; DnD_n and AnA_n are generally not.

Duality is the lattice analogue of Pontryagin duality for abelian groups: Λ\Lambda labels "frequencies" that pair integrally with the "positions" in Λ\Lambda^*. For self-dual lattices, the Poisson summation formula reduces to a functional equation of the theta series — the starting point of Viazovska's E8E_8 proof.

,

2D Lattice Visualization with Voronoi Region

Three classical 2D lattices: the integer lattice Z2\mathbb{Z}^2, the hexagonal A2A_2 (densest 2D packing, proven by Thue in 1890), and the checkerboard D2D_2 (which turns out to equal Z2\mathbb{Z}^2 up to rotation by 45°). The plot shows lattice points, one Voronoi cell outlined, and circles of radius ρ\rho (packing radius, inscribed in the Voronoi cell) around each point. Changing the lattice lets you see how the same region of the plane holds more or fewer points depending on the geometry.

Parameters

Example: Generator Matrices for Z2\mathbb{Z}^2 and A2A_2

Write down generator matrices G\mathbf{G} and Gram matrices A=GTG\mathbf{A} = \mathbf{G}^T \mathbf{G} for (a) the integer lattice Z2\mathbb{Z}^2 and (b) the hexagonal lattice A2A_2, whose minimum vectors are (1,0)(1, 0) and (1/2,3/2)(1/2, \sqrt{3}/2). Verify that V(Z2)=1V(\mathbb{Z}^2) = 1 and V(A2)=3/20.866V(A_2) = \sqrt{3}/2 \approx 0.866.

Common Mistake: The Generator Matrix Is Not Unique

Mistake:

Treating "the generator matrix" of a lattice as a unique object. In fact, any lattice has infinitely many generator matrices, all related by unimodular transformations GGU\mathbf{G} \to \mathbf{G} \mathbf{U} with U\mathbf{U} integer and detU=1|\det \mathbf{U}| = 1. Two matrices that look different can describe the same lattice.

Correction:

Always work with invariants: fundamental volume V(Λ)V(\Lambda), minimum distance dmind_{\min}, kissing number K(Λ)K(\Lambda), or the whole theta series ΘΛ(q)\Theta_\Lambda(q). When you need to compare lattices in a numerical computation, first reduce G\mathbf{G} to a canonical form using the LLL algorithm, which returns a nearly-orthogonal basis (and is cheap in low dimension).

Historical Note: Gauss (1831): Binary Quadratic Forms and the Birth of Lattice Theory

1831

Lattice theory in the modern sense begins with Gauss's 1831 review of Ludwig Seeber's book on ternary quadratic forms. Gauss pointed out that a positive-definite binary quadratic form f(x,y)=ax2+2bxy+cy2f(x, y) = a x^2 + 2 b x y + c y^2 with acb2>0a c - b^2 > 0 is nothing other than the squared norm Gu2\|\mathbf{G} \mathbf{u}\|^2 of integer combinations u=(x,y)T\mathbf{u} = (x, y)^T of a basis of R2\mathbb{R}^2. The quadratic form and the lattice are two descriptions of the same object; the determinant acb2a c - b^2 of the form is the squared fundamental volume V(Λ)2V(\Lambda)^2 of the lattice.

Gauss then showed — in three paragraphs that are the first proof in lattice theory — that the hexagonal form f(x,y)=x2+xy+y2f(x, y) = x^2 + x y + y^2 achieves the largest minimum among all forms of a given determinant. In modern terms, he proved that the hexagonal lattice A2A_2 is the densest 2D lattice packing, 8080 years before Thue's proof for general (non-lattice) packings. This single observation anticipated, in two dimensions, the entire lattice-density program that Viazovska would close in dimensions 88 and 2424 in 20172017.

Lattice

A discrete additive subgroup of Rn\mathbb{R}^n of full rank nn; equivalently, the set of integer combinations of nn linearly independent vectors (the basis, or columns of the generator matrix G\mathbf{G}).

Related: Generator Matrix and Gram Matrix, Generator Matrix and Gram Matrix, Dual Lattice

Generator matrix

An n×nn \times n matrix G\mathbf{G} whose columns form a basis of a lattice Λ\Lambda: Λ={Gu:uZn}\Lambda = \{\mathbf{G} \mathbf{u} : \mathbf{u} \in \mathbb{Z}^n\}. Two generator matrices of the same lattice differ by a unimodular multiplier.

Related: Lattice, Generator Matrix and Gram Matrix, Unimodular

Gram matrix

The symmetric positive-definite matrix A=GTG\mathbf{A} = \mathbf{G}^T \mathbf{G} of inner products between basis vectors. Invariant up to unimodular congruence; determines the lattice up to isometry.

Related: Generator Matrix and Gram Matrix, Fundamental Region and Volume

Dual lattice

The lattice Λ={yRn:x,yZ  xΛ}\Lambda^* = \{\mathbf{y} \in \mathbb{R}^n : \langle \mathbf{x}, \mathbf{y} \rangle \in \mathbb{Z} \; \forall \mathbf{x} \in \Lambda\}. Has generator matrix GT\mathbf{G}^{-T} and volume V(Λ)=1/V(Λ)V(\Lambda^*) = 1 / V(\Lambda).

Related: Lattice, Self Dual, Theta Series

Quick Check

Let G\mathbf{G} be a generator matrix of a lattice Λ\Lambda, and let U\mathbf{U} be an integer matrix with detU=3\det \mathbf{U} = 3. Which statements about GU\mathbf{G} \mathbf{U} are true?

GU\mathbf{G}\mathbf{U} is also a generator matrix of Λ\Lambda.

GU\mathbf{G}\mathbf{U} generates a sublattice of Λ\Lambda of index 33.

GU\mathbf{G}\mathbf{U} generates a sublattice only if U\mathbf{U} is also symmetric.

GU\mathbf{G}\mathbf{U} generates a superlattice of Λ\Lambda.

Key Takeaway

A lattice is the integer span of nn linearly independent vectors — no more, no less. All of its structure is encoded in the generator matrix G\mathbf{G} (up to unimodular change of basis) or equivalently the Gram matrix A=GTG\mathbf{A} = \mathbf{G}^T \mathbf{G} (which adds a further isometry equivalence). The fundamental volume V(Λ)=detGV(\Lambda) = |\det \mathbf{G}| and the dual lattice Λ=(GT)Zn\Lambda^* = (\mathbf{G}^{-T}) \mathbb{Z}^n are the two scalar quantities that the rest of the chapter will use to compare lattices at a glance.