mathlib documentation

ring_theory.trace

Trace for (finite) ring extensions. #

Suppose we have an R-algebra S with a finite basis. For each s : S, the trace of the linear map given by multiplying by s gives information about the roots of the minimal polynomial of s over R.

Implementation notes #

Typically, the trace is defined specifically for finite field extensions. The definition is as general as possible and the assumption that we have fields or that the extension is finite is added to the lemmas as needed.

We only define the trace for left multiplication (algebra.left_mul_matrix, i.e. algebra.lmul_left). For now, the definitions assume S is commutative, so the choice doesn't matter anyway.

References #

def algebra.trace (R : Type u_1) (S : Type u_2) [comm_ring R] [comm_ring S] [algebra R S] :

The trace of an element s of an R-algebra is the trace of (*) s, as an R-linear map.

Equations
theorem algebra.trace_apply (R : Type u_1) {S : Type u_2} [comm_ring R] [comm_ring S] [algebra R S] (x : S) :
theorem algebra.trace_eq_zero_of_not_exists_basis (R : Type u_1) {S : Type u_2} [comm_ring R] [comm_ring S] [algebra R S] (h : ¬∃ (s : finset S), nonempty (basis s R S)) :
theorem algebra.trace_eq_matrix_trace {R : Type u_1} {S : Type u_2} [comm_ring R] [comm_ring S] [algebra R S] {ι : Type w} [fintype ι] [decidable_eq ι] (b : basis ι R S) (s : S) :
theorem algebra.trace_algebra_map_of_basis {R : Type u_1} {S : Type u_2} [comm_ring R] [comm_ring S] [algebra R S] {ι : Type w} [fintype ι] (b : basis ι R S) (x : R) :

If x is in the base field K, then the trace is [L : K] * x.

@[simp]
theorem algebra.trace_algebra_map {K : Type u_4} {L : Type u_5} [field K] [field L] [algebra K L] (x : K) :

If x is in the base field K, then the trace is [L : K] * x.

(If L is not finite-dimensional over K, then trace and finrank return 0.)

theorem algebra.trace_trace_of_basis {R : Type u_1} {S : Type u_2} {T : Type u_3} [comm_ring R] [comm_ring S] [comm_ring T] [algebra R S] [algebra R T] [algebra S T] [is_scalar_tower R S T] {ι : Type u_4} {κ : Type u_5} [fintype ι] [fintype κ] (b : basis ι R S) (c : basis κ S T) (x : T) :
theorem algebra.trace_comp_trace_of_basis {R : Type u_1} {S : Type u_2} {T : Type u_3} [comm_ring R] [comm_ring S] [comm_ring T] [algebra R S] [algebra R T] [algebra S T] [is_scalar_tower R S T] {ι : Type u_4} {κ : Type u_5} [fintype ι] [fintype κ] (b : basis ι R S) (c : basis κ S T) :
@[simp]
theorem algebra.trace_trace {T : Type u_3} [comm_ring T] {K : Type u_4} {L : Type u_5} [field K] [field L] [algebra K L] [algebra K T] [algebra L T] [is_scalar_tower K L T] [finite_dimensional K L] [finite_dimensional L T] (x : T) :
@[simp]
theorem algebra.trace_comp_trace {T : Type u_3} [comm_ring T] {K : Type u_4} {L : Type u_5} [field K] [field L] [algebra K L] [algebra K T] [algebra L T] [is_scalar_tower K L T] [finite_dimensional K L] [finite_dimensional L T] :
def algebra.trace_form (R : Type u_1) (S : Type u_2) [comm_ring R] [comm_ring S] [algebra R S] :

The trace_form maps x y : S to the trace of x * y. It is a symmetric bilinear form and is nondegenerate if the extension is separable.

