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.Ring.Ordering.Basic

10 declarations and 24 deprecated aliases. Mathlib docs · Source

Ring orderings

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

References

  • [An introduction to real algebra, T.Y. Lam][lam_1984]

theorem RingPreordering.support.congr_simp E1 #

∀ {R : Type u_1} [inst : CommRing R] (P P_1 : RingPreordering R) (e_P : P = P_1) [inst_1 : P.HasIdealSupport],
  P.support = P_1.support

theorem AddSubmonoid.mk.hcongr_4 E1 #

∀ (M M' : Type u_3),
  M = M' →
    ∀ (inst : AddZeroClass M) (inst' : AddZeroClass M'),
      inst ≍ inst' →
        ∀ (toAddSubsemigroup : AddSubsemigroup M) (toAddSubsemigroup' : AddSubsemigroup M'),
          toAddSubsemigroup ≍ toAddSubsemigroup' →
            ∀ (zero_mem' : 0 ∈ toAddSubsemigroup.carrier) (zero_mem'' : 0 ∈ toAddSubsemigroup'.carrier),
              zero_mem' ≍ zero_mem'' →
                { toAddSubsemigroup := toAddSubsemigroup, zero_mem' := zero_mem' } ≍
                  { toAddSubsemigroup := toAddSubsemigroup', zero_mem' := zero_mem'' }

theorem Subsemiring.IsPreordering.unitsInv_mem E1 #

∀ {R : Type u_1} [inst : CommRing R] {P : Subsemiring R}, P.IsPreordering → ∀ {a : Rˣ}, ↑a ∈ P → ↑a⁻¹ ∈ P

theorem Subsemiring.IsPreordering.one_notMem_support E1 #

∀ {R : Type u_1} [inst : CommRing R] {P : Subsemiring R}, P.IsPreordering → 1 ∉ P.toAddSubmonoid.support

theorem Subsemiring.IsPreordering.support_ne_top E1 #

∀ {R : Type u_1} [inst : CommRing R] {P : Subsemiring R}, P.IsPreordering → P.toAddSubmonoid.support ≠ ⊤

theorem Subsemiring.IsPreordering.isOrdering_iff E0 #

∀ {R : Type u_1} [inst : CommRing R] {P : Subsemiring R},
  P.IsPreordering → (P.IsOrdering ↔ ∀ (a b : R), -(a * b) ∈ P → a ∈ P ∨ b ∈ P)

theorem Subsemiring.IsPreordering.mul_mem_support_of_right E1 #

∀ {R : Type u_1} [inst : CommRing R] {P : Subsemiring R},
  P.IsPreordering → IsUnit 2 → ∀ (x : R) {a : R}, a ∈ P.toAddSubmonoid.support → x * a ∈ P.toAddSubmonoid.support

theorem Subsemiring.IsPreordering.mul_mem_support_of_left E1 #

∀ {R : Type u_1} [inst : CommRing R] {P : Subsemiring R},
  P.IsPreordering → IsUnit 2 → ∀ (x : R) {a : R}, a ∈ P.toAddSubmonoid.support → a * x ∈ P.toAddSubmonoid.support

theorem Subsemiring.IsPreordering.inv_mem E1 #

∀ {F : Type u_1} [inst : Field F] {P : Subsemiring F}, P.IsPreordering → ∀ {a : F}, a ∈ P → a⁻¹ ∈ P

theorem Subsemiring.IsPreordering.isPointed E1 #

∀ {F : Type u_1} [inst : Field F] {P : Subsemiring F}, P.IsPreordering → P.toAddSubmonoid.IsPointed

Deprecated aliases

NameNew nameSince
RingPreordering.HasIdealSupport.neg_smul_mem2026-10-28
RingPreordering.HasIdealSupport.smul_mem2026-10-28
RingPreordering.IsOrdering.mk'2026-10-28
RingPreordering.coe_mk'2026-10-28
RingPreordering.hasIdealSupport_of_isUnit_twoSubsemiring.IsPreordering.mul_mem_support_of_right2026-10-28
RingPreordering.instHasIdealSupport2026-10-28
RingPreordering.instHasIdealSupportOfFactIsUnitOfNatSubsemiring.IsPreordering.mul_mem_support_of_right2026-10-28
RingPreordering.instIsPrimeSupport2026-10-28
RingPreordering.inv_memSubsemiring.IsPreordering.inv_mem2026-10-28
RingPreordering.isOrdering_iffSubsemiring.IsPreordering.isOrdering_iff2026-10-28
RingPreordering.mem_mk'2026-10-28
RingPreordering.mem_of_isSumSqSubsemiring.IsPreordering.mem_of_isSumSq2026-10-28
RingPreordering.mk'2026-10-28
RingPreordering.one_notMem_supportSubsemiring.IsPreordering.one_notMem_support2026-10-28
RingPreordering.one_notMem_supportAddSubgroupSubsemiring.IsPreordering.one_notMem_support2026-10-28
RingPreordering.supportAddSubgroup_eq_botSubsemiring.IsPreordering.isPointed2026-10-28
RingPreordering.supportAddSubgroup_ne_topSubsemiring.IsPreordering.support_ne_top2026-10-28
RingPreordering.support_eq_botSubsemiring.IsPreordering.isPointed2026-10-28
RingPreordering.support_ne_topSubsemiring.IsPreordering.support_ne_top2026-10-28
RingPreordering.toSubsemiring_le_toSubsemiring2026-10-28
RingPreordering.toSubsemiring_lt_toSubsemiring2026-10-28
RingPreordering.toSubsemiring_mono2026-10-28
RingPreordering.toSubsemiring_strictMono2026-10-28
RingPreordering.unitsInv_memSubsemiring.IsPreordering.unitsInv_mem2026-10-28