The areas / V12. Number theory
Mathlib.NumberTheory.Height.Basic
100 declarations. Mathlib docs · Source
Basic theory of heights
This is an attempt at formalizing some basic properties of height functions.
We aim at a level of generality that allows to apply the theory to algebraic number fields and to function fields (and possibly beyond).
The general set-up for heights is the following. Let K be a field.
- We have a
Multisetof archimedean absolute values onK(with values inℝ). - We also have a
Setof non-archimedean (i.e.,|x+y| ≤ max |x| |y|) absolute values. - For a given
x ≠ 0inK,|x|ᵥ = 1for all but finitely many (non-archimedean)v. - We have the product formula
∏ v : arch, |x|ᵥ * ∏ v : nonarch, |x|ᵥ = 1for allx ≠ 0inK, where the first product is over the multiset of archimedean absolute values.
We realize this implementation via the class Height.AdmissibleAbsValues K.
Main definitions
We define multiplicative heights and logarithmic heights (which are just defined to be the (real) logarithm of the corresponding multiplicative height). This leads to some duplication (in the definitions and statements; the proofs are reduced to those for the multiplicative height), which is justified, as both versions are frequently used.
We define the following variants.
Height.mulHeight₁ xandHeight.logHeight₁ xforx : K. This is the height of an element ofK.Height.mulHeight xandHeight.logHeight xforx : ι → Kwithιfinite. This is the height of a tuple of elements ofKrepresenting a point in projective space. Whenx = 0, we define the multiplicative height to be1(so the logarithmic height is0). It is invariant under scaling by nonzero elements ofK.Finsupp.mulHeight xandFinsupp.logHeight xforx : α →₀ K. This is the same as the height ofxrestricted to the support ofx.
TODO
-
Add
Height.AdmissibleAbsValuesinstances for- Fields of rational functions in
nvariables and - Finite extensions of fields with
Height.AdmissibleAbsValues.
- Fields of rational functions in
-
Prove upper and lower bounds on the height of the image of a tuple under a tuple of homogeneous polynomial maps of the same degree.
Tags
Height, absolute value
Families of admissible absolute values
We define the class AdmissibleAbsValues K for a field K, which captures the notion of a
family of absolute values on K satisfying a product formula.
Heights of field elements
We use the subscript ₁ to denote multiplicative and logarithmic heights of field elements
(this is because we are in the one-dimensional case of (affine) heights).
Positivity extension for mulHeight₁, logHeight₁
Heights of tuples and finitely supported maps
We define the multiplicative height of a nonzero tuple x : ι → K as the product of the maxima
of v on x, as v runs through the relevant absolute values of K. As usual, the
logarithmic height is the logarithm of the multiplicative height.
When x = 0, we define the multiplicative height to be 1; this is a convenient "junk value",
which allows to avoid the condition x ≠ 0 in most of the results.
For a finitely supported function x : ι →₀ K, we define the height as the height of x
restricted to its support.
First properties of heights
Positivity extension for mulHeight, logHeight
Further properties of heights
Heights and "Segre embedding"
We show that the multiplicative height of fun (i, j) ↦ x i * y j is the product of the
multiplicative heights of x and y (and the analogous statement for logarithmic heights).
We also show the corresponding statements for product with arbitrarily many factors.
Height bound for products
Bounds for the height of sums of field elements
We prove the general case (finite sums of arbitrary length) first and deduce the result for sums of two elements from it.
def Height.AdmissibleAbsValues.ctorIdx E1 #
{K : Type u_1} → {inst : Field K} → Height.AdmissibleAbsValues K → ℕ
class Height.AdmissibleAbsValues E1 #
(K : Type u_1) → [Field K] → Type u_1
A type class capturing an admissible family of absolute values.
ctor Height.AdmissibleAbsValues.mk E0 #
{K : Type u_1} →
[inst : Field K] →
(archAbsVal : Multiset (AbsoluteValue K ℝ)) →
(nonarchAbsVal : Set (AbsoluteValue K ℝ)) →
(∀ v ∈ nonarchAbsVal, IsNonarchimedean ⇑v) →
(∀ {x : K}, x ≠ 0 → Function.HasFiniteMulSupport fun v ↦ ↑v x) →
(∀ {x : K}, x ≠ 0 → (Multiset.map (fun x_2 ↦ x_2 x) archAbsVal).prod * ∏ᶠ (v : ↑nonarchAbsVal), ↑v x = 1) →
Height.AdmissibleAbsValues K
abbrev Height.AdmissibleAbsValues.archAbsVal E1 #
{K : Type u_1} → {inst : Field K} → [self : Height.AdmissibleAbsValues K] → Multiset (AbsoluteValue K ℝ)
The archimedean absolute values as a multiset of ℝ-valued absolute values on K.
abbrev Height.AdmissibleAbsValues.nonarchAbsVal E1 #
{K : Type u_1} → {inst : Field K} → [self : Height.AdmissibleAbsValues K] → Set (AbsoluteValue K ℝ)
The nonarchimedean absolute values as a set of ℝ-valued absolute values on K.
theorem Height.AdmissibleAbsValues.isNonarchimedean E1 #
∀ {K : Type u_1} {inst : Field K} [self : Height.AdmissibleAbsValues K],
∀ v ∈ Height.AdmissibleAbsValues.nonarchAbsVal, IsNonarchimedean ⇑v
The nonarchimedean absolute values are indeed nonarchimedean.
theorem Height.AdmissibleAbsValues.hasFiniteMulSupport E1 #
∀ {K : Type u_1} {inst : Field K} [self : Height.AdmissibleAbsValues K] {x : K},
x ≠ 0 → Function.HasFiniteMulSupport fun v ↦ ↑v x
Only finitely many (nonarchimedean) absolute values are ≠ 1 for any nonzero x : K.
theorem Height.AdmissibleAbsValues.product_formula E1 #
∀ {K : Type u_1} {inst : Field K} [self : Height.AdmissibleAbsValues K] {x : K},
x ≠ 0 →
(Multiset.map (fun x_2 ↦ x_2 x) Height.AdmissibleAbsValues.archAbsVal).prod *
∏ᶠ (v : ↑Height.AdmissibleAbsValues.nonarchAbsVal), ↑v x =
1
The product formula. The archimedean absolute values are taken with their multiplicity.
def Height.totalWeight E1 #
(K : Type u_1) → [inst : Field K] → [Height.AdmissibleAbsValues K] → ℕ
The totalWeight of a field with AdmissibleAbsValues is the sum of the multiplicities of
the archimedean places.
def Height.mulHeight₁ E1 #
{K : Type u_1} → [inst : Field K] → [Height.AdmissibleAbsValues K] → K → ℝ
The multiplicative height of an element of K.
theorem Height.mulHeight₁_eq E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K),
Height.mulHeight₁ x =
(Multiset.map (fun v ↦ max (v x) 1) Height.AdmissibleAbsValues.archAbsVal).prod *
∏ᶠ (v : ↑Height.AdmissibleAbsValues.nonarchAbsVal), max (↑v x) 1
theorem Height.mulHeight₁_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K], Height.mulHeight₁ 0 = 1
theorem Height.mulHeight₁_one E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K], Height.mulHeight₁ 1 = 1
theorem Height.one_le_mulHeight₁ E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K), 1 ≤ Height.mulHeight₁ x
The multiplicative height of a field element is always at least 1.
theorem Height.mulHeight₁_pos E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K), 0 < Height.mulHeight₁ x
theorem Height.mulHeight₁_ne_zero E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K), Height.mulHeight₁ x ≠ 0
theorem Height.mulHeight₁_nonneg E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K), 0 ≤ Height.mulHeight₁ x
def Height.logHeight₁ E1 #
{K : Type u_1} → [inst : Field K] → [Height.AdmissibleAbsValues K] → K → ℝ
The logarithmic height of an element of K.
theorem Height.logHeight₁_eq_log_mulHeight₁ E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K),
Height.logHeight₁ x = Real.log (Height.mulHeight₁ x)
theorem Height.logHeight₁_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K], Height.logHeight₁ 0 = 0
theorem Height.logHeight₁_one E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K], Height.logHeight₁ 1 = 0
theorem Height.zero_le_logHeight₁ E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K), 0 ≤ Height.logHeight₁ x
theorem Height.logHeight₁_eq E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K),
Height.logHeight₁ x =
(Multiset.map (fun v ↦ (v x).posLog) Height.AdmissibleAbsValues.archAbsVal).sum +
∑ᶠ (v : ↑Height.AdmissibleAbsValues.nonarchAbsVal), (↑v x).posLog
The logarithmic height of a field element can be expressed as a sum over the positive parts of the logarithms of its various absolute values.
def Mathlib.Meta.Positivity.evalMulHeight₁ E1 #
Mathlib.Meta.Positivity.PositivityExt
Extension for the positivity tactic: Height.mulHeight₁ is always positive.
def Mathlib.Meta.Positivity.evalLogHeight₁ E1 #
Mathlib.Meta.Positivity.PositivityExt
Extension for the positivity tactic: Height.logHeight₁ is always nonnegative.
def Height.mulHeight E1 #
{K : Type u_1} → [inst : Field K] → [Height.AdmissibleAbsValues K] → {ι : Type u_2} → (ι → K) → ℝ
The multiplicative height of a tuple of elements of K.
For the zero tuple we take the junk value 1.
theorem Height.mulHeight_eq E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} {x : ι → K},
x ≠ 0 →
Height.mulHeight x =
(Multiset.map (fun v ↦ ⨆ i, v (x i)) Height.AdmissibleAbsValues.archAbsVal).prod *
∏ᶠ (v : ↑Height.AdmissibleAbsValues.nonarchAbsVal), ⨆ i, ↑v (x i)
theorem Height.fun_mulHeight_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2},
(Height.mulHeight fun x ↦ 0) = 1
Eta-expanded form of Height.mulHeight_zero
theorem Height.mulHeight_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2}, Height.mulHeight 0 = 1
theorem Height.fun_mulHeight_one E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2},
(Height.mulHeight fun x ↦ 1) = 1
Eta-expanded form of Height.mulHeight_one
theorem Height.mulHeight_one E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2}, Height.mulHeight 1 = 1
theorem Height.mulHeight_comp_equiv E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} {ι' : Type u_3} (e : ι ≃ ι')
(x : ι' → K), Height.mulHeight (x ∘ ⇑e) = Height.mulHeight x
The multiplicative height does not change under re-indexing.
theorem Height.mulHeight_swap E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x y : K),
Height.mulHeight ![x, y] = Height.mulHeight ![y, x]
def Height.logHeight E1 #
{K : Type u_1} → [inst : Field K] → [Height.AdmissibleAbsValues K] → {ι : Type u_2} → (ι → K) → ℝ
The logarithmic height of a tuple of elements of K.
theorem Height.logHeight_eq_log_mulHeight E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} (x : ι → K),
Height.logHeight x = Real.log (Height.mulHeight x)
theorem Height.logHeight_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2}, Height.logHeight 0 = 0
theorem Height.fun_logHeight_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2},
(Height.logHeight fun x ↦ 0) = 0
Eta-expanded form of Height.logHeight_zero
theorem Height.logHeight_one E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2}, Height.logHeight 1 = 0
theorem Height.fun_logHeight_one E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2},
(Height.logHeight fun x ↦ 1) = 0
Eta-expanded form of Height.logHeight_one
theorem Height.logHeight_comp_equiv E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} {ι' : Type u_3} (e : ι ≃ ι')
(x : ι' → K), Height.logHeight (x ∘ ⇑e) = Height.logHeight x
theorem Height.logHeight_swap E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x y : K),
Height.logHeight ![x, y] = Height.logHeight ![y, x]
def Finsupp.mulHeight E1 #
{K : Type u_1} → [inst : Field K] → [Height.AdmissibleAbsValues K] → {α : Type u_4} → (α →₀ K) → ℝ
The multiplicative height of a finitely supported function.
def Finsupp.logHeight E1 #
{K : Type u_1} → [inst : Field K] → [Height.AdmissibleAbsValues K] → {α : Type u_4} → (α →₀ K) → ℝ
The logarithmic height of a finitely supported function.
theorem Finsupp.logHeight_eq_log_mulHeight E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {α : Type u_4} (x : α →₀ K),
Height.logHeight ⇑x = Real.log (Height.mulHeight ⇑x)
theorem Height.mulHeight_smul_eq_mulHeight E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x : ι → K) {c : K},
c ≠ 0 → Height.mulHeight (c • x) = Height.mulHeight x
The multiplicative height of a tuple does not change under scaling.
theorem Height.one_le_mulHeight E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x : ι → K),
1 ≤ Height.mulHeight x
theorem Height.mulHeight_pos E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x : ι → K),
0 < Height.mulHeight x
theorem Height.mulHeight_ne_zero E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x : ι → K),
Height.mulHeight x ≠ 0
theorem Height.logHeight_nonneg E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x : ι → K),
0 ≤ Height.logHeight x
theorem Height.mulHeight_comp_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} {ι' : Type u_3} [Finite ι]
[Finite ι'] (f : ι → ι') (x : ι' → K), Height.mulHeight (x ∘ f) ≤ Height.mulHeight x
theorem Height.logHeight_comp_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} {ι' : Type u_3} [Finite ι]
[Finite ι'] (f : ι → ι') (x : ι' → K), Height.logHeight (x ∘ f) ≤ Height.logHeight x
theorem Height.mulHeight_sumElim_zero_eq E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} {ι' : Type u_3} [Finite ι]
[Finite ι'] (x : ι → K), Height.mulHeight (Sum.elim x 0) = Height.mulHeight x
theorem Height.logHeight_sumElim_zero_eq E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} {ι' : Type u_3} [Finite ι]
[Finite ι'] (x : ι → K), Height.logHeight (Sum.elim x 0) = Height.logHeight x
theorem Height.mulHeight_eq_mulHeight_restrict_support E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x : ι → K),
Height.mulHeight x = Height.mulHeight fun i ↦ x ↑i
theorem Height.logHeight_eq_logHeight_restrict_support E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x : ι → K),
Height.logHeight x = Height.logHeight fun i ↦ x ↑i
theorem Height.mulHeight_eq_one_of_subsingleton E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_5} [Subsingleton ι] (x : ι → K),
Height.mulHeight x = 1
theorem Height.logHeight_eq_zero_of_subsingleton E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_5} [Subsingleton ι] (x : ι → K),
Height.logHeight x = 0
theorem Height.mulHeight_cons_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {n : ℕ} (x : Fin n → K),
Height.mulHeight (Matrix.vecCons 0 x) = Height.mulHeight x
theorem Height.logHeight_cons_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {n : ℕ} (x : Fin n → K),
Height.logHeight (Matrix.vecCons 0 x) = Height.logHeight x
theorem Height.mulHeight_cons_cons_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {n : ℕ} (a : K) (x : Fin n → K),
Height.mulHeight (Matrix.vecCons a (Matrix.vecCons 0 x)) = Height.mulHeight (Matrix.vecCons a x)
theorem Height.logHeight_cons_cons_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {n : ℕ} (a : K) (x : Fin n → K),
Height.logHeight (Matrix.vecCons a (Matrix.vecCons 0 x)) = Height.logHeight (Matrix.vecCons a x)
theorem Height.mulHeight_cons_cons_cons_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {n : ℕ} (a b : K) (x : Fin n → K),
Height.mulHeight (Matrix.vecCons a (Matrix.vecCons b (Matrix.vecCons 0 x))) =
Height.mulHeight (Matrix.vecCons a (Matrix.vecCons b x))
theorem Height.logHeight_cons_cons_cons_zero E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {n : ℕ} (a b : K) (x : Fin n → K),
Height.logHeight (Matrix.vecCons a (Matrix.vecCons b (Matrix.vecCons 0 x))) =
Height.logHeight (Matrix.vecCons a (Matrix.vecCons b x))
def Mathlib.Meta.Positivity.evalMulHeight E1 #
Mathlib.Meta.Positivity.PositivityExt
Extension for the positivity tactic: Height.mulHeight is always positive.
def Mathlib.Meta.Positivity.evalLogHeight E1 #
Mathlib.Meta.Positivity.PositivityExt
Extension for the positivity tactic: Height.logHeight is always nonnegative.
theorem Height.logHeight_smul_eq_logHeight E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x : ι → K) {c : K},
c ≠ 0 → Height.logHeight (c • x) = Height.logHeight x
The logarithmic height of a tuple does not change under scaling.
theorem Height.mulHeight₁_eq_mulHeight E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K),
Height.mulHeight₁ x = Height.mulHeight ![x, 1]
theorem Height.logHeight₁_eq_logHeight E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K),
Height.logHeight₁ x = Height.logHeight ![x, 1]
theorem Height.mulHeight₁_div_eq_mulHeight E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x y : K),
Height.mulHeight₁ (x / y) = Height.mulHeight ![x, y]
theorem Height.logHeight₁_div_eq_logHeight E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x y : K),
Height.logHeight₁ (x / y) = Height.logHeight ![x, y]
theorem Height.mulHeight_pow E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x : ι → K) (n : ℕ),
Height.mulHeight (x ^ n) = Height.mulHeight x ^ n
The multiplicative height of the coordinate-wise nth power of a tuple
is the nth power of its multiplicative height.
theorem Height.logHeight_pow E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x : ι → K) (n : ℕ),
Height.logHeight (x ^ n) = ↑n * Height.logHeight x
The logarithmic height of the coordinate-wise nth power of a tuple
is n times its logarithmic height.
theorem Height.mulHeight₁_inv E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K),
Height.mulHeight₁ x⁻¹ = Height.mulHeight₁ x
The multiplicative height of the inverse of a field element x
is the same as the multiplicative height of x.
theorem Height.logHeight₁_inv E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K),
Height.logHeight₁ x⁻¹ = Height.logHeight₁ x
The logarithmic height of the inverse of a field element x
is the same as the logarithmic height of x.
theorem Height.mulHeight₁_pow E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K) (n : ℕ),
Height.mulHeight₁ (x ^ n) = Height.mulHeight₁ x ^ n
The multiplicative height of the nth power of a field element x (with n : ℕ)
is the nth power of the multiplicative height of x.
theorem Height.logHeight₁_pow E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K) (n : ℕ),
Height.logHeight₁ (x ^ n) = ↑n * Height.logHeight₁ x
The logarithmic height of the nth power of a field element x (with n : ℕ)
is n times the logarithmic height of x.
theorem Height.mulHeight₁_zpow E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K) (n : ℤ),
Height.mulHeight₁ (x ^ n) = Height.mulHeight₁ x ^ n.natAbs
The multiplicative height of the nth power of a field element x (with n : ℤ)
is the |n|th power of the multiplicative height of x.
theorem Height.logHeight₁_zpow E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K) (n : ℤ),
Height.logHeight₁ (x ^ n) = ↑n.natAbs * Height.logHeight₁ x
The logarithmic height of the nth power of a field element x (with n : ℤ)
is |n| times the logarithmic height of x.
theorem Height.mulHeight_fun_prod_eq E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {α : Type u} [inst_2 : Fintype α]
{ι : α → Type v} [∀ (a : α), Finite (ι a)] {x : (a : α) → ι a → K},
(∀ (a : α), x a ≠ 0) → (Height.mulHeight fun I ↦ ∏ a, x a (I a)) = ∏ a, Height.mulHeight (x a)
Consider a finite family x : (a : α) → ι a → K of tuples. Then the multiplicative height
of the "multiplication table" fun (I : (a : α) → ι a ↦ ∏ a, x a (I a)) is the product
of the multiplicative heights of all the x a.
theorem Height.logHeight_fun_prod_eq E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {α : Type u} [inst_2 : Fintype α]
{ι : α → Type v} [∀ (a : α), Finite (ι a)] {x : (a : α) → ι a → K},
(∀ (a : α), x a ≠ 0) → (Height.logHeight fun I ↦ ∏ a, x a (I a)) = ∑ a, Height.logHeight (x a)
Consider a finite family x : (a : α) → ι a → K of tuples. Then the logarithmic height
of the "multiplication table" fun (I : (a : α) → ι a ↦ ∏ a, x a (I a)) is the sum
of the logarithmic heights of all the x a.
theorem Height.mulHeight_fun_mul_eq E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} {ι' : Type u_3} [Finite ι]
[Finite ι'] {x : ι → K},
x ≠ 0 → ∀ {y : ι' → K}, y ≠ 0 → (Height.mulHeight fun a ↦ x a.1 * y a.2) = Height.mulHeight x * Height.mulHeight y
The multiplicative height of the "multiplication table" fun (i, j) ↦ x i * y j
is the product of the multiplicative heights of x and y.
theorem Height.logHeight_fun_mul_eq E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} {ι' : Type u_3} [Finite ι]
[Finite ι'] {x : ι → K},
x ≠ 0 → ∀ {y : ι' → K}, y ≠ 0 → (Height.logHeight fun a ↦ x a.1 * y a.2) = Height.logHeight x + Height.logHeight y
The logarithmic height of the "multiplication table" fun (i, j) ↦ x i * y j
is the sum of the logarithmic heights of x and y.
theorem Height.mulHeight_neg E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} (x : ι → K),
Height.mulHeight (-x) = Height.mulHeight x
The multiplicative height of the pointwise negative of a tuple equals its multiplicative height.
theorem Height.logHeight_neg E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} (x : ι → K),
Height.logHeight (-x) = Height.logHeight x
The logarithmic height of the pointwise negative of a tuple equals its logarithmic height.
theorem Height.mulHeight_mul_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x y : ι → K),
Height.mulHeight (x * y) ≤ Height.mulHeight x * Height.mulHeight y
The multiplicative height of a pointwise product of tuples is bounded by the product of their multiplicative heights.
theorem Height.logHeight_mul_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} [Finite ι] (x y : ι → K),
Height.logHeight (x * y) ≤ Height.logHeight x + Height.logHeight y
The logarithmic height of a pointwise product of tuples is bounded by the sum of their logarithmic heights.
theorem Height.mulHeight₁_mul_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x y : K),
Height.mulHeight₁ (x * y) ≤ Height.mulHeight₁ x * Height.mulHeight₁ y
The multiplicative height of x * y is at most the product of the multiplicative heights
of x and y.
theorem Height.logHeight₁_mul_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x y : K),
Height.logHeight₁ (x * y) ≤ Height.logHeight₁ x + Height.logHeight₁ y
The logarithmic height of x * y is at most the sum of the logarithmic heights
of x and y.
theorem Height.mulHeight₁_prod_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} (s : Finset ι) (x : ι → K),
Height.mulHeight₁ (∏ i ∈ s, x i) ≤ ∏ i ∈ s, Height.mulHeight₁ (x i)
The multiplicative height of a product of field elements is bounded above by the product of their multiplicative heights.
theorem Height.logHeight₁_prod_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {ι : Type u_2} (s : Finset ι) (x : ι → K),
Height.logHeight₁ (∏ i ∈ s, x i) ≤ ∑ i ∈ s, Height.logHeight₁ (x i)
The logarithmic height of a product of field elements is bounded above by the sum of their logarithmic heights.
theorem Finset.max_abv_sum_one_le E1 #
∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : CommSemiring S] [inst_2 : LinearOrder S] [IsOrderedRing S]
[CharZero S] (v : AbsoluteValue R S) {ι : Type u_3} {s : Finset ι},
s.Nonempty → ∀ (x : ι → R), max (v (∑ i ∈ s, x i)) 1 ≤ ↑s.card * ∏ i ∈ s, max (v (x i)) 1
The "local" version of the height bound for arbitrary sums for general (possibly archimedean) absolute values.
theorem Finset.max_abv_sum_one_le_of_isNonarchimedean E1 #
∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : CommSemiring S] [inst_2 : LinearOrder S] [IsOrderedRing S]
{v : AbsoluteValue R S},
IsNonarchimedean ⇑v → ∀ {ι : Type u_3} (s : Finset ι) (x : ι → R), max (v (∑ i ∈ s, x i)) 1 ≤ ∏ i ∈ s, max (v (x i)) 1
The "local" version of the height bound for arbitrary sums for nonarchimedean absolute values.
theorem Height.mulHeight₁_sum_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {α : Type u_2} {s : Finset α},
s.Nonempty →
∀ (x : α → K), Height.mulHeight₁ (∑ a ∈ s, x a) ≤ ↑s.card ^ Height.totalWeight K * ∏ a ∈ s, Height.mulHeight₁ (x a)
The multiplicative height of a nonempty finite sum of field elements is at most
n ^ (totalWeight K) times the product of the individual multiplicative
heights, where n is the number of terms.
theorem Height.logHeight₁_sum_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] {α : Type u_2} (s : Finset α) (x : α → K),
Height.logHeight₁ (∑ a ∈ s, x a) ≤ ↑(Height.totalWeight K) * Real.log ↑s.card + ∑ a ∈ s, Height.logHeight₁ (x a)
The logarithmic height of a finite sum of field elements is at most
totalWeight K * log n plus the sum of the individual logarithmic heights,
where n is the number of terms.
(Note that here we do not need to assume that s is nonempty, due to the convenient
junk value log 0 = 0.)
theorem Height.mulHeight₁_neg E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K),
Height.mulHeight₁ (-x) = Height.mulHeight₁ x
The multiplicative height of -x is the same as that of x.
theorem Height.logHeight₁_neg E0 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x : K),
Height.logHeight₁ (-x) = Height.logHeight₁ x
The logarithmic height of -x is the same as that of x.
theorem Height.mulHeight₁_add_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x y : K),
Height.mulHeight₁ (x + y) ≤ 2 ^ Height.totalWeight K * Height.mulHeight₁ x * Height.mulHeight₁ y
The multiplicative height of x + y is at most 2 ^ totalWeight K
times the product of the multiplicative heights of x and y.
theorem Height.logHeight₁_add_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x y : K),
Height.logHeight₁ (x + y) ≤ ↑(Height.totalWeight K) * Real.log 2 + Height.logHeight₁ x + Height.logHeight₁ y
The logarithmic height of x + y is at most totalWeight K * log 2
plus the sum of the logarithmic heights of x and y.
theorem Height.mulHeight₁_sub_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x y : K),
Height.mulHeight₁ (x - y) ≤ 2 ^ Height.totalWeight K * Height.mulHeight₁ x * Height.mulHeight₁ y
The multiplicative height of x - y is at most 2 ^ totalWeight K
times the product of the multiplicative heights of x and y.
theorem Height.logHeight₁_sub_le E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Height.AdmissibleAbsValues K] (x y : K),
Height.logHeight₁ (x - y) ≤ ↑(Height.totalWeight K) * Real.log 2 + Height.logHeight₁ x + Height.logHeight₁ y
The logarithmic height of x - y is at most totalWeight K * log 2
plus the sum of the logarithmic heights of x and y.