The areas / V08. Multilinear algebra and forms
Mathlib.LinearAlgebra.QuadraticForm.IsometryEquiv
34 declarations. Mathlib docs · Source
theorem QuadraticMap.IsometryEquiv.mk.injEq E0 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N} (toLinearEquiv : M₁ ≃ₗ[R] M₂)
(map_app' : ∀ (m : M₁), Q₂ ((↑toLinearEquiv).toFun m) = Q₁ m) (toLinearEquiv_1 : M₁ ≃ₗ[R] M₂)
(map_app'_1 : ∀ (m : M₁), Q₂ ((↑toLinearEquiv_1).toFun m) = Q₁ m),
({ toLinearEquiv := toLinearEquiv, map_app' := map_app' } =
{ toLinearEquiv := toLinearEquiv_1, map_app' := map_app'_1 }) =
(toLinearEquiv = toLinearEquiv_1)
theorem QuadraticMap.IsometryEquiv.mk.inj E1 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} {inst : CommSemiring R} {inst_1 : AddCommMonoid M₁}
{inst_2 : AddCommMonoid M₂} {inst_3 : AddCommMonoid N} {inst_4 : Module R M₁} {inst_5 : Module R M₂}
{inst_6 : Module R N} {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N} {toLinearEquiv : M₁ ≃ₗ[R] M₂}
{map_app' : ∀ (m : M₁), Q₂ ((↑toLinearEquiv).toFun m) = Q₁ m} {toLinearEquiv_1 : M₁ ≃ₗ[R] M₂}
{map_app'_1 : ∀ (m : M₁), Q₂ ((↑toLinearEquiv_1).toFun m) = Q₁ m},
{ toLinearEquiv := toLinearEquiv, map_app' := map_app' } =
{ toLinearEquiv := toLinearEquiv_1, map_app' := map_app'_1 } →
toLinearEquiv = toLinearEquiv_1
theorem QuadraticMap.weightedSumSquares.congr_simp E1 #
∀ {S : Type u_1} (R : Type u_3) [inst : CommSemiring R] {ι : Type u_8} [inst_1 : Fintype ι] [inst_2 : Monoid S]
[inst_3 : DistribMulAction S R] [inst_4 : SMulCommClass S R R] (w w_1 : ι → S),
w = w_1 → QuadraticMap.weightedSumSquares R w = QuadraticMap.weightedSumSquares R w_1
def QuadraticMap.IsometryEquiv.ctorIdx E1 #
{R : Type u_2} →
{M₁ : Type u_5} →
{M₂ : Type u_6} →
{N : Type u_9} →
{inst : CommSemiring R} →
{inst_1 : AddCommMonoid M₁} →
{inst_2 : AddCommMonoid M₂} →
{inst_3 : AddCommMonoid N} →
{inst_4 : Module R M₁} →
{inst_5 : Module R M₂} →
{inst_6 : Module R N} →
{Q₁ : QuadraticMap R M₁ N} → {Q₂ : QuadraticMap R M₂ N} → Q₁.IsometryEquiv Q₂ → ℕ
theorem QuadraticMap.IsometryEquiv.mk.congr_simp E1 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N}
(toLinearEquiv toLinearEquiv_1 : M₁ ≃ₗ[R] M₂) (e_toLinearEquiv : toLinearEquiv = toLinearEquiv_1)
(map_app' : ∀ (m : M₁), Q₂ ((↑toLinearEquiv).toFun m) = Q₁ m),
{ toLinearEquiv := toLinearEquiv, map_app' := map_app' } = { toLinearEquiv := toLinearEquiv_1, map_app' := ⋯ }
structure QuadraticMap.IsometryEquiv E1 #
{R : Type u_2} →
{M₁ : Type u_5} →
{M₂ : Type u_6} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M₁] →
[inst_2 : AddCommMonoid M₂] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R M₁] →
[inst_5 : Module R M₂] →
[inst_6 : Module R N] → QuadraticMap R M₁ N → QuadraticMap R M₂ N → Type (max u_5 u_6)
An isometric equivalence 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.
ctor QuadraticMap.IsometryEquiv.mk E0 #
{R : Type u_2} →
{M₁ : Type u_5} →
{M₂ : Type u_6} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M₁] →
[inst_2 : AddCommMonoid M₂] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R M₁] →
[inst_5 : Module R M₂] →
[inst_6 : Module R N] →
{Q₁ : QuadraticMap R M₁ N} →
{Q₂ : QuadraticMap R M₂ N} →
(toLinearEquiv : M₁ ≃ₗ[R] M₂) →
(∀ (m : M₁), Q₂ ((↑toLinearEquiv).toFun m) = Q₁ m) → Q₁.IsometryEquiv Q₂
abbrev QuadraticMap.IsometryEquiv.toLinearEquiv E1 #
{R : Type u_2} →
{M₁ : Type u_5} →
{M₂ : Type u_6} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M₁] →
[inst_2 : AddCommMonoid M₂] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R M₁] →
[inst_5 : Module R M₂] →
[inst_6 : Module R N] →
{Q₁ : QuadraticMap R M₁ N} → {Q₂ : QuadraticMap R M₂ N} → Q₁.IsometryEquiv Q₂ → M₁ ≃ₗ[R] M₂
theorem QuadraticMap.IsometryEquiv.map_app' E0 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N} (self : Q₁.IsometryEquiv Q₂) (m : M₁),
Q₂ ((↑self.toLinearEquiv).toFun m) = Q₁ m
def QuadraticMap.Equivalent E1 #
{R : Type u_2} →
{M₁ : Type u_5} →
{M₂ : Type u_6} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M₁] →
[inst_2 : AddCommMonoid M₂] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R M₁] →
[inst_5 : Module R M₂] → [inst_6 : Module R N] → QuadraticMap R M₁ N → QuadraticMap R M₂ N → Prop
Two quadratic forms over a ring R are equivalent
if there exists an isometric equivalence between them:
a linear equivalence that transforms one quadratic form into the other.
instance QuadraticMap.IsometryEquiv.instEquivLike E0 #
{R : Type u_2} →
{M₁ : Type u_5} →
{M₂ : Type u_6} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M₁] →
[inst_2 : AddCommMonoid M₂] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R M₁] →
[inst_5 : Module R M₂] →
[inst_6 : Module R N] →
{Q₁ : QuadraticMap R M₁ N} → {Q₂ : QuadraticMap R M₂ N} → EquivLike (Q₁.IsometryEquiv Q₂) M₁ M₂
instance QuadraticMap.IsometryEquiv.instLinearEquivClass E0 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N},
LinearEquivClass (Q₁.IsometryEquiv Q₂) R M₁ M₂
instance QuadraticMap.IsometryEquiv.instCoeOutLinearEquivId E0 #
{R : Type u_2} →
{M₁ : Type u_5} →
{M₂ : Type u_6} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M₁] →
[inst_2 : AddCommMonoid M₂] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R M₁] →
[inst_5 : Module R M₂] →
[inst_6 : Module R N] →
{Q₁ : QuadraticMap R M₁ N} →
{Q₂ : QuadraticMap R M₂ N} → CoeOut (Q₁.IsometryEquiv Q₂) (M₁ ≃ₗ[R] M₂)
theorem QuadraticMap.IsometryEquiv.coe_toLinearEquiv E0 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N} (f : Q₁.IsometryEquiv Q₂),
⇑f.toLinearEquiv = ⇑f
theorem QuadraticMap.IsometryEquiv.map_app E0 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N} (f : Q₁.IsometryEquiv Q₂) (m : M₁),
Q₂ (f m) = Q₁ m
def QuadraticMap.IsometryEquiv.refl E1 #
{R : Type u_2} →
{M : Type u_4} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] → [inst_4 : Module R N] → (Q : QuadraticMap R M N) → Q.IsometryEquiv Q
The identity isometric equivalence between a quadratic form and itself.
def QuadraticMap.IsometryEquiv.symm E1 #
{R : Type u_2} →
{M₁ : Type u_5} →
{M₂ : Type u_6} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M₁] →
[inst_2 : AddCommMonoid M₂] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R M₁] →
[inst_5 : Module R M₂] →
[inst_6 : Module R N] →
{Q₁ : QuadraticMap R M₁ N} →
{Q₂ : QuadraticMap R M₂ N} → Q₁.IsometryEquiv Q₂ → Q₂.IsometryEquiv Q₁
The inverse isometric equivalence of an isometric equivalence between two quadratic forms.
def QuadraticMap.IsometryEquiv.trans E1 #
{R : Type u_2} →
{M₁ : Type u_5} →
{M₂ : Type u_6} →
{M₃ : Type u_7} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M₁] →
[inst_2 : AddCommMonoid M₂] →
[inst_3 : AddCommMonoid M₃] →
[inst_4 : AddCommMonoid N] →
[inst_5 : Module R M₁] →
[inst_6 : Module R M₂] →
[inst_7 : Module R M₃] →
[inst_8 : Module R N] →
{Q₁ : QuadraticMap R M₁ N} →
{Q₂ : QuadraticMap R M₂ N} →
{Q₃ : QuadraticMap R M₃ N} →
Q₁.IsometryEquiv Q₂ → Q₂.IsometryEquiv Q₃ → Q₁.IsometryEquiv Q₃
The composition of two isometric equivalences between quadratic forms.
def QuadraticMap.IsometryEquiv.toIsometry E1 #
{R : Type u_2} →
{M₁ : Type u_5} →
{M₂ : Type u_6} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M₁] →
[inst_2 : AddCommMonoid M₂] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R M₁] →
[inst_5 : Module R M₂] →
[inst_6 : Module R N] →
{Q₁ : QuadraticMap R M₁ N} → {Q₂ : QuadraticMap R M₂ N} → Q₁.IsometryEquiv Q₂ → Q₁ →qᵢ Q₂
Isometric equivalences are isometric maps
theorem QuadraticMap.IsometryEquiv.toIsometry_apply E0 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N} (g : Q₁.IsometryEquiv Q₂) (x : M₁),
g.toIsometry x = g x
theorem QuadraticMap.IsometryEquiv.apply_symm_apply E0 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N} (f : Q₁.IsometryEquiv Q₂) (x : M₂),
f (f.symm x) = x
theorem QuadraticMap.IsometryEquiv.symm_apply_apply E0 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N} (f : Q₁.IsometryEquiv Q₂) (x : M₁),
f.symm (f x) = x
theorem QuadraticMap.IsometryEquiv.symm_apply_eq E0 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N} (f : Q₁.IsometryEquiv Q₂) {x : M₂}
{y : M₁}, f.symm x = y ↔ x = f y
theorem QuadraticMap.IsometryEquiv.coe_symm_toLinearEquiv E0 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N} (f : Q₁.IsometryEquiv Q₂),
f.symm = f.symm.toLinearEquiv
theorem QuadraticMap.Equivalent.refl E1 #
∀ {R : Type u_2} {M : Type u_4} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (Q : QuadraticMap R M N), Q.Equivalent Q
theorem QuadraticMap.Equivalent.symm E1 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {N : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
[inst_6 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N}, Q₁.Equivalent Q₂ → Q₂.Equivalent Q₁
theorem QuadraticMap.Equivalent.trans E1 #
∀ {R : Type u_2} {M₁ : Type u_5} {M₂ : Type u_6} {M₃ : Type u_7} {N : Type u_9} [inst : CommSemiring R]
[inst_1 : AddCommMonoid M₁] [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid N]
[inst_5 : Module R M₁] [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R N] {Q₁ : QuadraticMap R M₁ N}
{Q₂ : QuadraticMap R M₂ N} {Q₃ : QuadraticMap R M₃ N}, Q₁.Equivalent Q₂ → Q₂.Equivalent Q₃ → Q₁.Equivalent Q₃
def QuadraticMap.isometryEquivOfCompLinearEquiv E1 #
{R : Type u_2} →
{M : Type u_4} →
{M₁ : Type u_5} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid M₁] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R M] →
[inst_5 : Module R M₁] →
[inst_6 : Module R N] → (Q : QuadraticMap R M N) → (f : M₁ ≃ₗ[R] M) → Q.IsometryEquiv (Q.comp ↑f)
A quadratic form composed with a LinearEquiv is isometric to itself.
def QuadraticMap.isometryEquivBasisRepr E1 #
{ι : Type u_1} →
{R : Type u_2} →
{M : Type u_4} →
{N : Type u_9} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] →
[inst_4 : Module R N] →
[inst_5 : Finite ι] →
(Q : QuadraticMap R M N) → (v : Module.Basis ι R M) → Q.IsometryEquiv (Q.basisRepr v)
A quadratic form is isometrically equivalent to its bases representations.
def QuadraticForm.isometryEquivWeightedSumSquares E1 #
{K : Type u_3} →
{V : Type u_8} →
[inst : Field K] →
[inst_1 : Invertible 2] →
[inst_2 : AddCommGroup V] →
[inst_3 : Module K V] →
(Q : QuadraticForm K V) →
(v : Module.Basis (Fin (Module.finrank K V)) K V) →
LinearMap.IsOrthoᵢ (QuadraticMap.associated Q) ⇑v →
QuadraticMap.IsometryEquiv Q (QuadraticMap.weightedSumSquares K fun i ↦ Q (v i))
Given an orthogonal basis, a quadratic form is isometrically equivalent with a weighted sum of squares.
theorem QuadraticForm.equivalent_weightedSumSquares E1 #
∀ {K : Type u_3} {V : Type u_8} [inst : Field K] [Invertible 2] [inst_2 : AddCommGroup V] [inst_3 : Module K V]
[FiniteDimensional K V] (Q : QuadraticForm K V), ∃ w, QuadraticMap.Equivalent Q (QuadraticMap.weightedSumSquares K w)
theorem QuadraticForm.equivalent_weightedSumSquares_units_of_nondegenerate' E1 #
∀ {K : Type u_3} {V : Type u_8} [inst : Field K] [inst_1 : Invertible 2] [inst_2 : AddCommGroup V] [inst_3 : Module K V]
[FiniteDimensional K V] (Q : QuadraticForm K V),
LinearMap.SeparatingLeft (QuadraticMap.associated Q) →
∃ w, QuadraticMap.Equivalent Q (QuadraticMap.weightedSumSquares K w)
def QuadraticForm.weightedSumSquaresCongr E1 #
{ι : Type u_10} →
{S : Type u_11} →
{R : Type u_12} →
[inst : Fintype ι] →
[inst_1 : CommSemiring R] →
[inst_2 : Monoid S] →
[inst_3 : DistribMulAction S R] →
[inst_4 : SMulCommClass S R R] →
{w w' : ι → S} →
w = w' → (QuadraticMap.weightedSumSquares R w).IsometryEquiv (QuadraticMap.weightedSumSquares R w')
The isometry between two weighted sum of squares of equal weights.
def QuadraticForm.isometryEquivWeightedSumSquaresWeightedSumSquares E1 #
{ι : Type u_10} →
{S : Type u_11} →
{R : Type u_12} →
[inst : Fintype ι] →
[inst_1 : CommSemiring R] →
[inst_2 : Monoid S] →
[inst_3 : DistribMulAction S R] →
[inst_4 : SMulCommClass S R R] →
[IsScalarTower S R R] →
{w w' : ι → S} →
(u : ι → Sˣ) →
(∀ (i : ι), w' i * ↑(u i) ^ 2 = w i) →
(QuadraticMap.weightedSumSquares R w).IsometryEquiv (QuadraticMap.weightedSumSquares R w')
The isometry between two weighted sum of squares, give that each weight is scaled by the square of a unit.