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.LinearPMap

156 declarations. Mathlib docs · Source

Partially defined linear maps

A LinearPMap σ E F or E →ₛₗ.[σ] F is a semilinear map from a submodule of E to F with a ring homomorphism σ between the scalars. This reduces to a linear map when σ is the identity. We define a SemilatticeInf with OrderBot instance on this, and define three operations:

  • mkSpanSingleton defines a partial linear map defined on the span of a singleton.
  • sup takes two partial linear maps f, g that agree on the intersection of their domains, and returns the unique partial linear map on f.domain ⊔ g.domain that extends both f and g.
  • sSup takes a DirectedOn (· ≤ ·) set of partial linear maps, and returns the unique partial linear map on the sSup of their domains that extends all these maps.

Moreover, we define

  • LinearPMap.graph is the graph of the partial linear map viewed as a submodule of E × F. TODO: This should be also generalized to semilinear maps, but one has to define a new type where R acts on E normally while R acts on F through σ.

Partially defined maps are currently used in Mathlib to prove the Hahn-Banach theorem and its variations. Namely, LinearPMap.sSup implies that every chain of LinearPMaps is bounded above. They are also the basis for the theory of unbounded operators.

Algebraic operations

Graph

theorem LinearPMap.mk.inj E1 #

∀ {R : Type u_1} {S : Type u_2} {inst : Ring R} {inst_1 : Ring S} {σ : R →+* S} {E : Type u_3} {inst_2 : AddCommGroup E}
  {inst_3 : Module R E} {F : Type u_4} {inst_4 : AddCommGroup F} {inst_5 : Module S F} {domain : Submodule R E}
  {toFun : ↥domain →ₛₗ[σ] F} {domain_1 : Submodule R E} {toFun_1 : ↥domain_1 →ₛₗ[σ] F},
  { domain := domain, toFun := toFun } = { domain := domain_1, toFun := toFun_1 } → domain = domain_1 ∧ toFun ≍ toFun_1

theorem LinearPMap.mkSpanSingleton.congr_simp E1 #

∀ {K : Type u_7} {L : Type u_8} {E : Type u_9} {F : Type u_10} [inst : DivisionRing K] [inst_1 : DivisionRing L]
  {σ : K →+* L} [inst_2 : AddCommGroup E] [inst_3 : Module K E] [inst_4 : AddCommGroup F] [inst_5 : Module L F]
  (x x_1 : E) (e_x : x = x_1) (y y_1 : F),
  y = y_1 → ∀ (hx : x ≠ 0), LinearPMap.mkSpanSingleton x y hx = LinearPMap.mkSpanSingleton x_1 y_1 ⋯

theorem LinearPMap.mk.injEq E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_3} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_4} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (domain : Submodule R E)
  (toFun : ↥domain →ₛₗ[σ] F) (domain_1 : Submodule R E) (toFun_1 : ↥domain_1 →ₛₗ[σ] F),
  ({ domain := domain, toFun := toFun } = { domain := domain_1, toFun := toFun_1 }) =
    (domain = domain_1 ∧ toFun ≍ toFun_1)

def LinearPMap.ctorIdx E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {inst : Ring R} →
      {inst_1 : Ring S} →
        {σ : R →+* S} →
          {E : Type u_3} →
            {inst_2 : AddCommGroup E} →
              {inst_3 : Module R E} →
                {F : Type u_4} → {inst_4 : AddCommGroup F} → {inst_5 : Module S F} → (E →ₛₗ.[σ] F) → ℕ

structure LinearPMap E3 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        (R →+* S) →
          (E : Type u_3) →
            [inst_2 : AddCommGroup E] →
              [Module R E] → (F : Type u_4) → [inst : AddCommGroup F] → [Module S F] → Type (max u_3 u_4)

A LinearPMap σ E F or E →ₛₗ.[σ] F is a (semi)linear map from a submodule of E to F.

ctor LinearPMap.mk E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_3} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_4} →
                  [inst_4 : AddCommGroup F] →
                    [inst_5 : Module S F] → (domain : Submodule R E) → (↥domain →ₛₗ[σ] F) → E →ₛₗ.[σ] F

abbrev LinearPMap.domain E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_3} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_4} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → (E →ₛₗ.[σ] F) → Submodule R E

The domain of the (semi)linear map.

abbrev LinearPMap.toFun E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_3} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_4} →
                  [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → (self : E →ₛₗ.[σ] F) → ↥self.domain →ₛₗ[σ] F

The (semi)linear map itself.

def «term_→ₛₗ.[_]_» E1 #

Lean.TrailingParserDescr

A LinearPMap σ E F or E →ₛₗ.[σ] F is a (semi)linear map from a submodule of E to F.

def «term_→ₗ.[_]_» E1 #

Lean.TrailingParserDescr

E →ₗ.[R] F is the notation for E →ₛₗ.[RingHom.id R] F.

def LinearPMap.toFun' E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → (f : E →ₛₗ.[σ] F) → ↥f.domain → F

The (semi)linear map as just a function.

instance LinearPMap.instCoeFunForallSubtypeMemSubmoduleDomain E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → CoeFun (E →ₛₗ.[σ] F) fun f ↦ ↥f.domain → F

theorem LinearPMap.coe_toFun_eq_coe E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ.[σ] F), ⇑f.toFun = ↑f

theorem LinearPMap.toFun_eq_coe E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ.[σ] F)
  (x : ↥f.domain), f.toFun x = ↑f x

theorem LinearPMap.ext E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f g : E →ₛₗ.[σ] F},
  f.domain = g.domain → (∀ ⦃x : E⦄ ⦃hf : x ∈ f.domain⦄ ⦃hg : x ∈ g.domain⦄, ↑f ⟨x, hf⟩ = ↑g ⟨x, hg⟩) → f = g

