Documentation

Mathlib.NumberTheory.Height.NumberField

Heights over number fields #

We provide an instance of Height.AdmissibleAbsValues for algebraic number fields and set up some API.

TODO #

When this file gets long, split the material on heights over off into a file Rat.lean.

Instance for number fields #

The infinite places of a number field K as a Multiset of absolute values on K, with multiplicity given by InfinitePlace.mult.

Equations
Instances For
    @[implicit_reducible]
    Equations
    • One or more equations did not get rendered due to their size.
    theorem NumberField.mulHeight₁_eq {K : Type u_1} [Field K] [NumberField K] (x : K) :
    Height.mulHeight₁ x = (∏ v : InfinitePlace K, max (v x) 1 ^ v.mult) * ∏ᶠ (v : FinitePlace K), max (v x) 1

    This is the familiar definition of the multiplicative height on a number field.

    theorem NumberField.logHeight₁_eq {K : Type u_1} [Field K] [NumberField K] (x : K) :
    Height.logHeight₁ x = v : InfinitePlace K, v.mult * (v x).posLog + ∑ᶠ (v : FinitePlace K), (v x).posLog

    This is the familiar definition of the logarithmic height on a number field.

    theorem NumberField.mulHeight_eq {K : Type u_1} [Field K] [NumberField K] {ι : Type u_2} {x : ιK} (hx : x 0) :
    Height.mulHeight x = (∏ v : InfinitePlace K, (⨆ (i : ι), v (x i)) ^ v.mult) * ∏ᶠ (v : FinitePlace K), ⨆ (i : ι), v (x i)

    This is the familiar definition of the multiplicative height on (nonzero) tuples of number field elements.

    Heights over the rational numbers #

    We show that the Height.mulHeight of a tuple of coprime integers (considered as rational numbers) equals the maximum of their absolute values and that the Height.mulHeight₁ of a rational number is the maximum of the absolute value of the numerator and the denominator. We add the corresponding results for logarithmic heights.

    theorem Rat.iSup_finitePlace_apply_eq_one_of_gcd_eq_one {ι : Type u_1} [Fintype ι] [Nonempty ι] {x : ι} (v : NumberField.FinitePlace ) (hx : Finset.univ.gcd x = 1) :
    ⨆ (i : ι), v (x i) = 1

    The term corresponding to a finite place in the definition of the multiplicative height of a tuple of rational numbers equals 1 if the tuple consists of coprime integers.

    theorem Rat.mulHeight_eq_max_abs_of_gcd_eq_one {ι : Type u_1} [Fintype ι] [Nonempty ι] {x : ι} (hx : Finset.univ.gcd x = 1) :
    Height.mulHeight (Int.cast x) = (⨆ (i : ι), |x i|)

    The multiplicative height of a tuple of rational numbers that consists of coprime integers is the maximum of the absolute values of the entries.

    theorem Rat.logHeight_eq_max_abs_of_gcd_eq_one {ι : Type u_1} [Fintype ι] [Nonempty ι] {x : ι} (hx : Finset.univ.gcd x = 1) :
    Height.logHeight (Int.cast x) = Real.log (⨆ (i : ι), |x i|)

    The logarithmic height of a tuple of rational numbers that consists of coprime integers is the logarithm of the maximum of the absolute values of the entries.

    The multiplicative height of a rational number is the maximum of the absolute value of its numerator and its denominator.

    The logarithmic height of a rational number is the logarithm of the maximum of the absolute value of its numerator and its denominator.

    The multiplicative height of a positive natural number n cast to equals n.

    The logarithmic height of a positive natural number n cast to equals log n.

    Positivity extension for totalWeight on number fields #

    Extension for the positivity tactic: Height.totalWeight is positive for number fields.

    Instances For