Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

A prime dividing the binary cubic form gives a root mod ppp

Proved
CollapsibleCubics.exists_root_of_prime_dvd_form

by quesswho · Sep 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-number-theorynumber-theory

Let d,e,a,b∈Zd,e,a,b\in\mathbb{Z}d,e,a,b∈Z with gcd⁡(a,b)=1\gcd(a,b)=1gcd(a,b)=1, and let ppp be a prime dividing the binary form F(a,b)=a3+dab2+eb3F(a,b)=a^3+dab^2+eb^3F(a,b)=a3+dab2+eb3. Then the depressed cubic x3+dx+ex^3+dx+ex3+dx+e has a root in Z/p\mathbb{Z}/pZ/p.

The argument: coprimality forces p∤bp\nmid bp∤b, so bbb is invertible mod ppp and r=ab−1r=a b^{-1}r=ab−1 is a root of x3+dx+ex^3+dx+ex3+dx+e over Z/p\mathbb{Z}/pZ/p, since F(a,b)≡b3 (r3+dr+e)F(a,b)\equiv b^3\,(r^3+dr+e)F(a,b)≡b3(r3+dr+e).

Preamble
import Mathlib
Formal statement
namespace CollapsibleCubics
theorem exists_root_of_prime_dvd_form {p : ℕ} (hp : p.Prime) (d e a b : ℤ)
    (hab : IsCoprime a b) (h : (p : ℤ) ∣ a ^ 3 + d * a * b ^ 2 + e * b ^ 3) :
    ∃ r : ZMod p, r ^ 3 + (d : ZMod p) * r + (e : ZMod p) = 0 := by sorry
end CollapsibleCubics
Source
Collapsible Cubics mission (Q7 support chain); proved in the project repo, restated here for the platform. Background: https://quesswho.github.io/miles-blog/2026/08/20/collapsible/

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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me