Isometries with respect to quadratic forms #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
Main definitions #
quadratic_form.isometry
:linear_equiv
s which map between two different quadratic formsquadratic_form.equvialent
: propositional version of the above
Main results #
equivalent_weighted_sum_squares
: in finite dimensions, any quadratic form is equivalent to a parametrization ofquadratic_form.weighted_sum_squares
.
An isometry between two quadratic spaces M₁, Q₁
and M₂, Q₂
over a ring R
,
is a linear equivalence between M₁
and M₂
that commutes with the quadratic forms.
Instances for quadratic_form.isometry
- quadratic_form.isometry.has_sizeof_inst
- quadratic_form.isometry.linear_equiv.has_coe
- quadratic_form.isometry.has_coe_to_fun
Two quadratic forms over a ring R
are equivalent
if there exists an isometry between them:
a linear equivalence that transforms one quadratic form into the other.
Equations
- Q₁.equivalent Q₂ = nonempty (Q₁.isometry Q₂)
The identity isometry from a quadratic form to itself.
Equations
- quadratic_form.isometry.refl Q = {to_linear_equiv := {to_fun := (linear_equiv.refl R M).to_fun, map_add' := _, map_smul' := _, inv_fun := (linear_equiv.refl R M).inv_fun, left_inv := _, right_inv := _}, map_app' := _}
The inverse isometry of an isometry between two quadratic forms.
The composition of two isometries between quadratic forms.
A quadratic form composed with a linear_equiv
is isometric to itself.
A quadratic form is isometric to its bases representations.
Equations
Given an orthogonal basis, a quadratic form is isometric with a weighted sum of squares.
Equations
- Q.isometry_weighted_sum_squares v hv₁ = let iso : Q.isometry (Q.basis_repr v) := Q.isometry_basis_repr v in {to_linear_equiv := ↑iso, map_app' := _}