The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V08. Multilinear algebra and forms

Mathlib.LinearAlgebra.QuadraticForm.Isometry

30 declarations. Mathlib docs · Source

Isometric linear maps

Main definitions

  • QuadraticMap.Isometry: LinearMaps which map between two different quadratic forms

Notation

Q₁ →qᵢ Q₂ is notation for Q₁.Isometry Q₂.

def QuadraticMap.Isometry.ctorIdx E1 #

{R : Type u_1} →
  {M₁ : Type u_3} →
    {M₂ : Type u_4} →
      {N : Type u_7} →
        {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₁ →qᵢ Q₂) → ℕ

theorem QuadraticMap.Isometry.mk.inj E1 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} {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} {toLinearMap : M₁ →ₗ[R] M₂}
  {map_app' : ∀ (m : M₁), Q₂ (toLinearMap.toFun m) = Q₁ m} {toLinearMap_1 : M₁ →ₗ[R] M₂}
  {map_app'_1 : ∀ (m : M₁), Q₂ (toLinearMap_1.toFun m) = Q₁ m},
  { toLinearMap := toLinearMap, map_app' := map_app' } = { toLinearMap := toLinearMap_1, map_app' := map_app'_1 } →
    toLinearMap = toLinearMap_1

theorem QuadraticMap.Isometry.mk.injEq E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} [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} (toLinearMap : M₁ →ₗ[R] M₂)
  (map_app' : ∀ (m : M₁), Q₂ (toLinearMap.toFun m) = Q₁ m) (toLinearMap_1 : M₁ →ₗ[R] M₂)
  (map_app'_1 : ∀ (m : M₁), Q₂ (toLinearMap_1.toFun m) = Q₁ m),
  ({ toLinearMap := toLinearMap, map_app' := map_app' } = { toLinearMap := toLinearMap_1, map_app' := map_app'_1 }) =
    (toLinearMap = toLinearMap_1)

structure QuadraticMap.Isometry E3 #

{R : Type u_1} →
  {M₁ : Type u_3} →
    {M₂ : Type u_4} →
      {N : Type u_7} →
        [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_3 u_4)

An isometry between two quadratic spaces M₁, Q₁ and M₂, Q₂ over a ring R, is a linear map between M₁ and M₂ that commutes with the quadratic forms.

ctor QuadraticMap.Isometry.mk E0 #

{R : Type u_1} →
  {M₁ : Type u_3} →
    {M₂ : Type u_4} →
      {N : Type u_7} →
        [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} →
                          (toLinearMap : M₁ →ₗ[R] M₂) → (∀ (m : M₁), Q₂ (toLinearMap.toFun m) = Q₁ m) → Q₁ →qᵢ Q₂

abbrev QuadraticMap.Isometry.toLinearMap E1 #

{R : Type u_1} →
  {M₁ : Type u_3} →
    {M₂ : Type u_4} →
      {N : Type u_7} →
        [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₁ →qᵢ Q₂) → M₁ →ₗ[R] M₂

theorem QuadraticMap.Isometry.map_app' E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} [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₁ →qᵢ Q₂) (m : M₁),
  Q₂ (self.toFun m) = Q₁ m

The quadratic form agrees across the map.

def QuadraticMap.Isometry.«term_→qᵢ_» E1 #

Lean.TrailingParserDescr

An isometry between two quadratic spaces M₁, Q₁ and M₂, Q₂ over a ring R, is a linear map between M₁ and M₂ that commutes with the quadratic forms.

instance QuadraticMap.Isometry.instFunLike E0 #

{R : Type u_1} →
  {M₁ : Type u_3} →
    {M₂ : Type u_4} →
      {N : Type u_7} →
        [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} → FunLike (Q₁ →qᵢ Q₂) M₁ M₂

instance QuadraticMap.Isometry.instLinearMapClass E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} [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}, LinearMapClass (Q₁ →qᵢ Q₂) R M₁ M₂

theorem QuadraticMap.Isometry.toLinearMap_injective E1 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} [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},
  Function.Injective QuadraticMap.Isometry.toLinearMap

theorem QuadraticMap.Isometry.ext_iff E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} [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 g : Q₁ →qᵢ Q₂},
  f = g ↔ ∀ (x : M₁), f x = g x

theorem QuadraticMap.Isometry.ext E1 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} [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 g : Q₁ →qᵢ Q₂⦄,
  (∀ (x : M₁), f x = g x) → f = g

def QuadraticMap.Isometry.Simps.apply E1 #

{R : Type u_1} →
  {M₁ : Type u_3} →
    {M₂ : Type u_4} →
      {N : Type u_7} →
        [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₁ →qᵢ Q₂) → M₁ → M₂

See Note [custom simps projection].

theorem QuadraticMap.Isometry.map_app E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} [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₁ →qᵢ Q₂) (m : M₁), Q₂ (f m) = Q₁ m