theorem LinearPMap.dExt E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f g : E →ₛₗ.[σ] F},
  f.domain = g.domain → (∀ ⦃x : ↥f.domain⦄ ⦃y : ↥g.domain⦄, ↑x = ↑y → ↑f x = ↑g y) → f = g

A dependent version of ext.

theorem LinearPMap.map_zero E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ.[σ] F), ↑f 0 = 0

theorem LinearPMap.ext_iff E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f g : E →ₛₗ.[σ] F},
  f = g ↔ f.domain = g.domain ∧ ∀ ⦃x : E⦄ ⦃hf : x ∈ f.domain⦄ ⦃hg : x ∈ g.domain⦄, ↑f ⟨x, hf⟩ = ↑g ⟨x, hg⟩

theorem LinearPMap.dExt_iff E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f g : E →ₛₗ.[σ] F},
  f = g ↔ ∃ (_ : f.domain = g.domain), ∀ ⦃x : ↥f.domain⦄ ⦃y : ↥g.domain⦄, ↑x = ↑y → ↑f x = ↑g y

theorem LinearPMap.ext' E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {s : Submodule R E}
  {f g : ↥s →ₛₗ[σ] F}, f = g → { domain := s, toFun := f } = { domain := s, toFun := g }

theorem LinearPMap.map_add E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ.[σ] F)
  (x y : ↥f.domain), ↑f (x + y) = ↑f x + ↑f y

theorem LinearPMap.map_neg E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ.[σ] F)
  (x : ↥f.domain), ↑f (-x) = -↑f x

theorem LinearPMap.map_sub E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ.[σ] F)
  (x y : ↥f.domain), ↑f (x - y) = ↑f x - ↑f y

theorem LinearPMap.map_smul E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (f : E →ₗ.[R] F) (c : R) (x : ↥f.domain), ↑f (c • x) = c • ↑f x

theorem LinearPMap.map_smulₛₗ E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ.[σ] F) (c : R)
  (x : ↥f.domain), ↑f (c • x) = σ c • ↑f x

theorem LinearPMap.mk_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (p : Submodule R E)
  (f : ↥p →ₛₗ[σ] F) (x : ↥p), ↑{ domain := p, toFun := f } x = f x

def LinearPMap.ker E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → (E →ₛₗ.[σ] F) → Submodule R E

The kernel of a partially defined linear map E →ₗ.[𝕜] F as a submodule of E.

theorem LinearPMap.ker_eq_bot' E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f : E →ₛₗ.[σ] F},
  f.ker = ⊥ ↔ ∀ (x : ↥f.domain), ↑f x = 0 → x = 0

theorem LinearPMap.ker_eq_bot E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f : E →ₛₗ.[σ] F},
  f.ker = ⊥ ↔ Function.Injective ↑f

theorem LinearPMap.mem_ker_iff E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f : E →ₛₗ.[σ] F} {x : E},
  x ∈ f.ker ↔ ∃ y, x = ↑y ∧ ↑f y = 0

theorem LinearPMap.coe_mem_ker_iff E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f : E →ₛₗ.[σ] F}
  {x : ↥f.domain}, ↑x ∈ f.ker ↔ ↑f x = 0

theorem LinearPMap.sub_mem_ker_iff E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f : E →ₛₗ.[σ] F}
  {x y : ↥f.domain}, ↑(x - y) ∈ f.ker ↔ ↑f x = ↑f y

theorem LinearPMap.ker_le_domain E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f : E →ₛₗ.[σ] F},
  f.ker ≤ f.domain

def LinearPMap.mkSpanSingleton' E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] →
                    [inst_5 : Module S F] → (x : E) → (y : F) → (∀ (c : R), c • x = 0 → σ c • y = 0) → E →ₛₗ.[σ] F

The unique LinearPMap on R ∙ x that sends x to y. This version works for modules over rings, and requires a proof of ∀ c, c • x = 0 → c • y = 0.

