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 / V07. Linear algebra

Mathlib.LinearAlgebra.Basis.Prod

9 declarations. Mathlib docs · Source

def Module.Basis.prod E1 #

{ι : Type u_1} →
  {ι' : Type u_2} →
    {R : Type u_3} →
      {M : Type u_4} →
        {M' : Type u_5} →
          [inst : Semiring R] →
            [inst_1 : AddCommMonoid M] →
              [inst_2 : Module R M] →
                [inst_3 : AddCommMonoid M'] →
                  [inst_4 : Module R M'] → Module.Basis ι R M → Module.Basis ι' R M' → Module.Basis (ι ⊕ ι') R (M × M')

Basis.prod maps an ι-indexed basis for M and an ι'-indexed basis for M' to an ι ⊕ ι'-index basis for M × M'. For the specific case of R × R, see also Basis.finTwoProd.

theorem Module.Basis.prod_repr_inl E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} {M : Type u_4} {M' : Type u_5} [inst : Semiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M']
  (b : Module.Basis ι R M) (b' : Module.Basis ι' R M') (x : M × M') (i : ι),
  ((b.prod b').repr x) (Sum.inl i) = (b.repr x.1) i

theorem Module.Basis.prod_repr_inr E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} {M : Type u_4} {M' : Type u_5} [inst : Semiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M']
  (b : Module.Basis ι R M) (b' : Module.Basis ι' R M') (x : M × M') (i : ι'),
  ((b.prod b').repr x) (Sum.inr i) = (b'.repr x.2) i

theorem Module.Basis.prod_apply_inl_fst E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} {M : Type u_4} {M' : Type u_5} [inst : Semiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M']
  (b : Module.Basis ι R M) (b' : Module.Basis ι' R M') (i : ι), ((b.prod b') (Sum.inl i)).1 = b i

theorem Module.Basis.prod_apply_inr_fst E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} {M : Type u_4} {M' : Type u_5} [inst : Semiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M']
  (b : Module.Basis ι R M) (b' : Module.Basis ι' R M') (i : ι'), ((b.prod b') (Sum.inr i)).1 = 0

theorem Module.Basis.prod_apply_inl_snd E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} {M : Type u_4} {M' : Type u_5} [inst : Semiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M']
  (b : Module.Basis ι R M) (b' : Module.Basis ι' R M') (i : ι), ((b.prod b') (Sum.inl i)).2 = 0

theorem Module.Basis.prod_apply_inr_snd E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} {M : Type u_4} {M' : Type u_5} [inst : Semiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M']
  (b : Module.Basis ι R M) (b' : Module.Basis ι' R M') (i : ι'), ((b.prod b') (Sum.inr i)).2 = b' i

theorem Module.Basis.prod_apply E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} {M : Type u_4} {M' : Type u_5} [inst : Semiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M']
  (b : Module.Basis ι R M) (b' : Module.Basis ι' R M') (i : ι ⊕ ι'),
  (b.prod b') i = Sum.elim (⇑(LinearMap.inl R M M') ∘ ⇑b) (⇑(LinearMap.inr R M M') ∘ ⇑b') i

instance Module.Free.prod E0 #

∀ (R : Type u_6) (M : Type u_7) (N : Type u_8) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] [Module.Free R M] [Module.Free R N], Module.Free R (M × N)