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.Algebra.Module.Pi

19 declarations. Mathlib docs · Source

theorem IsSMulRegular.pi E1 #

∀ {I : Type u} {f : I → Type v} {α : Type u_1} [inst : (i : I) → SMul α (f i)] {k : α},
  (∀ (i : I), IsSMulRegular (f i) k) → IsSMulRegular ((i : I) → f i) k

instance Pi.module E0 #

(I : Type u) →
  (f : I → Type v) →
    (α : Type u_1) →
      {r : Semiring α} → {m : (i : I) → AddCommMonoid (f i)} → [(i : I) → Module α (f i)] → Module α ((i : I) → f i)

instance Pi.Function.module E0 #

(I : Type u) →
  (α : Type u_1) → (β : Type u_2) → [inst : Semiring α] → [inst_1 : AddCommMonoid β] → [Module α β] → Module α (I → β)

A special case of Pi.module for non-dependent types. Lean struggles to elaborate definitions elsewhere in the library without this.

instance Pi.module' E0 #

{I : Type u} →
  {f : I → Type v} →
    {g : I → Type u_1} →
      {r : (i : I) → Semiring (f i)} →
        {m : (i : I) → AddCommMonoid (g i)} → [(i : I) → Module (f i) (g i)] → Module ((i : I) → f i) ((i : I) → g i)

def LinearMap.pi E3 #

{R : Type u_1} →
  {M₂ : Type u_3} →
    {ι : Type u_5} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M₂] →
          [inst_2 : Module R M₂] →
            {φ : ι → Type u_7} →
              [inst_3 : (i : ι) → AddCommMonoid (φ i)] →
                [inst_4 : (i : ι) → Module R (φ i)] → ((i : ι) → M₂ →ₗ[R] φ i) → M₂ →ₗ[R] (i : ι) → φ i

pi construction for linear functions. From a family of linear functions it produces a linear function into a family of modules.

theorem LinearMap.pi_apply E0 #

∀ {R : Type u_1} {M₂ : Type u_3} {ι : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M₂] [inst_2 : Module R M₂]
  {φ : ι → Type u_7} [inst_3 : (i : ι) → AddCommMonoid (φ i)] [inst_4 : (i : ι) → Module R (φ i)]
  (f : (i : ι) → M₂ →ₗ[R] φ i) (c : M₂) (i : ι), (LinearMap.pi f) c i = (f i) c

theorem LinearMap.pi_eq_zero E1 #

∀ {R : Type u_1} {M₂ : Type u_3} {ι : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M₂] [inst_2 : Module R M₂]
  {φ : ι → Type u_7} [inst_3 : (i : ι) → AddCommMonoid (φ i)] [inst_4 : (i : ι) → Module R (φ i)]
  (f : (i : ι) → M₂ →ₗ[R] φ i), LinearMap.pi f = 0 ↔ ∀ (i : ι), f i = 0

theorem LinearMap.pi_zero E1 #

∀ {R : Type u_1} {M₂ : Type u_3} {ι : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M₂] [inst_2 : Module R M₂]
  {φ : ι → Type u_7} [inst_3 : (i : ι) → AddCommMonoid (φ i)] [inst_4 : (i : ι) → Module R (φ i)],
  (LinearMap.pi fun x ↦ 0) = 0

theorem LinearMap.pi_comp E1 #

∀ {R : Type u_1} {M₂ : Type u_3} {M₃ : Type u_4} {ι : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M₂]
  [inst_2 : Module R M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M₃] {φ : ι → Type u_7}
  [inst_5 : (i : ι) → AddCommMonoid (φ i)] [inst_6 : (i : ι) → Module R (φ i)] (f : (i : ι) → M₂ →ₗ[R] φ i)
  (g : M₃ →ₗ[R] M₂), LinearMap.pi f ∘ₗ g = LinearMap.pi fun i ↦ f i ∘ₗ g

def LinearMap.const E1 #

