Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

A unique shared second-fastest repair forces strictness

Proved
LonelyRunner.CollectiveSecondFastest.strict_of_shared_second_fastest

by Whunt003 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

formalizationlonely-runnerlrc-shared-repair-20261007number-theory

Write d(x)=∣x−round⁡(x)∣d(x)=|x-\operatorname{round}(x)|d(x)=∣x−round(x)∣ for distance to the nearest integer. For finite sets R,W⊆NR,W\subseteq\mathbb NR,W⊆N, let S(n,R,W)={v∈N:0<v<n, v∉R}∪WS(n,R,W)=\{v\in\mathbb N:0<v<n,\ v\notin R\}\cup WS(n,R,W)={v∈N:0<v<n, v∈/R}∪W. A strict time means a real ttt such that d(vt)>1/nd(vt)>1/nd(vt)>1/n for every v∈S(n,R,W)v\in S(n,R,W)v∈S(n,R,W). Let n,r,s,m,k,Q,ℓ∈Nn,r,s,m,k,Q,\ell\in\mathbb Nn,r,s,m,k,Q,ℓ∈N, P=mr=ksP=mr=ksP=mr=ks, with ℓ≥3\ell\ge3ℓ≥3, ∣W∣≤ℓ|W|\le\ell∣W∣≤ℓ, n≤2rn\le2rn≤2r, r<s<nr<s<nr<s<n, r∈Rr\in Rr∈R, m≥2m\ge2m≥2, and k>0k>0k>0. Assume WWW is positive, P,Q∈WP,Q\in WP,Q∈W, P<QP<QP<Q, every member of W∖{P,Q}W\setminus\{P,Q\}W∖{P,Q} is less than PPP, and PPP is the unique member of WWW divisible by rrr. If φ(r)≥2ℓ−2\varphi(r)\ge2\ell-2φ(r)≥2ℓ−2, then S(n,R,W)S(n,R,W)S(n,R,W) has a strict time.

Preamble
import Mathlib
import Mathlib.Data.ZMod.Units
import Mathlib.GroupTheory.Index
import Mathlib.RingTheory.Coprime.Lemmas
import Mathlib.RingTheory.Int.Basic
import Definitions.Def_LRC_SharedRepair_Defs
Formal statement
open LonelyRunner
open LonelyRunner.CollectiveSecondFastest
open BadCover

/-- A unique repair shared with a larger baseline divisor cannot be the
second-fastest insertion when the primitive-unit capacity is large enough.
The conclusion is an actual strict time, with arbitrary additional deletions. -/
theorem LonelyRunner.CollectiveSecondFastest.strict_of_shared_second_fastest {n r s m k Q ell : ℕ} {R W : Finset ℕ}
    (hell : 3 ≤ ell) (hcard : W.card ≤ ell)
    (hlarge : n ≤ 2*r) (hrs : r < s) (hsn : s < n)
    (hrR : r ∈ R) (hm : 2 ≤ m) (hk : 0 < k) (hshared : m*r=k*s)
    (hP : m*r ∈ W) (hQ : Q ∈ W) (hpq : m*r < Q)
    (hWpos : ∀p ∈ W, 0 < p)
    (hslow : ∀p ∈ (W.erase (m*r)).erase Q, p < m*r)
    (hunique : ∀p ∈ W.erase (m*r), ¬r ∣ p)
    (hphi : 2*ell-2 ≤ r.totient) :
    SeparatedMulti.HasStrictTime n R W := by sorry
Source
Wade Hunter, lonely-runner research repository, https://github.com/huntrontrakkr/lonely-runner; local source snapshot 9b5f51aa235e321a3ec794c9bf60358933a8e6dc, lean/LonelyRunner/CollectiveSecondFastest.lean, lines 327–360, declaration LonelyRunner.CollectiveSecondFastest.strict_of_shared_second_fastest. AI-assisted formalization. The snapshot identifier records the submitted local source; it is not a claim that this commit is publicly hosted.

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