theorem LinearPMap.domain_mkSpanSingleton E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (x : E) (y : F)
  (H : ∀ (c : R), c • x = 0 → σ c • y = 0), (LinearPMap.mkSpanSingleton' x y H).domain = R ∙ x

theorem LinearPMap.mkSpanSingleton'_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (x : E) (y : F)
  (H : ∀ (c : R), c • x = 0 → σ c • y = 0) (c : R) (h : c • x ∈ (LinearPMap.mkSpanSingleton' x y H).domain),
  ↑(LinearPMap.mkSpanSingleton' x y H) ⟨c • x, h⟩ = σ c • y

theorem LinearPMap.mkSpanSingleton'_apply_self E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (x : E) (y : F)
  (H : ∀ (c : R), c • x = 0 → σ c • y = 0) (h : x ∈ (LinearPMap.mkSpanSingleton' x y H).domain),
  ↑(LinearPMap.mkSpanSingleton' x y H) ⟨x, h⟩ = y

abbrev LinearPMap.mkSpanSingleton E1 #

{K : Type u_7} →
  {L : Type u_8} →
    {E : Type u_9} →
      {F : Type u_10} →
        [inst : DivisionRing K] →
          [inst_1 : DivisionRing L] →
            {σ : K →+* L} →
              [inst_2 : AddCommGroup E] →
                [inst_3 : Module K E] →
                  [inst_4 : AddCommGroup F] → [inst_5 : Module L F] → (x : E) → F → x ≠ 0 → E →ₛₗ.[σ] F

The unique LinearPMap on span R {x} that sends a non-zero vector x to y. This version works for modules over division rings.

theorem LinearPMap.mkSpanSingleton_apply E0 #

∀ (K : Type u_7) (L : Type u_8) {E : Type u_9} {F : Type u_10} [inst : DivisionRing K] [inst_1 : DivisionRing L]
  {σ : K →+* L} [inst_2 : AddCommGroup E] [inst_3 : Module K E] [inst_4 : AddCommGroup F] [inst_5 : Module L F] {x : E}
  (hx : x ≠ 0) (y : F), ↑(LinearPMap.mkSpanSingleton x y hx) ⟨x, ⋯⟩ = y

def LinearPMap.fst E1 #

{R : Type u_1} →
  [inst : Ring R] →
    {E : Type u_4} →
      [inst_1 : AddCommGroup E] →
        [inst_2 : Module R E] →
          {F : Type u_5} →
            [inst_3 : AddCommGroup F] → [inst_4 : Module R F] → Submodule R E → Submodule R F → E × F →ₗ.[R] E

Projection to the first coordinate as a LinearPMap

theorem LinearPMap.fst_apply E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (p : Submodule R E) (p' : Submodule R F) (x : ↥(p.prod p')),
  ↑(LinearPMap.fst p p') x = (↑x).1

def LinearPMap.snd E1 #

{R : Type u_1} →
  [inst : Ring R] →
    {E : Type u_4} →
      [inst_1 : AddCommGroup E] →
        [inst_2 : Module R E] →
          {F : Type u_5} →
            [inst_3 : AddCommGroup F] → [inst_4 : Module R F] → Submodule R E → Submodule R F → E × F →ₗ.[R] F

Projection to the second coordinate as a LinearPMap

theorem LinearPMap.snd_apply E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (p : Submodule R E) (p' : Submodule R F) (x : ↥(p.prod p')),
  ↑(LinearPMap.snd p p') x = (↑x).2

instance LinearPMap.le E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → LE (E →ₛₗ.[σ] F)

theorem LinearPMap.apply_comp_inclusion E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {T S_1 : E →ₛₗ.[σ] F}
  (h : T ≤ S_1) (x : ↥T.domain), ↑T x = ↑S_1 ((Submodule.inclusion ⋯) x)

theorem LinearPMap.exists_of_le E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {T S_1 : E →ₛₗ.[σ] F},
  T ≤ S_1 → ∀ (x : ↥T.domain), ∃ y, ↑x = ↑y ∧ ↑T x = ↑S_1 y

def LinearPMap.eqLocus E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → (E →ₛₗ.[σ] F) → (E →ₛₗ.[σ] F) → Submodule R E

Given two partial linear maps f, g, the set of points x such that both f and g are defined at x and f x = g x form a submodule.

instance LinearPMap.bot E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → Bot (E →ₛₗ.[σ] F)

instance LinearPMap.inhabited E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → Inhabited (E →ₛₗ.[σ] F)

instance LinearPMap.semilatticeInf E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → SemilatticeInf (E →ₛₗ.[σ] F)

instance LinearPMap.orderBot E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → OrderBot (E →ₛₗ.[σ] F)

theorem LinearPMap.le_of_eqLocus_ge E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f g : E →ₛₗ.[σ] F},
  f.domain ≤ f.eqLocus g → f ≤ g

theorem LinearPMap.domain_mono E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F], StrictMono LinearPMap.domain

def LinearPMap.sup E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] →
                    [inst_5 : Module S F] →
                      (f g : E →ₛₗ.[σ] F) → (∀ (x : ↥f.domain) (y : ↥g.domain), ↑x = ↑y → ↑f x = ↑g y) → E →ₛₗ.[σ] F

Given two partial linear maps that agree on the intersection of their domains, f.sup g h is the unique partial linear map on f.domain ⊔ g.domain that agrees with f and g.

theorem LinearPMap.domain_sup E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f g : E →ₛₗ.[σ] F)
  (h : ∀ (x : ↥f.domain) (y : ↥g.domain), ↑x = ↑y → ↑f x = ↑g y), (f.sup g h).domain = f.domain ⊔ g.domain

theorem LinearPMap.sup_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f g : E →ₛₗ.[σ] F}
  (H : ∀ (x : ↥f.domain) (y : ↥g.domain), ↑x = ↑y → ↑f x = ↑g y) (x : ↥f.domain) (y : ↥g.domain)
  (z : ↥(f.domain ⊔ g.domain)), ↑x + ↑y = ↑z → ↑(f.sup g H) z = ↑f x + ↑g y

theorem LinearPMap.left_le_sup E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f g : E →ₛₗ.[σ] F)
  (h : ∀ (x : ↥f.domain) (y : ↥g.domain), ↑x = ↑y → ↑f x = ↑g y), f ≤ f.sup g h

theorem LinearPMap.right_le_sup E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f g : E →ₛₗ.[σ] F)
  (h : ∀ (x : ↥f.domain) (y : ↥g.domain), ↑x = ↑y → ↑f x = ↑g y), g ≤ f.sup g h

theorem LinearPMap.sup_le E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f g h : E →ₛₗ.[σ] F}
  (H : ∀ (x : ↥f.domain) (y : ↥g.domain), ↑x = ↑y → ↑f x = ↑g y), f ≤ h → g ≤ h → f.sup g H ≤ h

theorem LinearPMap.sup_h_of_disjoint E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f g : E →ₛₗ.[σ] F),
  Disjoint f.domain g.domain → ∀ (x : ↥f.domain) (y : ↥g.domain), ↑x = ↑y → ↑f x = ↑g y

