The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Order.Algebra

9 declarations. Mathlib docs · Source

Ordered algebras

An ordered algebra is an ordered semiring, which is an algebra over an ordered commutative semiring, for which scalar multiplication is "compatible" with the two orders.

The prototypical example is 2x2 matrices over the reals or complexes (or indeed any C^* algebra) where the ordering the one determined by the positive cone of positive operators, i.e. A ≤ B iff B - A = star R * R for some R. (We don't yet have this example in mathlib.)

Implementation

Because the axioms for an ordered algebra are exactly the same as those for the underlying module being ordered, we don't actually introduce a new class, but just use the IsOrderedModule and IsStrictOrderedModule mixins.

Tags

ordered algebra

TODO

positivity extension for algebraMap

theorem IsOrderedModule.of_algebraMap_mono E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : CommSemiring α] [inst_1 : PartialOrder α] [inst_2 : Semiring β]
  [inst_3 : PartialOrder β] [inst_4 : Algebra α β] [PosMulMono β] [MulPosMono β],
  Monotone ⇑(algebraMap α β) → IsOrderedModule α β

theorem algebraMap_mono E1 #

∀ {α : Type u_1} (β : Type u_2) [inst : CommSemiring α] [inst_1 : PartialOrder α] [inst_2 : Semiring β]
  [inst_3 : PartialOrder β] [inst_4 : Algebra α β] [ZeroLEOneClass β] [SMulPosMono α β], Monotone ⇑(algebraMap α β)

theorem algebraMap_nonneg E1 #

∀ {α : Type u_1} (β : Type u_2) [inst : CommSemiring α] [inst_1 : PartialOrder α] [inst_2 : Semiring β]
  [inst_3 : PartialOrder β] [inst_4 : Algebra α β] [ZeroLEOneClass β] [SMulPosMono α β] {a : α},
  0 ≤ a → 0 ≤ (algebraMap α β) a

theorem isOrderedModule_iff_algebraMap_mono E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : CommSemiring α] [inst_1 : PartialOrder α] [inst_2 : Semiring β]
  [inst_3 : PartialOrder β] [inst_4 : Algebra α β] [ZeroLEOneClass β] [PosMulMono β] [MulPosMono β],
  IsOrderedModule α β ↔ Monotone ⇑(algebraMap α β)

theorem algebraMap_le_algebraMap E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : CommSemiring α] [inst_1 : PartialOrder α] [inst_2 : Semiring β]
  [inst_3 : PartialOrder β] [inst_4 : Algebra α β] [ZeroLEOneClass β] [Nontrivial β] [SMulPosMono α β]
  [SMulPosReflectLE α β] {a₁ a₂ : α}, (algebraMap α β) a₁ ≤ (algebraMap α β) a₂ ↔ a₁ ≤ a₂

theorem algebraMap_strictMono E1 #

∀ {α : Type u_1} (β : Type u_2) [inst : CommSemiring α] [inst_1 : PartialOrder α] [inst_2 : Semiring β]
  [inst_3 : PartialOrder β] [inst_4 : Algebra α β] [ZeroLEOneClass β] [Nontrivial β] [SMulPosStrictMono α β],
  StrictMono ⇑(algebraMap α β)

theorem algebraMap_pos E1 #

∀ {α : Type u_1} (β : Type u_2) [inst : CommSemiring α] [inst_1 : PartialOrder α] [inst_2 : Semiring β]
  [inst_3 : PartialOrder β] [inst_4 : Algebra α β] [ZeroLEOneClass β] [Nontrivial β] [SMulPosStrictMono α β] {a : α},
  0 < a → 0 < (algebraMap α β) a

theorem algebraMap_lt_algebraMap E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : CommSemiring α] [inst_1 : PartialOrder α] [inst_2 : Semiring β]
  [inst_3 : PartialOrder β] [inst_4 : Algebra α β] [ZeroLEOneClass β] [Nontrivial β] [SMulPosStrictMono α β]
  [SMulPosReflectLT α β] {a₁ a₂ : α}, (algebraMap α β) a₁ < (algebraMap α β) a₂ ↔ a₁ < a₂

def Mathlib.Meta.Positivity.evalAlgebraMap E1 #

Mathlib.Meta.Positivity.PositivityExt

Extension for algebraMap.