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.PID

1 declarations. Mathlib docs · Source

theorem LinearMap.trace_restrict_eq_of_forall_mem E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Module.Finite R M]
  [Module.Free R M] [IsDomain R] [IsPrincipalIdealRing R] (p : Submodule R M) (f : M →ₗ[R] M) (hf : ∀ (x : M), f x ∈ p)
  (hf' : optParam (∀ x ∈ p, f x ∈ p) ⋯), (LinearMap.trace R ↥p) (f.restrict hf') = (LinearMap.trace R M) f

If a linear endomorphism of a (finite, free) module M takes values in a submodule p ⊆ M, then the trace of its restriction to p is equal to its trace on M.