Hypothesis for LinearPMap.sup holds, if f.domain is disjoint with g.domain.

instance LinearPMap.instZero E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → Zero (E →ₛₗ.[σ] F)

theorem LinearPMap.zero_domain E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F], LinearPMap.domain 0 = ⊤

theorem LinearPMap.zero_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (x : ↥⊤), ↑0 x = 0

theorem LinearPMap.ker_zero E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F], LinearPMap.ker 0 = ⊤

theorem LinearPMap.ker_eq_top E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f : E →ₛₗ.[σ] F},
  f.ker = ⊤ ↔ f = 0

theorem LinearPMap.eqLocus_zero E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f : E →ₛₗ.[σ] F},
  f.eqLocus 0 = f.ker

instance LinearPMap.instSMul E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] →
                    [inst_5 : Module S F] →
                      {M : Type u_7} →
                        [inst_6 : Monoid M] →
                          [inst_7 : DistribMulAction M F] → [SMulCommClass S M F] → SMul M (E →ₛₗ.[σ] F)

theorem LinearPMap.smul_domain E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {M : Type u_7}
  [inst_6 : Monoid M] [inst_7 : DistribMulAction M F] [inst_8 : SMulCommClass S M F] (a : M) (f : E →ₛₗ.[σ] F),
  (a • f).domain = f.domain

theorem LinearPMap.smul_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {M : Type u_7}
  [inst_6 : Monoid M] [inst_7 : DistribMulAction M F] [inst_8 : SMulCommClass S M F] (a : M) (f : E →ₛₗ.[σ] F)
  (x : ↥(a • f).domain), ↑(a • f) x = a • ↑f x

theorem LinearPMap.coe_smul E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {M : Type u_7}
  [inst_6 : Monoid M] [inst_7 : DistribMulAction M F] [inst_8 : SMulCommClass S M F] (a : M) (f : E →ₛₗ.[σ] F),
  ↑(a • f) = a • ↑f

instance LinearPMap.instSMulCommClass E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {M : Type u_7} {N : Type u_8}
  [inst_6 : Monoid M] [inst_7 : DistribMulAction M F] [inst_8 : SMulCommClass S M F] [inst_9 : Monoid N]
  [inst_10 : DistribMulAction N F] [inst_11 : SMulCommClass S N F] [SMulCommClass M N F],
  SMulCommClass M N (E →ₛₗ.[σ] F)

instance LinearPMap.instIsScalarTower E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {M : Type u_7} {N : Type u_8}
  [inst_6 : Monoid M] [inst_7 : DistribMulAction M F] [inst_8 : SMulCommClass S M F] [inst_9 : Monoid N]
  [inst_10 : DistribMulAction N F] [inst_11 : SMulCommClass S N F] [inst_12 : SMul M N] [IsScalarTower M N F],
  IsScalarTower M N (E →ₛₗ.[σ] F)

instance LinearPMap.instMulAction E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] →
                    [inst_5 : Module S F] →
                      {M : Type u_7} →
                        [inst_6 : Monoid M] →
                          [inst_7 : DistribMulAction M F] → [SMulCommClass S M F] → MulAction M (E →ₛₗ.[σ] F)

instance LinearPMap.instNeg E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → Neg (E →ₛₗ.[σ] F)

theorem LinearPMap.neg_domain E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ.[σ] F),
  (-f).domain = f.domain

theorem LinearPMap.neg_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ.[σ] F)
  (x : ↥(-f).domain), ↑(-f) x = -↑f x

theorem LinearPMap.ker_neg E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ.[σ] F),
  (-f).ker = f.ker

instance LinearPMap.instInvolutiveNeg E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → InvolutiveNeg (E →ₛₗ.[σ] F)

instance LinearPMap.instAdd E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → Add (E →ₛₗ.[σ] F)

theorem LinearPMap.add_domain E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f g : E →ₛₗ.[σ] F),
  (f + g).domain = f.domain ⊓ g.domain

theorem LinearPMap.add_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f g : E →ₛₗ.[σ] F)
  (x : ↥(f.domain ⊓ g.domain)), ↑(f + g) x = ↑f ⟨↑x, ⋯⟩ + ↑g ⟨↑x, ⋯⟩

instance LinearPMap.instAddSemigroup E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → AddSemigroup (E →ₛₗ.[σ] F)

instance LinearPMap.instAddZeroClass E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → AddZeroClass (E →ₛₗ.[σ] F)

instance LinearPMap.instAddMonoid E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → AddMonoid (E →ₛₗ.[σ] F)

instance LinearPMap.instAddCommMonoid E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → AddCommMonoid (E →ₛₗ.[σ] F)

instance LinearPMap.instVAdd E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → VAdd (E →ₛₗ[σ] F) (E →ₛₗ.[σ] F)

theorem LinearPMap.vadd_domain E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ[σ] F)
  (g : E →ₛₗ.[σ] F), (f +ᵥ g).domain = g.domain

theorem LinearPMap.vadd_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ[σ] F)
  (g : E →ₛₗ.[σ] F) (x : ↥(f +ᵥ g).domain), ↑(f +ᵥ g) x = f ↑x + ↑g x

theorem LinearPMap.coe_vadd E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ[σ] F)
  (g : E →ₛₗ.[σ] F), ↑(f +ᵥ g) = ⇑(f ∘ₛₗ g.domain.subtype) + ↑g

instance LinearPMap.instAddAction E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → AddAction (E →ₛₗ[σ] F) (E →ₛₗ.[σ] F)

instance LinearPMap.instSub E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → Sub (E →ₛₗ.[σ] F)

