Documentation

TauCeti.Algebra.Module.ZLattice.Scaling

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 #

References #

Source note #

The statements and proofs of this file adapt the Tau Ceti formalization in TauCeti PR #20860 by @tauceti-ai-for-science.

Evenness #

theorem ZLattice.isEven_smul_iff {E : Type u_1} [SeminormedAddCommGroup E] [NormedSpace ℝ E] (L : Submodule ℤ E) (c : ℝ) :
IsEven (c • L) ↔ ∀ x ∈ L, ∃ (m : ℤ), c ^ 2 * ‖x‖ ^ 2 = 2 * ↑m

The scaled lattice c • L is even exactly when c² ‖x‖² ∈ 2ℤ for every x ∈ L.

theorem ZLattice.IsEven.sqrt_smul {E : Type u_1} [SeminormedAddCommGroup E] [NormedSpace ℝ E] {L : Submodule ℤ E} (h : IsEven L) (m : ℕ) :
IsEven (√↑m • L)

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.

noncomputable def ZLattice.basisSmul {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {L : Submodule ℤ E} {ι : Type u_2} (b : Module.Basis ι ℤ ↥L) {c : ℝ} (hc : c ≠ 0) :
Module.Basis ι ℤ ↥(c • L)

For c ≠ 0, a ℤ-basis b of L scales to the ℤ-basis c • b of c • L.

Instances For
    @[simp]
    theorem ZLattice.coe_basisSmul_apply {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {L : Submodule ℤ E} {ι : Type u_2} (b : Module.Basis ι ℤ ↥L) {c : ℝ} (hc : c ≠ 0) (i : ι) :
    ↑((basisSmul b hc) i) = c • ↑(b i)

    The i-th vector of the scaled basis basisSmul b hc is c • b i.

    Lattices with long nonzero vectors #

    theorem ZLattice.exists_forall_ne_zero_lt_norm {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] (R : ℝ) :
    ∃ (L : Submodule ℤ E) (x : DiscreteTopology ↥L) (_ : IsZLattice ℝ L), ∀ ℓ ∈ L, ℓ ≠ 0 → R < ‖ℓ‖

    A finite-dimensional real normed space has full lattices whose nonzero vectors are all longer than any prescribed R.

    theorem ZLattice.exists_forall_add_mem_eq_zero_of_isBounded {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {s : Set E} (hs : Bornology.IsBounded s) :
    ∃ (L : Submodule ℤ E) (x : DiscreteTopology ↥L) (_ : IsZLattice ℝ L), ∀ x ∈ s, ∀ ℓ ∈ L, x + ℓ ∈ s → ℓ = 0

    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.

    @[simp]

    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 #

    @[simp]
    theorem ZLattice.dual_smul {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (L : Submodule ℤ E) {c : ℝ} (hc : c ≠ 0) :
    dual (c • L) = c⁻¹ • dual L

    The dual of the scaled lattice c • L is c⁻¹ • L^∨, for c ≠ 0.

    theorem ZLattice.isIntegral_smul_iff {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (L : Submodule ℤ E) (c : ℝ) :
    IsIntegral (c • L) ↔ ∀ x ∈ L, ∀ y ∈ L, ∃ (m : ℤ), c ^ 2 * inner ℝ x y = ↑m

    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.

    @[simp]

    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.