Structured proof · Unit 135
lemma HeightLe.nonneg
HeightLe c 1, then 0 \le c.HeightLe c 1. H is algebraic (bounded at all 2-adic isomorphisms), so q = N_{\mathbb{Q}(H)/\mathbb{Q}}(H) is a nonzero rational. At every place, archimedean or \ell-adic, the bound on the conjugates of H bounds \log |q|/\deg from above by \alpha resp. e(\ell); summing over \ell < M and using c \ge \alpha + \sum e(\ell), the product formula for q gives c \ge 0.Unfold
HeightLec 1 (with H\cdot 1 = H): obtain H \in \mathbb{C} with H \ne 0, a real \alpha with |\sigma(H)| \le \exp \alpha for every automorphism \sigma of \mathbb{C} (d), a function e : \mathbb{N} \to \mathbb{R} with \lVert \iota(H)\rVert_{\ell} \le \exp e(\ell) for every (\ell, \iota) (f), and a threshold M_{0} such that \alpha + \sum_{\ell <M, \ell \text{prime}} e(\ell) \le c for every M \ge M_{0} (g).H is algebraic over \mathbb{Q}: by f at the prime 2 (the default element of
Nat.), \lVert \iota(H)\rVert \le \exp e(2) for every isomorphism \iota : \mathbb{C} \to \overline{\mathbb{Q}}_{2}, which is the hypothesis ofPrimes isAlgebraic_of_padic. Hence \mathbb{Q}(H) is finite-dimensional over \mathbb{Q}, i.e. a number field.Usesstep 1,
isAlgebraic_of_padicunit 108,IntermediateField.,adjoin. finiteDimensional IsAlgebraic.,isIntegral NumberField.mk Lemma k: for every algebraically closed normed field F of characteristic 0 with \#\mathbb{C} = \#F (e) and every real number c (a local variable, not the c of the statement) such that \lVert \iota(H)\rVert \le \exp c for every ring isomorphism \iota : \mathbb{C} \to F (h): \log \lVert N(H)\rVert_{F} / [\mathbb{Q}(H) : \mathbb{Q}] \le c, where N(H) \in \mathbb{Q} is the norm of H from \mathbb{Q}(H) to \mathbb{Q}, mapped into F.
The image of N(H) in F is the product of \sigma(H) over the [\mathbb{Q}(H):\mathbb{Q}] embeddings \sigma : \mathbb{Q}(H) \to F; each \sigma extends to an isomorphism \mathbb{C} \to F (
exists_ringEquiv_extend, using \#\mathbb{C} = \#F), so \lVert \sigma(H)\rVert \le \exp c and \lVert N(H)\rVert_{F} \le(\exp c)^{[\mathbb{Q}(H):\mathbb{Q}]}. As H \ne 0 every factor is nonzero, so the logarithm is monotone here; dividing by the positive degree gives the claim.Lean states
‖algebraMap ℚ F (Algebra.norm ℚ (gen ℚ H))‖.log / finrank ℚ ℚ⟮H⟯ ≤ cUsesstep 1, step 2,
exists_ringEquiv_extendunit 112,Algebra.,norm_eq_prod_embeddings norm_prod,Finset.,prod_le_prod₀ Module.,finrank_pos Finset.prod_pos
Bound c from below. For M = M_{0} + M' (M' still free) g gives c \ge \alpha + \sum_{\ell <M \text{prime}} e(\ell). By k with F = \mathbb{C} (the cardinality condition is trivial) and d, \alpha \ge \log |N(H)|/\deg; by k with F = \overline{\mathbb{Q}}_{\ell} (\#\mathbb{C} = \#\overline{\mathbb{Q}}_{\ell} by
mk_complex_eq_mk_padicAlgCl) and f at \ell, e(\ell) \ge \log |N(H)|_{\ell}/\deg for each prime \ell < M, where the norm of \overline{\mathbb{Q}}_{\ell} restricted to \mathbb{Q} is the \ell-adic absolute value. So it suffices to show 0 \le \log |N(H)|/\deg + \sum_{\ell <M \text{prime}} \log |N(H)|_{\ell}/\deg.Usesstep 1, step 3,
mk_complex_eq_mk_padicAlgClunit 59,Padic.,eq_padicNorm PadicAlgCl.,norm_extends Finset.,sum_le_sum le_self_addThe right side is (\log |q| + \sum_{p<M \text{prime}} \log |q|_{p})/\deg for the rational q = N(H). Choosing M' so that M = M_{0} + M' exceeds \max(|num q|, den q), the product formula
log_product_formulamakes the numerator 0; so the right side is 0/\deg = 0 and the inequality 0 \le 0 holds.Usesstep 4,
log_product_formulaunit 135,Finset.,sum_div Nat.le_add_left