theorem LinearPMap.sub_domain E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f g : E →ₛₗ.[σ] F),
  (f - g).domain = f.domain ⊓ g.domain

theorem LinearPMap.sub_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f g : E →ₛₗ.[σ] F)
  (x : ↥(f.domain ⊓ g.domain)), ↑(f - g) x = ↑f ⟨↑x, ⋯⟩ - ↑g ⟨↑x, ⋯⟩

instance LinearPMap.instSubtractionCommMonoid E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} → [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → SubtractionCommMonoid (E →ₛₗ.[σ] F)

def LinearPMap.supSpanSingleton E1 #

{E : Type u_4} →
  [inst : AddCommGroup E] →
    {F : Type u_5} →
      [inst_1 : AddCommGroup F] →
        {K : Type u_7} →
          {L : Type u_8} →
            [inst_2 : DivisionRing K] →
              [inst_3 : DivisionRing L] →
                {σ : K →+* L} →
                  [inst_4 : Module K E] →
                    [inst_5 : Module L F] → (f : E →ₛₗ.[σ] F) → (x : E) → F → x ∉ f.domain → E →ₛₗ.[σ] F

Extend a LinearPMap to f.domain ⊔ K ∙ x.

theorem LinearPMap.domain_supSpanSingleton E0 #

∀ {E : Type u_4} [inst : AddCommGroup E] {F : Type u_5} [inst_1 : AddCommGroup F] {K : Type u_7} {L : Type u_8}
  [inst_2 : DivisionRing K] [inst_3 : DivisionRing L] {σ : K →+* L} [inst_4 : Module K E] [inst_5 : Module L F]
  (f : E →ₛₗ.[σ] F) (x : E) (y : F) (hx : x ∉ f.domain), (f.supSpanSingleton x y hx).domain = f.domain ⊔ K ∙ x

theorem LinearPMap.supSpanSingleton_apply_mk E0 #

∀ {E : Type u_4} [inst : AddCommGroup E] {F : Type u_5} [inst_1 : AddCommGroup F] {K : Type u_7} {L : Type u_8}
  [inst_2 : DivisionRing K] [inst_3 : DivisionRing L] {σ : K →+* L} [inst_4 : Module K E] [inst_5 : Module L F]
  (f : E →ₛₗ.[σ] F) (x : E) (y : F) (hx : x ∉ f.domain) (x' : E) (hx' : x' ∈ f.domain) (c : K),
  ↑(f.supSpanSingleton x y hx) ⟨x' + c • x, ⋯⟩ = ↑f ⟨x', hx'⟩ + σ c • y

theorem LinearPMap.supSpanSingleton_apply_smul_self E0 #

∀ {E : Type u_4} [inst : AddCommGroup E] {F : Type u_5} [inst_1 : AddCommGroup F] {K : Type u_7} {L : Type u_8}
  [inst_2 : DivisionRing K] [inst_3 : DivisionRing L] {σ : K →+* L} [inst_4 : Module K E] [inst_5 : Module L F]
  (f : E →ₛₗ.[σ] F) {x : E} (y : F) (hx : x ∉ f.domain) (c : K), ↑(f.supSpanSingleton x y hx) ⟨c • x, ⋯⟩ = σ c • y

theorem LinearPMap.supSpanSingleton_apply_self E0 #

∀ {E : Type u_4} [inst : AddCommGroup E] {F : Type u_5} [inst_1 : AddCommGroup F] {K : Type u_7} {L : Type u_8}
  [inst_2 : DivisionRing K] [inst_3 : DivisionRing L] {σ : K →+* L} [inst_4 : Module K E] [inst_5 : Module L F]
  (f : E →ₛₗ.[σ] F) {x : E} (y : F) (hx : x ∉ f.domain), ↑(f.supSpanSingleton x y hx) ⟨x, ⋯⟩ = y

theorem LinearPMap.supSpanSingleton_apply_of_mem E1 #

∀ {E : Type u_4} [inst : AddCommGroup E] {F : Type u_5} [inst_1 : AddCommGroup F] {K : Type u_7} {L : Type u_8}
  [inst_2 : DivisionRing K] [inst_3 : DivisionRing L] {σ : K →+* L} [inst_4 : Module K E] [inst_5 : Module L F]
  (f : E →ₛₗ.[σ] F) {x : E} (y : F) (hx : x ∉ f.domain) (x' : ↥(f.supSpanSingleton x y hx).domain)
  (hx' : ↑x' ∈ f.domain), ↑(f.supSpanSingleton x y hx) x' = ↑f ⟨↑x', hx'⟩

theorem LinearPMap.supSpanSingleton_apply_mk_of_mem E1 #

∀ {E : Type u_4} [inst : AddCommGroup E] {F : Type u_5} [inst_1 : AddCommGroup F] {K : Type u_7} {L : Type u_8}
  [inst_2 : DivisionRing K] [inst_3 : DivisionRing L] {σ : K →+* L} [inst_4 : Module K E] [inst_5 : Module L F]
  (f : E →ₛₗ.[σ] F) {x : E} (y : F) (hx : x ∉ f.domain) {x' : E} (hx' : x' ∈ f.domain),
  ↑(f.supSpanSingleton x y hx) ⟨x', ⋯⟩ = ↑f ⟨x', hx'⟩

def LinearPMap.sSup E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] →
                    [inst_5 : Module S F] → (c : Set (E →ₛₗ.[σ] F)) → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) c → E →ₛₗ.[σ] F

For a family of (semi)linear maps with a directed domains such that the one defined on a larger domain restricts to the one defined on the smaller domain, this defines the (semi)linear map defined on the union of the domains extending all the (semi)linear maps in the family.

theorem LinearPMap.domain_sSup E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {c : Set (E →ₛₗ.[σ] F)}
  (hc : DirectedOn (fun x1 x2 ↦ x1 ≤ x2) c), (LinearPMap.sSup c hc).domain = sSup (LinearPMap.domain '' c)

theorem LinearPMap.mem_domain_sSup_iff E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {c : Set (E →ₛₗ.[σ] F)},
  c.Nonempty →
    ∀ (hc : DirectedOn (fun x1 x2 ↦ x1 ≤ x2) c) {x : E}, x ∈ (LinearPMap.sSup c hc).domain ↔ ∃ f ∈ c, x ∈ f.domain

theorem LinearPMap.le_sSup E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {c : Set (E →ₛₗ.[σ] F)}
  (hc : DirectedOn (fun x1 x2 ↦ x1 ≤ x2) c) {f : E →ₛₗ.[σ] F}, f ∈ c → f ≤ LinearPMap.sSup c hc

theorem LinearPMap.sSup_le E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {c : Set (E →ₛₗ.[σ] F)}
  (hc : DirectedOn (fun x1 x2 ↦ x1 ≤ x2) c) {g : E →ₛₗ.[σ] F}, (∀ f ∈ c, f ≤ g) → LinearPMap.sSup c hc ≤ g

theorem LinearPMap.sSup_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {c : Set (E →ₛₗ.[σ] F)}
  (hc : DirectedOn (fun x1 x2 ↦ x1 ≤ x2) c) {l : E →ₛₗ.[σ] F} (hl : l ∈ c) (x : ↥l.domain),
  ↑(LinearPMap.sSup c hc) ⟨↑x, ⋯⟩ = ↑l x

def LinearMap.toPMap E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → (E →ₛₗ[σ] F) → Submodule R E → E →ₛₗ.[σ] F

Restrict a linear map to a submodule, reinterpreting the result as a LinearPMap.

theorem LinearMap.toPMap_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ[σ] F)
  (p : Submodule R E) (x : ↥p), ↑(f.toPMap p) x = f ↑x

theorem LinearMap.toPMap_domain E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ[σ] F)
  (p : Submodule R E), (f.toPMap p).domain = p

