Heights of S-integers #
The height of an S-integer is supported on the primes in S and the infinite places.
This file translates membership in Mathlib's S-integers and S-units into finite-place
absolute values, proves the resulting multiplicative and logarithmic height identities,
shows that the multiplicative identity characterizes S-integers, and records the product formula
for an S-unit as a product over the infinite places and S
(NumberField.prod_abs_eq_one_of_mem_unit).
The set S may be arbitrary; finset versions give ordinary products and sums.
At S = ∅ the element 1 / 2 shows that the S-integer hypothesis cannot be dropped.
Adapted from Ralf Stephan's ArithmeticHeights/SUnit.lean in rwst/Subspace-Theorems,
commit e443c2479e19f7665b31d8e94e2317c8ced1ca06 (Apache 2.0), using Mathlib's height API.
The mathematical reference is Bombieri and Gubler, Heights in Diophantine Geometry,
Cambridge University Press (2006), §1.5.10.
An S-integer is an element whose absolute values at the finite places outside S are at
most 1.
An S-unit is an element of Kˣ whose absolute values at the finite places outside S are
all 1.
A nonzero element of K which has absolute value 1 at every finite place outside S is
an S-unit.
The height of an S-integer is carried by the infinite places and the places of S.
The S-unit case of this is Bombieri–Gubler 1.5.10; the hypothesis the proof uses is only that
x is an S-integer.
The logarithmic form of NumberField.mulHeight₁_eq_of_mem_integer.
The height of an S-unit, the statement of Bombieri–Gubler 1.5.10.
The logarithmic form of NumberField.mulHeight₁_eq_of_mem_unit.
The height of an S-integer when S is a finite set of primes.
The logarithmic height of an S-integer when S is a finite set of primes.
The product formula for an S-unit: its absolute values at the infinite places, with
multiplicities, and at the places of S multiply to 1. This is Mathlib's prod_abs_eq_one with
the factors at the finite places outside S, all equal to 1, removed.
The identity characterizes the S-integers #
The display of NumberField.mulHeight₁_eq_of_mem_integer characterizes the S-integers.
Every local factor is at least 1, so a finite place outside S at which x has absolute value
greater than 1 makes the full finite product strictly larger than its part over S.
The S-integer hypothesis cannot be dropped #
At S = ∅ the identity says that the height of an algebraic integer is carried by the infinite
places. The element 1 / 2 is not an algebraic integer: its infinite factor is 1, while its
height is 2 ^ [K : ℚ], all of it carried by the finite places above 2.