The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.Star.Module
40 declarations and 1 deprecated aliases. Mathlib docs · Source
The star operation, bundled as a star-linear equiv
We define starLinearEquiv, which is the star operation bundled as a star-linear map.
It is defined on a star algebra A over the base ring R.
This file also provides some lemmas that need Algebra.Module.Basic imported to prove.
TODO
- Define
starLinearEquivfor noncommutativeR. We only the commutative case for now since, in the noncommutative case, the ring hom needs to reverse the order of multiplication. This requires a ring hom of typeR →+* Rᵐᵒᵖ, which is very undesirable in the commutative case. One way out would be to define a new typeclassIsOp R Sand have an instanceIsOp R Rfor commutativeR. - Also note that such a definition involving
Rᵐᵒᵖoris_op R Swould require adding the appropriateRingHomInvPairinstances to be able to define the semilinear equivalence.
Per the naming convention, these two lemmas call (q • ·) nnrat_smul and rat_smul respectively,
rather than nnqsmul and qsmul because the latter are reserved to the actions coming from
DivisionSemiring and DivisionRing. We provide aliases with nnqsmul and qsmul for
discoverability.
theorem starLinearEquiv.congr_simp E1 #
∀ (R : Type u_1) {A : Type u_2} [inst : CommSemiring R] [inst_1 : StarRing R] [inst_2 : AddCommMonoid A]
[inst_3 : StarAddMonoid A] [inst_4 : Module R A] [inst_5 : StarModule R A], starLinearEquiv R = starLinearEquiv R
theorem star_natCast_smul E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : StarAddMonoid M] (n : ℕ) (x : M), star (↑n • x) = ↑n • star x
theorem star_intCast_smul E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
[inst_3 : StarAddMonoid M] (n : ℤ) (x : M), star (↑n • x) = ↑n • star x
theorem star_inv_natCast_smul E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : DivisionSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : StarAddMonoid M] (n : ℕ) (x : M), star ((↑n)⁻¹ • x) = (↑n)⁻¹ • star x
theorem star_inv_intCast_smul E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : DivisionRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
[inst_3 : StarAddMonoid M] (n : ℤ) (x : M), star ((↑n)⁻¹ • x) = (↑n)⁻¹ • star x
theorem star_ratCast_smul E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : DivisionRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
[inst_3 : StarAddMonoid M] (n : ℚ) (x : M), star (↑n • x) = ↑n • star x
theorem star_nnrat_smul E0 #
∀ {R : Type u_1} [inst : AddCommMonoid R] [inst_1 : StarAddMonoid R] [inst_2 : Module ℚ≥0 R] (q : ℚ≥0) (x : R),
star (q • x) = q • star x
Note that this lemma holds for an arbitrary ℚ≥0-action, rather than merely one coming from a
DivisionSemiring. We keep both the nnqsmul and nnrat_smul naming conventions for
discoverability. See star_nnqsmul.
theorem star_rat_smul E0 #
∀ {R : Type u_1} [inst : AddCommGroup R] [inst_1 : StarAddMonoid R] [inst_2 : Module ℚ R] (q : ℚ) (x : R),
star (q • x) = q • star x
Note that this lemma holds for an arbitrary ℚ-action, rather than merely one coming from a
DivisionRing. We keep both the qsmul and rat_smul naming conventions for discoverability.
See star_qsmul.
theorem star_nnqsmul E1 #
∀ {R : Type u_1} [inst : AddCommMonoid R] [inst_1 : StarAddMonoid R] [inst_2 : Module ℚ≥0 R] (q : ℚ≥0) (x : R),
star (q • x) = q • star x
Note that this lemma holds for an arbitrary ℚ≥0-action, rather than merely one coming from a
DivisionSemiring. We keep both the nnqsmul and nnrat_smul naming conventions for
discoverability. See star_nnrat_smul.
theorem star_qsmul E1 #
∀ {R : Type u_1} [inst : AddCommGroup R] [inst_1 : StarAddMonoid R] [inst_2 : Module ℚ R] (q : ℚ) (x : R),
star (q • x) = q • star x
Note that this lemma holds for an arbitrary ℚ-action, rather than merely one coming from a
DivisionRing. We keep both the qsmul and rat_smul naming conventions for
discoverability. See star_rat_smul.
instance StarAddMonoid.toStarModuleNNRat E0 #
∀ {R : Type u_1} [inst : AddCommMonoid R] [inst_1 : Module ℚ≥0 R] [inst_2 : StarAddMonoid R], StarModule ℚ≥0 R
instance StarAddMonoid.toStarModuleRat E0 #
∀ {R : Type u_1} [inst : AddCommGroup R] [inst_1 : Module ℚ R] [inst_2 : StarAddMonoid R], StarModule ℚ R
def starLinearEquiv E1 #
(R : Type u_1) →
{A : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : StarRing R] →
[inst_2 : AddCommMonoid A] → [inst_3 : StarAddMonoid A] → [inst_4 : Module R A] → [StarModule R A] → A ≃ₗ⋆[R] A
If A is a module over a commutative R with compatible actions,
then star is a semilinear equivalence.
theorem starLinearEquiv_apply E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : CommSemiring R] [inst_1 : StarRing R] [inst_2 : AddCommMonoid A]
[inst_3 : StarAddMonoid A] [inst_4 : Module R A] [inst_5 : StarModule R A] (a : A), (starLinearEquiv R) a = star a
theorem toAddEquiv_starLinearEquiv E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : CommSemiring R] [inst_1 : StarRing R] [inst_2 : AddCommMonoid A]
[inst_3 : StarAddMonoid A] [inst_4 : Module R A] [inst_5 : StarModule R A],
(starLinearEquiv R).toAddEquiv = starAddEquiv
theorem symm_starLinearEquiv E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : CommSemiring R] [inst_1 : StarRing R] [inst_2 : AddCommMonoid A]
[inst_3 : StarAddMonoid A] [inst_4 : Module R A] [inst_5 : StarModule R A],
(starLinearEquiv R).symm = starLinearEquiv R
def selfAdjoint.submodule E1 #
(R : Type u_1) →
(A : Type u_2) →
[inst : Semiring R] →
[inst_1 : StarMul R] →
[TrivialStar R] →
[inst_3 : AddCommMonoid A] →
[inst_4 : Module R A] → [inst_5 : StarAddMonoid A] → [StarModule R A] → Submodule R A
The self-adjoint elements of a star module, as a submodule.
theorem selfAdjoint.toAddSubmonoid_submodule E0 #
∀ (R : Type u_1) (A : Type u_2) [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommMonoid A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A],
(selfAdjoint.submodule R A).toAddSubmonoid = selfAdjoint.addSubmonoid A
theorem selfAdjoint.toAddSubgroup_submodule E0 #
∀ (R : Type u_1) (A : Type u_2) [inst : Ring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R] [inst_3 : AddCommGroup A]
[inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A],
(selfAdjoint.submodule R A).toAddSubgroup = selfAdjoint A
def skewAdjoint.submodule E1 #
(R : Type u_1) →
(A : Type u_2) →
[inst : Semiring R] →
[inst_1 : StarMul R] →
[TrivialStar R] →
[inst_3 : AddCommGroup A] →
[inst_4 : Module R A] → [inst_5 : StarAddMonoid A] → [StarModule R A] → Submodule R A
The skew-adjoint elements of a star module, as a submodule.
def selfAdjointPart E1 #
(R : Type u_1) →
{A : Type u_2} →
[inst : Semiring R] →
[inst_1 : StarMul R] →
[inst_2 : TrivialStar R] →
[inst_3 : AddCommGroup A] →
[inst_4 : Module R A] →
[inst_5 : StarAddMonoid A] → [inst_6 : StarModule R A] → [Invertible 2] → A →ₗ[R] ↥(selfAdjoint A)
The self-adjoint part of an element of a star module, as a linear map.
theorem selfAdjointPart_apply_coe E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2] (x : A), ↑((selfAdjointPart R) x) = ⅟2 • (x + star x)
def skewAdjointPart E1 #
(R : Type u_1) →
{A : Type u_2} →
[inst : Semiring R] →
[inst_1 : StarMul R] →
[inst_2 : TrivialStar R] →
[inst_3 : AddCommGroup A] →
[inst_4 : Module R A] →
[inst_5 : StarAddMonoid A] → [inst_6 : StarModule R A] → [Invertible 2] → A →ₗ[R] ↥(skewAdjoint A)
The skew-adjoint part of an element of a star module, as a linear map.
theorem skewAdjointPart_apply_coe E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2] (x : A), ↑((skewAdjointPart R) x) = ⅟2 • (x - star x)
theorem StarModule.selfAdjointPart_add_skewAdjointPart E1 #
∀ (R : Type u_1) {A : Type u_2} [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2] (x : A), ↑((selfAdjointPart R) x) + ↑((skewAdjointPart R) x) = x
theorem IsSelfAdjoint.coe_selfAdjointPart_apply E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2] {x : A}, IsSelfAdjoint x → ↑((selfAdjointPart R) x) = x
theorem IsSelfAdjoint.selfAdjointPart_apply E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2] {x : A} (hx : IsSelfAdjoint x), (selfAdjointPart R) x = ⟨x, hx⟩
theorem selfAdjointPart_comp_subtype_selfAdjoint E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2], selfAdjointPart R ∘ₗ (selfAdjoint.submodule R A).subtype = LinearMap.id
theorem IsSelfAdjoint.skewAdjointPart_apply E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2] {x : A}, IsSelfAdjoint x → (skewAdjointPart R) x = 0
theorem skewAdjointPart_comp_subtype_selfAdjoint E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2], skewAdjointPart R ∘ₗ (selfAdjoint.submodule R A).subtype = 0
theorem selfAdjointPart_comp_subtype_skewAdjoint E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2], selfAdjointPart R ∘ₗ (skewAdjoint.submodule R A).subtype = 0
theorem skewAdjointPart_comp_subtype_skewAdjoint E0 #
∀ (R : Type u_1) {A : Type u_2} [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2], skewAdjointPart R ∘ₗ (skewAdjoint.submodule R A).subtype = LinearMap.id
def StarModule.decomposeProdAdjoint E1 #
(R : Type u_1) →
(A : Type u_2) →
[inst : Semiring R] →
[inst_1 : StarMul R] →
[inst_2 : TrivialStar R] →
[inst_3 : AddCommGroup A] →
[inst_4 : Module R A] →
[inst_5 : StarAddMonoid A] →
[inst_6 : StarModule R A] → [Invertible 2] → A ≃ₗ[R] ↥(selfAdjoint A) × ↥(skewAdjoint A)
The decomposition of elements of a star module into their self- and skew-adjoint parts, as a linear equivalence.
theorem StarModule.decomposeProdAdjoint_symm_apply E0 #
∀ (R : Type u_1) (A : Type u_2) [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2] (a : ↥(selfAdjoint A) × ↥(skewAdjoint A)),
(StarModule.decomposeProdAdjoint R A).symm a =
(selfAdjoint.submodule R A).subtype a.1 + (skewAdjoint.submodule R A).subtype a.2
theorem StarModule.decomposeProdAdjoint_apply E0 #
∀ (R : Type u_1) (A : Type u_2) [inst : Semiring R] [inst_1 : StarMul R] [inst_2 : TrivialStar R]
[inst_3 : AddCommGroup A] [inst_4 : Module R A] [inst_5 : StarAddMonoid A] [inst_6 : StarModule R A]
[inst_7 : Invertible 2] (i : A),
(StarModule.decomposeProdAdjoint R A) i = ((selfAdjointPart R) i, (skewAdjointPart R) i)
theorem algebraMap_star_comm E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : StarRing R] [inst_2 : Semiring A] [inst_3 : StarMul A]
[inst_4 : Algebra R A] [StarModule R A] (r : R), (algebraMap R A) (star r) = star ((algebraMap R A) r)
theorem IsSelfAdjoint.algebraMap E1 #
∀ {R : Type u_1} (A : Type u_2) [inst : CommSemiring R] [inst_1 : StarRing R] [inst_2 : Semiring A] [inst_3 : StarMul A]
[inst_4 : Algebra R A] [StarModule R A] {r : R}, IsSelfAdjoint r → IsSelfAdjoint ((algebraMap R A) r)
theorem isSelfAdjoint_algebraMap_iff E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : StarRing R] [inst_2 : Semiring A] [inst_3 : StarMul A]
[inst_4 : Algebra R A] [StarModule R A] {r : R},
Function.Injective ⇑(algebraMap R A) → (IsSelfAdjoint ((algebraMap R A) r) ↔ IsSelfAdjoint r)
theorem IsIdempotentElem.star_iff E0 #
∀ {R : Type u_1} [inst : Mul R] [inst_1 : StarMul R] {a : R}, IsIdempotentElem (star a) ↔ IsIdempotentElem a
theorem IsIdempotentElem.star E1 #
∀ {R : Type u_1} [inst : Mul R] [inst_1 : StarMul R] {a : R}, IsIdempotentElem a → IsIdempotentElem (star a)
Alias of the reverse direction of IsIdempotentElem.star_iff.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
starLinearEquiv_symm_apply | 2026-06-03 |