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.Positive.Ring

25 declarations. Mathlib docs · Source

instance Positive.instAddSubtypeLtOfNat_mathlib E0 #

{M : Type u_1} → [inst : AddMonoid M] → [inst_1 : Preorder M] → [AddLeftStrictMono M] → Add { x // 0 < x }

theorem Positive.coe_add E0 #

∀ {M : Type u_1} [inst : AddMonoid M] [inst_1 : Preorder M] [inst_2 : AddLeftStrictMono M] (x y : { x // 0 < x }),
  ↑(x + y) = ↑x + ↑y

instance Positive.addSemigroup E0 #

{M : Type u_1} → [inst : AddMonoid M] → [inst_1 : Preorder M] → [AddLeftStrictMono M] → AddSemigroup { x // 0 < x }

instance Positive.addCommSemigroup E0 #

{M : Type u_3} →
  [inst : AddCommMonoid M] → [inst_1 : Preorder M] → [AddLeftStrictMono M] → AddCommSemigroup { x // 0 < x }

instance Positive.addLeftCancelSemigroup E0 #

{M : Type u_3} →
  [inst : AddLeftCancelMonoid M] → [inst_1 : Preorder M] → [AddLeftStrictMono M] → AddLeftCancelSemigroup { x // 0 < x }

instance Positive.addRightCancelSemigroup E0 #

{M : Type u_3} →
  [inst : AddRightCancelMonoid M] →
    [inst_1 : Preorder M] → [AddLeftStrictMono M] → AddRightCancelSemigroup { x // 0 < x }

instance Positive.addLeftStrictMono E0 #

∀ {M : Type u_1} [inst : AddMonoid M] [inst_1 : Preorder M] [inst_2 : AddLeftStrictMono M],
  AddLeftStrictMono { x // 0 < x }

instance Positive.addRightStrictMono E0 #

∀ {M : Type u_1} [inst : AddMonoid M] [inst_1 : Preorder M] [inst_2 : AddLeftStrictMono M] [AddRightStrictMono M],
  AddRightStrictMono { x // 0 < x }

instance Positive.addLeftReflectLT E0 #

∀ {M : Type u_1} [inst : AddMonoid M] [inst_1 : Preorder M] [inst_2 : AddLeftStrictMono M] [AddLeftReflectLT M],
  AddLeftReflectLT { x // 0 < x }

instance Positive.addRightReflectLT E0 #

∀ {M : Type u_1} [inst : AddMonoid M] [inst_1 : Preorder M] [inst_2 : AddLeftStrictMono M] [AddRightReflectLT M],
  AddRightReflectLT { x // 0 < x }

instance Positive.addLeftReflectLE E0 #

∀ {M : Type u_1} [inst : AddMonoid M] [inst_1 : Preorder M] [inst_2 : AddLeftStrictMono M] [AddLeftReflectLE M],
  AddLeftReflectLE { x // 0 < x }

instance Positive.addRightReflectLE E0 #

∀ {M : Type u_1} [inst : AddMonoid M] [inst_1 : Preorder M] [inst_2 : AddLeftStrictMono M] [AddRightReflectLE M],
  AddRightReflectLE { x // 0 < x }

instance Positive.addLeftMono E0 #

∀ {M : Type u_1} [inst : AddMonoid M] [inst_1 : PartialOrder M] [inst_2 : AddLeftStrictMono M],
  AddLeftMono { x // 0 < x }

instance Positive.instMulSubtypeLtOfNat_mathlib E0 #

{R : Type u_2} → [inst : Semiring R] → [inst_1 : PartialOrder R] → [IsStrictOrderedRing R] → Mul { x // 0 < x }

theorem Positive.val_mul E0 #

∀ {R : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R] (x y : { x // 0 < x }),
  ↑(x * y) = ↑x * ↑y

instance Positive.instPowSubtypeLtOfNatNat_mathlib E0 #

{R : Type u_2} → [inst : Semiring R] → [inst_1 : PartialOrder R] → [IsStrictOrderedRing R] → Pow { x // 0 < x } ℕ

theorem Positive.val_pow E0 #

∀ {R : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R] (x : { x // 0 < x })
  (n : ℕ), ↑(x ^ n) = ↑x ^ n

instance Positive.instSemigroupSubtypeLtOfNat E0 #

{R : Type u_2} → [inst : Semiring R] → [inst_1 : PartialOrder R] → [IsStrictOrderedRing R] → Semigroup { x // 0 < x }

instance Positive.instDistribSubtypeLtOfNat E0 #

{R : Type u_2} → [inst : Semiring R] → [inst_1 : PartialOrder R] → [IsStrictOrderedRing R] → Distrib { x // 0 < x }

instance Positive.instOneSubtypeLtOfNat_mathlib E0 #

{R : Type u_2} → [inst : Semiring R] → [inst_1 : PartialOrder R] → [IsStrictOrderedRing R] → One { x // 0 < x }

theorem Positive.val_one E0 #

∀ {R : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R], ↑1 = 1

instance Positive.instMonoidSubtypeLtOfNat E0 #

{R : Type u_2} → [inst : Semiring R] → [inst_1 : PartialOrder R] → [IsStrictOrderedRing R] → Monoid { x // 0 < x }

instance Positive.commMonoid E0 #

{R : Type u_2} →
  [inst : CommSemiring R] → [inst_1 : PartialOrder R] → [IsStrictOrderedRing R] → CommMonoid { x // 0 < x }

instance Positive.isOrderedMonoid E0 #

∀ {R : Type u_2} [inst : CommSemiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R],
  IsOrderedMonoid { x // 0 < x }

instance Positive.isOrderedCancelMonoid E0 #

∀ {R : Type u_2} [inst : CommSemiring R] [inst_1 : LinearOrder R] [inst_2 : IsStrictOrderedRing R],
  IsOrderedCancelMonoid { x // 0 < x }

If R is a nontrivial linear ordered commutative semiring, then {x : R // 0 < x} is a linear ordered cancellative commutative monoid.