Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Conditional rank of the canonical all-base totient kernel

Proved
Erdos249257.finrank_allBaseTotientKernel_eq_of_linearIndependent

by willcook · Sep 27, 2026 · Mathlib c5ea003 (Lean v4.30.0)

conditional-rankerdos-249totient

For k≥2k ≥ 2k≥2, the canonical level-eee totient family has rank ke+1k^e + 1ke+1 if that family is linearly independent. The independence assumption is part of this theorem.

Preamble
import Definitions.Def_Erdos249257_TotientKernelIndex
import Definitions.Def_Erdos249257_TotientKernelConditional
import Definitions.Def_Erdos249257_TotientMahlerDefect
import Definitions.Def_Erdos249257_AllBaseTotientKernel
import Mathlib.Algebra.Ring.GeomSum
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Nat.ChineseRemainder
import Mathlib.Data.Nat.Totient
import Mathlib.LinearAlgebra.Dimension.Constructions
import Mathlib.LinearAlgebra.Matrix.Determinant.Basic
import Mathlib.NumberTheory.LSeries.PrimesInAP
import Mathlib.NumberTheory.PrimesCongruentOne

open Erdos249257
open Module Matrix

open Erdos249257

Formal statement
theorem Erdos249257.finrank_allBaseTotientKernel_eq_of_linearIndependent (k e : ℕ) (hk : 2 ≤ k)
    (hli : LinearIndependent ℚ (allBaseCanonicalFamily k e)) :
    finrank ℚ (Submodule.span ℚ (Set.range (allBaseCanonicalFamily k e))) =
      k ^ e + 1 := by sorry
Source
Pinned Lean source: https://github.com/wcook04/plectis-erdos-lean/blob/c93c2e4dd86a2e317e0cb650ea244fee1afd59c2/Erdos249257/AllBaseTotientKernel.lean#L1216-L1223 Prior mathematical result subsuming the independence ingredient: https://arxiv.org/abs/math/0603053

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me