Equations
@[simp]
theorem algebra.trace_form_apply (R : Type u_1) {S : Type u_2} [comm_ring R] [comm_ring S] [algebra R S] (x y : S) :
theorem algebra.trace_form_is_sym (R : Type u_1) {S : Type u_2} [comm_ring R] [comm_ring S] [algebra R S] :
theorem algebra.trace_form_to_matrix (R : Type u_1) {S : Type u_2} [comm_ring R] [comm_ring S] [algebra R S] {ι : Type w} [fintype ι] (b : basis ι R S) [decidable_eq ι] (i j : ι) :
theorem algebra.trace_form_to_matrix_power_basis (R : Type u_1) {S : Type u_2} [comm_ring R] [comm_ring S] [algebra R S] (h : power_basis R S) :
theorem power_basis.trace_gen_eq_sum_roots {S : Type u_2} [comm_ring S] {K : Type u_4} [field K] {F : Type u_6} [field F] [algebra K S] [algebra K F] [nontrivial S] (pb : power_basis K S) (hf : polynomial.splits (algebra_map K F) (minpoly K pb.gen)) :
theorem intermediate_field.adjoin_simple.trace_gen_eq_zero {K : Type u_4} {L : Type u_5} [field K] [field L] [algebra K L] {x : L} (hx : ¬is_integral K x) :
theorem intermediate_field.adjoin_simple.trace_gen_eq_sum_roots {K : Type u_4} {L : Type u_5} [field K] [field L] [algebra K L] {F : Type u_6} [field F] [algebra K F] (x : L) (hf : polynomial.splits (algebra_map K F) (minpoly K x)) :
theorem trace_eq_sum_roots {K : Type u_4} {L : Type u_5} [field K] [field L] [algebra K L] {F : Type u_6} [field F] [algebra K F] [finite_dimensional K L] {x : L} (hF : polynomial.splits (algebra_map K F) (minpoly K x)) :
theorem algebra.is_integral_trace {R : Type u_1} [comm_ring R] {L : Type u_5} [field L] {F : Type u_6} [field F] [algebra R L] [algebra L F] [algebra R F] [is_scalar_tower R L F] [finite_dimensional L F] {x : F} (hx : is_integral R x) :
theorem trace_eq_sum_embeddings_gen {K : Type u_4} {L : Type u_5} [field K] [field L] [algebra K L] (E : Type u_7) [field E] [algebra K E] (pb : power_basis K L) (hE : polynomial.splits (algebra_map K E) (minpoly K pb.gen)) (hfx : (minpoly K pb.gen).separable) :
(algebra_map K E) ((algebra.trace K L) pb.gen) = ∑ (σ : L →ₐ[K] E), σ pb.gen
theorem sum_embeddings_eq_finrank_mul {K : Type u_4} {L : Type u_5} [field K] [field L] [algebra K L] (F : Type u_6) [field F] [algebra L F] [algebra K F] [is_scalar_tower K L F] (E : Type u_7) [field E] [algebra K E] [is_alg_closed E] [finite_dimensional K F] [is_separable K F] (pb : power_basis K L) :
∑ (σ : F →ₐ[K] E), σ ((algebra_map L F) pb.gen) = finite_dimensional.finrank L F ∑ (σ : L →ₐ[K] E), σ pb.gen
theorem trace_eq_sum_embeddings {K : Type u_4} {L : Type u_5} [field K] [field L] [algebra K L] (E : Type u_7) [field E] [algebra K E] [is_alg_closed E] [finite_dimensional K L] [is_separable K L] {x : L} (hx : is_integral K x) :
(algebra_map K E) ((algebra.trace K L) x) = ∑ (σ : L →ₐ[K] E), σ x
theorem det_trace_form_ne_zero' {K : Type u_4} {L : Type u_5} [field K] [field L] [algebra K L] (pb : power_basis K L) [is_separable K L] :
theorem det_trace_form_ne_zero {K : Type u_4} {L : Type u_5} [field K] [field L] [algebra K L] {ι : Type w} [fintype ι] [is_separable K L] [decidable_eq ι] (b : basis ι K L) :
theorem trace_form_nondegenerate (K : Type u_4) (L : Type u_5) [field K] [field L] [algebra K L] [finite_dimensional K L] [is_separable K L] :