Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

A finite-dimensional K-subspace of K[X] has exactly as many distinct degrees as its dimension

Proved
DiazModulus.polynomial_submodule_degrees_card

by carlok · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

diaz-modulus-leannumber-theorytranscendence

Let KKK be a field and X⊆K[X]X \subseteq K[X]X⊆K[X] a finite-dimensional KKK-subspace. Then the set of degrees of the non-zero elements of XXX has exactly dim⁡X\dim XdimX elements.

Proof. XXX is spanned by finitely many polynomials, so its degrees are bounded. Induction on dim⁡X\dim XdimX: let n0n_0n0​ be the largest degree, attained by f0∈Xf_0 \in Xf0​∈X, and X′=X∩ker⁡(f↦fn0)X' = X \cap \ker(f \mapsto f_{n_0})X′=X∩ker(f↦fn0​​). Then X=X′⊕Kf0X = X' \oplus Kf_0X=X′⊕Kf0​ (the coefficient of f0f_0f0​ at n0n_0n0​ is its leading one), an element of XXX of degree below n0n_0n0​ lies in X′X'X′, and no element of X′X'X′ has degree n0n_0n0​. So the degrees of XXX are those of X′X'X′ and n0n_0n0​.

Novelty. The degree form of DiazModulus.polynomial_submodule_trailing_degrees_card; the valuation count of Bachoc, Serra and Zémor (2017, §7, proof of Th. 33). Routine.

Preamble
import Definitions.Def_DiazModulus
Formal statement
open Complex ComplexConjugate

namespace DiazModulus

theorem polynomial_submodule_degrees_card (K : Type*) [Field K]
    (X : Submodule K (Polynomial K)) [FiniteDimensional K X] :
    (Polynomial.natDegree '' ((X : Set (Polynomial K)) \ {0})).ncard =
      Module.finrank K X := by
  sorry

end DiazModulus
Source
Not found in the sources read in this form; the degree form of DiazModulus.polynomial_submodule_trailing_degrees_card. R16 of the Diaz modulus mission. Formal proof: Diaz modulus mission, 16 October 2026 (C. Perassi).

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