theorem LinearMap.toPMap_ker E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ[σ] F)
  (p : Submodule R E), (f.toPMap p).ker = p ⊓ f.ker

def LinearMap.compPMap E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {T : Type u_3} →
      [inst : Ring R] →
        [inst_1 : Ring S] →
          [inst_2 : Ring T] →
            {σ : R →+* S} →
              {τ : S →+* T} →
                {E : Type u_4} →
                  [inst_3 : AddCommGroup E] →
                    [inst_4 : Module R E] →
                      {F : Type u_5} →
                        [inst_5 : AddCommGroup F] →
                          [inst_6 : Module S F] →
                            {G : Type u_6} →
                              [inst_7 : AddCommGroup G] →
                                [inst_8 : Module T G] →
                                  {ρ : R →+* T} → [RingHomCompTriple σ τ ρ] → (F →ₛₗ[τ] G) → (E →ₛₗ.[σ] F) → E →ₛₗ.[ρ] G

Compose a linear map with a LinearPMap

theorem LinearMap.compPMap_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {T : Type u_3} [inst : Ring R] [inst_1 : Ring S] [inst_2 : Ring T] {σ : R →+* S}
  {τ : S →+* T} {E : Type u_4} [inst_3 : AddCommGroup E] [inst_4 : Module R E] {F : Type u_5} [inst_5 : AddCommGroup F]
  [inst_6 : Module S F] {G : Type u_6} [inst_7 : AddCommGroup G] [inst_8 : Module T G] (g : F →ₛₗ[τ] G)
  (f : E →ₛₗ.[σ] F) (x : ↥(g.compPMap f).domain), ↑(g.compPMap f) x = g (↑f x)

def LinearPMap.codRestrict E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] →
                    [inst_5 : Module S F] →
                      (f : E →ₛₗ.[σ] F) → (p : Submodule S F) → (∀ (x : ↥f.domain), ↑f x ∈ p) → E →ₛₗ.[σ] ↥p

Restrict codomain of a LinearPMap

def LinearPMap.comp E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {T : Type u_3} →
      [inst : Ring R] →
        [inst_1 : Ring S] →
          [inst_2 : Ring T] →
            {σ : R →+* S} →
              {τ : S →+* T} →
                {E : Type u_4} →
                  [inst_3 : AddCommGroup E] →
                    [inst_4 : Module R E] →
                      {F : Type u_5} →
                        [inst_5 : AddCommGroup F] →
                          [inst_6 : Module S F] →
                            {G : Type u_6} →
                              [inst_7 : AddCommGroup G] →
                                [inst_8 : Module T G] →
                                  {ρ : R →+* T} →
                                    [RingHomCompTriple σ τ ρ] →
                                      (g : F →ₛₗ.[τ] G) →
                                        (f : E →ₛₗ.[σ] F) → (∀ (x : ↥f.domain), ↑f x ∈ g.domain) → E →ₛₗ.[ρ] G

Compose two LinearPMaps

def LinearPMap.coprod E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] →
                    {G : Type u_6} →
                      [inst_5 : AddCommGroup G] →
                        [inst_6 : Module R F] → [inst_7 : Module S G] → (E →ₛₗ.[σ] G) → (F →ₛₗ.[σ] G) → E × F →ₛₗ.[σ] G

f.coprod g is the partially defined linear map defined on f.domain × g.domain, and sending p to f p.1 + g p.2.

