Scaling a lattice #
For a ℤ-submodule L of a real vector space E and c : ℝ, the scaled lattice c • L is the
image of L under multiplication by c, Mathlib's pointwise action of ℝ on Submodule ℤ E.
This file records how the dual, the covolume, the determinant and the integrality, evenness and
unimodularity of a lattice in a real inner product space behave under scaling.
For c ≠ 0 the lattice c • L is the pullback of L along the linear automorphism c⁻¹ • ·
(ZLattice.smul_eq_comap), so a full lattice scales to a full lattice, with dual
(c • L)^∨ = c⁻¹ • L^∨, covolume |c|ⁿ covolume L and determinant c²ⁿ det L in dimension n.
A negative scalar gives the same lattice as its absolute value (Submodule.neg_smul_eq_smul).
Scaling is not an invariance of any of the three predicates. The lattice c • L is integral
exactly when c² ⟪x, y⟫ ∈ ℤ for all x, y ∈ L (ZLattice.isIntegral_smul_iff), and even exactly
when c² ‖x‖² ∈ 2ℤ for all x ∈ L (ZLattice.isEven_smul_iff). In particular, scaling by √m
for a natural number m preserves integrality: √m • L is integral when L is, and even when L
is even or when L is integral and m is even, with det (√m • L) = mⁿ det L. Thus √2 • E₈ is
even and integral.
In positive dimension, scaling an integral lattice by |c| > 1 never produces a unimodular
lattice, since its determinant is c²ⁿ det L ≥ c²ⁿ > 1; in particular √m • L is not unimodular
for m > 1, so √2 • E₈ is not unimodular. A unimodular lattice scaled by |c| ≠ 1 is never
unimodular. Positive dimension is needed: the zero lattice of the zero space is even, unimodular
and fixed by every scaling. Scaling down can create unimodularity, (1/√2) • (√2 ℤ) = ℤ, so the
first statement does not extend to |c| < 1.
Main statements #
ZLattice.smul_eq_comap: forc ≠ 0,c • Lis the pullback ofLalongc⁻¹ • ·.ZLattice.basisSmul: forc ≠ 0, aℤ-basisbofLgives theℤ-basisc • bofc • L.ZLattice.exists_forall_ne_zero_lt_norm: scaling up the integer span of a basis gives full lattices all of whose nonzero vectors are longer than a prescribed bound.ZLattice.exists_forall_add_mem_eq_zero_of_isBounded: a bounded set meets none of its translates by the nonzero vectors of such a lattice.ZLattice.dual_smul:(c • L)^∨ = c⁻¹ • L^∨forc ≠ 0.ZLattice.covolume_smul,ZLattice.det_smul:covolume (c • L) = |c|ⁿ covolume Landdet (c • L) = c²ⁿ det L(forc = 0in positive dimension both sides vanish).ZLattice.covolume_natCast_smul:covolume (c • L) = cⁿ covolume Lfor a natural numberc.ZLattice.isIntegral_smul_iff,ZLattice.isEven_smul_iff: the exact criteria forc • Lto be integral or even.ZLattice.IsIntegral.sqrt_smul,ZLattice.IsEven.sqrt_smul,ZLattice.IsIntegral.isEven_sqrt_smul:√m • Lis integral whenLis, and even whenLis even or whenLis integral andmis even.ZLattice.det_sqrt_smul,ZLattice.IsIntegral.card_discriminantGroup_sqrt_smul:det (√m • L) = mⁿ det L(and|A_{√m • L}| = mⁿ |A_L|for integralLandm ≠ 0), andZLattice.det_sqrt_smul_span_orthonormalBasis:det (√m • ℤⁿ) = mⁿ.ZLattice.IsIntegral.not_isUnimodular_smul,ZLattice.IsIntegral.not_isUnimodular_sqrt_smul,ZLattice.IsUnimodular.not_isUnimodular_smul: in positive dimension, scaling an integral lattice by|c| > 1, or a unimodular lattice by|c| ≠ 1, does not give a unimodular lattice.
References #
- W. Ebeling, Lattices and Codes, 3rd ed., Springer, 2013, Chapter 1.
- J. H. Conway, N. J. A. Sloane, Sphere Packings, Lattices and Groups, 3rd ed., Springer, 1999, Chapter 2, §2.
Source note #
The statements and proofs of this file adapt the Tau Ceti formalization in TauCeti PR #20860 by @tauceti-ai-for-science.
Evenness #
Scaling an even lattice by the square root of a natural number gives an even lattice.
Scaling as a change of variables #
For c ≠ 0, the scaled lattice c • L is the pullback of L along the linear automorphism
x ↦ c⁻¹ • x.
Scaling a discrete lattice by a nonzero scalar gives a discrete lattice.
Scaling a full lattice by a nonzero scalar gives a full lattice.
For c ≠ 0, a ℤ-basis b of L scales to the ℤ-basis c • b of c • L.
Instances For
The i-th vector of the scaled basis basisSmul b hc is c • b i.
Lattices with long nonzero vectors #
A finite-dimensional real normed space has full lattices whose nonzero vectors are all longer
than any prescribed R.
A bounded subset s of a finite-dimensional real normed space meets none of its translates by
the nonzero vectors of some full lattice L.
Scaling a full lattice by c multiplies its covolume by |c|ⁿ, where n is the dimension of
the space, for any Haar measure. For c = 0 in positive dimension both sides vanish: the zero
lattice has the whole space as a fundamental domain, of infinite measure.
Scaling a full lattice by a natural number c multiplies its covolume by cⁿ, where n is
the dimension of the space, for any Haar measure.
Duality, integrality and the determinant #
The scaled lattice c • L is integral exactly when c² ⟪x, y⟫ ∈ ℤ for all x, y ∈ L.
Scaling an integral lattice by the square root of a natural number gives an integral lattice.
Scaling an integral lattice by the square root of an even natural number gives an even lattice.
Scaling a full lattice by c multiplies its determinant by c²ⁿ, where n is the dimension
of the space.
Scaling a full lattice by √m, for a natural number m, multiplies its determinant by mⁿ,
where n is the dimension of the space.
For an orthonormal basis b and a natural number m, the scaled cubic lattice √m • ℤ b has
determinant mⁿ, where n is the dimension of the space. For instance √2 ℤ² has determinant
4.
For an orthonormal basis b and a nonzero natural number m, the discriminant group of the
scaled cubic lattice √m • ℤ b has order det (√m • ℤ b) = mⁿ, where n is the dimension of the
space. For instance the discriminant group (ℤ/2)² of √2 ℤ² has order 4.
Scaling an integral full lattice L of rank n by √m (m ≠ 0) multiplies the order of its
discriminant group by mⁿ.
In positive dimension, scaling a full integral lattice by c with 1 < |c| never gives a
unimodular lattice: the determinant becomes c²ⁿ det L > 1.
In positive dimension, scaling a full integral lattice by √m for a natural number m > 1
never gives a unimodular lattice. For instance √2 • E₈ is even and integral but not
unimodular.
In positive dimension, scaling a unimodular lattice by c with |c| ≠ 1 never gives a
unimodular lattice.