The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V07. Linear algebra

Mathlib.LinearAlgebra.Unimodular

8 declarations. Mathlib docs · Source

Unimodular elements and completion to a basis

An element v of a module is unimodular if some linear functional takes the value 1 at v. For a free module this is equivalent to the coordinates of v in any basis generating the unit ideal (for M = ℤⁿ: the gcd of the coordinates is 1, i.e. v is a primitive vector).

Main definitions

  • Module.IsUnimodular R v: some linear functional takes the value 1 at v.

Main results

  • Module.Basis.span_repr_eq_range_applyₗ: the coordinates of v in a basis generate the ideal of values taken at v by the linear functionals;
  • Module.Basis.isUnimodular_iff_span_repr_eq_top: the coordinate characterisation of unimodularity in the free case;
  • Module.IsUnimodular.exists_basis_zero_eq: a unimodular vector of a rank-two module can be completed to a basis;
  • Module.Free.isUnimodular_one: in a nonzero algebra that is free as a module, 1 is unimodular.

References

  • [T. Y. Lam, Serre's Problem on Projective Modules][lam_2006].

theorem Matrix.toLinearEquiv.congr_simp E1 #

∀ {n : Type u_2} {R : Type u_3} [inst : Fintype n] {M : Type u_4} [inst_1 : CommRing R] [inst_2 : AddCommGroup M]
  [inst_3 : Module R M] (b b_1 : Module.Basis n R M),
  b = b_1 →
    ∀ {inst_4 : DecidableEq n} [inst_5 : DecidableEq n] (A A_1 : Matrix n n R) (e_A : A = A_1) (hA : IsUnit A.det),
      Matrix.toLinearEquiv b A hA = Matrix.toLinearEquiv b_1 A_1 ⋯

def Module.IsUnimodular E1 #

(R : Type u_1) → [inst : Semiring R] → {M : Type u_2} → [inst_1 : AddCommMonoid M] → [Module R M] → M → Prop

An element v of an R-module is unimodular if some linear functional takes the value 1 at v.

theorem Module.isUnimodular_iff E0 #

∀ {R : Type u_1} [inst : Semiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {v : M},
  Module.IsUnimodular R v ↔ ∃ f, f v = 1

theorem Module.isUnimodular_of_apply_eq_one E1 #

∀ {R : Type u_1} [inst : Semiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {v : M}
  {f : M →ₗ[R] R}, f v = 1 → Module.IsUnimodular R v

theorem Module.Basis.span_repr_eq_range_applyₗ E3 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_3}
  (b : Module.Basis ι R M) (v : M), Ideal.span (Set.range ⇑(b.repr v)) = (LinearMap.applyₗ v).range

The coordinates of v in a basis b generate the ideal of values taken at v by the linear functionals on M. In particular this ideal does not depend on b.

theorem Module.Basis.isUnimodular_iff_span_repr_eq_top E3 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_3}
  {b : Module.Basis ι R M} {v : M}, Module.IsUnimodular R v ↔ Ideal.span (Set.range ⇑(b.repr v)) = ⊤

Coordinate characterisation of unimodularity in the free case: given a basis b, the coordinates of v generate the unit ideal iff v is unimodular.

theorem Module.Free.isUnimodular_one E3 #

∀ {R : Type u_1} [inst : CommRing R] {A : Type u_2} [inst_1 : Ring A] [Nontrivial A] [inst_3 : Algebra R A]
  [Module.Free R A], Module.IsUnimodular R 1

In a nonzero algebra that is free as a module, 1 is unimodular.

theorem Module.IsUnimodular.exists_basis_zero_eq E3 #

∀ {R : Type u_1} [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Module.Free R M],
  Module.finrank R M = 2 → ∀ {v : M}, Module.IsUnimodular R v → ∃ e, e 0 = v

A unimodular vector of a rank-two module can be completed to a basis: it is the first vector of a basis.