theorem LinearPMap.coprod_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] {G : Type u_6} [inst_5 : AddCommGroup G]
  [inst_6 : Module R F] [inst_7 : Module S G] (f : E →ₛₗ.[σ] G) (g : F →ₛₗ.[σ] G) (x : ↥(f.coprod g).domain),
  ↑(f.coprod g) x = ↑f ⟨(↑x).1, ⋯⟩ + ↑g ⟨(↑x).2, ⋯⟩

def LinearPMap.domRestrict E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Ring R] →
      [inst_1 : Ring S] →
        {σ : R →+* S} →
          {E : Type u_4} →
            [inst_2 : AddCommGroup E] →
              [inst_3 : Module R E] →
                {F : Type u_5} →
                  [inst_4 : AddCommGroup F] → [inst_5 : Module S F] → (E →ₛₗ.[σ] F) → Submodule R E → E →ₛₗ.[σ] F

Restrict a partially defined linear map to a submodule of E contained in f.domain.

theorem LinearPMap.domRestrict_domain E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] (f : E →ₛₗ.[σ] F)
  {S_1 : Submodule R E}, (f.domRestrict S_1).domain = S_1 ⊓ f.domain

theorem LinearPMap.domRestrict_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f : E →ₛₗ.[σ] F}
  {S_1 : Submodule R E} ⦃x : ↥(S_1 ⊓ f.domain)⦄ ⦃y : ↥f.domain⦄, ↑x = ↑y → ↑(f.domRestrict S_1) x = ↑f y

theorem LinearPMap.domRestrict_le E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] {σ : R →+* S} {E : Type u_4} [inst_2 : AddCommGroup E]
  [inst_3 : Module R E] {F : Type u_5} [inst_4 : AddCommGroup F] [inst_5 : Module S F] {f : E →ₛₗ.[σ] F}
  {S_1 : Submodule R E}, f.domRestrict S_1 ≤ f

def LinearPMap.graph E1 #

{R : Type u_1} →
  [inst : Ring R] →
    {E : Type u_4} →
      [inst_1 : AddCommGroup E] →
        [inst_2 : Module R E] →
          {F : Type u_5} → [inst_3 : AddCommGroup F] → [inst_4 : Module R F] → (E →ₗ.[R] F) → Submodule R (E × F)

The graph of a LinearPMap viewed as a submodule on E × F.

theorem LinearPMap.mem_graph_iff' E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (f : E →ₗ.[R] F) {x : E × F}, x ∈ f.graph ↔ ∃ y, (↑y, ↑f y) = x

theorem LinearPMap.mem_graph_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (f : E →ₗ.[R] F) {x : E × F}, x ∈ f.graph ↔ ∃ y, ↑y = x.1 ∧ ↑f y = x.2

theorem LinearPMap.mem_graph E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (f : E →ₗ.[R] F) (x : ↥f.domain), (↑x, ↑f x) ∈ f.graph

The tuple (x, f x) is contained in the graph of f.

theorem LinearPMap.graph_map_fst_eq_domain E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (f : E →ₗ.[R] F),
  Submodule.map (LinearMap.fst R E F) f.graph = f.domain

theorem LinearPMap.graph_map_snd_eq_range E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (f : E →ₗ.[R] F),
  Submodule.map (LinearMap.snd R E F) f.graph = f.toFun.range

theorem LinearPMap.smul_graph E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] {M : Type u_7} [inst_4 : Monoid M] [inst_5 : DistribMulAction M F] [inst_6 : Module R F]
  [inst_7 : SMulCommClass R M F] (f : E →ₗ.[R] F) (z : M),
  (z • f).graph = Submodule.map (LinearMap.id.prodMap (z • LinearMap.id)) f.graph

The graph of z • f as a pushforward.

theorem LinearPMap.neg_graph E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (f : E →ₗ.[R] F),
  (-f).graph = Submodule.map (LinearMap.id.prodMap (-LinearMap.id)) f.graph

The graph of -f as a pushforward.

theorem LinearPMap.mem_graph_snd_inj E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (f : E →ₗ.[R] F) {x y : E} {x' y' : F},
  (x, x') ∈ f.graph → (y, y') ∈ f.graph → x = y → x' = y'

theorem LinearPMap.mem_graph_snd_inj' E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (f : E →ₗ.[R] F) {x y : E × F},
  x ∈ f.graph → y ∈ f.graph → x.1 = y.1 → x.2 = y.2

theorem LinearPMap.graph_fst_eq_zero_snd E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (f : E →ₗ.[R] F) {x : E} {x' : F}, (x, x') ∈ f.graph → x = 0 → x' = 0

The property that f 0 = 0 in terms of the graph.

theorem LinearPMap.mem_domain_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f : E →ₗ.[R] F} {x : E}, x ∈ f.domain ↔ ∃ y, (x, y) ∈ f.graph

theorem LinearPMap.mem_domain_of_mem_graph E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f : E →ₗ.[R] F} {x : E} {y : F}, (x, y) ∈ f.graph → x ∈ f.domain

theorem LinearPMap.image_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f : E →ₗ.[R] F} {x : E} {y : F} (hx : x ∈ f.domain),
  y = ↑f ⟨x, hx⟩ ↔ (x, y) ∈ f.graph

theorem LinearPMap.mem_range_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f : E →ₗ.[R] F} {y : F}, y ∈ f.toFun.range ↔ ∃ x, (x, y) ∈ f.graph

theorem LinearPMap.mem_domain_iff_of_eq_graph E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f g : E →ₗ.[R] F},
  f.graph = g.graph → ∀ {x : E}, x ∈ f.domain ↔ x ∈ g.domain

theorem LinearPMap.le_of_le_graph E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f g : E →ₗ.[R] F}, f.graph ≤ g.graph → f ≤ g

