Complex number as a vector space over ℝ
#
This file contains the following instances:
- Any
•
-structure (SMul
,MulAction
,DistribMulAction
,Module
,Algebra
) onℝ
imbues a corresponding structure onℂ
. This includes the statement thatℂ
is anℝ
algebra. - any complex vector space is a real vector space;
- any finite dimensional complex vector space is a finite dimensional real vector space;
- the space of
ℝ
-linear maps from a real vector space to a complex vector space is a complex vector space.
It also defines bundled versions of four standard maps (respectively, the real part, the imaginary
part, the embedding of ℝ
in ℂ
, and the complex conjugate):
Complex.reLm
(ℝ
-linear map);Complex.imLm
(ℝ
-linear map);Complex.ofRealAm
(ℝ
-algebra (homo)morphism);Complex.conjAe
(ℝ
-algebra equivalence).
It also provides a universal property of the complex numbers Complex.lift
, which constructs a
ℂ →ₐ[ℝ] A
into any ℝ
-algebra A
given a square root of -1
.
In addition, this file provides a decomposition into realPart
and imaginaryPart
for any
element of a StarModule
over ℂ
.
Notation #
ℜ
andℑ
for therealPart
andimaginaryPart
, respectively, in the localeComplexStarModule
.
We need this lemma since Complex.coe_algebraMap
diverts the simp-normal form away from
AlgHom.commutes
.
Fact
version of the dimension of ℂ
over ℝ
, locally useful in the definition of the
circle.
The scalar action of ℝ
on a ℂ
-module E
induced by Module.complexToReal
commutes with
another scalar action of M
on E
whenever the action of ℂ
commutes with the action of M
.
The matrix representation of conjAe
.
The natural LinearEquiv
from ℂ
to ℝ × ℝ
.
Instances For
A universal property of the complex numbers, providing a unique ℂ →ₐ[ℝ] A
for every element
of A
which squares to -1
.
This can be used to embed the complex numbers in the Quaternion
s.
This isomorphism is named to match the very similar Zsqrtd.lift
.
Instances For
Create a selfAdjoint
element from a skewAdjoint
element by multiplying by the scalar
-Complex.I
.
Instances For
The real part ℜ a
of an element a
of a star module over ℂ
, as a linear map. This is just
selfAdjointPart ℝ
, but we provide it as a separate definition in order to link it with lemmas
concerning the imaginaryPart
, which doesn't exist in star modules over other rings.
Instances For
The imaginary part ℑ a
of an element a
of a star module over ℂ
, as a linear map into the
self adjoint elements. In a general star module, we have a decomposition into the selfAdjoint
and skewAdjoint
parts, but in a star module over ℂ
we have
realPart_add_I_smul_imaginaryPart
, which allows us to decompose into a linear combination of
selfAdjoint
s.
Instances For
The real part ℜ a
of an element a
of a star module over ℂ
, as a linear map. This is just
selfAdjointPart ℝ
, but we provide it as a separate definition in order to link it with lemmas
concerning the imaginaryPart
, which doesn't exist in star modules over other rings.
Instances For
The imaginary part ℑ a
of an element a
of a star module over ℂ
, as a linear map into the
self adjoint elements. In a general star module, we have a decomposition into the selfAdjoint
and skewAdjoint
parts, but in a star module over ℂ
we have
realPart_add_I_smul_imaginaryPart
, which allows us to decompose into a linear combination of
selfAdjoint
s.
Instances For
The standard decomposition of ℜ a + Complex.I • ℑ a = a
of an element of a star module over
ℂ
into a linear combination of self adjoint elements.
The natural ℝ
-linear equivalence between selfAdjoint ℂ
and ℝ
.