theorem QuadraticMap.Isometry.coe_toLinearMap E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} [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₁ →qᵢ Q₂), ⇑f.toLinearMap = ⇑f

def QuadraticMap.Isometry.id E1 #

{R : Type u_1} →
  {M : Type u_2} →
    {N : Type u_7} →
      [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 →qᵢ Q

The identity isometry from a quadratic form to itself.

theorem QuadraticMap.Isometry.id_apply E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_7} [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) (x : M),
  (QuadraticMap.Isometry.id Q) x = x

def QuadraticMap.Isometry.ofEq E1 #

{R : Type u_1} →
  {M₁ : Type u_3} →
    {N : Type u_7} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M₁] →
          [inst_2 : AddCommMonoid N] →
            [inst_3 : Module R M₁] → [inst_4 : Module R N] → {Q₁ Q₂ : QuadraticMap R M₁ N} → Q₁ = Q₂ → Q₁ →qᵢ Q₂

The identity isometry between equal quadratic forms.

theorem QuadraticMap.Isometry.ofEq_apply E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {N : Type u_7} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid N] [inst_3 : Module R M₁] [inst_4 : Module R N] {Q₁ Q₂ : QuadraticMap R M₁ N} (h : Q₁ = Q₂)
  (x : M₁), (QuadraticMap.Isometry.ofEq h) x = x

theorem QuadraticMap.Isometry.ofEq_rfl E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {N : Type u_7} [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},
  QuadraticMap.Isometry.ofEq ⋯ = QuadraticMap.Isometry.id Q

def QuadraticMap.Isometry.comp E1 #

{R : Type u_1} →
  {M₁ : Type u_3} →
    {M₂ : Type u_4} →
      {M₃ : Type u_5} →
        {N : Type u_7} →
          [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₂ →qᵢ Q₃) → (Q₁ →qᵢ Q₂) → Q₁ →qᵢ Q₃

The composition of two isometries between quadratic forms.

theorem QuadraticMap.Isometry.comp_apply E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {M₃ : Type u_5} {N : Type u_7} [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} (g : Q₂ →qᵢ Q₃) (f : Q₁ →qᵢ Q₂) (x : M₁), (g.comp f) x = g (f x)

theorem QuadraticMap.Isometry.toLinearMap_comp E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {M₃ : Type u_5} {N : Type u_7} [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} (g : Q₂ →qᵢ Q₃) (f : Q₁ →qᵢ Q₂),
  (g.comp f).toLinearMap = g.toLinearMap ∘ₗ f.toLinearMap

theorem QuadraticMap.Isometry.id_comp E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} [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₁ →qᵢ Q₂),
  (QuadraticMap.Isometry.id Q₂).comp f = f

theorem QuadraticMap.Isometry.comp_id E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} [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₁ →qᵢ Q₂),
  f.comp (QuadraticMap.Isometry.id Q₁) = f

theorem QuadraticMap.Isometry.comp_assoc E1 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {M₃ : Type u_5} {M₄ : Type u_6} {N : Type u_7} [inst : CommSemiring R]
  [inst_1 : AddCommMonoid M₁] [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄]
  [inst_5 : AddCommMonoid N] [inst_6 : Module R M₁] [inst_7 : Module R M₂] [inst_8 : Module R M₃] [inst_9 : Module R M₄]
  [inst_10 : Module R N] {Q₁ : QuadraticMap R M₁ N} {Q₂ : QuadraticMap R M₂ N} {Q₃ : QuadraticMap R M₃ N}
  {Q₄ : QuadraticMap R M₄ N} (h : Q₃ →qᵢ Q₄) (g : Q₂ →qᵢ Q₃) (f : Q₁ →qᵢ Q₂), (h.comp g).comp f = h.comp (g.comp f)

instance QuadraticMap.Isometry.instZeroOfNat E0 #

{R : Type u_1} →
  {M₁ : Type u_3} →
    {M₂ : Type u_4} →
      {N : Type u_7} →
        [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} → Zero (0 →qᵢ Q₂)

There is a zero map from any module with the zero form.

instance QuadraticMap.Isometry.hasZeroOfSubsingleton E0 #

{R : Type u_1} →
  {M₁ : Type u_3} →
    {M₂ : Type u_4} →
      {N : Type u_7} →
        [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} → [Subsingleton M₁] → Zero (Q₁ →qᵢ Q₂)

There is a zero map from the trivial module.

instance QuadraticMap.Isometry.instSubsingleton E0 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} {N : Type u_7} [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} [Subsingleton M₂],
  Subsingleton (Q₁ →qᵢ Q₂)

Maps into the zero module are trivial