The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.TrivSqZeroExt.Basic
182 declarations. Mathlib docs · Source
Trivial Square-Zero Extension
Given a ring R together with an (R, R)-bimodule M, the trivial square-zero extension of M
over R is defined to be the R-algebra R ⊕ M with multiplication given by
(r₁ + m₁) * (r₂ + m₂) = r₁ r₂ + r₁ m₂ + m₁ r₂.
It is a square-zero extension because M^2 = 0.
Note that expressing this requires bimodules; we write these in general for a
not-necessarily-commutative R as:
variable {R M : Type*} [Semiring R] [AddCommMonoid M]
variable [Module R M] [Module Rᵐᵒᵖ M] [SMulCommClass R Rᵐᵒᵖ M]
If we instead work with a commutative R' acting symmetrically on M, we write
variable {R' M : Type*} [CommSemiring R'] [AddCommMonoid M]
variable [Module R' M] [Module R'ᵐᵒᵖ M] [IsCentralScalar R' M]
noting that in this context IsCentralScalar R' M implies SMulCommClass R' R'ᵐᵒᵖ M.
Many of the later results in this file are only stated for the commutative R' for simplicity.
Main definitions
TrivSqZeroExt.inl,TrivSqZeroExt.inr: the canonical inclusions intoTrivSqZeroExt R M.TrivSqZeroExt.fst,TrivSqZeroExt.snd: the canonical projections fromTrivSqZeroExt R M.triv_sq_zero_ext.algebra: the associatedR-algebra structure.TrivSqZeroExt.lift: the universal property of the trivial square-zero extension; algebra morphismsTrivSqZeroExt R M →ₐ[S] Aare uniquely defined by an algebra morphismf : R →ₐ[S] AonRand a linear mapg : M →ₗ[S] AonMsuch that:g x * g y = 0: the elements ofMcontinue to square to zero.g (r •> x) = f r * g xandg (x <• r) = g x * f r: left and right actions are preserved byg.
TrivSqZeroExt.lift: the universal property of the trivial square-zero extension; algebra morphismsTrivSqZeroExt R M →ₐ[R] Aare uniquely defined by linear mapsM →ₗ[R] Afor which the product of any two elements in the range is zero.
Structures inherited from Prod
Additive operators and scalar multiplication operate elementwise.
Multiplicative structure
This section is heavily inspired by analogous results about matrices.
theorem TrivSqZeroExt.lift.congr_simp E1 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] {A : Type u_2}
[inst_10 : Semiring A] [inst_11 : Algebra S A] (f f_1 : R →ₐ[S] A) (e_f : f = f_1) (g g_1 : M →ₗ[S] A) (e_g : g = g_1)
(hg : ∀ (x y : M), g x * g y = 0) (hfg : ∀ (r : R) (x : M), g (r • x) = f r * g x)
(hgf : ∀ (r : R) (x : M), g (MulOpposite.op r • x) = g x * f r),
TrivSqZeroExt.lift f g hg hfg hgf = TrivSqZeroExt.lift f_1 g_1 ⋯ ⋯ ⋯
def TrivSqZeroExt E3 #
Type u → Type v → Type (max u v)
"Trivial Square-Zero Extension".
Given a module M over a ring R, the trivial square-zero extension of M over R is defined
to be the R-algebra R × M with multiplication given by
(r₁ + m₁) * (r₂ + m₂) = r₁ r₂ + r₁ m₂ + r₂ m₁.
It is a square-zero extension because M^2 = 0.
def TrivSqZeroExt.inl E3 #
{R : Type u} → {M : Type v} → [Zero M] → R → TrivSqZeroExt R M
The canonical inclusion R → TrivSqZeroExt R M.
def TrivSqZeroExt.inr E3 #
{R : Type u} → {M : Type v} → [Zero R] → M → TrivSqZeroExt R M
The canonical inclusion M → TrivSqZeroExt R M.
def TrivSqZeroExt.fst E3 #
{R : Type u} → {M : Type v} → TrivSqZeroExt R M → R
The canonical projection TrivSqZeroExt R M → R.
def TrivSqZeroExt.snd E3 #
{R : Type u} → {M : Type v} → TrivSqZeroExt R M → M
The canonical projection TrivSqZeroExt R M → M.
theorem TrivSqZeroExt.fst_mk E0 #
∀ {R : Type u} {M : Type v} (r : R) (m : M), TrivSqZeroExt.fst (r, m) = r
theorem TrivSqZeroExt.snd_mk E0 #
∀ {R : Type u} {M : Type v} (r : R) (m : M), TrivSqZeroExt.snd (r, m) = m
theorem TrivSqZeroExt.ext E1 #
∀ {R : Type u} {M : Type v} {x y : TrivSqZeroExt R M}, x.fst = y.fst → x.snd = y.snd → x = y
theorem TrivSqZeroExt.ext_iff E0 #
∀ {R : Type u} {M : Type v} {x y : TrivSqZeroExt R M}, x = y ↔ x.fst = y.fst ∧ x.snd = y.snd
theorem TrivSqZeroExt.fst_inl E0 #
∀ {R : Type u} (M : Type v) [inst : Zero M] (r : R), (TrivSqZeroExt.inl r).fst = r
theorem TrivSqZeroExt.snd_inl E0 #
∀ {R : Type u} (M : Type v) [inst : Zero M] (r : R), (TrivSqZeroExt.inl r).snd = 0
theorem TrivSqZeroExt.fst_comp_inl E0 #
∀ {R : Type u} (M : Type v) [inst : Zero M], TrivSqZeroExt.fst ∘ TrivSqZeroExt.inl = id
theorem TrivSqZeroExt.snd_comp_inl E0 #
∀ {R : Type u} (M : Type v) [inst : Zero M], TrivSqZeroExt.snd ∘ TrivSqZeroExt.inl = 0
theorem TrivSqZeroExt.fst_inr E0 #
∀ (R : Type u) {M : Type v} [inst : Zero R] (m : M), (TrivSqZeroExt.inr m).fst = 0
theorem TrivSqZeroExt.snd_inr E0 #
∀ (R : Type u) {M : Type v} [inst : Zero R] (m : M), (TrivSqZeroExt.inr m).snd = m
theorem TrivSqZeroExt.fst_comp_inr E0 #
∀ (R : Type u) {M : Type v} [inst : Zero R], TrivSqZeroExt.fst ∘ TrivSqZeroExt.inr = 0
theorem TrivSqZeroExt.snd_comp_inr E0 #
∀ (R : Type u) {M : Type v} [inst : Zero R], TrivSqZeroExt.snd ∘ TrivSqZeroExt.inr = id
theorem TrivSqZeroExt.fst_surjective E1 #
∀ {R : Type u} {M : Type v} [Nonempty M], Function.Surjective TrivSqZeroExt.fst
theorem TrivSqZeroExt.snd_surjective E1 #
∀ {R : Type u} {M : Type v} [Nonempty R], Function.Surjective TrivSqZeroExt.snd
theorem TrivSqZeroExt.inl_injective E1 #
∀ {R : Type u} {M : Type v} [inst : Zero M], Function.Injective TrivSqZeroExt.inl
theorem TrivSqZeroExt.inr_injective E1 #
∀ {R : Type u} {M : Type v} [inst : Zero R], Function.Injective TrivSqZeroExt.inr
instance TrivSqZeroExt.inhabited E0 #
{R : Type u} → {M : Type v} → [Inhabited R] → [Inhabited M] → Inhabited (TrivSqZeroExt R M)
instance TrivSqZeroExt.zero E0 #
{R : Type u} → {M : Type v} → [Zero R] → [Zero M] → Zero (TrivSqZeroExt R M)
instance TrivSqZeroExt.add E0 #
{R : Type u} → {M : Type v} → [Add R] → [Add M] → Add (TrivSqZeroExt R M)
instance TrivSqZeroExt.sub E0 #
{R : Type u} → {M : Type v} → [Sub R] → [Sub M] → Sub (TrivSqZeroExt R M)
instance TrivSqZeroExt.neg E0 #
{R : Type u} → {M : Type v} → [Neg R] → [Neg M] → Neg (TrivSqZeroExt R M)
instance TrivSqZeroExt.addSemigroup E0 #
{R : Type u} → {M : Type v} → [AddSemigroup R] → [AddSemigroup M] → AddSemigroup (TrivSqZeroExt R M)
instance TrivSqZeroExt.addZeroClass E0 #
{R : Type u} → {M : Type v} → [AddZeroClass R] → [AddZeroClass M] → AddZeroClass (TrivSqZeroExt R M)
instance TrivSqZeroExt.smul E0 #
{S : Type u_2} → {R : Type u} → {M : Type v} → [SMul S R] → [SMul S M] → SMul S (TrivSqZeroExt R M)
instance TrivSqZeroExt.addMonoid E0 #
{R : Type u} → {M : Type v} → [AddMonoid R] → [AddMonoid M] → AddMonoid (TrivSqZeroExt R M)
instance TrivSqZeroExt.addGroup E0 #
{R : Type u} → {M : Type v} → [AddGroup R] → [AddGroup M] → AddGroup (TrivSqZeroExt R M)
instance TrivSqZeroExt.addCommSemigroup E0 #
{R : Type u} → {M : Type v} → [AddCommSemigroup R] → [AddCommSemigroup M] → AddCommSemigroup (TrivSqZeroExt R M)
instance TrivSqZeroExt.addCommMonoid E0 #
{R : Type u} → {M : Type v} → [AddCommMonoid R] → [AddCommMonoid M] → AddCommMonoid (TrivSqZeroExt R M)
instance TrivSqZeroExt.addCommGroup E0 #
{R : Type u} → {M : Type v} → [AddCommGroup R] → [AddCommGroup M] → AddCommGroup (TrivSqZeroExt R M)
instance TrivSqZeroExt.isScalarTower E0 #
∀ {T : Type u_1} {S : Type u_2} {R : Type u} {M : Type v} [inst : SMul T R] [inst_1 : SMul T M] [inst_2 : SMul S R]
[inst_3 : SMul S M] [inst_4 : SMul T S] [IsScalarTower T S R] [IsScalarTower T S M],
IsScalarTower T S (TrivSqZeroExt R M)
instance TrivSqZeroExt.smulCommClass E0 #
∀ {T : Type u_1} {S : Type u_2} {R : Type u} {M : Type v} [inst : SMul T R] [inst_1 : SMul T M] [inst_2 : SMul S R]
[inst_3 : SMul S M] [SMulCommClass T S R] [SMulCommClass T S M], SMulCommClass T S (TrivSqZeroExt R M)
instance TrivSqZeroExt.isCentralScalar E0 #
∀ {S : Type u_2} {R : Type u} {M : Type v} [inst : SMul S R] [inst_1 : SMul S M] [inst_2 : SMul Sᵐᵒᵖ R]
[inst_3 : SMul Sᵐᵒᵖ M] [IsCentralScalar S R] [IsCentralScalar S M], IsCentralScalar S (TrivSqZeroExt R M)
instance TrivSqZeroExt.mulAction E0 #
{S : Type u_2} →
{R : Type u} → {M : Type v} → [inst : Monoid S] → [MulAction S R] → [MulAction S M] → MulAction S (TrivSqZeroExt R M)
instance TrivSqZeroExt.distribMulAction E0 #
{S : Type u_2} →
{R : Type u} →
{M : Type v} →
[inst : Monoid S] →
[inst_1 : AddMonoid R] →
[inst_2 : AddMonoid M] →
[DistribMulAction S R] → [DistribMulAction S M] → DistribMulAction S (TrivSqZeroExt R M)
instance TrivSqZeroExt.module E0 #
{S : Type u_2} →
{R : Type u} →
{M : Type v} →
[inst : Semiring S] →
[inst_1 : AddCommMonoid R] →
[inst_2 : AddCommMonoid M] → [Module S R] → [Module S M] → Module S (TrivSqZeroExt R M)
instance TrivSqZeroExt.instNontrivial_of_left E0 #
∀ {R : Type u_3} {M : Type u_4} [Nontrivial R] [Nonempty M], Nontrivial (TrivSqZeroExt R M)
The trivial square-zero extension is nontrivial if it is over a nontrivial ring.
instance TrivSqZeroExt.instNontrivial_of_right E0 #
∀ {R : Type u_3} {M : Type u_4} [Nonempty R] [Nontrivial M], Nontrivial (TrivSqZeroExt R M)
The trivial square-zero extension is nontrivial if it is over a nontrivial module.
theorem TrivSqZeroExt.fst_zero E0 #
∀ {R : Type u} {M : Type v} [inst : Zero R] [inst_1 : Zero M], TrivSqZeroExt.fst 0 = 0
theorem TrivSqZeroExt.snd_zero E0 #
∀ {R : Type u} {M : Type v} [inst : Zero R] [inst_1 : Zero M], TrivSqZeroExt.snd 0 = 0
theorem TrivSqZeroExt.fst_add E0 #
∀ {R : Type u} {M : Type v} [inst : Add R] [inst_1 : Add M] (x₁ x₂ : TrivSqZeroExt R M), (x₁ + x₂).fst = x₁.fst + x₂.fst
theorem TrivSqZeroExt.snd_add E0 #
∀ {R : Type u} {M : Type v} [inst : Add R] [inst_1 : Add M] (x₁ x₂ : TrivSqZeroExt R M), (x₁ + x₂).snd = x₁.snd + x₂.snd
theorem TrivSqZeroExt.fst_neg E0 #
∀ {R : Type u} {M : Type v} [inst : Neg R] [inst_1 : Neg M] (x : TrivSqZeroExt R M), (-x).fst = -x.fst
theorem TrivSqZeroExt.snd_neg E0 #
∀ {R : Type u} {M : Type v} [inst : Neg R] [inst_1 : Neg M] (x : TrivSqZeroExt R M), (-x).snd = -x.snd
theorem TrivSqZeroExt.fst_sub E0 #
∀ {R : Type u} {M : Type v} [inst : Sub R] [inst_1 : Sub M] (x₁ x₂ : TrivSqZeroExt R M), (x₁ - x₂).fst = x₁.fst - x₂.fst
theorem TrivSqZeroExt.snd_sub E0 #
∀ {R : Type u} {M : Type v} [inst : Sub R] [inst_1 : Sub M] (x₁ x₂ : TrivSqZeroExt R M), (x₁ - x₂).snd = x₁.snd - x₂.snd
theorem TrivSqZeroExt.fst_smul E0 #
∀ {S : Type u_2} {R : Type u} {M : Type v} [inst : SMul S R] [inst_1 : SMul S M] (s : S) (x : TrivSqZeroExt R M),
(s • x).fst = s • x.fst
theorem TrivSqZeroExt.snd_smul E0 #
∀ {S : Type u_2} {R : Type u} {M : Type v} [inst : SMul S R] [inst_1 : SMul S M] (s : S) (x : TrivSqZeroExt R M),
(s • x).snd = s • x.snd
theorem TrivSqZeroExt.fst_sum E1 #
∀ {R : Type u} {M : Type v} {ι : Type u_3} [inst : AddCommMonoid R] [inst_1 : AddCommMonoid M] (s : Finset ι)
(f : ι → TrivSqZeroExt R M), (∑ i ∈ s, f i).fst = ∑ i ∈ s, (f i).fst
theorem TrivSqZeroExt.snd_sum E1 #
∀ {R : Type u} {M : Type v} {ι : Type u_3} [inst : AddCommMonoid R] [inst_1 : AddCommMonoid M] (s : Finset ι)
(f : ι → TrivSqZeroExt R M), (∑ i ∈ s, f i).snd = ∑ i ∈ s, (f i).snd
theorem TrivSqZeroExt.inl_zero E0 #
∀ {R : Type u} (M : Type v) [inst : Zero R] [inst_1 : Zero M], TrivSqZeroExt.inl 0 = 0
theorem TrivSqZeroExt.inl_add E0 #
∀ {R : Type u} (M : Type v) [inst : Add R] [inst_1 : AddZeroClass M] (r₁ r₂ : R),
TrivSqZeroExt.inl (r₁ + r₂) = TrivSqZeroExt.inl r₁ + TrivSqZeroExt.inl r₂
theorem TrivSqZeroExt.inl_neg E0 #
∀ {R : Type u} (M : Type v) [inst : Neg R] [inst_1 : NegZeroClass M] (r : R),
TrivSqZeroExt.inl (-r) = -TrivSqZeroExt.inl r
theorem TrivSqZeroExt.inl_sub E0 #
∀ {R : Type u} (M : Type v) [inst : Sub R] [inst_1 : SubNegZeroMonoid M] (r₁ r₂ : R),
TrivSqZeroExt.inl (r₁ - r₂) = TrivSqZeroExt.inl r₁ - TrivSqZeroExt.inl r₂
theorem TrivSqZeroExt.inl_smul E0 #
∀ {S : Type u_2} {R : Type u} (M : Type v) [inst : Monoid S] [inst_1 : AddMonoid M] [inst_2 : SMul S R]
[inst_3 : DistribMulAction S M] (s : S) (r : R), TrivSqZeroExt.inl (s • r) = s • TrivSqZeroExt.inl r
theorem TrivSqZeroExt.inl_sum E1 #
∀ {R : Type u} (M : Type v) {ι : Type u_3} [inst : AddCommMonoid R] [inst_1 : AddCommMonoid M] (s : Finset ι)
(f : ι → R), TrivSqZeroExt.inl (∑ i ∈ s, f i) = ∑ i ∈ s, TrivSqZeroExt.inl (f i)
theorem TrivSqZeroExt.inr_zero E0 #
∀ (R : Type u) {M : Type v} [inst : Zero R] [inst_1 : Zero M], TrivSqZeroExt.inr 0 = 0
theorem TrivSqZeroExt.inr_add E0 #
∀ (R : Type u) {M : Type v} [inst : AddZeroClass R] [inst_1 : Add M] (m₁ m₂ : M),
TrivSqZeroExt.inr (m₁ + m₂) = TrivSqZeroExt.inr m₁ + TrivSqZeroExt.inr m₂
theorem TrivSqZeroExt.inr_neg E0 #
∀ (R : Type u) {M : Type v} [inst : NegZeroClass R] [inst_1 : Neg M] (m : M),
TrivSqZeroExt.inr (-m) = -TrivSqZeroExt.inr m
theorem TrivSqZeroExt.inr_sub E0 #
∀ (R : Type u) {M : Type v} [inst : SubNegZeroMonoid R] [inst_1 : Sub M] (m₁ m₂ : M),
TrivSqZeroExt.inr (m₁ - m₂) = TrivSqZeroExt.inr m₁ - TrivSqZeroExt.inr m₂
theorem TrivSqZeroExt.inr_smul E0 #
∀ {S : Type u_2} (R : Type u) {M : Type v} [inst : Zero R] [inst_1 : SMulZeroClass S R] [inst_2 : SMul S M] (r : S)
(m : M), TrivSqZeroExt.inr (r • m) = r • TrivSqZeroExt.inr m
theorem TrivSqZeroExt.inr_sum E1 #
∀ (R : Type u) {M : Type v} {ι : Type u_3} [inst : AddCommMonoid R] [inst_1 : AddCommMonoid M] (s : Finset ι)
(f : ι → M), TrivSqZeroExt.inr (∑ i ∈ s, f i) = ∑ i ∈ s, TrivSqZeroExt.inr (f i)
theorem TrivSqZeroExt.inl_fst_add_inr_snd_eq E0 #
∀ {R : Type u} {M : Type v} [inst : AddZeroClass R] [inst_1 : AddZeroClass M] (x : TrivSqZeroExt R M),
TrivSqZeroExt.inl x.fst + TrivSqZeroExt.inr x.snd = x
theorem TrivSqZeroExt.ind E1 #
∀ {R : Type u_3} {M : Type u_4} [inst : AddZeroClass R] [inst_1 : AddZeroClass M] {P : TrivSqZeroExt R M → Prop},
(∀ (r : R) (m : M), P (TrivSqZeroExt.inl r + TrivSqZeroExt.inr m)) → ∀ (x : TrivSqZeroExt R M), P x
To show a property hold on all TrivSqZeroExt R M it suffices to show it holds
on terms of the form inl r + inr m.
theorem TrivSqZeroExt.linearMap_ext E1 #
∀ {S : Type u_2} {R : Type u} {M : Type v} {N : Type u_3} [inst : Semiring S] [inst_1 : AddCommMonoid R]
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : Module S R] [inst_5 : Module S M]
[inst_6 : Module S N] ⦃f g : TrivSqZeroExt R M →ₗ[S] N⦄,
(∀ (r : R), f (TrivSqZeroExt.inl r) = g (TrivSqZeroExt.inl r)) →
(∀ (m : M), f (TrivSqZeroExt.inr m) = g (TrivSqZeroExt.inr m)) → f = g
This cannot be marked @[ext] as it ends up being used instead of LinearMap.prod_ext when
working with R × M.
def TrivSqZeroExt.inrHom E1 #
(R : Type u) →
(M : Type v) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → M →ₗ[R] TrivSqZeroExt R M
The canonical R-linear inclusion M → TrivSqZeroExt R M.
theorem TrivSqZeroExt.inrHom_apply E0 #
∀ (R : Type u) (M : Type v) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (m : M),
(TrivSqZeroExt.inrHom R M) m = TrivSqZeroExt.inr m
def TrivSqZeroExt.sndHom E1 #
(R : Type u) →
(M : Type v) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → TrivSqZeroExt R M →ₗ[R] M
The canonical R-linear projection TrivSqZeroExt R M → M.
theorem TrivSqZeroExt.sndHom_apply E0 #
∀ (R : Type u) (M : Type v) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(x : TrivSqZeroExt R M), (TrivSqZeroExt.sndHom R M) x = x.snd
instance TrivSqZeroExt.one E0 #
{R : Type u} → {M : Type v} → [One R] → [Zero M] → One (TrivSqZeroExt R M)
instance TrivSqZeroExt.mul E0 #
{R : Type u} → {M : Type v} → [Mul R] → [Add M] → [SMul R M] → [SMul Rᵐᵒᵖ M] → Mul (TrivSqZeroExt R M)
theorem TrivSqZeroExt.fst_one E0 #
∀ {R : Type u} {M : Type v} [inst : One R] [inst_1 : Zero M], TrivSqZeroExt.fst 1 = 1
theorem TrivSqZeroExt.snd_one E0 #
∀ {R : Type u} {M : Type v} [inst : One R] [inst_1 : Zero M], TrivSqZeroExt.snd 1 = 0
theorem TrivSqZeroExt.fst_mul E0 #
∀ {R : Type u} {M : Type v} [inst : Mul R] [inst_1 : Add M] [inst_2 : SMul R M] [inst_3 : SMul Rᵐᵒᵖ M]
(x₁ x₂ : TrivSqZeroExt R M), (x₁ * x₂).fst = x₁.fst * x₂.fst
theorem TrivSqZeroExt.snd_mul E0 #
∀ {R : Type u} {M : Type v} [inst : Mul R] [inst_1 : Add M] [inst_2 : SMul R M] [inst_3 : SMul Rᵐᵒᵖ M]
(x₁ x₂ : TrivSqZeroExt R M), (x₁ * x₂).snd = x₁.fst • x₂.snd + MulOpposite.op x₂.fst • x₁.snd
theorem TrivSqZeroExt.inl_one E0 #
∀ {R : Type u} (M : Type v) [inst : One R] [inst_1 : Zero M], TrivSqZeroExt.inl 1 = 1
theorem TrivSqZeroExt.inl_mul E0 #
∀ {R : Type u} (M : Type v) [inst : Monoid R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] (r₁ r₂ : R),
TrivSqZeroExt.inl (r₁ * r₂) = TrivSqZeroExt.inl r₁ * TrivSqZeroExt.inl r₂
theorem TrivSqZeroExt.inl_mul_inl E1 #
∀ {R : Type u} (M : Type v) [inst : Monoid R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] (r₁ r₂ : R),
TrivSqZeroExt.inl r₁ * TrivSqZeroExt.inl r₂ = TrivSqZeroExt.inl (r₁ * r₂)
theorem TrivSqZeroExt.inr_mul_inr E0 #
∀ (R : Type u) {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Module Rᵐᵒᵖ M] (m₁ m₂ : M), TrivSqZeroExt.inr m₁ * TrivSqZeroExt.inr m₂ = 0
theorem TrivSqZeroExt.inl_mul_inr E1 #
∀ {R : Type u} {M : Type v} [inst : MonoidWithZero R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] (r : R) (m : M),
TrivSqZeroExt.inl r * TrivSqZeroExt.inr m = TrivSqZeroExt.inr (r • m)
theorem TrivSqZeroExt.inr_mul_inl E1 #
∀ {R : Type u} {M : Type v} [inst : MonoidWithZero R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] (r : R) (m : M),
TrivSqZeroExt.inr m * TrivSqZeroExt.inl r = TrivSqZeroExt.inr (MulOpposite.op r • m)
theorem TrivSqZeroExt.inl_mul_eq_smul E1 #
∀ {R : Type u} {M : Type v} [inst : Monoid R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] (r : R) (x : TrivSqZeroExt R M), TrivSqZeroExt.inl r * x = r • x
theorem TrivSqZeroExt.mul_inl_eq_op_smul E1 #
∀ {R : Type u} {M : Type v} [inst : Monoid R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] (x : TrivSqZeroExt R M) (r : R), x * TrivSqZeroExt.inl r = MulOpposite.op r • x
instance TrivSqZeroExt.mulOneClass E0 #
{R : Type u} →
{M : Type v} →
[inst : Monoid R] →
[inst_1 : AddMonoid M] → [DistribMulAction R M] → [DistribMulAction Rᵐᵒᵖ M] → MulOneClass (TrivSqZeroExt R M)
instance TrivSqZeroExt.addMonoidWithOne E0 #
{R : Type u} → {M : Type v} → [AddMonoidWithOne R] → [AddMonoid M] → AddMonoidWithOne (TrivSqZeroExt R M)
theorem TrivSqZeroExt.fst_natCast E0 #
∀ {R : Type u} {M : Type v} [inst : AddMonoidWithOne R] [inst_1 : AddMonoid M] (n : ℕ), (↑n).fst = ↑n
theorem TrivSqZeroExt.snd_natCast E0 #
∀ {R : Type u} {M : Type v} [inst : AddMonoidWithOne R] [inst_1 : AddMonoid M] (n : ℕ), (↑n).snd = 0
theorem TrivSqZeroExt.inl_natCast E0 #
∀ {R : Type u} {M : Type v} [inst : AddMonoidWithOne R] [inst_1 : AddMonoid M] (n : ℕ), TrivSqZeroExt.inl ↑n = ↑n
instance TrivSqZeroExt.addGroupWithOne E0 #
{R : Type u} → {M : Type v} → [AddGroupWithOne R] → [AddGroup M] → AddGroupWithOne (TrivSqZeroExt R M)
theorem TrivSqZeroExt.fst_intCast E0 #
∀ {R : Type u} {M : Type v} [inst : AddGroupWithOne R] [inst_1 : AddGroup M] (z : ℤ), (↑z).fst = ↑z
theorem TrivSqZeroExt.snd_intCast E0 #
∀ {R : Type u} {M : Type v} [inst : AddGroupWithOne R] [inst_1 : AddGroup M] (z : ℤ), (↑z).snd = 0
theorem TrivSqZeroExt.inl_intCast E0 #
∀ {R : Type u} {M : Type v} [inst : AddGroupWithOne R] [inst_1 : AddGroup M] (z : ℤ), TrivSqZeroExt.inl ↑z = ↑z
instance TrivSqZeroExt.nonAssocSemiring E0 #
{R : Type u} →
{M : Type v} →
[inst : Semiring R] →
[inst_1 : AddCommMonoid M] → [Module R M] → [Module Rᵐᵒᵖ M] → NonAssocSemiring (TrivSqZeroExt R M)
instance TrivSqZeroExt.nonAssocRing E0 #
{R : Type u} →
{M : Type v} →
[inst : Ring R] → [inst_1 : AddCommGroup M] → [Module R M] → [Module Rᵐᵒᵖ M] → NonAssocRing (TrivSqZeroExt R M)
instance TrivSqZeroExt.instPowNatOfDistribMulActionMulOpposite E0 #
{R : Type u} →
{M : Type v} →
[inst : Monoid R] →
[inst_1 : AddMonoid M] → [DistribMulAction R M] → [DistribMulAction Rᵐᵒᵖ M] → Pow (TrivSqZeroExt R M) ℕ
In the general non-commutative case, the power operator is
$$\begin{align} (r + m)^n &= r^n + r^{n-1}m + r^{n-2}mr + \cdots + rmr^{n-2} + mr^{n-1} \ & =r^n + \sum_{i = 0}^{n - 1} r^{(n - 1) - i} m r^{i} \end{align}$$
In the commutative case this becomes the simpler $(r + m)^n = r^n + nr^{n-1}m$.
theorem TrivSqZeroExt.fst_pow E0 #
∀ {R : Type u} {M : Type v} [inst : Monoid R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] (x : TrivSqZeroExt R M) (n : ℕ), (x ^ n).fst = x.fst ^ n
theorem TrivSqZeroExt.snd_pow_eq_sum E1 #
∀ {R : Type u} {M : Type v} [inst : Monoid R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] (x : TrivSqZeroExt R M) (n : ℕ),
(x ^ n).snd = (List.map (fun i ↦ MulOpposite.op (x.fst ^ i) • x.fst ^ (n.pred - i) • x.snd) (List.range n)).sum
theorem TrivSqZeroExt.snd_pow_of_smul_comm E1 #
∀ {R : Type u} {M : Type v} [inst : Monoid R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] [SMulCommClass R Rᵐᵒᵖ M] (x : TrivSqZeroExt R M) (n : ℕ),
MulOpposite.op x.fst • x.snd = x.fst • x.snd → (x ^ n).snd = n • x.fst ^ n.pred • x.snd
theorem TrivSqZeroExt.snd_pow_of_smul_comm' E1 #
∀ {R : Type u} {M : Type v} [inst : Monoid R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] [SMulCommClass R Rᵐᵒᵖ M] (x : TrivSqZeroExt R M) (n : ℕ),
MulOpposite.op x.fst • x.snd = x.fst • x.snd → (x ^ n).snd = n • MulOpposite.op (x.fst ^ n.pred) • x.snd
theorem TrivSqZeroExt.snd_pow E0 #
∀ {R : Type u} {M : Type v} [inst : CommMonoid R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] [IsCentralScalar R M] (x : TrivSqZeroExt R M) (n : ℕ),
(x ^ n).snd = n • x.fst ^ n.pred • x.snd
theorem TrivSqZeroExt.inl_pow E0 #
∀ {R : Type u} {M : Type v} [inst : Monoid R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] (r : R) (n : ℕ), TrivSqZeroExt.inl r ^ n = TrivSqZeroExt.inl (r ^ n)
instance TrivSqZeroExt.monoid E0 #
{R : Type u} →
{M : Type v} →
[inst : Monoid R] →
[inst_1 : AddMonoid M] →
[inst_2 : DistribMulAction R M] →
[inst_3 : DistribMulAction Rᵐᵒᵖ M] → [SMulCommClass R Rᵐᵒᵖ M] → Monoid (TrivSqZeroExt R M)
theorem TrivSqZeroExt.fst_list_prod E1 #
∀ {R : Type u} {M : Type v} [inst : Monoid R] [inst_1 : AddMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] [SMulCommClass R Rᵐᵒᵖ M] (l : List (TrivSqZeroExt R M)),
l.prod.fst = (List.map TrivSqZeroExt.fst l).prod
instance TrivSqZeroExt.semiring E0 #
{R : Type u} →
{M : Type v} →
[inst : Semiring R] →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] → [inst_3 : Module Rᵐᵒᵖ M] → [SMulCommClass R Rᵐᵒᵖ M] → Semiring (TrivSqZeroExt R M)
theorem TrivSqZeroExt.snd_list_prod E1 #
∀ {R : Type u} {M : Type v} [inst : Monoid R] [inst_1 : AddCommMonoid M] [inst_2 : DistribMulAction R M]
[inst_3 : DistribMulAction Rᵐᵒᵖ M] [SMulCommClass R Rᵐᵒᵖ M] (l : List (TrivSqZeroExt R M)),
l.prod.snd =
(List.map
(fun x ↦
MulOpposite.op (List.drop x.2.succ (List.map TrivSqZeroExt.fst l)).prod •
(List.take x.2 (List.map TrivSqZeroExt.fst l)).prod • x.1.snd)
l.zipIdx).sum
The second element of a product $\prod_{i=0}^n (r_i + m_i)$ is a sum of terms of the form $r_0\cdots r_{i-1}m_ir_{i+1}\cdots r_n$.
instance TrivSqZeroExt.ring E0 #
{R : Type u} →
{M : Type v} →
[inst : Ring R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] → [inst_3 : Module Rᵐᵒᵖ M] → [SMulCommClass R Rᵐᵒᵖ M] → Ring (TrivSqZeroExt R M)
instance TrivSqZeroExt.commMonoid E0 #
{R : Type u} →
{M : Type v} →
[inst : CommMonoid R] →
[inst_1 : AddCommMonoid M] →
[inst_2 : DistribMulAction R M] →
[inst_3 : DistribMulAction Rᵐᵒᵖ M] → [IsCentralScalar R M] → CommMonoid (TrivSqZeroExt R M)
instance TrivSqZeroExt.commSemiring E0 #
{R : Type u} →
{M : Type v} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] → [inst_3 : Module Rᵐᵒᵖ M] → [IsCentralScalar R M] → CommSemiring (TrivSqZeroExt R M)
instance TrivSqZeroExt.commRing E0 #
{R : Type u} →
{M : Type v} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] → [inst_3 : Module Rᵐᵒᵖ M] → [IsCentralScalar R M] → CommRing (TrivSqZeroExt R M)
def TrivSqZeroExt.inlHom E1 #
(R : Type u) →
(M : Type v) →
[inst : Semiring R] →
[inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → [inst_3 : Module Rᵐᵒᵖ M] → R →+* TrivSqZeroExt R M
The canonical inclusion of rings R → TrivSqZeroExt R M.
theorem TrivSqZeroExt.inlHom_apply E0 #
∀ (R : Type u) (M : Type v) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Module Rᵐᵒᵖ M] (r : R), (TrivSqZeroExt.inlHom R M) r = TrivSqZeroExt.inl r
instance TrivSqZeroExt.instInv E0 #
{R : Type u} → {M : Type v} → [Neg M] → [Inv R] → [SMul Rᵐᵒᵖ M] → [SMul R M] → Inv (TrivSqZeroExt R M)
Inversion of the trivial-square-zero extension, sending $r + m$ to $r^{-1} - r^{-1}mr^{-1}$.
Strictly this is only a two-sided inverse when the left and right actions associate.
theorem TrivSqZeroExt.fst_inv E0 #
∀ {R : Type u} {M : Type v} [inst : Neg M] [inst_1 : Inv R] [inst_2 : SMul Rᵐᵒᵖ M] [inst_3 : SMul R M]
(x : TrivSqZeroExt R M), x⁻¹.fst = x.fst⁻¹
theorem TrivSqZeroExt.snd_inv E0 #
∀ {R : Type u} {M : Type v} [inst : Neg M] [inst_1 : Inv R] [inst_2 : SMul Rᵐᵒᵖ M] [inst_3 : SMul R M]
(x : TrivSqZeroExt R M), x⁻¹.snd = -(MulOpposite.op x.fst⁻¹ • x.fst⁻¹ • x.snd)
abbrev TrivSqZeroExt.invertibleFstOfInvertible E1 #
{R : Type u} →
{M : Type v} →
[inst : AddCommGroup M] →
[inst_1 : Semiring R] →
[inst_2 : Module Rᵐᵒᵖ M] → [inst_3 : Module R M] → (x : TrivSqZeroExt R M) → [Invertible x] → Invertible x.fst
x.fst : R is invertible when x : tzre R M is.
theorem TrivSqZeroExt.fst_invOf E1 #
∀ {R : Type u} {M : Type v} [inst : AddCommGroup M] [inst_1 : Semiring R] [inst_2 : Module Rᵐᵒᵖ M] [inst_3 : Module R M]
(x : TrivSqZeroExt R M) [inst_4 : Invertible x] [inst_5 : Invertible x.fst], (⅟x).fst = ⅟x.fst
theorem TrivSqZeroExt.mul_left_eq_one E1 #
∀ {R : Type u} {M : Type v} [inst : AddCommGroup M] [inst_1 : Semiring R] [inst_2 : Module Rᵐᵒᵖ M] [inst_3 : Module R M]
(r : R) (x : TrivSqZeroExt R M),
r * x.fst = 1 → (TrivSqZeroExt.inl r + TrivSqZeroExt.inr (-(MulOpposite.op r • r • x.snd))) * x = 1
theorem TrivSqZeroExt.mul_right_eq_one E1 #
∀ {R : Type u} {M : Type v} [inst : AddCommGroup M] [inst_1 : Semiring R] [inst_2 : Module Rᵐᵒᵖ M] [inst_3 : Module R M]
(x : TrivSqZeroExt R M) (r : R),
x.fst * r = 1 → x * (TrivSqZeroExt.inl r + TrivSqZeroExt.inr (-(r • MulOpposite.op r • x.snd))) = 1
abbrev TrivSqZeroExt.invertibleOfInvertibleFst E1 #
{R : Type u} →
{M : Type v} →
[inst : AddCommGroup M] →
[inst_1 : Semiring R] →
[inst_2 : Module Rᵐᵒᵖ M] →
[inst_3 : Module R M] → [SMulCommClass R Rᵐᵒᵖ M] → (x : TrivSqZeroExt R M) → [Invertible x.fst] → Invertible x
x : tzre R M is invertible when x.fst : R is.
theorem TrivSqZeroExt.snd_invOf E1 #
∀ {R : Type u} {M : Type v} [inst : AddCommGroup M] [inst_1 : Semiring R] [inst_2 : Module Rᵐᵒᵖ M] [inst_3 : Module R M]
[SMulCommClass R Rᵐᵒᵖ M] (x : TrivSqZeroExt R M) [inst_5 : Invertible x] [inst_6 : Invertible x.fst],
(⅟x).snd = -(MulOpposite.op ⅟x.fst • ⅟x.fst • x.snd)
def TrivSqZeroExt.invertibleEquivInvertibleFst E1 #
{R : Type u} →
{M : Type v} →
[inst : AddCommGroup M] →
[inst_1 : Semiring R] →
[inst_2 : Module Rᵐᵒᵖ M] →
[inst_3 : Module R M] → [SMulCommClass R Rᵐᵒᵖ M] → (x : TrivSqZeroExt R M) → Invertible x ≃ Invertible x.fst
Together TrivSqZeroExt.detInvertibleOfInvertible and TrivSqZeroExt.invertibleOfDetInvertible
form an equivalence, although both sides of the equiv are subsingleton anyway.
theorem TrivSqZeroExt.invertibleEquivInvertibleFst_symm_apply_invOf E0 #
∀ {R : Type u} {M : Type v} [inst : AddCommGroup M] [inst_1 : Semiring R] [inst_2 : Module Rᵐᵒᵖ M] [inst_3 : Module R M]
[inst_4 : SMulCommClass R Rᵐᵒᵖ M] (x : TrivSqZeroExt R M) (x_1 : Invertible x.fst),
⅟x = (⅟x.fst, -(MulOpposite.op ⅟x.fst • ⅟x.fst • x.snd))
theorem TrivSqZeroExt.invertibleEquivInvertibleFst_apply_invOf E0 #
∀ {R : Type u} {M : Type v} [inst : AddCommGroup M] [inst_1 : Semiring R] [inst_2 : Module Rᵐᵒᵖ M] [inst_3 : Module R M]
[inst_4 : SMulCommClass R Rᵐᵒᵖ M] (x : TrivSqZeroExt R M) (x_1 : Invertible x), ⅟x.fst = (⅟x).fst
theorem TrivSqZeroExt.isUnit_iff_isUnit_fst E1 #
∀ {R : Type u} {M : Type v} [inst : AddCommGroup M] [inst_1 : Semiring R] [inst_2 : Module Rᵐᵒᵖ M] [inst_3 : Module R M]
[inst_4 : SMulCommClass R Rᵐᵒᵖ M] {x : TrivSqZeroExt R M}, IsUnit x ↔ IsUnit x.fst
When lowered to a prop, Matrix.invertibleEquivInvertibleFst forms an iff.
theorem TrivSqZeroExt.isUnit_inl_iff E0 #
∀ {R : Type u} {M : Type v} [inst : AddCommGroup M] [inst_1 : Semiring R] [inst_2 : Module Rᵐᵒᵖ M] [inst_3 : Module R M]
[inst_4 : SMulCommClass R Rᵐᵒᵖ M] {r : R}, IsUnit (TrivSqZeroExt.inl r) ↔ IsUnit r
theorem TrivSqZeroExt.isUnit_inr_iff E0 #
∀ {R : Type u} {M : Type v} [inst : AddCommGroup M] [inst_1 : Semiring R] [inst_2 : Module Rᵐᵒᵖ M] [inst_3 : Module R M]
[inst_4 : SMulCommClass R Rᵐᵒᵖ M] {m : M}, IsUnit (TrivSqZeroExt.inr m) ↔ Subsingleton R
theorem TrivSqZeroExt.inv_inl E1 #
∀ {R : Type u} {M : Type v} [inst : DivisionSemiring R] [inst_1 : AddCommGroup M] [inst_2 : Module Rᵐᵒᵖ M]
[inst_3 : Module R M] (r : R), (TrivSqZeroExt.inl r)⁻¹ = TrivSqZeroExt.inl r⁻¹
theorem TrivSqZeroExt.inv_inr E0 #
∀ {R : Type u} {M : Type v} [inst : DivisionSemiring R] [inst_1 : AddCommGroup M] [inst_2 : Module Rᵐᵒᵖ M]
[inst_3 : Module R M] (m : M), (TrivSqZeroExt.inr m)⁻¹ = 0
theorem TrivSqZeroExt.inv_zero E0 #
∀ {R : Type u} {M : Type v} [inst : DivisionSemiring R] [inst_1 : AddCommGroup M] [inst_2 : Module Rᵐᵒᵖ M]
[inst_3 : Module R M], 0⁻¹ = 0
theorem TrivSqZeroExt.inv_one E0 #
∀ {R : Type u} {M : Type v} [inst : DivisionSemiring R] [inst_1 : AddCommGroup M] [inst_2 : Module Rᵐᵒᵖ M]
[inst_3 : Module R M], 1⁻¹ = 1
theorem TrivSqZeroExt.inv_mul_cancel E1 #
∀ {R : Type u} {M : Type v} [inst : DivisionSemiring R] [inst_1 : AddCommGroup M] [inst_2 : Module Rᵐᵒᵖ M]
[inst_3 : Module R M] {x : TrivSqZeroExt R M}, x.fst ≠ 0 → x⁻¹ * x = 1
theorem TrivSqZeroExt.invOf_eq_inv E0 #
∀ {R : Type u} {M : Type v} [inst : DivisionSemiring R] [inst_1 : AddCommGroup M] [inst_2 : Module Rᵐᵒᵖ M]
[inst_3 : Module R M] [SMulCommClass R Rᵐᵒᵖ M] (x : TrivSqZeroExt R M) [inst_5 : Invertible x], ⅟x = x⁻¹
theorem TrivSqZeroExt.mul_inv_cancel E1 #
∀ {R : Type u} {M : Type v} [inst : DivisionSemiring R] [inst_1 : AddCommGroup M] [inst_2 : Module Rᵐᵒᵖ M]
[inst_3 : Module R M] [SMulCommClass R Rᵐᵒᵖ M] {x : TrivSqZeroExt R M}, x.fst ≠ 0 → x * x⁻¹ = 1
theorem TrivSqZeroExt.mul_inv_rev E1 #
∀ {R : Type u} {M : Type v} [inst : DivisionSemiring R] [inst_1 : AddCommGroup M] [inst_2 : Module Rᵐᵒᵖ M]
[inst_3 : Module R M] [SMulCommClass R Rᵐᵒᵖ M] (a b : TrivSqZeroExt R M), (a * b)⁻¹ = b⁻¹ * a⁻¹
theorem TrivSqZeroExt.inv_inv E1 #
∀ {R : Type u} {M : Type v} [inst : DivisionSemiring R] [inst_1 : AddCommGroup M] [inst_2 : Module Rᵐᵒᵖ M]
[inst_3 : Module R M] [SMulCommClass R Rᵐᵒᵖ M] {x : TrivSqZeroExt R M}, x.fst ≠ 0 → x⁻¹⁻¹ = x
theorem TrivSqZeroExt.isUnit_inv_iff E0 #
∀ {R : Type u} {M : Type v} [inst : DivisionSemiring R] [inst_1 : AddCommGroup M] [inst_2 : Module Rᵐᵒᵖ M]
[inst_3 : Module R M] [inst_4 : SMulCommClass R Rᵐᵒᵖ M] {x : TrivSqZeroExt R M}, IsUnit x⁻¹ ↔ IsUnit x
theorem TrivSqZeroExt.inv_neg E1 #
∀ {R : Type u} {M : Type v} [inst : DivisionRing R] [inst_1 : AddCommGroup M] [inst_2 : Module Rᵐᵒᵖ M]
[inst_3 : Module R M] {x : TrivSqZeroExt R M}, (-x)⁻¹ = -x⁻¹
instance TrivSqZeroExt.algebra' E0 #
(S : Type u_1) →
(R : Type u) →
(M : Type v) →
[inst : CommSemiring S] →
[inst_1 : Semiring R] →
[inst_2 : AddCommMonoid M] →
[inst_3 : Algebra S R] →
[inst_4 : Module S M] →
[inst_5 : Module R M] →
[inst_6 : Module Rᵐᵒᵖ M] →
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] →
[IsScalarTower S R M] → [IsScalarTower S Rᵐᵒᵖ M] → Algebra S (TrivSqZeroExt R M)
instance TrivSqZeroExt.instAlgebra E0 #
(R' : Type u) →
(M : Type v) →
[inst : CommSemiring R'] →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R' M] →
[inst_3 : Module R'ᵐᵒᵖ M] → [inst_4 : IsCentralScalar R' M] → Algebra R' (TrivSqZeroExt R' M)
theorem TrivSqZeroExt.algebraMap_eq_inl E1 #
∀ (R' : Type u) (M : Type v) [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M], ⇑(algebraMap R' (TrivSqZeroExt R' M)) = TrivSqZeroExt.inl
theorem TrivSqZeroExt.algebraMap_eq_inlHom E1 #
∀ (R' : Type u) (M : Type v) [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M],
algebraMap R' (TrivSqZeroExt R' M) = TrivSqZeroExt.inlHom R' M
theorem TrivSqZeroExt.algebraMap_eq_inl' E1 #
∀ (S : Type u_1) (R : Type u) (M : Type v) [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] (s : S),
(algebraMap S (TrivSqZeroExt R M)) s = TrivSqZeroExt.inl ((algebraMap S R) s)
def TrivSqZeroExt.fstHom E1 #
(S : Type u_1) →
(R : Type u) →
(M : Type v) →
[inst : CommSemiring S] →
[inst_1 : Semiring R] →
[inst_2 : AddCommMonoid M] →
[inst_3 : Algebra S R] →
[inst_4 : Module S M] →
[inst_5 : Module R M] →
[inst_6 : Module Rᵐᵒᵖ M] →
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] →
[inst_8 : IsScalarTower S R M] → [inst_9 : IsScalarTower S Rᵐᵒᵖ M] → TrivSqZeroExt R M →ₐ[S] R
The canonical S-algebra projection TrivSqZeroExt R M → R.
theorem TrivSqZeroExt.fstHom_apply E0 #
∀ (S : Type u_1) (R : Type u) (M : Type v) [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M]
(x : TrivSqZeroExt R M), (TrivSqZeroExt.fstHom S R M) x = x.fst
abbrev TrivSqZeroExt.algebraBase E1 #
(R' : Type u) →
(M : Type v) →
[inst : CommSemiring R'] →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R' M] →
[inst_3 : Module R'ᵐᵒᵖ M] → [inst_4 : IsCentralScalar R' M] → Algebra (TrivSqZeroExt R' M) R'
R' as an algebra over TrivSqZeroExt R' M. Not an instance since it creates a different
Algebra (TrivSqZeroExt R' M) (TrivSqZeroExt R' M) instance from TrivSqZeroExt.algebra'.
instance TrivSqZeroExt.instIsScalarTower E0 #
∀ (R' : Type u) (M : Type v) [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M], IsScalarTower R' (TrivSqZeroExt R' M) R'
def TrivSqZeroExt.inlAlgHom E1 #
(S : Type u_1) →
(R : Type u) →
(M : Type v) →
[inst : CommSemiring S] →
[inst_1 : Semiring R] →
[inst_2 : AddCommMonoid M] →
[inst_3 : Algebra S R] →
[inst_4 : Module S M] →
[inst_5 : Module R M] →
[inst_6 : Module Rᵐᵒᵖ M] →
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] →
[inst_8 : IsScalarTower S R M] → [inst_9 : IsScalarTower S Rᵐᵒᵖ M] → R →ₐ[S] TrivSqZeroExt R M
The canonical S-algebra inclusion R → TrivSqZeroExt R M.
theorem TrivSqZeroExt.inlAlgHom_apply E0 #
∀ (S : Type u_1) (R : Type u) (M : Type v) [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] (r : R),
(TrivSqZeroExt.inlAlgHom S R M) r = TrivSqZeroExt.inl r
theorem TrivSqZeroExt.algHom_ext E1 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {A : Type u_2} [inst_5 : Semiring A] [inst_6 : Algebra R' A]
⦃f g : TrivSqZeroExt R' M →ₐ[R'] A⦄, (∀ (m : M), f (TrivSqZeroExt.inr m) = g (TrivSqZeroExt.inr m)) → f = g
theorem TrivSqZeroExt.algHom_ext'_iff E0 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] {A : Type u_2}
[inst_10 : Semiring A] [inst_11 : Algebra S A] {f g : TrivSqZeroExt R M →ₐ[S] A},
f = g ↔
f.comp (TrivSqZeroExt.inlAlgHom S R M) = g.comp (TrivSqZeroExt.inlAlgHom S R M) ∧
f.toLinearMap ∘ₗ ↑S (TrivSqZeroExt.inrHom R M) = g.toLinearMap ∘ₗ ↑S (TrivSqZeroExt.inrHom R M)
theorem TrivSqZeroExt.algHom_ext' E1 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] {A : Type u_2}
[inst_10 : Semiring A] [inst_11 : Algebra S A] ⦃f g : TrivSqZeroExt R M →ₐ[S] A⦄,
f.comp (TrivSqZeroExt.inlAlgHom S R M) = g.comp (TrivSqZeroExt.inlAlgHom S R M) →
f.toLinearMap ∘ₗ ↑S (TrivSqZeroExt.inrHom R M) = g.toLinearMap ∘ₗ ↑S (TrivSqZeroExt.inrHom R M) → f = g
def TrivSqZeroExt.lift E3 #
{S : Type u_1} →
{R : Type u} →
{M : Type v} →
[inst : CommSemiring S] →
[inst_1 : Semiring R] →
[inst_2 : AddCommMonoid M] →
[inst_3 : Algebra S R] →
[inst_4 : Module S M] →
[inst_5 : Module R M] →
[inst_6 : Module Rᵐᵒᵖ M] →
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] →
[inst_8 : IsScalarTower S R M] →
[inst_9 : IsScalarTower S Rᵐᵒᵖ M] →
{A : Type u_2} →
[inst_10 : Semiring A] →
[inst_11 : Algebra S A] →
(f : R →ₐ[S] A) →
(g : M →ₗ[S] A) →
(∀ (x y : M), g x * g y = 0) →
(∀ (r : R) (x : M), g (r • x) = f r * g x) →
(∀ (r : R) (x : M), g (MulOpposite.op r • x) = g x * f r) →
TrivSqZeroExt R M →ₐ[S] A
Assemble an algebra morphism TrivSqZeroExt R M →ₐ[S] A from separate morphisms on R and M.
Namely, we require that for an algebra morphism f : R →ₐ[S] A and a linear map g : M →ₗ[S] A,
we have:
g x * g y = 0: the elements ofMcontinue to square to zero.g (r •> x) = f r * g xandg (x <• r) = g x * f r: scalar multiplication on the left and right is sent to left- and right- multiplication by the image underf.
See TrivSqZeroExt.liftEquiv for this as an equiv; namely that any such algebra morphism can be
factored in this way.
When R is commutative, this can be invoked with f = Algebra.ofId R A, which satisfies hfg and
hgf. This version is captured as an equiv by TrivSqZeroExt.liftEquivOfComm.
theorem TrivSqZeroExt.lift_def E0 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] {A : Type u_2}
[inst_10 : Semiring A] [inst_11 : Algebra S A] (f : R →ₐ[S] A) (g : M →ₗ[S] A) (hg : ∀ (x y : M), g x * g y = 0)
(hfg : ∀ (r : R) (x : M), g (r • x) = f r * g x) (hgf : ∀ (r : R) (x : M), g (MulOpposite.op r • x) = g x * f r)
(x : TrivSqZeroExt R M), (TrivSqZeroExt.lift f g hg hfg hgf) x = f x.fst + g x.snd
theorem TrivSqZeroExt.lift_apply_inl E0 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] {A : Type u_2}
[inst_10 : Semiring A] [inst_11 : Algebra S A] (f : R →ₐ[S] A) (g : M →ₗ[S] A) (hg : ∀ (x y : M), g x * g y = 0)
(hfg : ∀ (r : R) (x : M), g (r • x) = f r * g x) (hgf : ∀ (r : R) (x : M), g (MulOpposite.op r • x) = g x * f r)
(r : R), (TrivSqZeroExt.lift f g hg hfg hgf) (TrivSqZeroExt.inl r) = f r
theorem TrivSqZeroExt.lift_apply_inr E0 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] {A : Type u_2}
[inst_10 : Semiring A] [inst_11 : Algebra S A] (f : R →ₐ[S] A) (g : M →ₗ[S] A) (hg : ∀ (x y : M), g x * g y = 0)
(hfg : ∀ (r : R) (x : M), g (r • x) = f r * g x) (hgf : ∀ (r : R) (x : M), g (MulOpposite.op r • x) = g x * f r)
(m : M), (TrivSqZeroExt.lift f g hg hfg hgf) (TrivSqZeroExt.inr m) = g m
theorem TrivSqZeroExt.lift_comp_inlHom E0 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] {A : Type u_2}
[inst_10 : Semiring A] [inst_11 : Algebra S A] (f : R →ₐ[S] A) (g : M →ₗ[S] A) (hg : ∀ (x y : M), g x * g y = 0)
(hfg : ∀ (r : R) (x : M), g (r • x) = f r * g x) (hgf : ∀ (r : R) (x : M), g (MulOpposite.op r • x) = g x * f r),
(TrivSqZeroExt.lift f g hg hfg hgf).comp (TrivSqZeroExt.inlAlgHom S R M) = f
theorem TrivSqZeroExt.lift_comp_inrHom E0 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] {A : Type u_2}
[inst_10 : Semiring A] [inst_11 : Algebra S A] (f : R →ₐ[S] A) (g : M →ₗ[S] A) (hg : ∀ (x y : M), g x * g y = 0)
(hfg : ∀ (r : R) (x : M), g (r • x) = f r * g x) (hgf : ∀ (r : R) (x : M), g (MulOpposite.op r • x) = g x * f r),
(TrivSqZeroExt.lift f g hg hfg hgf).toLinearMap ∘ₗ ↑S (TrivSqZeroExt.inrHom R M) = g
theorem TrivSqZeroExt.lift_inlAlgHom_inrHom E0 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M],
TrivSqZeroExt.lift (TrivSqZeroExt.inlAlgHom S R M) (↑S (TrivSqZeroExt.inrHom R M)) ⋯ ⋯ ⋯ =
AlgHom.id S (TrivSqZeroExt R M)
When applied to inr and inl themselves, lift is the identity.
theorem TrivSqZeroExt.range_inlAlgHom_sup_adjoin_range_inr E0 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M],
(TrivSqZeroExt.inlAlgHom S R M).range ⊔ Algebra.adjoin S (Set.range TrivSqZeroExt.inr) = ⊤
theorem TrivSqZeroExt.range_liftAux E0 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] {A : Type u_2}
[inst_10 : Semiring A] [inst_11 : Algebra S A] (f : R →ₐ[S] A) (g : M →ₗ[S] A) (hg : ∀ (x y : M), g x * g y = 0)
(hfg : ∀ (r : R) (x : M), g (r • x) = f r * g x) (hgf : ∀ (r : R) (x : M), g (MulOpposite.op r • x) = g x * f r),
(TrivSqZeroExt.lift f g hg hfg hgf).range = f.range ⊔ Algebra.adjoin S (Set.range ⇑g)
def TrivSqZeroExt.liftEquiv E1 #
{S : Type u_1} →
{R : Type u} →
{M : Type v} →
[inst : CommSemiring S] →
[inst_1 : Semiring R] →
[inst_2 : AddCommMonoid M] →
[inst_3 : Algebra S R] →
[inst_4 : Module S M] →
[inst_5 : Module R M] →
[inst_6 : Module Rᵐᵒᵖ M] →
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] →
[inst_8 : IsScalarTower S R M] →
[inst_9 : IsScalarTower S Rᵐᵒᵖ M] →
{A : Type u_2} →
[inst_10 : Semiring A] →
[inst_11 : Algebra S A] →
{ fg //
(∀ (x y : M), fg.2 x * fg.2 y = 0) ∧
(∀ (r : R) (x : M), fg.2 (r • x) = fg.1 r * fg.2 x) ∧
∀ (r : R) (x : M), fg.2 (MulOpposite.op r • x) = fg.2 x * fg.1 r } ≃
(TrivSqZeroExt R M →ₐ[S] A)
A universal property of the trivial square-zero extension, providing a unique
TrivSqZeroExt R M →ₐ[R] A for every pair of maps f : R →ₐ[S] A and g : M →ₗ[S] A,
where the range of g has no non-zero products, and scaling the input to g on the left or right
amounts to a corresponding multiplication by f in the output.
This isomorphism is named to match the very similar Complex.lift.
theorem TrivSqZeroExt.liftEquiv_apply E0 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] {A : Type u_2}
[inst_10 : Semiring A] [inst_11 : Algebra S A]
(fg :
{ fg //
(∀ (x y : M), fg.2 x * fg.2 y = 0) ∧
(∀ (r : R) (x : M), fg.2 (r • x) = fg.1 r * fg.2 x) ∧
∀ (r : R) (x : M), fg.2 (MulOpposite.op r • x) = fg.2 x * fg.1 r }),
TrivSqZeroExt.liftEquiv fg = TrivSqZeroExt.lift (↑fg).1 (↑fg).2 ⋯ ⋯ ⋯
theorem TrivSqZeroExt.liftEquiv_symm_apply_coe E0 #
∀ {S : Type u_1} {R : Type u} {M : Type v} [inst : CommSemiring S] [inst_1 : Semiring R] [inst_2 : AddCommMonoid M]
[inst_3 : Algebra S R] [inst_4 : Module S M] [inst_5 : Module R M] [inst_6 : Module Rᵐᵒᵖ M]
[inst_7 : SMulCommClass R Rᵐᵒᵖ M] [inst_8 : IsScalarTower S R M] [inst_9 : IsScalarTower S Rᵐᵒᵖ M] {A : Type u_2}
[inst_10 : Semiring A] [inst_11 : Algebra S A] (F : TrivSqZeroExt R M →ₐ[S] A),
↑(TrivSqZeroExt.liftEquiv.symm F) =
(F.comp (TrivSqZeroExt.inlAlgHom S R M), F.toLinearMap ∘ₗ ↑S (TrivSqZeroExt.inrHom R M))
def TrivSqZeroExt.liftEquivOfComm E1 #
{R' : Type u} →
{M : Type v} →
[inst : CommSemiring R'] →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R' M] →
[inst_3 : Module R'ᵐᵒᵖ M] →
[inst_4 : IsCentralScalar R' M] →
{A : Type u_2} →
[inst_5 : Semiring A] →
[inst_6 : Algebra R' A] → { f // ∀ (x y : M), f x * f y = 0 } ≃ (TrivSqZeroExt R' M →ₐ[R'] A)
A simplified version of TrivSqZeroExt.liftEquiv for the commutative case.
theorem TrivSqZeroExt.liftEquivOfComm_apply E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {A : Type u_2} [inst_5 : Semiring A] [inst_6 : Algebra R' A]
(a : { f // ∀ (x y : M), f x * f y = 0 }),
TrivSqZeroExt.liftEquivOfComm a = TrivSqZeroExt.lift (Algebra.ofId R' A) ↑a ⋯ ⋯ ⋯
theorem TrivSqZeroExt.liftEquivOfComm_symm_apply_coe E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {A : Type u_2} [inst_5 : Semiring A] [inst_6 : Algebra R' A]
(a : TrivSqZeroExt R' M →ₐ[R'] A),
↑(TrivSqZeroExt.liftEquivOfComm.symm a) = a.toLinearMap ∘ₗ TrivSqZeroExt.inrHom R' M
def TrivSqZeroExt.map E1 #
{R' : Type u} →
{M : Type v} →
[inst : CommSemiring R'] →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R' M] →
[inst_3 : Module R'ᵐᵒᵖ M] →
[inst_4 : IsCentralScalar R' M] →
{N : Type u_3} →
[inst_5 : AddCommMonoid N] →
[inst_6 : Module R' N] →
[inst_7 : Module R'ᵐᵒᵖ N] →
[inst_8 : IsCentralScalar R' N] → (M →ₗ[R'] N) → TrivSqZeroExt R' M →ₐ[R'] TrivSqZeroExt R' N
Functoriality of TrivSqZeroExt when the ring is commutative: a linear map
f : M →ₗ[R'] N induces a morphism of R'-algebras from TrivSqZeroExt R' M to
TrivSqZeroExt R' N.
Note that we cannot neatly state the non-commutative case, as we do not have morphisms of bimodules.
theorem TrivSqZeroExt.map_inl E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {N : Type u_3} [inst_5 : AddCommMonoid N]
[inst_6 : Module R' N] [inst_7 : Module R'ᵐᵒᵖ N] [inst_8 : IsCentralScalar R' N] (f : M →ₗ[R'] N) (r : R'),
(TrivSqZeroExt.map f) (TrivSqZeroExt.inl r) = TrivSqZeroExt.inl r
theorem TrivSqZeroExt.map_inr E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {N : Type u_3} [inst_5 : AddCommMonoid N]
[inst_6 : Module R' N] [inst_7 : Module R'ᵐᵒᵖ N] [inst_8 : IsCentralScalar R' N] (f : M →ₗ[R'] N) (x : M),
(TrivSqZeroExt.map f) (TrivSqZeroExt.inr x) = TrivSqZeroExt.inr (f x)
theorem TrivSqZeroExt.fst_map E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {N : Type u_3} [inst_5 : AddCommMonoid N]
[inst_6 : Module R' N] [inst_7 : Module R'ᵐᵒᵖ N] [inst_8 : IsCentralScalar R' N] (f : M →ₗ[R'] N)
(x : TrivSqZeroExt R' M), ((TrivSqZeroExt.map f) x).fst = x.fst
theorem TrivSqZeroExt.snd_map E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {N : Type u_3} [inst_5 : AddCommMonoid N]
[inst_6 : Module R' N] [inst_7 : Module R'ᵐᵒᵖ N] [inst_8 : IsCentralScalar R' N] (f : M →ₗ[R'] N)
(x : TrivSqZeroExt R' M), ((TrivSqZeroExt.map f) x).snd = f x.snd
theorem TrivSqZeroExt.map_comp_inlAlgHom E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {N : Type u_3} [inst_5 : AddCommMonoid N]
[inst_6 : Module R' N] [inst_7 : Module R'ᵐᵒᵖ N] [inst_8 : IsCentralScalar R' N] (f : M →ₗ[R'] N),
(TrivSqZeroExt.map f).comp (TrivSqZeroExt.inlAlgHom R' R' M) = TrivSqZeroExt.inlAlgHom R' R' N
theorem TrivSqZeroExt.map_comp_inrHom E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {N : Type u_3} [inst_5 : AddCommMonoid N]
[inst_6 : Module R' N] [inst_7 : Module R'ᵐᵒᵖ N] [inst_8 : IsCentralScalar R' N] (f : M →ₗ[R'] N),
(TrivSqZeroExt.map f).toLinearMap ∘ₗ TrivSqZeroExt.inrHom R' M = TrivSqZeroExt.inrHom R' N ∘ₗ f
theorem TrivSqZeroExt.fstHom_comp_map E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {N : Type u_3} [inst_5 : AddCommMonoid N]
[inst_6 : Module R' N] [inst_7 : Module R'ᵐᵒᵖ N] [inst_8 : IsCentralScalar R' N] (f : M →ₗ[R'] N),
(TrivSqZeroExt.fstHom R' R' N).comp (TrivSqZeroExt.map f) = TrivSqZeroExt.fstHom R' R' M
theorem TrivSqZeroExt.sndHom_comp_map E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {N : Type u_3} [inst_5 : AddCommMonoid N]
[inst_6 : Module R' N] [inst_7 : Module R'ᵐᵒᵖ N] [inst_8 : IsCentralScalar R' N] (f : M →ₗ[R'] N),
TrivSqZeroExt.sndHom R' N ∘ₗ (TrivSqZeroExt.map f).toLinearMap = f ∘ₗ TrivSqZeroExt.sndHom R' M
theorem TrivSqZeroExt.map_id E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M],
TrivSqZeroExt.map LinearMap.id = AlgHom.id R' (TrivSqZeroExt R' M)
theorem TrivSqZeroExt.map_comp_map E0 #
∀ {R' : Type u} {M : Type v} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M] [inst_2 : Module R' M]
[inst_3 : Module R'ᵐᵒᵖ M] [inst_4 : IsCentralScalar R' M] {N : Type u_3} {P : Type u_4} [inst_5 : AddCommMonoid N]
[inst_6 : Module R' N] [inst_7 : Module R'ᵐᵒᵖ N] [inst_8 : IsCentralScalar R' N] [inst_9 : AddCommMonoid P]
[inst_10 : Module R' P] [inst_11 : Module R'ᵐᵒᵖ P] [inst_12 : IsCentralScalar R' P] (f : M →ₗ[R'] N) (g : N →ₗ[R'] P),
TrivSqZeroExt.map (g ∘ₗ f) = (TrivSqZeroExt.map g).comp (TrivSqZeroExt.map f)