Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

cd N(a−bθ)=bdf(a/b)c_d\,N(a-b\theta) = b^d f(a/b)cd​N(a−bθ)=bdf(a/b)

Proved
GNFS.leadingCoeff_mul_norm_eq_homogenize

by Lucas · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-number-theoryinteger-factorizationnumber-theory

Let f=∑i=0dcixi∈Z[x]f = \sum_{i=0}^d c_i x^i \in \mathbb{Z}[x]f=∑i=0d​ci​xi∈Z[x] have degree ddd and leading coefficient cdc_dcd​, and suppose fff is irreducible over Q\mathbb{Q}Q. Let θ∈C\theta \in \mathbb{C}θ∈C be a root of fff and write N=NQ(θ)/QN = N_{\mathbb{Q}(\theta)/\mathbb{Q}}N=NQ(θ)/Q​ for the field norm. Then for all integers a,ba, ba,b,

cd⋅N(a−bθ)=∑i=0dciaibd−i=bdf(a/b).c_d \cdot N(a - b\theta) = \sum_{i=0}^{d} c_i a^i b^{d-i} = b^d f(a/b).cd​⋅N(a−bθ)=i=0∑d​ci​aibd−i=bdf(a/b).

In particular, for monic fff the sieve value r=bdf(a/b)r = b^d f(a/b)r=bdf(a/b) is exactly the norm of a−bθa - b\thetaa−bθ. This is why smoothness of rrr controls the factorization of a−bθa - b\thetaa−bθ.

Formalization Note The source says "rrr is a norm of a−bθa-b\thetaa−bθ"; this holds exactly for monic fff. The statement records the general identity with the factor cdc_dcd​.

Preamble
import Mathlib
import Definitions.Def_GNFS_defs
open Polynomial IntermediateField
Formal statement
namespace GNFS
theorem leadingCoeff_mul_norm_eq_homogenize (f : ℤ[X])
    (hf : Irreducible (f.map (Int.castRingHom ℚ))) (θ : ℂ) (hθ : aeval θ f = 0) (a b : ℤ) :
    (f.leadingCoeff : ℚ) *
        Algebra.norm ℚ ((a : ℚ⟮θ⟯) - (b : ℚ⟮θ⟯) * AdjoinSimple.gen ℚ θ) =
      (homogenize f a b : ℚ) := by sorry
end GNFS
Source
Wikipedia, "General number field sieve" (revision oldid=1377718368, https://en.wikipedia.org/w/index.php?title=General_number_field_sieve&oldid=1377718368), section 'Method — Generation of relation pairs (sieving)'
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 13, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me