/-
Copyright (c) 2026 Jireh Loreaux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jireh Loreaux
-/
module
public import Mathlib.Algebra.Order.Group.End
public import Mathlib.Algebra.Order.Module.PositiveLinearMap
public import Mathlib.Algebra.Order.Star.Basic
public import Mathlib.Order.Bounds.OrderIso
public import Mathlib.Order.OrdContinuous
/-!
# Conjugation in star-ordered rings
The map `x ↦ r * x * star r` is an order homomorphism in a star-ordered ring.
Moreover, as a function of `r` it is a monoid homomorphism from `R` into `R →o R`.
When restricted to units, it is a group homomorphism from `Rˣ` into `R ≃o R`.
Consequently, the map `x ↦ r * x * star r` is left order continuous when `r` is a unit.
When `R` is additionally an `S`-module, then `x ↦ r * x * star r` is a positive `S`-linear map.
## Main declarations
All of the main declarations are various bundlings of the stated map
`fun r x ↦ r * x * star r : R → R → R`.
+ `StarOrderedRing.conjOrderHom` : `R → (R →o R)`
+ `StarOrderedRing.conjOrderHomMulHom` : `R →ₙ* (R →o R)`
+ `StarOrderedRing.conjOrderHomMonoidHom` : `R →* (R →o R)`
+ `StarOrderedRing.conjUnitsOrderIso` : `Rˣ →* (R ≃o R)`
+ `StarOrderedRing.conjPositiveLinearMap` : `R → (R →ₚ[S] R)`
-/
@[expose] public section
namespace StarOrderedRing
section NonUnital
variable {R : Type*} [NonUnitalSemiring R] [StarRing R] [PartialOrder R] [StarOrderedRing R]
/-- The map `x ↦ r * x * star r` as an order homomorphism in a star-ordered ring. -/
@[simps]
def conjOrderHom (r : R) : R →o R where
toFun x := r * x * star r
monotone' := monotone_conjugate_star_right r
lemma conjOrderHom_mul (r s : R) :
conjOrderHom (r * s) = (conjOrderHom r).comp (conjOrderHom s) := by
ext; simp [mul_assoc]
/-- The map `r x ↦ r * x * star r` as a semigroup homomorphism from `R` into `R →o R`. -/
@[simps]
def conjOrderHomMulHom : R →ₙ* R →o R where
toFun := conjOrderHom
map_mul' := conjOrderHom_mul
end NonUnital
section Unital
variable {R : Type*} [Semiring R] [StarRing R] [PartialOrder R] [StarOrderedRing R]
@[simp]
lemma conjOrderHom_one : conjOrderHom (1 : R) = .id := by ext; simp
/-- The map `r x ↦ r * x * star r` as a monoid homomorphism from `R` into `R →o R`. -/
@[simps]
def conjOrderHomMonoidHom : R →* R →o R where
toFun := conjOrderHom
map_mul' := conjOrderHom_mul
map_one' := conjOrderHom_one
@[simp]
lemma toMulHom_conjOrderHomMonoidHom :
(conjOrderHomMonoidHom (R := R)).toMulHom = conjOrderHomMulHom :=
rfl
/-- The map `r x ↦ r * x * star r` as a group homomorphism from `Rˣ` into `R ≃o R`
in a star-ordered ring `R`. -/
@[simps! apply]
def conjUnitsOrderIso : Rˣ →* (R ≃o R) where
toFun r := .ofHomInv (conjOrderHomMonoidHom (r : R)) (conjOrderHomMonoidHom (↑r⁻¹ : R))
(by rw [← OrderHom.mul_eq_comp, ← map_mul]; simp)
(by rw [← OrderHom.mul_eq_comp, ← map_mul]; simp)
map_mul' _ _ := by ext; simp [mul_assoc]
map_one' := by ext; simp
@[simp]
lemma conjUnitsOrderIso_apply_symm_apply (r : Rˣ) (a : R) :
(conjUnitsOrderIso r).symm a = r⁻¹ * a * star (↑r⁻¹ : R) :=
rfl
protected theorem _root_.IsUnit.star_right_conjugate_le_conjugate {a b c : R} (hc : IsUnit c) :
c * a * star c ≤ c * b * star c ↔ a ≤ b := by
lift c to Rˣ using hc
exact (conjUnitsOrderIso c).map_rel_iff
protected theorem _root_.IsUnit.star_left_conjugate_le_conjugate {a b c : R} (hc : IsUnit c) :
star c * a * c ≤ star c * b * c ↔ a ≤ b := by
simpa using hc.star.star_right_conjugate_le_conjugate
lemma _root_.IsLUB.conjugate_star_right_of_isUnit {s : Set R} {x : R}
(h : IsLUB s x) {r : R} (hr : IsUnit r) :
IsLUB ((r * · * star r) '' s) (r * x * star r) := by
lift r to Rˣ using hr
exact (conjUnitsOrderIso r).isLUB_image'.mpr h
lemma _root_.IsLUB.conjugate_star_left_of_isUnit {s : Set R} {x : R}
(h : IsLUB s x) {r : R} (hr : IsUnit r) :
IsLUB ((star r * · * r) '' s) (star r * x * r) := by
simpa using h.conjugate_star_right_of_isUnit hr.star
lemma _root_.IsGLB.conjugate_star_right_of_isUnit {s : Set R} {x : R}
(h : IsGLB s x) {r : R} (hr : IsUnit r) :
IsGLB ((r * · * star r) '' s) (r * x * star r) := by
lift r to Rˣ using hr
exact (conjUnitsOrderIso r).isGLB_image'.mpr h
lemma _root_.IsGLB.conjugate_star_left_of_isUnit {s : Set R} {x : R}
(h : IsGLB s x) {r : R} (hr : IsUnit r) :
IsGLB ((star r * · * r) '' s) (star r * x * r) := by
simpa using h.conjugate_star_right_of_isUnit hr.star
end Unital
section PositiveLinearMap
variable (S : Type*) {R : Type*} [Semiring S] [NonUnitalSemiring R] [StarRing R] [PartialOrder R]
[StarOrderedRing R] [Module S R] [SMulCommClass S R R] [IsScalarTower S R R]
/-- The map `x ↦ r * x * star r` as a positive linear map in a star-ordered ring. -/
@[simps! toLinearMap apply]
def conjPositiveLinearMap (r : R) : R →ₚ[S] R where
toLinearMap := LinearMap.mulLeftRight S (r, star r)
monotone' := (conjOrderHom r).monotone
@[simp]
lemma toOrderHom_conjPositiveLinearMap (r : R) :
(conjPositiveLinearMap S r).toOrderHom = conjOrderHom r :=
rfl
end PositiveLinearMap
end StarOrderedRing
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland