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.PerfectPairing.Restrict

8 declarations. Mathlib docs · Source

Restriction to submodules and restriction of scalars for perfect pairings.

We provide API for restricting perfect pairings to submodules and for restricting their scalars.

Main definitions

  • PerfectPairing.restrict: restriction of a perfect pairing to submodules.
  • PerfectPairing.restrictScalars: restriction of scalars for a perfect pairing taking values in a subring.
  • PerfectPairing.restrictScalarsField: simultaneously restrict both the domains and scalars of a perfect pairing with coefficients in a field.

theorem LinearMap.restrictScalarsRange₂.congr_simp E1 #

∀ {R : Type u_1} {S : Type u_2} {M : Type u_3} {N : Type u_4} {P : Type u_5} {M' : Type u_6} {N' : Type u_7}
  {P' : Type u_8} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : SMul S R] [inst_3 : AddCommMonoid M]
  [inst_4 : Module R M] [inst_5 : AddCommMonoid N] [inst_6 : Module R N] [inst_7 : AddCommMonoid P]
  [inst_8 : Module R P] [inst_9 : Module S M] [inst_10 : Module S N] [inst_11 : Module S P]
  [inst_12 : IsScalarTower S R M] [inst_13 : IsScalarTower S R N] [inst_14 : IsScalarTower S R P]
  [inst_15 : AddCommMonoid M'] [inst_16 : Module S M'] [inst_17 : AddCommMonoid N'] [inst_18 : Module S N']
  [inst_19 : AddCommMonoid P'] [inst_20 : Module S P'] [inst_21 : SMulCommClass R S P] (i i_1 : M' →ₗ[S] M)
  (e_i : i = i_1) (j j_1 : N' →ₗ[S] N) (e_j : j = j_1) (k k_1 : P' →ₗ[S] P) (e_k : k = k_1) (hk : Function.Injective ⇑k)
  (B B_1 : M →ₗ[R] N →ₗ[R] P) (e_B : B = B_1) (hB : ∀ (m : M') (n : N'), (B (i m)) (j n) ∈ k.range),
  i.restrictScalarsRange₂ j k hk B hB = i_1.restrictScalarsRange₂ j_1 k_1 ⋯ B_1 ⋯

theorem LinearMap.IsPerfectCompl.congr_simp E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (p p_1 : M →ₗ[R] N →ₗ[R] R) (e_p : p = p_1) [inst_5 : p.IsPerfPair]
  (U U_1 : Submodule R M),
  U = U_1 → ∀ (V V_1 : Submodule R N), V = V_1 → p.IsPerfectCompl U V = p_1.IsPerfectCompl U_1 V_1

theorem LinearMap.IsPerfPair.restrict E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : AddCommGroup N] [inst_4 : Module R N] (p : M →ₗ[R] N →ₗ[R] R) [inst_5 : p.IsPerfPair] {M' : Type u_4}
  {N' : Type u_5} [inst_6 : AddCommGroup M'] [inst_7 : Module R M'] [inst_8 : AddCommGroup N'] [inst_9 : Module R N']
  (i : M' →ₗ[R] M) (j : N' →ₗ[R] N),
  Function.Injective ⇑i → Function.Injective ⇑j → p.IsPerfectCompl i.range j.range → (p.compl₁₂ i j).IsPerfPair

The restriction of a perfect pairing to submodules is a perfect pairing.

theorem LinearMap.IsPerfPair.restrictScalars E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : AddCommGroup N] [inst_4 : Module R N] (p : M →ₗ[R] N →ₗ[R] R) [inst_5 : p.IsPerfPair] {S : Type u_4}
  {M' : Type u_5} {N' : Type u_6} [inst_6 : CommRing S] [inst_7 : IsDomain S] [inst_8 : Algebra S R]
  [inst_9 : Module S M] [inst_10 : Module S N] [inst_11 : IsScalarTower S R M] [inst_12 : IsScalarTower S R N]
  [inst_13 : Module.IsTorsionFree S R] [inst_14 : Nontrivial R] [inst_15 : AddCommGroup M'] [inst_16 : Module S M']
  [inst_17 : AddCommGroup N'] [inst_18 : Module S N'] (i : M' →ₗ[S] M) (j : N' →ₗ[S] N),
  Function.Injective ⇑i →
    Function.Injective ⇑j →
      Submodule.span R ↑i.range = ⊤ →
        Submodule.span R ↑j.range = ⊤ →
          (∀ (g : Module.Dual S N'), ∃ m, ↑S (p.toPerfPair (i m)) ∘ₗ j = Algebra.linearMap S R ∘ₗ g) →
            (∀ (g : Module.Dual S M'), ∃ n, ↑S (p.flip.toPerfPair (j n)) ∘ₗ i = Algebra.linearMap S R ∘ₗ g) →
              ∀ (hp : ∀ (m : M') (n : N'), (p (i m)) (j n) ∈ (algebraMap S R).range),
                (i.restrictScalarsRange₂ j (Algebra.linearMap S R) ⋯ p hp).IsPerfPair

Restricting a perfect pairing to a subring of the scalars results in a perfect pairing.

theorem LinearMap.exists_basis_basis_of_span_eq_top_of_mem_algebraMap E1 #

∀ {K : Type u_1} {L : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [inst_3 : AddCommGroup M] [inst_4 : AddCommGroup N] [inst_5 : Module L M] [inst_6 : Module L N] [inst_7 : Module K M]
  [inst_8 : Module K N] [IsScalarTower K L M] (p : M →ₗ[L] N →ₗ[L] L) [p.IsPerfPair] (M' : Submodule K M)
  (N' : Submodule K N),
  Submodule.span L ↑M' = ⊤ →
    Submodule.span L ↑N' = ⊤ →
      (∀ x ∈ M', ∀ y ∈ N', (p x) y ∈ (algebraMap K L).range) → ∃ n b b', ∀ (i : Fin n), b i = ↑(b' i)

If a perfect pairing over a field L takes values in a subfield K along two K-subspaces whose L span is full, then these subspaces induce a K-structure in the sense of [Algebra I, Bourbaki : Chapter II, §8.1 Definition 1][bourbaki1989].

theorem LinearMap.finrank_eq_of_isPerfPair E1 #

∀ {K : Type u_1} {L : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [inst_3 : AddCommGroup M] [inst_4 : AddCommGroup N] [inst_5 : Module L M] [inst_6 : Module L N] [inst_7 : Module K M]
  [inst_8 : Module K N] [IsScalarTower K L M] (p : M →ₗ[L] N →ₗ[L] L) [p.IsPerfPair] (M' : Submodule K M)
  (N' : Submodule K N),
  Submodule.span L ↑M' = ⊤ →
    Submodule.span L ↑N' = ⊤ →
      (∀ x ∈ M', ∀ y ∈ N', (p x) y ∈ (algebraMap K L).range) → Module.finrank K ↥M' = Module.finrank L M

theorem LinearMap.IsPerfPair.restrictScalars_of_field E1 #

∀ {K : Type u_1} {L : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [inst_3 : AddCommGroup M] [inst_4 : AddCommGroup N] [inst_5 : Module L M] [inst_6 : Module L N] [inst_7 : Module K M]
  [inst_8 : Module K N] [inst_9 : IsScalarTower K L M] (p : M →ₗ[L] N →ₗ[L] L) [inst_10 : p.IsPerfPair] {M' : Type u_5}
  {N' : Type u_6} [inst_11 : AddCommGroup M'] [inst_12 : AddCommGroup N'] [inst_13 : Module K M']
  [inst_14 : Module K N'] [inst_15 : IsScalarTower K L N] (i : M' →ₗ[K] M) (j : N' →ₗ[K] N),
  Function.Injective ⇑i →
    Function.Injective ⇑j →
      p.IsPerfectCompl (Submodule.span L ↑i.range) (Submodule.span L ↑j.range) →
        ∀ (hp : ∀ (m : M') (n : N'), (p (i m)) (j n) ∈ (algebraMap K L).range),
          (i.restrictScalarsRange₂ j (Algebra.linearMap K L) ⋯ p hp).IsPerfPair

Simultaneously restrict both the domains and scalars of a perfect pairing with coefficients in a field.

theorem LinearMap.restrictScalarsField_apply_apply E0 #

∀ {K : Type u_1} {L : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [inst_3 : AddCommGroup M] [inst_4 : AddCommGroup N] [inst_5 : Module L M] [inst_6 : Module L N] [inst_7 : Module K M]
  [inst_8 : Module K N] [inst_9 : IsScalarTower K L M] (p : M →ₗ[L] N →ₗ[L] L) {M' : Type u_5} {N' : Type u_6}
  [inst_10 : AddCommGroup M'] [inst_11 : AddCommGroup N'] [inst_12 : Module K M'] [inst_13 : Module K N']
  [inst_14 : IsScalarTower K L N] (i : M' →ₗ[K] M) (j : N' →ₗ[K] N)
  (hp : ∀ (m : M') (n : N'), (p (i m)) (j n) ∈ (algebraMap K L).range) (x : M') (y : N'),
  (algebraMap K L) (((i.restrictScalarsRange₂ j (Algebra.linearMap K L) ⋯ p hp) x) y) = (p (i x)) (j y)