Ring orderings #
Let R be a commutative ring. We define orderings and preorderings on R
as predicates on Subsemiring R.
Definitions #
IsOrdering: an ordering is a subsemiringOsuch thatO ∪ -O = Rand the supportO ∩ -OofOforms a prime ideal.IsPreordering: a preordering is a subsemiring that contains all squares, but not-1.
All orderings are preorderings.
References #
- [An introduction to real algebra, T.Y. Lam][lam_1984]
An ordering O on a ring R is a subsemiring of R such that O ∪ -O = R and
the support O ∩ -O of O forms a prime ideal.
- isSpanning : S.toAddSubmonoid.IsSpanning
- mem_support_or_mem_support {x y : R} : x * y ∈ S.toAddSubmonoid.support → x ∈ S.toAddSubmonoid.support ∨ y ∈ S.toAddSubmonoid.support
Instances For
A preordering on a ring R is a subsemiring of R that contains all squares, but not -1.
- neg_one_notMem : -1 ∉ S
Instances For
An ordering is a preordering.
A preordering on a ring R is a subsemiring of R containing all squares,
but not containing -1.
- neg_one_notMem' : -1 ∉ (↑self).carrier
Instances For
Equations
- RingPreordering.instSetLike R = { coe := fun (P : RingPreordering R) => (↑P).carrier, coe_injective := ⋯ }
Equations
Copy of a preordering with a new carrier equal to the old one. Useful to fix definitional
equalities.
Equations
Instances For
Support #
The support of a ring preordering P in a commutative ring R is
the set of elements x in R such that both x and -x lie in P.
Equations
Instances For
Typeclass to track whether the support of a preordering forms an ideal.
Instances
The support of a ring preordering P in a commutative ring R is
the set of elements x in R such that both x and -x lie in P.
Equations
- P.support = { toAddSubmonoid := P.supportAddSubgroup.toAddSubmonoid, smul_mem' := ⋯ }
Instances For
An ordering O on a ring R is a preordering such that
Ocontains eitherxor-xfor eachxinRand- the support of
Ois a prime ideal.