Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Coprimality survives mapping primitive polynomials to the fraction field

Proved
PachDeZeeuw.Algebraic.isRelPrime_fraction_map_of_isPrimitive

by mysticflounder · Sep 17, 2026 · Mathlib 0df444a (Lean v4.33.1)

coprimalitypach-de-zeeuw-bezoutprimitivityresultants

Let PPP and QQQ be primitive univariate polynomials over the coefficient ring XCoeff\mathrm{XCoeff}XCoeff (P.IsPrimitiveP.\mathrm{IsPrimitive}P.IsPrimitive, Q.IsPrimitiveQ.\mathrm{IsPrimitive}Q.IsPrimitive) that are relatively prime (IsRelPrime P Q\mathrm{IsRelPrime}\,P\,QIsRelPrimePQ). Then their images under the fraction-field map remain relatively prime:

IsRelPrime(P.map(algebraMap XCoeff XFrac), Q.map(algebraMap XCoeff XFrac)).\mathrm{IsRelPrime}(P.\mathrm{map}(\mathrm{algebraMap}\,\mathrm{XCoeff}\,\mathrm{XFrac}),\, Q.\mathrm{map}(\mathrm{algebraMap}\,\mathrm{XCoeff}\,\mathrm{XFrac})).IsRelPrime(P.map(algebraMapXCoeffXFrac),Q.map(algebraMapXCoeffXFrac)).

This Gauss-lemma-style transport moves coprimality from the UFD XCoeff\mathrm{XCoeff}XCoeff to its fraction field XFrac\mathrm{XFrac}XFrac, where a common factor would force the resultant to vanish; contrapositively it yields resultant nonvanishing for primitive coprime currys.

Preamble
import Mathlib
import Definitions.Def_PdzPrelim

open EuclideanGeometry
open scoped Topology
open PachDeZeeuw.Algebraic
open PachDeZeeuw.Algebraic.PlaneCurve
Formal statement
theorem PachDeZeeuw.Algebraic.isRelPrime_fraction_map_of_isPrimitive (P Q : Polynomial XCoeff)
    (hPprim : P.IsPrimitive)
    (hQprim : Q.IsPrimitive)
    (hrel : IsRelPrime P Q) :
    IsRelPrime (P.map (algebraMap XCoeff XFrac))
               (Q.map (algebraMap XCoeff XFrac)) := by sorry
Source
Standard algebra used in proving Bézout's inequality, Theorem 2.1 of Pach–de Zeeuw, Distinct distances on algebraic curves in the plane (arXiv:1308.0177), which cites Gibson, Elementary Geometry of Algebraic Curves, Lemma 14.4; this lemma is not stated in the paper; formalized in https://github.com/mysticflounder/lean-formalizations/blob/dd46c17a2a034d7bfa0df02e7f77834d35592864/lean/LeanFormalizations/PachDeZeeuw/AlgebraicPrelim.lean#L382-L507
Human review
  • Endorsed by Shuze Chen · Sep 17, 2026

  • Endorsed by mysticflounder · Sep 17, 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