{R : Type u_1} →
  {M₂ : Type u_3} →
    {ι : Type u_5} → [inst : Semiring R] → [inst_1 : AddCommMonoid M₂] → [inst_2 : Module R M₂] → M₂ →ₗ[R] ι → M₂

The constant linear map, taking x to Function.const ι x.

theorem LinearMap.const_apply E0 #

∀ {R : Type u_1} {M₂ : Type u_3} {ι : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M₂] [inst_2 : Module R M₂]
  (x : M₂), LinearMap.const x = Function.const ι x

def LinearMap.proj E3 #

{R : Type u_1} →
  {ι : Type u_5} →
    [inst : Semiring R] →
      {φ : ι → Type u_7} →
        [inst_1 : (i : ι) → AddCommMonoid (φ i)] →
          [inst_2 : (i : ι) → Module R (φ i)] → (i : ι) → ((i : ι) → φ i) →ₗ[R] φ i

The projections from a family of modules are linear maps.

Note: this definition would be called Pi.evalLinearMap if we followed the pattern established by Pi.evalAddHom, Pi.evalMonoidHom, Pi.evalRingHom, ...

theorem LinearMap.coe_proj E0 #

∀ {R : Type u_1} {ι : Type u_5} [inst : Semiring R] {φ : ι → Type u_7} [inst_1 : (i : ι) → AddCommMonoid (φ i)]
  [inst_2 : (i : ι) → Module R (φ i)] (i : ι), ⇑(LinearMap.proj i) = Function.eval i

theorem LinearMap.toAddMonoidHom_proj E0 #

∀ {R : Type u_1} {ι : Type u_5} [inst : Semiring R] {φ : ι → Type u_7} [inst_1 : (i : ι) → AddCommMonoid (φ i)]
  [inst_2 : (i : ι) → Module R (φ i)] (i : ι), (LinearMap.proj i).toAddMonoidHom = Pi.evalAddMonoidHom φ i

theorem LinearMap.proj_apply E0 #

∀ {R : Type u_1} {ι : Type u_5} [inst : Semiring R] {φ : ι → Type u_7} [inst_1 : (i : ι) → AddCommMonoid (φ i)]
  [inst_2 : (i : ι) → Module R (φ i)] (i : ι) (b : (i : ι) → φ i), (LinearMap.proj i) b = b i

theorem LinearMap.proj_pi E0 #

∀ {R : Type u_1} {M₂ : Type u_3} {ι : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M₂] [inst_2 : Module R M₂]
  {φ : ι → Type u_7} [inst_3 : (i : ι) → AddCommMonoid (φ i)] [inst_4 : (i : ι) → Module R (φ i)]
  (f : (i : ι) → M₂ →ₗ[R] φ i) (i : ι), LinearMap.proj i ∘ₗ LinearMap.pi f = f i

theorem LinearMap.pi_proj E0 #

∀ {R : Type u_1} {ι : Type u_5} [inst : Semiring R] {φ : ι → Type u_7} [inst_1 : (i : ι) → AddCommMonoid (φ i)]
  [inst_2 : (i : ι) → Module R (φ i)], LinearMap.pi LinearMap.proj = LinearMap.id

theorem LinearMap.pi_proj_comp E0 #

∀ {R : Type u_1} {M₂ : Type u_3} {ι : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M₂] [inst_2 : Module R M₂]
  {φ : ι → Type u_7} [inst_3 : (i : ι) → AddCommMonoid (φ i)] [inst_4 : (i : ι) → Module R (φ i)]
  (f : M₂ →ₗ[R] (i : ι) → φ i), (LinearMap.pi fun x ↦ LinearMap.proj x ∘ₗ f) = f

theorem LinearMap.proj_surjective E1 #

∀ {R : Type u_1} {ι : Type u_5} [inst : Semiring R] {φ : ι → Type u_7} [inst_1 : (i : ι) → AddCommMonoid (φ i)]
  [inst_2 : (i : ι) → Module R (φ i)] (i : ι), Function.Surjective ⇑(LinearMap.proj i)