Documentation

TauCeti.LinearAlgebra.IntegralLattice.Unit

The standard unit integral lattice #

For a finite index type ι, the lattice unitLattice ι is the standard lattice I_ι = ℤ^ι in ℚ^ι, with the dot-product form. Its Gram matrix in the standard basis is the identity matrix. Consequently it is positive definite, unimodular, and has determinant and discriminant one. It is odd whenever ι is nonempty, and its signature is (#ι, 0, 0).

The lattices I_n are the basic odd unimodular lattices: they serve as the standard comparison objects in integral-lattice calculations, for instance as the odd positive definite unimodular lattices against which even lattices such as E_8 are contrasted.

The empty-index case is retained: I_∅ is the rank-zero even unimodular lattice. This is why the parity and level results below separate empty and nonempty index types.

Main declarations #

References #

noncomputable def TauCeti.IntegralLattice.unitLattice (ι : Type u) [Fintype ι] :

The standard unit lattice I_ι: the integer coordinate lattice ℤ^ι inside ℚ^ι, with the dot-product form and identity Gram matrix.

Instances For

    The standard unit lattice is the integral span of the coordinate basis.

    @[simp]
    theorem TauCeti.IntegralLattice.mem_unitLattice_carrier_iff (ι : Type u) [Fintype ι] (x : ι → ℚ) :
    x ∈ (unitLattice ι).carrier ↔ ∀ (i : ι), ∃ (z : ℤ), ↑z = x i

    A vector belongs to the standard unit lattice exactly when all its coordinates are integers.

    @[simp]
    theorem TauCeti.IntegralLattice.unitLattice_form_apply (ι : Type u) [Fintype ι] (x y : ι → ℚ) :
    ((unitLattice ι).form x) y = ∑ i : ι, x i * y i

    The form of the standard unit lattice is the ordinary dot product.

    @[simp]
    theorem TauCeti.IntegralLattice.unitLattice_norm_apply (ι : Type u) [Fintype ι] (x : ι → ℚ) :
    (unitLattice ι).norm x = ∑ i : ι, x i ^ 2

    The norm of a vector in the standard unit lattice is the sum of its coordinate squares.

    The coordinate vectors form the standard integral basis of I_ι.

    Instances For
      @[simp]

      The standard integral basis vector has the corresponding unit coordinate vector in ℚ^ι.

      The coordinate vector eᵢ lies in the standard unit lattice.

      @[simp]

      The Gram matrix of the standard integral basis is the identity matrix.

      @[simp]

      The rank of I_ι is the cardinality of its index type.

      @[simp]

      The signed determinant of the standard unit lattice is one.

      @[simp]

      The discriminant of the standard unit lattice is one.

      The standard unit lattice is nondegenerate.

      The standard unit lattice is positive definite.

      @[simp]

      The standard unit lattice has signature (#ι, 0, 0).

      The standard unit lattice is unimodular.

      @[simp]

      The standard unit lattice is even exactly when it has rank zero.

      A positive-rank standard unit lattice is odd.

      @[simp]

      The rank-zero standard unit lattice has level one.

      @[simp]

      A positive-rank standard unit lattice has level two.