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₁
is a module over the commutative semiringR₁
,M₂
is a module over the commutative ringR₂
.
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
- M.toBilin'Aux = 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.toMatrix₂Aux R₁ b b
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
- LinearMap.BilinForm.toMatrix' = LinearMap.toMatrix₂' R₁
Instances For
The linear equivalence between n × n
matrices and bilinear forms on n → R
Equations
- Matrix.toBilin' = LinearMap.BilinForm.toMatrix'.symm
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
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
- Matrix.toBilin b = (BilinForm.toMatrix b).symm
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