The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.Algebra.Subalgebra.Basic
235 declarations. Mathlib docs · Source
Subalgebras over Commutative Semiring
In this file we define Subalgebras and the usual operations on them (map, comap).
The Algebra.adjoin operation and complete lattice structure can be found in
Mathlib/Algebra/Algebra/Subalgebra/Lattice.lean.
Subalgebras inherit structure from their Subsemiring / Semiring coercions.
TODO: bundle other forgetful maps between algebraic substructures, e.g.
toSubsemiring and toSubring in this file.
Subalgebras inherit structure from their Submodule coercions.
Actions by Subalgebras
These are just copies of the definitions about Subsemiring starting from
Subring.mulAction.
theorem Subalgebra.mk.inj E1 #
∀ {R : Type u} {A : Type v} {inst : CommSemiring R} {inst_1 : Semiring A} {inst_2 : Algebra R A}
{toSubsemiring : Subsemiring A} {algebraMap_mem' : ∀ (r : R), (algebraMap R A) r ∈ toSubsemiring.carrier}
{toSubsemiring_1 : Subsemiring A} {algebraMap_mem'_1 : ∀ (r : R), (algebraMap R A) r ∈ toSubsemiring_1.carrier},
{ toSubsemiring := toSubsemiring, algebraMap_mem' := algebraMap_mem' } =
{ toSubsemiring := toSubsemiring_1, algebraMap_mem' := algebraMap_mem'_1 } →
toSubsemiring = toSubsemiring_1
def Subalgebra.ctorIdx E1 #
{R : Type u} →
{A : Type v} → {inst : CommSemiring R} → {inst_1 : Semiring A} → {inst_2 : Algebra R A} → Subalgebra R A → ℕ
theorem Subalgebra.mk.injEq E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
(toSubsemiring : Subsemiring A) (algebraMap_mem' : ∀ (r : R), (algebraMap R A) r ∈ toSubsemiring.carrier)
(toSubsemiring_1 : Subsemiring A) (algebraMap_mem'_1 : ∀ (r : R), (algebraMap R A) r ∈ toSubsemiring_1.carrier),
({ toSubsemiring := toSubsemiring, algebraMap_mem' := algebraMap_mem' } =
{ toSubsemiring := toSubsemiring_1, algebraMap_mem' := algebraMap_mem'_1 }) =
(toSubsemiring = toSubsemiring_1)
structure Subalgebra E1 #
(R : Type u) → (A : Type v) → [inst : CommSemiring R] → [inst_1 : Semiring A] → [Algebra R A] → Type v
A subalgebra is a sub(semi)ring that includes the range of algebraMap.
abbrev Subalgebra.toSubsemiring E1 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → Subalgebra R A → Subsemiring A
Reinterpret a Subalgebra as a Subsemiring.
ctor Subalgebra.mk E0 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
(toSubsemiring : Subsemiring A) → (∀ (r : R), (algebraMap R A) r ∈ toSubsemiring.carrier) → Subalgebra R A
theorem Subalgebra.algebraMap_mem' E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (self : Subalgebra R A)
(r : R), (algebraMap R A) r ∈ self.carrier
The image of algebraMap is contained in the underlying set of the subalgebra
instance Subalgebra.instSetLike E0 #
{R : Type u} →
{A : Type v} → [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → SetLike (Subalgebra R A) A
instance Subalgebra.instPartialOrder E0 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → PartialOrder (Subalgebra R A)
theorem Subalgebra.coe_mk E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (s : Subsemiring A)
(h : ∀ (r : R), (algebraMap R A) r ∈ s.carrier), ↑{ toSubsemiring := s, algebraMap_mem' := h } = ↑s
theorem Subalgebra.mem_mk E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (s : Subsemiring A)
(h : ∀ (r : R), (algebraMap R A) r ∈ s.carrier) (x : A), x ∈ { toSubsemiring := s, algebraMap_mem' := h } ↔ x ∈ s
def Subalgebra.ofClass E1 #
{S : Type u_1} →
{R : Type u_2} →
{A : Type u_3} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : SetLike S A] → [SubsemiringClass S A] → [SMulMemClass S R A] → S → Subalgebra R A
The actual Subalgebra obtained from an element of a type satisfying SubsemiringClass and
SMulMemClass.
theorem Subalgebra.coe_ofClass E0 #
∀ {S : Type u_1} {R : Type u_2} {A : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : SetLike S A] [inst_4 : SubsemiringClass S A] [inst_5 : SMulMemClass S R A] (s : S),
↑(Subalgebra.ofClass s) = ↑s
instance Subalgebra.instCanLiftSetCoeAndForallForallForallMemForallHAddForallForallForallForallHMulForallCoeRingHomAlgebraMap E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
CanLift (Set A) (Subalgebra R A) SetLike.coe fun s ↦
(∀ {x y : A}, x ∈ s → y ∈ s → x + y ∈ s) ∧
(∀ {x y : A}, x ∈ s → y ∈ s → x * y ∈ s) ∧ ∀ (r : R), (algebraMap R A) r ∈ s
instance Subalgebra.instSubsemiringClass E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
SubsemiringClass (Subalgebra R A) A
theorem Subalgebra.mem_toSubsemiring E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S : Subalgebra R A}
{x : A}, x ∈ S.toSubsemiring ↔ x ∈ S
theorem Subalgebra.mem_carrier E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {s : Subalgebra R A}
{x : A}, x ∈ s.carrier ↔ x ∈ s
theorem Subalgebra.ext E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S T : Subalgebra R A},
(∀ (x : A), x ∈ S ↔ x ∈ T) → S = T
theorem Subalgebra.ext_iff E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S T : Subalgebra R A},
S = T ↔ ∀ (x : A), x ∈ S ↔ x ∈ T
theorem Subalgebra.coe_toSubsemiring E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
↑S.toSubsemiring = ↑S
theorem Subalgebra.toSubsemiring_injective E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
Function.Injective Subalgebra.toSubsemiring
theorem Subalgebra.toSubsemiring_inj E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S U : Subalgebra R A},
S.toSubsemiring = U.toSubsemiring ↔ S = U
def Subalgebra.copy E1 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] → [inst_2 : Algebra R A] → (S : Subalgebra R A) → (s : Set A) → s = ↑S → Subalgebra R A
Copy of a subalgebra with a new carrier equal to the old one. Useful to fix definitional
equalities.
theorem Subalgebra.copy_toSubsemiring E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
(s : Set A) (hs : s = ↑S),
(S.copy s hs).toSubsemiring = { carrier := s, mul_mem' := ⋯, one_mem' := ⋯, add_mem' := ⋯, zero_mem' := ⋯ }
theorem Subalgebra.coe_copy E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
(s : Set A) (hs : s = ↑S), ↑(S.copy s hs) = s
theorem Subalgebra.copy_eq E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
(s : Set A) (hs : s = ↑S), S.copy s hs = S
instance Subalgebra.instSMulMemClass E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
SMulMemClass (Subalgebra R A) R A
theorem algebraMap_mem E0 #
∀ {S : Type u_1} {R : Type u_2} {A : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : SetLike S A] [OneMemClass S A] [SMulMemClass S R A] (s : S) (r : R), (algebraMap R A) r ∈ s
theorem Subalgebra.algebraMap_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
(r : R), (algebraMap R A) r ∈ S
theorem Subalgebra.rangeS_le E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
(algebraMap R A).rangeS ≤ S.toSubsemiring
theorem Subalgebra.range_subset E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
Set.range ⇑(algebraMap R A) ⊆ ↑S
theorem Subalgebra.range_le E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
Set.range ⇑(algebraMap R A) ⊆ ↑S
theorem Subalgebra.smul_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{x : A}, x ∈ S → ∀ (r : R), r • x ∈ S
theorem Subalgebra.one_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
1 ∈ S
theorem Subalgebra.mul_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{x y : A}, x ∈ S → y ∈ S → x * y ∈ S
theorem Subalgebra.pow_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{x : A}, x ∈ S → ∀ (n : ℕ), x ^ n ∈ S
theorem Subalgebra.zero_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
0 ∈ S
theorem Subalgebra.add_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{x y : A}, x ∈ S → y ∈ S → x + y ∈ S
theorem Subalgebra.nsmul_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{x : A}, x ∈ S → ∀ (n : ℕ), n • x ∈ S
theorem Subalgebra.natCast_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
(n : ℕ), ↑n ∈ S
theorem Subalgebra.list_prod_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{L : List A}, (∀ x ∈ L, x ∈ S) → L.prod ∈ S
theorem Subalgebra.list_sum_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{L : List A}, (∀ x ∈ L, x ∈ S) → L.sum ∈ S
theorem Subalgebra.multiset_sum_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{m : Multiset A}, (∀ x ∈ m, x ∈ S) → m.sum ∈ S
theorem Subalgebra.sum_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{ι : Type w} {t : Finset ι} {f : ι → A}, (∀ x ∈ t, f x ∈ S) → ∑ x ∈ t, f x ∈ S
theorem Subalgebra.multiset_prod_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
(S : Subalgebra R A) {m : Multiset A}, (∀ x ∈ m, x ∈ S) → m.prod ∈ S
theorem Subalgebra.prod_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
(S : Subalgebra R A) {ι : Type w} {t : Finset ι} {f : ι → A}, (∀ x ∈ t, f x ∈ S) → ∏ x ∈ t, f x ∈ S
def Subalgebra.toNonUnitalSubalgebra E1 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → Subalgebra R A → NonUnitalSubalgebra R A
Turn a Subalgebra into a NonUnitalSubalgebra by forgetting that it contains 1.
theorem Subalgebra.one_mem_toNonUnitalSubalgebra E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
1 ∈ S.toNonUnitalSubalgebra
theorem Subalgebra.mem_toNonUnitalSubalgebra E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S : Subalgebra R A}
{x : A}, x ∈ S.toNonUnitalSubalgebra ↔ x ∈ S
theorem Subalgebra.toNonUnitalSubalgebra_injective E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
Function.Injective Subalgebra.toNonUnitalSubalgebra
theorem Subalgebra.toNonUnitalSubalgebra_inj E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S U : Subalgebra R A},
S.toNonUnitalSubalgebra = U.toNonUnitalSubalgebra ↔ S = U
instance Subalgebra.instSubringClass E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A],
SubringClass (Subalgebra R A) A
theorem Subalgebra.neg_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] (S : Subalgebra R A) {x : A},
x ∈ S → -x ∈ S
theorem Subalgebra.sub_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] (S : Subalgebra R A) {x y : A},
x ∈ S → y ∈ S → x - y ∈ S
theorem Subalgebra.zsmul_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] (S : Subalgebra R A) {x : A},
x ∈ S → ∀ (n : ℤ), n • x ∈ S
theorem Subalgebra.intCast_mem E1 #
∀ {R : Type u} {A : Type v} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] (S : Subalgebra R A) (n : ℤ),
↑n ∈ S
def Subalgebra.toAddSubmonoid E1 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → Subalgebra R A → AddSubmonoid A
The projection from a subalgebra of A to an additive submonoid of A.
def Subalgebra.toSubring E1 #
{R : Type u} →
{A : Type v} → [inst : CommRing R] → [inst_1 : Ring A] → [inst_2 : Algebra R A] → Subalgebra R A → Subring A
A subalgebra over a ring is also a Subring.
theorem Subalgebra.mem_toSubring E0 #
∀ {R : Type u} {A : Type v} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] {S : Subalgebra R A} {x : A},
x ∈ S.toSubring ↔ x ∈ S
theorem Subalgebra.coe_toSubring E0 #
∀ {R : Type u} {A : Type v} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
↑S.toSubring = ↑S
theorem Subalgebra.toSubring_injective E1 #
∀ {R : Type u} {A : Type v} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A],
Function.Injective Subalgebra.toSubring
theorem Subalgebra.toSubring_inj E1 #
∀ {R : Type u} {A : Type v} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] {S U : Subalgebra R A},
S.toSubring = U.toSubring ↔ S = U
instance Subalgebra.instInhabitedSubtypeMem E0 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → (S : Subalgebra R A) → Inhabited ↥S
instance Subalgebra.toSemiring E0 #
{R : Type u_1} →
{A : Type u_2} →
[inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → (S : Subalgebra R A) → Semiring ↥S
instance Subalgebra.toCommSemiring E0 #
{R : Type u_1} →
{A : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : CommSemiring A] → [inst_2 : Algebra R A] → (S : Subalgebra R A) → CommSemiring ↥S
instance Subalgebra.toRing E0 #
{R : Type u_1} →
{A : Type u_2} → [inst : CommRing R] → [inst_1 : Ring A] → [inst_2 : Algebra R A] → (S : Subalgebra R A) → Ring ↥S
instance Subalgebra.toCommRing E0 #
{R : Type u_1} →
{A : Type u_2} →
[inst : CommRing R] → [inst_1 : CommRing A] → [inst_2 : Algebra R A] → (S : Subalgebra R A) → CommRing ↥S
def Subalgebra.toSubmodule E1 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → Subalgebra R A ↪o Submodule R A
The forgetful map from Subalgebra to Submodule as an OrderEmbedding
theorem Subalgebra.mem_toSubmodule E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{x : A}, x ∈ Subalgebra.toSubmodule S ↔ x ∈ S
theorem Subalgebra.coe_toSubmodule E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
↑(Subalgebra.toSubmodule S) = ↑S
theorem Subalgebra.toSubmodule_injective E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
Function.Injective ⇑Subalgebra.toSubmodule
instance Subalgebra.instIsScalarTowerSubtypeMem E0 #
∀ {R' : Type u'} {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
(S : Subalgebra R A) [inst_3 : Semiring R'] [inst_4 : SMul R' R] [inst_5 : Module R' A]
[inst_6 : IsScalarTower R' R A], IsScalarTower R' R ↥S
instance Subalgebra.algebra' E0 #
{R' : Type u'} →
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
(S : Subalgebra R A) →
[inst_3 : CommSemiring R'] →
[inst_4 : SMul R' R] → [inst_5 : Algebra R' A] → [IsScalarTower R' R A] → Algebra R' ↥S
More general form of Subalgebra.algebra.
This instance should have low priority since it is slow to fail:
before failing, it will cause a search through all SMul R' R instances,
which can quickly get expensive.
instance Subalgebra.algebra E0 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → (S : Subalgebra R A) → Algebra R ↥S
theorem Subalgebra.mk_algebraMap E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S : Subalgebra R A}
(r : R) (hr : (algebraMap R A) r ∈ S), ⟨(algebraMap R A) r, hr⟩ = (algebraMap R ↥S) r
instance Subalgebra.instIsTorsionFree E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
[Module.IsTorsionFree R A], Module.IsTorsionFree R ↥S
theorem Subalgebra.coe_add E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
(x y : ↥S), ↑(x + y) = ↑x + ↑y
theorem Subalgebra.coe_mul E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
(x y : ↥S), ↑(x * y) = ↑x * ↑y
theorem Subalgebra.coe_zero E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
↑0 = 0
theorem Subalgebra.coe_one E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
↑1 = 1
theorem Subalgebra.coe_neg E0 #
∀ {R : Type u} {A : Type v} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] {S : Subalgebra R A} (x : ↥S),
↑(-x) = -↑x
theorem Subalgebra.coe_sub E0 #
∀ {R : Type u} {A : Type v} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] {S : Subalgebra R A}
(x y : ↥S), ↑(x - y) = ↑x - ↑y
theorem Subalgebra.coe_smul E0 #
∀ {R' : Type u'} {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
(S : Subalgebra R A) [inst_3 : SMul R' R] [inst_4 : SMul R' A] [inst_5 : IsScalarTower R' R A] (r : R') (x : ↥S),
↑(r • x) = r • ↑x
theorem Subalgebra.coe_algebraMap E0 #
∀ {R' : Type u'} {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
(S : Subalgebra R A) [inst_3 : CommSemiring R'] [inst_4 : SMul R' R] [inst_5 : Algebra R' A]
[inst_6 : IsScalarTower R' R A] (r : R'), ↑((algebraMap R' ↥S) r) = (algebraMap R' A) r
theorem Subalgebra.coe_pow E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
(x : ↥S) (n : ℕ), ↑(x ^ n) = ↑x ^ n
theorem Subalgebra.coe_eq_zero E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{x : ↥S}, ↑x = 0 ↔ x = 0
theorem Subalgebra.coe_eq_one E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{x : ↥S}, ↑x = 1 ↔ x = 1
def Subalgebra.val E1 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → (S : Subalgebra R A) → ↥S →ₐ[R] A
Embedding of a subalgebra into the algebra.
theorem Subalgebra.coe_val E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
⇑S.val = Subtype.val
theorem Subalgebra.val_apply E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
(x : ↥S), S.val x = ↑x
theorem Subalgebra.toSubsemiring_subtype E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
S.subtype = ↑S.val
theorem Subalgebra.toSubring_subtype E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
S.toSubring.subtype = ↑S.val
theorem Subalgebra.toSubmodule_subtype E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
(Subalgebra.toSubmodule S).subtype = ↑S.val
def Subalgebra.toSubmoduleEquiv E1 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] → [inst_2 : Algebra R A] → (S : Subalgebra R A) → ↥(Subalgebra.toSubmodule S) ≃ₗ[R] ↥S
Linear equivalence between S : Submodule R A and S. Though these types are equal,
we define it as a LinearEquiv to avoid type equalities.
def Subalgebra.map E1 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : Semiring B] → [inst_4 : Algebra R B] → (A →ₐ[R] B) → Subalgebra R A → Subalgebra R B
Transport a subalgebra via an algebra homomorphism.
theorem Subalgebra.coe_map E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (f : A →ₐ[R] B) (S : Subalgebra R A), ↑(Subalgebra.map f S) = ⇑f '' ↑S
theorem Subalgebra.map_toSubsemiring E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (f : A →ₐ[R] B) (S : Subalgebra R A),
(Subalgebra.map f S).toSubsemiring = Subsemiring.map (↑f) S.toSubsemiring
theorem Subalgebra.map_mono E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {S₁ S₂ : Subalgebra R A} {f : A →ₐ[R] B},
S₁ ≤ S₂ → Subalgebra.map f S₁ ≤ Subalgebra.map f S₂
theorem Subalgebra.map_injective E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {f : A →ₐ[R] B},
Function.Injective ⇑f → Function.Injective (Subalgebra.map f)
theorem Subalgebra.map_id E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
Subalgebra.map (AlgHom.id R A) S = S
theorem Subalgebra.map_map E0 #
∀ {R : Type u} {A : Type v} {B : Type w} {C : Type w'} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
(S : Subalgebra R A) (g : B →ₐ[R] C) (f : A →ₐ[R] B),
Subalgebra.map g (Subalgebra.map f S) = Subalgebra.map (g.comp f) S
theorem Subalgebra.mem_map E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {S : Subalgebra R A} {f : A →ₐ[R] B} {y : B},
y ∈ Subalgebra.map f S ↔ ∃ x ∈ S, f x = y
theorem Subalgebra.map_toSubmodule E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {S : Subalgebra R A} {f : A →ₐ[R] B},
Subalgebra.toSubmodule (Subalgebra.map f S) = Submodule.map f.toLinearMap (Subalgebra.toSubmodule S)
def Subalgebra.comap E1 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : Semiring B] → [inst_4 : Algebra R B] → (A →ₐ[R] B) → Subalgebra R B → Subalgebra R A
Preimage of a subalgebra under an algebra homomorphism.
theorem Subalgebra.comap_toSubsemiring E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (f : A →ₐ[R] B) (S : Subalgebra R B),
(Subalgebra.comap f S).toSubsemiring = Subsemiring.comap (↑f) S.toSubsemiring
theorem Subalgebra.coe_comap E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (f : A →ₐ[R] B) (S : Subalgebra R B), ↑(Subalgebra.comap f S) = ⇑f ⁻¹' ↑S
theorem Subalgebra.map_le E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {S : Subalgebra R A} {f : A →ₐ[R] B} {U : Subalgebra R B},
Subalgebra.map f S ≤ U ↔ S ≤ Subalgebra.comap f U
theorem Subalgebra.gc_map_comap E1 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (f : A →ₐ[R] B), GaloisConnection (Subalgebra.map f) (Subalgebra.comap f)
theorem Subalgebra.mem_comap E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (S : Subalgebra R B) (f : A →ₐ[R] B) (x : A),
x ∈ Subalgebra.comap f S ↔ f x ∈ S
instance Subalgebra.noZeroDivisors E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [NoZeroDivisors A] [inst_3 : Algebra R A]
(S : Subalgebra R A), NoZeroDivisors ↥S
instance Subalgebra.isDomain E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : Ring A] [IsDomain A] [inst_3 : Algebra R A]
(S : Subalgebra R A), IsDomain ↥S
instance SubalgebraClass.toAlgebra E0 #
{S : Type u_1} →
{R : Type u_2} →
{A : Type u_3} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : SetLike S A] →
[inst_4 : SubsemiringClass S A] → [hSR : SMulMemClass S R A] → (s : S) → Algebra R ↥s
theorem SubalgebraClass.coe_algebraMap E0 #
∀ {S : Type u_1} {R : Type u_2} {A : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : SetLike S A] [inst_4 : SubsemiringClass S A] [hSR : SMulMemClass S R A] (s : S) (r : R),
↑((algebraMap R ↥s) r) = (algebraMap R A) r
def SubalgebraClass.val E1 #
{S : Type u_1} →
{R : Type u_2} →
{A : Type u_3} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : SetLike S A] → [inst_4 : SubsemiringClass S A] → [hSR : SMulMemClass S R A] → (s : S) → ↥s →ₐ[R] A
Embedding of a subalgebra into the algebra, as an algebra homomorphism.
theorem SubalgebraClass.coe_val E0 #
∀ {S : Type u_1} {R : Type u_2} {A : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : SetLike S A] [inst_4 : SubsemiringClass S A] [hSR : SMulMemClass S R A] (s : S),
⇑(SubalgebraClass.val s) = Subtype.val
def Submodule.toSubalgebra E1 #
{R : Type u_1} →
{A : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] → (p : Submodule R A) → 1 ∈ p → (∀ (x y : A), x ∈ p → y ∈ p → x * y ∈ p) → Subalgebra R A
A submodule containing 1 and closed under multiplication is a subalgebra.
theorem Submodule.toSubalgebra_toSubsemiring E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (p : Submodule R A)
(h_one : 1 ∈ p) (h_mul : ∀ (x y : A), x ∈ p → y ∈ p → x * y ∈ p),
(p.toSubalgebra h_one h_mul).toSubsemiring =
{ carrier := p.carrier, mul_mem' := ⋯, one_mem' := h_one, add_mem' := ⋯, zero_mem' := ⋯ }
theorem Submodule.coe_toSubalgebra E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (p : Submodule R A)
(h_one : 1 ∈ p) (h_mul : ∀ (x y : A), x ∈ p → y ∈ p → x * y ∈ p), ↑(p.toSubalgebra h_one h_mul) = p.carrier
theorem Submodule.mem_toSubalgebra E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {p : Submodule R A}
{h_one : 1 ∈ p} {h_mul : ∀ (x y : A), x ∈ p → y ∈ p → x * y ∈ p} {x : A}, x ∈ p.toSubalgebra h_one h_mul ↔ x ∈ p
theorem Submodule.toSubalgebra_mk E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (s : Submodule R A)
(h1 : 1 ∈ s) (hmul : ∀ (x y : A), x ∈ s → y ∈ s → x * y ∈ s),
s.toSubalgebra h1 hmul =
{ carrier := ↑s, mul_mem' := hmul, one_mem' := h1, add_mem' := ⋯, zero_mem' := ⋯, algebraMap_mem' := ⋯ }
theorem Submodule.toSubalgebra_toSubmodule E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (p : Submodule R A)
(h_one : 1 ∈ p) (h_mul : ∀ (x y : A), x ∈ p → y ∈ p → x * y ∈ p),
Subalgebra.toSubmodule (p.toSubalgebra h_one h_mul) = p
theorem Subalgebra.toSubmodule_toSubalgebra E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
(S : Subalgebra R A), (Subalgebra.toSubmodule S).toSubalgebra ⋯ ⋯ = S
def AlgHom.range E3 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] → [inst_3 : Semiring B] → [inst_4 : Algebra R B] → (A →ₐ[R] B) → Subalgebra R B
Range of an AlgHom as a subalgebra.
theorem AlgHom.coe_range E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (φ : A →ₐ[R] B), ↑φ.range = Set.range ⇑φ
theorem AlgHom.range_toSubsemiring E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (φ : A →ₐ[R] B), φ.range.toSubsemiring = (↑φ).rangeS
theorem AlgHom.mem_range E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (φ : A →ₐ[R] B) {y : B}, y ∈ φ.range ↔ ∃ x, φ x = y
theorem AlgHom.mem_range_self E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (φ : A →ₐ[R] B) (x : A), φ x ∈ φ.range
theorem AlgHom.range_comp E1 #
∀ {R : Type u} {A : Type v} {B : Type w} {C : Type w'} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
(f : A →ₐ[R] B) (g : B →ₐ[R] C), (g.comp f).range = Subalgebra.map g f.range
theorem AlgHom.range_comp_le_range E1 #
∀ {R : Type u} {A : Type v} {B : Type w} {C : Type w'} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
(f : A →ₐ[R] B) (g : B →ₐ[R] C), (g.comp f).range ≤ g.range
def AlgHom.codRestrict E1 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : Semiring B] →
[inst_4 : Algebra R B] → (f : A →ₐ[R] B) → (S : Subalgebra R B) → (∀ (x : A), f x ∈ S) → A →ₐ[R] ↥S
Restrict the codomain of an algebra homomorphism.
theorem AlgHom.val_comp_codRestrict E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (f : A →ₐ[R] B) (S : Subalgebra R B) (hf : ∀ (x : A), f x ∈ S),
S.val.comp (f.codRestrict S hf) = f
theorem AlgHom.coe_codRestrict E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (f : A →ₐ[R] B) (S : Subalgebra R B) (hf : ∀ (x : A), f x ∈ S) (x : A),
↑((f.codRestrict S hf) x) = f x
theorem AlgHom.injective_codRestrict E1 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (f : A →ₐ[R] B) (S : Subalgebra R B) (hf : ∀ (x : A), f x ∈ S),
Function.Injective ⇑(f.codRestrict S hf) ↔ Function.Injective ⇑f
abbrev AlgHom.rangeRestrict E1 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] → [inst_3 : Semiring B] → [inst_4 : Algebra R B] → (f : A →ₐ[R] B) → A →ₐ[R] ↥f.range
Restrict the codomain of an AlgHom f to f.range.
This is the bundled version of Set.rangeFactorization.
theorem AlgHom.val_comp_rangeRestrict E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (φ : A →ₐ[R] B), φ.range.val.comp φ.rangeRestrict = φ
theorem AlgHom.rangeRestrict_surjective E1 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (f : A →ₐ[R] B), Function.Surjective ⇑f.rangeRestrict
instance AlgHom.fintypeRange E0 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : Semiring B] →
[inst_4 : Algebra R B] → [Fintype A] → [DecidableEq B] → (φ : A →ₐ[R] B) → Fintype ↥φ.range
The range of a morphism of algebras is a fintype, if the domain is a fintype.
Note that this instance can cause a diamond with Subtype.fintype if B is also a fintype.
def AlgEquiv.ofLeftInverse E1 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Semiring B] →
[inst_3 : Algebra R A] →
[inst_4 : Algebra R B] → {g : B → A} → {f : A →ₐ[R] B} → Function.LeftInverse g ⇑f → A ≃ₐ[R] ↥f.range
Restrict an algebra homomorphism with a left inverse to an algebra isomorphism to its range.
This is a computable alternative to AlgEquiv.ofInjective.
theorem AlgEquiv.ofLeftInverse_apply E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
[inst_3 : Algebra R A] [inst_4 : Algebra R B] {g : B → A} {f : A →ₐ[R] B} (h : Function.LeftInverse g ⇑f) (x : A),
↑((AlgEquiv.ofLeftInverse h) x) = f x
theorem AlgEquiv.ofLeftInverse_symm_apply E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
[inst_3 : Algebra R A] [inst_4 : Algebra R B] {g : B → A} {f : A →ₐ[R] B} (h : Function.LeftInverse g ⇑f)
(x : ↥f.range), (AlgEquiv.ofLeftInverse h).symm x = g ↑x
def AlgEquiv.ofInjective E1 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Semiring B] →
[inst_3 : Algebra R A] → [inst_4 : Algebra R B] → (f : A →ₐ[R] B) → Function.Injective ⇑f → A ≃ₐ[R] ↥f.range
Restrict an injective algebra homomorphism to an algebra isomorphism
theorem AlgEquiv.ofInjective_apply E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
[inst_3 : Algebra R A] [inst_4 : Algebra R B] (f : A →ₐ[R] B) (hf : Function.Injective ⇑f) (x : A),
↑((AlgEquiv.ofInjective f hf) x) = f x
def AlgEquiv.ofInjectiveField E1 #
{R : Type u} →
[inst : CommSemiring R] →
{E : Type u_1} →
{F : Type u_2} →
[inst_1 : DivisionRing E] →
[inst_2 : Semiring F] →
[Nontrivial F] → [inst_4 : Algebra R E] → [inst_5 : Algebra R F] → (f : E →ₐ[R] F) → E ≃ₐ[R] ↥f.range
Restrict an algebra homomorphism between fields to an algebra isomorphism
def AlgEquiv.subalgebraMap E1 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Semiring B] →
[inst_3 : Algebra R A] →
[inst_4 : Algebra R B] → (e : A ≃ₐ[R] B) → (S : Subalgebra R A) → ↥S ≃ₐ[R] ↥(Subalgebra.map (↑e) S)
Given an equivalence e : A ≃ₐ[R] B of R-algebras and a subalgebra S of A,
subalgebraMap is the induced equivalence between S and S.map e
theorem AlgEquiv.subalgebraMap_apply_coe E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
[inst_3 : Algebra R A] [inst_4 : Algebra R B] (e : A ≃ₐ[R] B) (S : Subalgebra R A) (x : ↑↑S.toAddSubmonoid),
↑((e.subalgebraMap S) x) = e ↑x
theorem AlgEquiv.subalgebraMap_symm_apply_coe E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
[inst_3 : Algebra R A] [inst_4 : Algebra R B] (e : A ≃ₐ[R] B) (S : Subalgebra R A)
(y : ↑(⇑↑e.toRingEquiv.toAddEquiv '' ↑S.toAddSubmonoid)), ↑((e.subalgebraMap S).symm y) = e.symm ↑y
instance Subalgebra.subsingleton_of_subsingleton E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [Subsingleton A],
Subsingleton (Subalgebra R A)
theorem Subalgebra.range_val E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
S.val.range = S
def Subalgebra.inclusion E1 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] → [inst_2 : Algebra R A] → {S T : Subalgebra R A} → S ≤ T → ↥S →ₐ[R] ↥T
The map S → T when S is a subalgebra contained in the subalgebra T.
This is the subalgebra version of Submodule.inclusion, or Subring.inclusion
theorem Subalgebra.inclusion_injective E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S T : Subalgebra R A}
(h : S ≤ T), Function.Injective ⇑(Subalgebra.inclusion h)
theorem Subalgebra.inclusion_self E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S : Subalgebra R A},
Subalgebra.inclusion ⋯ = AlgHom.id R ↥S
theorem Subalgebra.inclusion_mk E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S T : Subalgebra R A}
(h : S ≤ T) (x : A) (hx : x ∈ S), (Subalgebra.inclusion h) ⟨x, hx⟩ = ⟨x, ⋯⟩
theorem Subalgebra.inclusion_right E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S T : Subalgebra R A}
(h : S ≤ T) (x : ↥T) (m : ↑x ∈ S), (Subalgebra.inclusion h) ⟨↑x, m⟩ = x
theorem Subalgebra.inclusion_inclusion E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
{S T U : Subalgebra R A} (hst : S ≤ T) (htu : T ≤ U) (x : ↥S),
(Subalgebra.inclusion htu) ((Subalgebra.inclusion hst) x) = (Subalgebra.inclusion ⋯) x
theorem Subalgebra.val_comp_inclusion E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S T : Subalgebra R A}
(hst : S ≤ T), T.val.comp (Subalgebra.inclusion hst) = S.val
theorem Subalgebra.coe_inclusion E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S T : Subalgebra R A}
(h : S ≤ T) (s : ↥S), ↑((Subalgebra.inclusion h) s) = ↑s
theorem Subalgebra.inclusion.isScalarTower_left E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S T : Subalgebra R A}
(h : S ≤ T) (X : Type u_1) [inst_3 : SMul X R] [inst_4 : SMul X A] [inst_5 : IsScalarTower X R A],
IsScalarTower X ↥S ↥T
theorem Subalgebra.inclusion.isScalarTower_right E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S T : Subalgebra R A}
(h : S ≤ T) (X : Type u_1) [inst_3 : MulAction A X], IsScalarTower (↥S) (↥T) X
theorem Subalgebra.inclusion.faithfulSMul E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {S T : Subalgebra R A}
(h : S ≤ T), FaithfulSMul ↥S ↥T
def Subalgebra.equivOfEq E1 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] → [inst_2 : Algebra R A] → (S T : Subalgebra R A) → S = T → ↥S ≃ₐ[R] ↥T
Two subalgebras that are equal are also equivalent as algebras.
This is the Subalgebra version of LinearEquiv.ofEq and Set.equivOfEq.
theorem Subalgebra.equivOfEq_apply E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S T : Subalgebra R A)
(h : S = T) (x : ↥S), (S.equivOfEq T h) x = ⟨↑x, ⋯⟩
theorem Subalgebra.equivOfEq_symm E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S T : Subalgebra R A)
(h : S = T), (S.equivOfEq T h).symm = T.equivOfEq S ⋯
theorem Subalgebra.equivOfEq_rfl E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A),
S.equivOfEq S ⋯ = AlgEquiv.refl
theorem Subalgebra.equivOfEq_trans E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
(S T U : Subalgebra R A) (hST : S = T) (hTU : T = U), (S.equivOfEq T hST).trans (T.equivOfEq U hTU) = S.equivOfEq U ⋯
theorem Subalgebra.range_comp_val E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (S : Subalgebra R A) (f : A →ₐ[R] B),
(f.comp S.val).range = Subalgebra.map f S
def AlgHom.subalgebraMap E1 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : Semiring B] →
[inst_4 : Algebra R B] → (S : Subalgebra R A) → (f : A →ₐ[R] B) → ↥S →ₐ[R] ↥(Subalgebra.map f S)
An AlgHom between two rings restricts to an AlgHom from any subalgebra of the
domain onto the image of that subalgebra.
theorem AlgHom.subalgebraMap_coe_apply E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {S : Subalgebra R A} (f : A →ₐ[R] B) (x : ↥S),
↑((AlgHom.subalgebraMap S f) x) = f ↑x
theorem AlgHom.subalgebraMap_surjective E1 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (S : Subalgebra R A) (f : A →ₐ[R] B),
Function.Surjective ⇑(AlgHom.subalgebraMap S f)
def Subalgebra.equivMapOfInjective E1 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : Semiring B] →
[inst_4 : Algebra R B] →
(S : Subalgebra R A) → (f : A →ₐ[R] B) → Function.Injective ⇑f → ↥S ≃ₐ[R] ↥(Subalgebra.map f S)
A subalgebra is isomorphic to its image under an injective AlgHom
theorem Subalgebra.coe_equivMapOfInjective_apply E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (S : Subalgebra R A) (f : A →ₐ[R] B) (hf : Function.Injective ⇑f)
(x : ↥S), ↑((S.equivMapOfInjective f hf) x) = f ↑x
instance Subalgebra.instSMulSubtypeMem E0 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] → [inst_2 : Algebra R A] → {α : Type u_1} → [SMul A α] → (S : Subalgebra R A) → SMul (↥S) α
The action by a subalgebra is the action by the underlying algebra.
theorem Subalgebra.smul_def E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {α : Type u_1}
[inst_3 : SMul A α] {S : Subalgebra R A} (g : ↥S) (m : α), g • m = ↑g • m
instance Subalgebra.smulCommClass_left E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {α : Type u_1}
{β : Type u_2} [inst_3 : SMul A β] [inst_4 : SMul α β] [SMulCommClass A α β] (S : Subalgebra R A),
SMulCommClass (↥S) α β
instance Subalgebra.smulCommClass_right E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {α : Type u_1}
{β : Type u_2} [inst_3 : SMul α β] [inst_4 : SMul A β] [SMulCommClass α A β] (S : Subalgebra R A),
SMulCommClass α (↥S) β
instance Subalgebra.isScalarTower_left E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{α : Type u_1} {β : Type u_2} [inst_3 : SMul α β] [inst_4 : SMul A α] [inst_5 : SMul A β] [IsScalarTower A α β],
IsScalarTower (↥S) α β
Note that this provides IsScalarTower S R R which is needed by smul_mul_assoc.
instance Subalgebra.isScalarTower_mid E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{α : Type u_1} {β : Type u_2} [inst_3 : SMul α R] [inst_4 : SMul α A] [inst_5 : IsScalarTower α R A]
[inst_6 : SMul A β] [inst_7 : SMul α β] [IsScalarTower α A β], IsScalarTower α (↥S) β
instance Subalgebra.isScalarTower_right E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (S : Subalgebra R A)
{α : Type u_1} {β : Type u_2} [inst_3 : SMul α R] [inst_4 : SMul α A] [inst_5 : IsScalarTower α R A]
[inst_6 : SMul β R] [inst_7 : SMul β A] [inst_8 : IsScalarTower β R A] [inst_9 : SMul α β] [IsScalarTower α β A],
IsScalarTower α β ↥S
instance Subalgebra.instFaithfulSMulSubtypeMem E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {α : Type u_1}
[inst_3 : SMul A α] [FaithfulSMul A α] (S : Subalgebra R A), FaithfulSMul (↥S) α
instance Subalgebra.instMulActionSubtypeMem E0 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] → {α : Type u_1} → [MulAction A α] → (S : Subalgebra R A) → MulAction (↥S) α
The action by a subalgebra is the action by the underlying algebra.
instance Subalgebra.instDistribMulActionSubtypeMem E0 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
{α : Type u_1} →
[inst_3 : AddMonoid α] → [DistribMulAction A α] → (S : Subalgebra R A) → DistribMulAction (↥S) α
The action by a subalgebra is the action by the underlying algebra.
instance Subalgebra.instSMulWithZeroSubtypeMem E0 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
{α : Type u_1} → [inst_3 : Zero α] → [SMulWithZero A α] → (S : Subalgebra R A) → SMulWithZero (↥S) α
The action by a subalgebra is the action by the underlying algebra.
instance Subalgebra.instMulActionWithZeroSubtypeMem E0 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
{α : Type u_1} → [inst_3 : Zero α] → [MulActionWithZero A α] → (S : Subalgebra R A) → MulActionWithZero (↥S) α
The action by a subalgebra is the action by the underlying algebra.
instance Subalgebra.moduleLeft E0 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
{α : Type u_1} → [inst_3 : AddCommMonoid α] → [Module A α] → (S : Subalgebra R A) → Module (↥S) α
The action by a subalgebra is the action by the underlying algebra.
instance Subalgebra.toAlgebra E0 #
{α : Type u_1} →
{R : Type u_3} →
{A : Type u_4} →
[inst : CommSemiring R] →
[inst_1 : CommSemiring A] →
[inst_2 : Semiring α] → [inst_3 : Algebra R A] → [Algebra A α] → (S : Subalgebra R A) → Algebra (↥S) α
The action by a subalgebra is the action by the underlying algebra.
theorem Subalgebra.algebraMap_eq E0 #
∀ {α : Type u_1} {R : Type u_3} {A : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Semiring α]
[inst_3 : Algebra R A] [inst_4 : Algebra A α] (S : Subalgebra R A), algebraMap (↥S) α = (algebraMap A α).comp ↑S.val
theorem Subalgebra.algebraMap_def E0 #
∀ {α : Type u_1} {R : Type u_3} {A : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Semiring α]
[inst_3 : Algebra R A] [inst_4 : Algebra A α] {S : Subalgebra R A} (s : ↥S),
(algebraMap (↥S) α) s = (algebraMap A α) ↑s
theorem Subalgebra.algebraMap_mk E0 #
∀ {α : Type u_1} {R : Type u_3} {A : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Semiring α]
[inst_3 : Algebra R A] [inst_4 : Algebra A α] {S : Subalgebra R A} (a : A) (ha : a ∈ S),
(algebraMap (↥S) α) ⟨a, ha⟩ = (algebraMap A α) a
theorem Subalgebra.algebraMap_apply E0 #
∀ {R : Type u_3} {A : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
(S : Subalgebra R A) (x : ↥S), (algebraMap (↥S) A) x = ↑x
theorem Subalgebra.rangeS_algebraMap E0 #
∀ {R : Type u_3} {A : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
(S : Subalgebra R A), (algebraMap (↥S) A).rangeS = S.toSubsemiring
theorem Subalgebra.range_algebraMap E0 #
∀ {R : Type u_3} {A : Type u_4} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] (S : Subalgebra R A),
(algebraMap (↥S) A).range = S.toSubring
theorem Subalgebra.setRange_algebraMap E0 #
∀ {R : Type u_3} {A : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
(S : Subalgebra R A), Set.range ⇑(algebraMap (↥S) A) = ↑S
instance Subalgebra.instIsTorsionFree' E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [IsDomain A]
(S : Subalgebra R A), Module.IsTorsionFree (↥S) A
theorem Set.algebraMap_mem_center E1 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (r : R),
(algebraMap R A) r ∈ Set.center A
def Subalgebra.center E1 #
(R : Type u) → (A : Type v) → [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → Subalgebra R A
The center of an algebra is the set of elements which commute with every element. They form a subalgebra.
theorem Subalgebra.center_toSubsemiring E0 #
∀ (R : Type u) (A : Type v) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
(Subalgebra.center R A).toSubsemiring = Subsemiring.center A
theorem Subalgebra.coe_center E0 #
∀ (R : Type u) (A : Type v) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
↑(Subalgebra.center R A) = (NonUnitalSubsemiring.center A).carrier
theorem Subalgebra.center_toSubring E0 #
∀ (R : Type u_1) (A : Type u_2) [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A],
(Subalgebra.center R A).toSubring = Subring.center A
instance Subalgebra.instCommSemiringSubtypeMemCenter E0 #
{R : Type u} →
{A : Type v} →
[inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → CommSemiring ↥(Subalgebra.center R A)
instance Subalgebra.instCommRingSubtypeMemCenter E0 #
{R : Type u} →
[inst : CommSemiring R] →
{A : Type u_1} → [inst_1 : Ring A] → [inst_2 : Algebra R A] → CommRing ↥(Subalgebra.center R A)
theorem Subalgebra.mem_center_iff E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {a : A},
a ∈ Subalgebra.center R A ↔ ∀ (b : A), b * a = a * b
theorem Subalgebra.map_center_le_center E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {f : A →ₐ[R] B},
Function.Surjective ⇑f → Subalgebra.map f (Subalgebra.center R A) ≤ Subalgebra.center R B
theorem Subalgebra.comap_center_le_center E1 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {f : A →ₐ[R] B},
Function.Injective ⇑f → Subalgebra.comap f (Subalgebra.center R B) ≤ Subalgebra.center R A
theorem Subalgebra.map_center_eq E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (f : A ≃ₐ[R] B),
Subalgebra.map (↑f) (Subalgebra.center R A) = Subalgebra.center R B
def Subalgebra.centerCongr E1 #
{R : Type u} →
{A : Type v} →
{B : Type w} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : Semiring B] →
[inst_4 : Algebra R B] → (A ≃ₐ[R] B) → ↥(Subalgebra.center R A) ≃ₐ[R] ↥(Subalgebra.center R B)
An isomorphism of R-algebras induces an R-algebra isomorphism between their centers.
theorem Subalgebra.centerCongr_apply_coe E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (e : A ≃ₐ[R] B) (r : ↥(Subsemigroup.center A)),
↑((Subalgebra.centerCongr e) r) = e ↑r
theorem Subalgebra.toRingEquiv_centerCongr E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (e : A ≃ₐ[R] B),
(Subalgebra.centerCongr e).toRingEquiv = Subsemiring.centerCongr e.toRingEquiv
theorem Subalgebra.symm_centerCongr E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (e : A ≃ₐ[R] B),
(Subalgebra.centerCongr e).symm = Subalgebra.centerCongr e.symm
theorem Subalgebra.centerCongr_refl E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
Subalgebra.centerCongr AlgEquiv.refl = AlgEquiv.refl
theorem Subalgebra.centerCongr_trans_centerCongr E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {C : Type u_1} [inst_5 : Semiring C] [inst_6 : Algebra R C]
(e : A ≃ₐ[R] B) (f : B ≃ₐ[R] C),
(Subalgebra.centerCongr e).trans (Subalgebra.centerCongr f) = Subalgebra.centerCongr (e.trans f)
theorem Subalgebra.centerCongr_symm_apply_coe E0 #
∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (e : A ≃ₐ[R] B) (a : ↥(Subalgebra.center R B)),
↑((Subalgebra.centerCongr e.symm) a) = e.symm ↑a
theorem Set.algebraMap_mem_centralizer E0 #
∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {s : Set A} (r : R),
(algebraMap R A) r ∈ s.centralizer
def Subalgebra.centralizer E1 #
(R : Type u) →
{A : Type v} → [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → Set A → Subalgebra R A
The centralizer of a set as a subalgebra.
theorem Subalgebra.coe_centralizer E0 #
∀ (R : Type u) {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (s : Set A),
↑(Subalgebra.centralizer R s) = s.centralizer
theorem Subalgebra.mem_centralizer_iff E0 #
∀ (R : Type u) {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {s : Set A} {z : A},
z ∈ Subalgebra.centralizer R s ↔ ∀ g ∈ s, g * z = z * g
theorem Subalgebra.center_le_centralizer E1 #
∀ (R : Type u) {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (s : Set A),
Subalgebra.center R A ≤ Subalgebra.centralizer R s
theorem Subalgebra.centralizer_le E1 #
∀ (R : Type u) {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (s t : Set A),
s ⊆ t → Subalgebra.centralizer R t ≤ Subalgebra.centralizer R s
theorem Subalgebra.centralizer_univ E0 #
∀ (R : Type u) {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
Subalgebra.centralizer R Set.univ = Subalgebra.center R A
theorem Subalgebra.le_centralizer_centralizer E1 #
∀ (R : Type u) {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {s : Subalgebra R A},
s ≤ Subalgebra.centralizer R ↑(Subalgebra.centralizer R ↑s)
theorem Subalgebra.centralizer_centralizer_centralizer E0 #
∀ (R : Type u) {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {s : Set A},
Subalgebra.centralizer R s.centralizer.centralizer = Subalgebra.centralizer R s
def subalgebraOfSubsemiring E1 #
{R : Type u_1} → [inst : Semiring R] → Subsemiring R → Subalgebra ℕ R
A subsemiring is an ℕ-subalgebra.
theorem subalgebraOfSubsemiring_toSubsemiring E0 #
∀ {R : Type u_1} [inst : Semiring R] (S : Subsemiring R), (subalgebraOfSubsemiring S).toSubsemiring = S
theorem mem_subalgebraOfSubsemiring E0 #
∀ {R : Type u_1} [inst : Semiring R] {x : R} {S : Subsemiring R}, x ∈ subalgebraOfSubsemiring S ↔ x ∈ S
def subalgebraOfSubring E1 #
{R : Type u_1} → [inst : Ring R] → Subring R → Subalgebra ℤ R
A subring is a ℤ-subalgebra.
theorem subalgebraOfSubring_toSubsemiring E0 #
∀ {R : Type u_1} [inst : Ring R] (S : Subring R), (subalgebraOfSubring S).toSubsemiring = S.toSubsemiring
theorem mem_subalgebraOfSubring E0 #
∀ {R : Type u_1} [inst : Ring R] {x : R} {S : Subring R}, x ∈ subalgebraOfSubring S ↔ x ∈ S
def AlgHom.equalizer E1 #
{R : Type u_1} →
{A : Type u_2} →
{B : Type u_3} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : Semiring B] → [inst_4 : Algebra R B] → (A →ₐ[R] B) → (A →ₐ[R] B) → Subalgebra R A
The equalizer of two R-algebra homomorphisms
theorem AlgHom.equalizer_toSubsemiring E0 #
∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (ϕ ψ : A →ₐ[R] B),
(ϕ.equalizer ψ).toSubsemiring =
{ carrier := {a | ϕ a = ψ a}, mul_mem' := ⋯, one_mem' := ⋯, add_mem' := ⋯, zero_mem' := ⋯ }
theorem AlgHom.coe_equalizer E0 #
∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (ϕ ψ : A →ₐ[R] B), ↑(ϕ.equalizer ψ) = {a | ϕ a = ψ a}
theorem AlgHom.mem_equalizer E0 #
∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] (φ ψ : A →ₐ[R] B) (x : A), x ∈ φ.equalizer ψ ↔ φ x = ψ x
theorem AlgHom.equalizer_toSubmodule E1 #
∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {φ ψ : A →ₐ[R] B},
Subalgebra.toSubmodule (φ.equalizer ψ) = φ.toLinearMap.eqLocus ψ.toLinearMap
theorem AlgHom.le_equalizer E1 #
∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {φ ψ : A →ₐ[R] B} {S : Subalgebra R A},
S ≤ φ.equalizer ψ ↔ Set.EqOn ⇑φ ⇑ψ ↑S
theorem Subalgebra.comap_map_eq_self_of_injective E1 #
∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : Semiring B] [inst_4 : Algebra R B] {f : A →ₐ[R] B},
Function.Injective ⇑f → ∀ (S : Subalgebra R A), Subalgebra.comap f (Subalgebra.map f S) = S
def NonUnitalSubalgebra.toSubalgebra E1 #
{R : Type u_1} →
{A : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] → [inst_2 : Algebra R A] → (S : NonUnitalSubalgebra R A) → 1 ∈ S → Subalgebra R A
Turn a non-unital subalgebra containing 1 into a subalgebra.
theorem Subalgebra.toNonUnitalSubalgebra_toSubalgebra E1 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
(S : Subalgebra R A), S.toNonUnitalSubalgebra.toSubalgebra ⋯ = S
theorem NonUnitalSubalgebra.toSubalgebra_toNonUnitalSubalgebra E1 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
(S : NonUnitalSubalgebra R A) (h1 : 1 ∈ S), (S.toSubalgebra h1).toNonUnitalSubalgebra = S