Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

An odd prime missing the cubic discriminant misses the index

Proved
CollapsibleCubics.not_dvd_index_of_not_dvd_cubicDiscr

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

algebraic-number-theorynumber-theory

Let D,E∈ZD,E\in\mathbb{Z}D,E∈Z with x3+Dx+Ex^3+Dx+Ex3+Dx+E irreducible over Q\mathbb{Q}Q, let KKK be the resulting cubic field and θ∈OK\theta\in\mathcal{O}_Kθ∈OK​ the root. Let ppp be an odd prime not dividing the discriminant Δ=−4D3−27E2\Delta=-4D^3-27E^2Δ=−4D3−27E2. Then ppp does not divide the index [OK:Z[θ]][\mathcal{O}_K:\mathbb{Z}[\theta]][OK​:Z[θ]].

This is the index-discriminant relation disc⁡(m)=[OK:Z[θ]]2⋅disc⁡(K)\operatorname{disc}(m)=[\mathcal{O}_K:\mathbb{Z}[\theta]]^2\cdot\operatorname{disc}(K)disc(m)=[OK​:Z[θ]]2⋅disc(K) specialised to the cubic: since the index squared divides Δ\DeltaΔ, any prime missing Δ\DeltaΔ misses the index.

Preamble
import Mathlib
import Definitions.Def_CollapsibleCubics_q7
Formal statement
namespace CollapsibleCubics
open NumberField
theorem not_dvd_index_of_not_dvd_cubicDiscr (D E : ℤ)
    [Fact (Irreducible (cubicPoly (D : ℚ) (E : ℚ)))] {p : ℕ} (hp : p.Prime) (hodd : Odd p)
    (hnd : ¬ (p : ℤ) ∣ (-4 * D ^ 3 - 27 * E ^ 2)) :
    ¬ p ∣ (adjoinAddSubgroup (thetaO D E)).index := 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