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.Nonneg.Module

8 declarations. Mathlib docs · Source

instance Nonneg.instSMul E0 #

{R : Type u_1} → {S : Type u_2} → [inst : Semiring R] → [inst_1 : PartialOrder R] → [SMul R S] → SMul (Nonneg R) S

theorem Nonneg.coe_smul E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : SMul R S] (a : Nonneg R)
  (x : S), ↑a • x = a • x

theorem Nonneg.mk_smul E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : SMul R S] (a : R) (ha : 0 ≤ a)
  (x : S), ⟨a, ha⟩ • x = a • x

instance Nonneg.instIsScalarTower E0 #

∀ {R : Type u_1} {S : Type u_2} {M : Type u_3} [inst : Semiring R] [inst_1 : PartialOrder R] [IsOrderedRing R]
  [inst_3 : SMul R S] [inst_4 : SMul R M] [inst_5 : SMul S M] [IsScalarTower R S M], IsScalarTower (Nonneg R) S M

instance Nonneg.instSMulWithZero E0 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Semiring R] → [inst_1 : PartialOrder R] → [inst_2 : Zero S] → [SMulWithZero R S] → SMulWithZero (Nonneg R) S

instance Nonneg.instIsOrderedModule E0 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : AddCommMonoid M]
  [inst_3 : PartialOrder M] [inst_4 : SMulWithZero R M] [hM : IsOrderedModule R M], IsOrderedModule (Nonneg R) M

instance Nonneg.instIsStrictOrderedModule E0 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : AddCommMonoid M]
  [inst_3 : PartialOrder M] [inst_4 : SMulWithZero R M] [hM : IsStrictOrderedModule R M],
  IsStrictOrderedModule (Nonneg R) M

instance Nonneg.instModule E0 #

{R : Type u_1} →
  {M : Type u_3} →
    [inst : Semiring R] →
      [inst_1 : PartialOrder R] →
        [inst_2 : IsOrderedRing R] → [inst_3 : AddCommMonoid M] → [Module R M] → Module (Nonneg R) M

A module over an ordered semiring is also a module over just the non-negative scalars.