Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

All-base totient sections and conditional rank setup

Definition
Erdos249257_TotientKernelConditional

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

conditional-rankerdos-249totient

Defines base-k totient section sequences, their reduction scalar, and the canonical and complete families. Its rank result assumes independence of the canonical family.

Definition code
import Definitions.Def_Erdos249257_TotientKernelIndex
import Mathlib.Algebra.Ring.GeomSum
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Nat.Totient
import Mathlib.LinearAlgebra.Dimension.Constructions

/-!
# Conditional exact rank for the all-base totient kernel

This module separates the two layers of the expected all-base theorem.

* The arithmetic layer is unconditional: a composite-base residue divisible
  by `k` reduces to the corresponding lower-level section by an explicit
  nonzero rational scalar.  Iterating this relation proves that the
  filtration-compatible family indexed by `TotientKernelIndex k e` spans the
  complete kernel through level `e`.
* The exact-rank conclusion is conditional on linear independence of that
  canonical family.  That hypothesis is precisely the external mathematical
  input; no theorem of Martin is formalised or assumed as an axiom here.
-/

namespace Erdos249257

open Module

/-- The `(j,r)` base-`k` kernel channel of Euler's totient, viewed over `ℚ`. -/
def allBaseTotientKernelSeq (k j r : ℕ) : ℕ → ℚ := fun n =>
  Nat.totient (k ^ j * n + r)
























end Erdos249257
Source
Pinned Lean source: https://github.com/wcook04/plectis-erdos-lean/blob/c93c2e4dd86a2e317e0cb650ea244fee1afd59c2/Erdos249257/TotientKernelConditional.lean#L25-L35 Supporting source declaration: https://github.com/wcook04/plectis-erdos-lean/blob/c93c2e4dd86a2e317e0cb650ea244fee1afd59c2/Erdos249257/TotientKernelConditional.lean#L81-L100 Supporting source declaration: https://github.com/wcook04/plectis-erdos-lean/blob/c93c2e4dd86a2e317e0cb650ea244fee1afd59c2/Erdos249257/TotientKernelConditional.lean#L203-L220

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