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 / V06. Rings, fields and ordered algebra

Mathlib.Algebra.QuadraticAlgebra.AlgHom

10 declarations. Mathlib docs · Source

theorem QuadraticAlgebra.toMatrix_algHom E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b a' b' : R} (f : QuadraticAlgebra R a b →ₐ[R] QuadraticAlgebra R a' b'),
  (LinearMap.toMatrix (QuadraticAlgebra.basis a b) (QuadraticAlgebra.basis a' b')) f.toLinearMap =
    !![1, (f QuadraticAlgebra.omega).re; 0, (f QuadraticAlgebra.omega).im]

The matrix of an algebra homomorphism f between quadratic algebras in the bases 1, ω is [1, (f ω).re; 0, (f ω).im] since f 1 = 1. In particular, its determinant is (f ω).im, see det_toMatrix_algHom.

theorem QuadraticAlgebra.det_toMatrix_algHom E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b a' b' : R} (f : QuadraticAlgebra R a b →ₐ[R] QuadraticAlgebra R a' b'),
  ((LinearMap.toMatrix (QuadraticAlgebra.basis a b) (QuadraticAlgebra.basis a' b')) f.toLinearMap).det =
    (f QuadraticAlgebra.omega).im

The determinant of an algebra homomorphism f between quadratic algebras, in the bases 1, ω, is (f ω).im.

theorem QuadraticAlgebra.isRegular_im_omega_iff_injective E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b a' b' : R} (f : QuadraticAlgebra R a b →ₐ[R] QuadraticAlgebra R a' b'),
  IsRegular (f QuadraticAlgebra.omega).im ↔ Function.Injective ⇑f

An algebra homomorphism f between quadratic algebras is injective exactly when (f ω).im is regular, which is the determinant of f in the bases 1, ω, see det_toMatrix_algHom.

theorem QuadraticAlgebra.isUnit_im_omega_iff_bijective E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b a' b' : R} (f : QuadraticAlgebra R a b →ₐ[R] QuadraticAlgebra R a' b'),
  IsUnit (f QuadraticAlgebra.omega).im ↔ Function.Bijective ⇑f

An algebra homomorphism f between quadratic algebras is bijective exactly when (f ω).im is a unit, the injective case being isRegular_im_omega_iff_injective.

theorem QuadraticAlgebra.isUnit_im_omega_of_algEquiv E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b a' b' : R} (e : QuadraticAlgebra R a b ≃ₐ[R] QuadraticAlgebra R a' b'),
  IsUnit (e QuadraticAlgebra.omega).im

Any R-algebra isomorphism between quadratic algebras sends ω to an element whose imaginary part is a unit.

theorem QuadraticAlgebra.trace_algHom_omega E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b a' b' : R} (f : QuadraticAlgebra R a b →ₐ[R] QuadraticAlgebra R a' b'),
  Function.Injective ⇑f → QuadraticAlgebra.trace (f QuadraticAlgebra.omega) = b

An injective algebra homomorphism sends ω to an element of trace b.

theorem QuadraticAlgebra.norm_algHom_omega E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b a' b' : R} (f : QuadraticAlgebra R a b →ₐ[R] QuadraticAlgebra R a' b'),
  Function.Injective ⇑f → QuadraticAlgebra.norm (f QuadraticAlgebra.omega) = -a

An injective algebra homomorphism sends ω to an element of norm -a.

theorem QuadraticAlgebra.trace_algHom E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b a' b' : R} (f : QuadraticAlgebra R a b →ₐ[R] QuadraticAlgebra R a' b'),
  Function.Injective ⇑f → ∀ (x : QuadraticAlgebra R a b), QuadraticAlgebra.trace (f x) = QuadraticAlgebra.trace x

An injective algebra homomorphism preserves traces.

theorem QuadraticAlgebra.algHom_star E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b a' b' : R} (f : QuadraticAlgebra R a b →ₐ[R] QuadraticAlgebra R a' b'),
  Function.Injective ⇑f → ∀ (x : QuadraticAlgebra R a b), f (star x) = star (f x)

An injective algebra homomorphism commutes with conjugation.

theorem QuadraticAlgebra.norm_algHom E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b a' b' : R} (f : QuadraticAlgebra R a b →ₐ[R] QuadraticAlgebra R a' b'),
  Function.Injective ⇑f → ∀ (x : QuadraticAlgebra R a b), QuadraticAlgebra.norm (f x) = QuadraticAlgebra.norm x

An injective algebra homomorphism preserves norms.