Documentation

Mathlib.Algebra.Order.Ring.Ordering.Basic

Ring orderings #

We prove basic properties of (pre)orderings on rings and their supports.

References #

Preorderings #

theorem RingPreordering.toSubsemiring_le_toSubsemiring {R : Type u_1} [CommRing R] {Pโ‚ Pโ‚‚ : RingPreordering R} :
โ†‘Pโ‚ โ‰ค โ†‘Pโ‚‚ โ†” Pโ‚ โ‰ค Pโ‚‚
theorem RingPreordering.toSubsemiring_lt_toSubsemiring {R : Type u_1} [CommRing R] {Pโ‚ Pโ‚‚ : RingPreordering R} :
โ†‘Pโ‚ < โ†‘Pโ‚‚ โ†” Pโ‚ < Pโ‚‚
def RingPreordering.mk' {R : Type u_3} [CommRing R] (P : Set R) (add : โˆ€ {x y : R}, x โˆˆ P โ†’ y โˆˆ P โ†’ x + y โˆˆ P) (mul : โˆ€ {x y : R}, x โˆˆ P โ†’ y โˆˆ P โ†’ x * y โˆˆ P) (sq : โˆ€ (x : R), x * x โˆˆ P) (neg_one : -1 โˆ‰ P) :

Construct a preordering from a minimal set of axioms.

Equations
    Instances For
      @[simp]
      theorem RingPreordering.mem_mk' {R : Type u_2} [CommRing R] {P : Set R} {add : โˆ€ {x y : R}, x โˆˆ P โ†’ y โˆˆ P โ†’ x + y โˆˆ P} {mul : โˆ€ {x y : R}, x โˆˆ P โ†’ y โˆˆ P โ†’ x * y โˆˆ P} {sq : โˆ€ (x : R), x * x โˆˆ P} {neg_one : -1 โˆ‰ P} {x : R} :
      x โˆˆ mk' P add mul sq neg_one โ†” x โˆˆ P
      @[simp]
      theorem RingPreordering.coe_mk' {R : Type u_2} [CommRing R] {P : Set R} {add : โˆ€ {x y : R}, x โˆˆ P โ†’ y โˆˆ P โ†’ x + y โˆˆ P} {mul : โˆ€ {x y : R}, x โˆˆ P โ†’ y โˆˆ P โ†’ x * y โˆˆ P} {sq : โˆ€ (x : R), x * x โˆˆ P} {neg_one : -1 โˆ‰ P} :
      โ†‘(mk' P add mul sq neg_one) = P

      Supports #

      theorem RingPreordering.IsOrdering.mk' {R : Type u_1} [CommRing R] (P : RingPreordering R) [HasMemOrNegMem P] (h : โˆ€ {x y : R}, x * y โˆˆ P.support โ†’ x โˆˆ P.support โˆจ y โˆˆ P.support) :

      Constructor for IsOrdering that doesn't require ne_top'.

      theorem RingPreordering.HasIdealSupport.smul_mem {R : Type u_1} [CommRing R] {P : RingPreordering R} [P.HasIdealSupport] (x : R) {a : R} (hโ‚a : a โˆˆ P) (hโ‚‚a : -a โˆˆ P) :
      x * a โˆˆ P
      theorem RingPreordering.HasIdealSupport.neg_smul_mem {R : Type u_1} [CommRing R] {P : RingPreordering R} [P.HasIdealSupport] (x : R) {a : R} (hโ‚a : a โˆˆ P) (hโ‚‚a : -a โˆˆ P) :
      -(x * a) โˆˆ P
      theorem RingPreordering.eq_zero_of_mem_of_neg_mem {F : Type u_2} [Field F] {P : RingPreordering F} {x : F} (h : x โˆˆ P) (h2 : -x โˆˆ P) :
      x = 0
      theorem RingPreordering.isOrdering_iff {R : Type u_1} [CommRing R] {P : RingPreordering R} :
      P.IsOrdering โ†” โˆ€ (a b : R), -(a * b) โˆˆ P โ†’ a โˆˆ P โˆจ b โˆˆ P