theorem LinearPMap.le_graph_of_le E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f g : E →ₗ.[R] F}, f ≤ g → f.graph ≤ g.graph

theorem LinearPMap.le_graph_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f g : E →ₗ.[R] F}, f.graph ≤ g.graph ↔ f ≤ g

theorem Submodule.existsUnique_from_graph E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {g : Submodule R (E × F)},
  (∀ {x : E × F}, x ∈ g → x.1 = 0 → x.2 = 0) → ∀ {a : E}, a ∈ Submodule.map (LinearMap.fst R E F) g → ∃! b, (a, b) ∈ g

def Submodule.valFromGraph E1 #

{R : Type u_1} →
  [inst : Ring R] →
    {E : Type u_4} →
      [inst_1 : AddCommGroup E] →
        [inst_2 : Module R E] →
          {F : Type u_5} →
            [inst_3 : AddCommGroup F] →
              [inst_4 : Module R F] →
                {g : Submodule R (E × F)} →
                  (∀ x ∈ g, x.1 = 0 → x.2 = 0) → {a : E} → a ∈ Submodule.map (LinearMap.fst R E F) g → F

Auxiliary definition to unfold the existential quantifier.

theorem Submodule.valFromGraph_mem E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {g : Submodule R (E × F)} (hg : ∀ x ∈ g, x.1 = 0 → x.2 = 0) {a : E}
  (ha : a ∈ Submodule.map (LinearMap.fst R E F) g), (a, Submodule.valFromGraph hg ha) ∈ g

def Submodule.toLinearPMapAux E0 #

{R : Type u_1} →
  [inst : Ring R] →
    {E : Type u_4} →
      [inst_1 : AddCommGroup E] →
        [inst_2 : Module R E] →
          {F : Type u_5} →
            [inst_3 : AddCommGroup F] →
              [inst_4 : Module R F] →
                (g : Submodule R (E × F)) →
                  (∀ x ∈ g, x.1 = 0 → x.2 = 0) → ↥(Submodule.map (LinearMap.fst R E F) g) →ₗ[R] F

Define a LinearMap from its graph.

Helper definition for LinearPMap.

def Submodule.toLinearPMap E1 #

{R : Type u_1} →
  [inst : Ring R] →
    {E : Type u_4} →
      [inst_1 : AddCommGroup E] →
        [inst_2 : Module R E] →
          {F : Type u_5} → [inst_3 : AddCommGroup F] → [inst_4 : Module R F] → Submodule R (E × F) → E →ₗ.[R] F

Define a LinearPMap from its graph.

In the case that the submodule is not a graph of a LinearPMap then the underlying linear map is just the zero map.

theorem Submodule.toLinearPMap_domain E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (g : Submodule R (E × F)),
  g.toLinearPMap.domain = Submodule.map (LinearMap.fst R E F) g

theorem Submodule.toLinearPMap_apply_aux E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {g : Submodule R (E × F)} (hg : ∀ x ∈ g, x.1 = 0 → x.2 = 0)
  (x : ↥(Submodule.map (LinearMap.fst R E F) g)), ↑g.toLinearPMap x = Submodule.valFromGraph hg ⋯

theorem Submodule.mem_graph_toLinearPMap E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {g : Submodule R (E × F)},
  (∀ x ∈ g, x.1 = 0 → x.2 = 0) → ∀ (x : ↥(Submodule.map (LinearMap.fst R E F) g)), (↑x, ↑g.toLinearPMap x) ∈ g

theorem Submodule.toLinearPMap_graph_eq E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (g : Submodule R (E × F)),
  (∀ x ∈ g, x.1 = 0 → x.2 = 0) → g.toLinearPMap.graph = g

theorem Submodule.toLinearPMap_range E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] (g : Submodule R (E × F)),
  (∀ x ∈ g, x.1 = 0 → x.2 = 0) → g.toLinearPMap.toFun.range = Submodule.map (LinearMap.snd R E F) g

def LinearPMap.inverse E1 #

{R : Type u_1} →
  [inst : Ring R] →
    {E : Type u_4} →
      [inst_1 : AddCommGroup E] →
        [inst_2 : Module R E] →
          {F : Type u_5} → [inst_3 : AddCommGroup F] → [inst_4 : Module R F] → (E →ₗ.[R] F) → F →ₗ.[R] E

The inverse of a LinearPMap.

theorem LinearPMap.inverse_domain E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f : E →ₗ.[R] F}, f.inverse.domain = f.toFun.range

theorem LinearPMap.inverse_graph E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f : E →ₗ.[R] F},
  f.ker = ⊥ → f.inverse.graph = Submodule.map (↑(LinearEquiv.prodComm R E F)) f.graph

theorem LinearPMap.inverse_range E1 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f : E →ₗ.[R] F}, f.ker = ⊥ → f.inverse.toFun.range = f.domain

theorem LinearPMap.mem_inverse_graph E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f : E →ₗ.[R] F},
  f.ker = ⊥ → ∀ (x : ↥f.domain), (↑f x, ↑x) ∈ f.inverse.graph

theorem LinearPMap.inverse_apply_eq E0 #

∀ {R : Type u_1} [inst : Ring R] {E : Type u_4} [inst_1 : AddCommGroup E] [inst_2 : Module R E] {F : Type u_5}
  [inst_3 : AddCommGroup F] [inst_4 : Module R F] {f : E →ₗ.[R] F},
  f.ker = ⊥ → ∀ {y : ↥f.inverse.domain} {x : ↥f.domain}, ↑f x = ↑y → ↑f.inverse y = ↑x