Bilinear form #
This file defines the conversion between bilinear forms and matrices.
Main definitions #
Matrix.toBilin
given a basis define a bilinear formMatrix.toBilin'
define the bilinear form onn → R
BilinForm.toMatrix
: calculate the matrix coefficients of a bilinear formBilinForm.toMatrix'
: calculate the matrix coefficients of a bilinear form onn → R
Notations #
In this file we use the following type variables:
M
,M'
, ... are modules over the commutative semiringR
,M₁
,M₁'
, ... are modules over the commutative ringR₁
,M₂
,M₂'
, ... are modules over the commutative semiringR₂
,M₃
,M₃'
, ... are modules over the commutative ringR₃
,V
, ... is a vector space over the fieldK
.
Tags #
bilinear form, bilin form, BilinearForm, matrix, basis
The map from Matrix n n R
to bilinear forms on n → R
.
This is an auxiliary definition for the equivalence Matrix.toBilin'
.
Equations
- Matrix.toBilin'Aux M = LinearMap.toBilin (Matrix.toLinearMap₂'Aux (RingHom.id R₂) (RingHom.id R₂) M)
Instances For
The linear map from bilinear forms to Matrix n n R
given an n
-indexed basis.
This is an auxiliary definition for the equivalence Matrix.toBilin'
.
Equations
- BilinForm.toMatrixAux b = LinearMap.comp (LinearMap.toMatrix₂Aux b b) BilinForm.toLinHom
Instances For
ToMatrix'
section #
This section deals with the conversion between matrices and bilinear forms on n → R₂
.
The linear equivalence between bilinear forms on n → R
and n × n
matrices
Equations
- BilinForm.toMatrix' = LinearEquiv.trans BilinForm.toLin LinearMap.toMatrix₂'
Instances For
The linear equivalence between n × n
matrices and bilinear forms on n → R
Equations
- Matrix.toBilin' = LinearEquiv.symm BilinForm.toMatrix'
Instances For
ToMatrix
section #
This section deals with the conversion between matrices and bilinear forms on a module with a fixed basis.
BilinForm.toMatrix b
is the equivalence between R
-bilinear forms on M
and
n
-by-n
matrices with entries in R
, if b
is an R
-basis for M
.
Equations
- BilinForm.toMatrix b = LinearEquiv.trans BilinForm.toLin (LinearMap.toMatrix₂ b b)
Instances For
BilinForm.toMatrix b
is the equivalence between R
-bilinear forms on M
and
n
-by-n
matrices with entries in R
, if b
is an R
-basis for M
.
Equations
Instances For
The submodule of pair-self-adjoint matrices with respect to bilinear forms corresponding to
given matrices J
, J₂
.
Equations
- pairSelfAdjointMatricesSubmodule' J J₃ = Submodule.map (↑LinearMap.toMatrix') (BilinForm.isPairSelfAdjointSubmodule (Matrix.toBilin' J) (Matrix.toBilin' J₃))
Instances For
The submodule of self-adjoint matrices with respect to the bilinear form corresponding to
the matrix J
.
Equations
Instances For
The submodule of skew-adjoint matrices with respect to the bilinear form corresponding to
the matrix J
.
Equations
Instances For
Lemmas transferring nondegeneracy between a bilinear form and its associated matrix
Some shorthands for combining the above with Matrix.nondegenerate_of_det_ne_zero