Semireal rings #
A semireal ring is a commutative ring (with unit) in which -1 is not a sum of squares.
For instance, linearly ordered rings are semireal, because sums of squares are positive and -1 is
not.
Main declaration #
IsSemireal: the predicate asserting that a commutative ringRis semireal.
References #
- An introduction to real algebra, by T.Y. Lam. Rocky Mountain J. Math. 14(4): 767-814 (1984). lam_1984
A semireal ring is a commutative ring (with unit) in which -1 is not a sum of
squares. We define the predicate IsSemireal R for structures R equipped with
a multiplication, an addition, a multiplicative unit and an additive unit.
Instances
In a semireal ring, -1 is not a sum of squares.
theorem IsSemireal.of_not_isSumSq_neg_one {R : Type u_1} [AddGroup R] [One R] [Mul R] :
¬IsSumSq (-1) → IsSemireal R
Alias of the reverse direction of isSemireal_iff_not_isSumSq_neg_one.
instance instIsSemirealOfIsStrictOrderedRingOfExistsAddOfLE (R : Type u_1) [Semiring R] [LinearOrder R] [IsStrictOrderedRing R] [ExistsAddOfLE R] :
Linearly ordered semirings with the property a ≤ b → ∃ c, a + c = b (e.g. ℕ)
are semireal.
@[instance 90]