Documentation

Mathlib.RingTheory.QuadraticAlgebra

Ring-theoretic properties of quadratic algebras #

This file collects ring-theoretic properties of QuadraticAlgebra R a b as an R-algebra.

Main results #

The discriminant of the polynomial X ^ 2 - C b * X - C a is the discriminant discr a b of the quadratic algebra QuadraticAlgebra R a b.

theorem Algebra.leftMulMatrix_quadraticAlgebra {R : Type u_1} [CommRing R] {a b : R} (z : QuadraticAlgebra R a b) :
(leftMulMatrix (QuadraticAlgebra.basis a b)) z = !![z.re, a * z.im; z.im, z.re + b * z.im]

The matrix of left multiplication by z in the basis {1, ω}.

@[simp]

The algebra trace of QuadraticAlgebra R a b is the elementary trace.

@[simp]

The algebra norm of QuadraticAlgebra R a b is the elementary norm.

@[simp]

The Algebra.discr of the standard basis {1, ω} is the elementary discriminant.