Quadratic Algebra #
In this file we define the quadratic algebra QuadraticAlgebra R a b over a commutative ring R,
and define some algebraic structures on it.
Main definitions #
QuadraticAlgebra R a b: [Bourbaki, Algebra I][bourbaki1989] with coefficientsa,binR.
Warning #
If R is a ring, then QuadraticAlgebra a b is an R-algebra, and if R is of characteristic
zero then the same holds for QuadraticAlgebra a b. In particular, in the very common case where
R is ℚ and a and b are such that QuadraticAlgebra a b is a field, then
QuadraticAlgebra a b is a ℚ-algebra in two ways, that are not definitionally equal. This is a
known diamond for characteristic zero fields. If you are working in this setting you should start
your file with
attribute [-instance] DivisionRing.toRatAlgebra
to keep the CharZero instance but to avoid having two Algebra instances. (Note that all the
basic theorems about QuadraticAlgebra are stated using the general instance
Algebra R (QuadraticAlgebra a b), so you don't want to deactivate that one.)
Tags #
Quadratic algebra, quadratic extension
Quadratic algebra over a type with fixed coefficient where $i^2 = a + bi$, implemented as
a structure with two fields, re and im. When R is a commutative ring, this is isomorphic to
R[X]/(X^2-b*X-a).
- re : R
Real part of an element in quadratic algebra
- im : R
Imaginary part of an element in quadratic algebra
Instances For
Equations
Instances For
The equivalence between quadratic algebra over R and R × R.
Equations
Instances For
The natural function R → QuadraticAlgebra R a b.
Note that, if R is a ring, you should use algebraMap instead of C.
Equations
- QuadraticAlgebra.C x = { re := x, im := 0 }
Instances For
Alias of QuadraticAlgebra.C.
The natural function R → QuadraticAlgebra R a b.
Note that, if R is a ring, you should use algebraMap instead of C.
Equations
Instances For
Alias of QuadraticAlgebra.re_C.
Alias of QuadraticAlgebra.im_C.
Alias of QuadraticAlgebra.C_injective.
Alias of QuadraticAlgebra.C_inj.
Alias of QuadraticAlgebra.C_zero.
Alias of QuadraticAlgebra.C_eq_zero_iff.
Equations
- QuadraticAlgebra.instInhabited = { default := 0 }
Alias of QuadraticAlgebra.C_one.
Alias of QuadraticAlgebra.C_eq_one_iff.
Alias of QuadraticAlgebra.C_add.
Alias of QuadraticAlgebra.C_neg.
Alias of QuadraticAlgebra.C_sub.
Equations
- QuadraticAlgebra.instMulAction = { toSMul := QuadraticAlgebra.instSMul, mul_smul := ⋯, one_smul := ⋯ }
Alias of QuadraticAlgebra.C_smul.
Equations
- One or more equations did not get rendered due to their size.
Equations
- QuadraticAlgebra.instDistribMulAction = { toMulAction := QuadraticAlgebra.instMulAction, smul_zero := ⋯, smul_add := ⋯ }
Equations
- QuadraticAlgebra.instAddCommMonoid = { toAddMonoid := QuadraticAlgebra.instAddMonoid, add_comm := ⋯ }
Equations
- QuadraticAlgebra.instModule = { toDistribMulAction := QuadraticAlgebra.instDistribMulAction, add_smul := ⋯, zero_smul := ⋯ }
Equations
- One or more equations did not get rendered due to their size.
Equations
- QuadraticAlgebra.instAddCommGroup = { toAddGroup := QuadraticAlgebra.instAddGroup, add_comm := ⋯ }
Equations
- One or more equations did not get rendered due to their size.
Alias of QuadraticAlgebra.C_ofNat.
Alias of QuadraticAlgebra.C_natCast.
Equations
- One or more equations did not get rendered due to their size.
Alias of QuadraticAlgebra.C_intCast.
Equations
- One or more equations did not get rendered due to their size.
Alias of QuadraticAlgebra.C_mul_eq_smul.
Alias of QuadraticAlgebra.C_mul.
Equations
- One or more equations did not get rendered due to their size.
QuadraticAlgebra.re as a LinearMap
Equations
- QuadraticAlgebra.reₗ a b = { toFun := QuadraticAlgebra.re, map_add' := ⋯, map_smul' := ⋯ }
Instances For
QuadraticAlgebra.im as a LinearMap
Equations
- QuadraticAlgebra.imₗ a b = { toFun := QuadraticAlgebra.im, map_add' := ⋯, map_smul' := ⋯ }
Instances For
QuadraticAlgebra.equivTuple as a LinearEquiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
QuadraticAlgebra R a b has a basis over R given by 1 and i
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Alias of QuadraticAlgebra.C_pow.
Alias of QuadraticAlgebra.mul_C_eq_smul.
Alias of QuadraticAlgebra.C_eq_algebraMap.
Alias of QuadraticAlgebra.smul_C.
Alias of QuadraticAlgebra.algebraMap_dvd_iff.
Alias of QuadraticAlgebra.algebraMap_dvd_iff_dvd.
Equations
- One or more equations did not get rendered due to their size.