The sign group of a linearly ordered ring #
For a linearly ordered ring, the positive units Units.posSubgroup R form an index-2 subgroup, so
it has finite index. Together with the general finite-index-preimage instance
(Subgroup.instFiniteIndexComap), this yields the finiteness of the totally positive units of a
number field, hence of its narrow class group.
Being of index 2, the quotient Rˣ ⧸ Units.posSubgroup R is the two-element sign group;
Units.signEquiv identifies it with ℤˣ, which is how a sign is usually presented concretely.
Main definitions and results #
Units.instFiniteIndexPosSubgroup: the positive units have finite index.Units.signEquiv: the sign isomorphismRˣ ⧸ Units.posSubgroup R ≃* ℤˣ, withUnits.signEquiv_mk_eq_one_iffandUnits.signEquiv_mk_eq_neg_one_iffreading its two values off the sign of a unit.
The positive units of a linearly ordered ring form an index-2, hence finite-index,
subgroup.
The sign isomorphism of a linearly ordered ring. The units of R modulo the
positive ones form the two-element sign group ℤˣ, the class of a unit being its sign.
The class of a positive unit is sent to 1 and the class of a negative unit to -1; these two
values are read off by Units.signEquiv_mk_eq_one_iff and Units.signEquiv_mk_eq_neg_one_iff.
Equations
- Units.signEquiv R = (MulEquiv.ofBijective ((QuotientGroup.mk' (Units.posSubgroup R)).comp (Units.map ↑(Int.castRingHom R))) ⋯).symm
Instances For
The sign of a unit is 1 exactly when the unit is positive.
The sign of a unit is -1 exactly when the unit is negative.