Greatest common divisors and least common multiples of moduli #
The divisibility order on number-field moduli is componentwise: the finite ideal divides in the usual ideal-theoretic sense, while the set of real places grows by inclusion. This file constructs the greatest common divisor and least common multiple for that order. On finite parts these are the sum and intersection of ideals, respectively; on infinite parts they are intersection and union.
The least common multiple combines congruence conditions: an element of the field is congruent to
one modulo lcm 𝔪 𝔫 exactly when it is congruent to one modulo both 𝔪 and 𝔫. This is the
form used when several ray conditions are replaced by one modulus. The support and exponent
formulas record that finite prime exponents combine by min for gcd and by max for lcm.
Main definitions #
TauCeti.GlobalNumberFields.Modulus.gcd: the greatest common divisor of two moduli.TauCeti.GlobalNumberFields.Modulus.lcm: the least common multiple of two moduli.
Main results #
Modulus.gcd_dvd_left,Modulus.gcd_dvd_right, andModulus.dvd_gcd: the universal property ofgcd.Modulus.dvd_lcm_left,Modulus.dvd_lcm_right, andModulus.lcm_dvd: the universal property oflcm.Modulus.support_gcd,Modulus.support_lcm,Modulus.exponent_gcd, andModulus.exponent_lcm: the primewise formulas.isCongrOne_lcm_iffandcongruenceSubgroup_lcm: anlcmimposes both congruence conditions.
References #
- J. Neukirch, Algebraic Number Theory, Chapter VI, §1.
- S. Lang, Algebraic Number Theory, Chapter VI, §1.
Definitions and universal properties #
The greatest common divisor of two moduli. Its finite part is the sum of the two finite ideals and its infinite part contains the real places common to both moduli.
Instances For
The least common multiple of two moduli. Its finite part is the intersection of the two finite ideals and its infinite part contains every real place occurring in either modulus.
Instances For
The greatest common divisor divides its left argument.
The greatest common divisor divides its right argument.
A modulus dividing both arguments divides their greatest common divisor.
The least common multiple is divisible by its left argument.
The least common multiple is divisible by its right argument.
The least common multiple divides every common multiple.
Greatest common divisors of moduli are commutative.
A modulus is its own greatest common divisor.
Least common multiples of moduli are commutative.
A modulus is its own least common multiple.
The greatest common divisor with the trivial modulus is trivial.
The greatest common divisor of the trivial modulus and any modulus is trivial.
The least common multiple with the trivial modulus is the original modulus.
The least common multiple of the trivial modulus and any modulus is the original modulus.
Primewise formulas #
At every finite place, the exponent in a greatest common divisor is the minimum of the two exponents.
At every finite place, the exponent in a least common multiple is the maximum of the two exponents.
Combining congruence conditions #
Congruence to one modulo a least common multiple is equivalent to congruence modulo both arguments.
The congruence subgroup of a least common multiple is the intersection of the two congruence subgroups.