Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Two half-phase speeds escape within a universal clock ratio

Proved
LonelyRunner.TwoHalfPhase.strict_before

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 real n,a,b,Ln,a,b,Ln,a,b,L with n≥10n\ge10n≥10, 0<a<b0<a<b0<a<b, and L>((n+2)/(n−2))2L>((n+2)/(n-2))^2L>((n+2)/(n−2))2, there exists z∈(1,L)z\in(1,L)z∈(1,L) with d(1/2−az/n)>1/nd(1/2-az/n)>1/nd(1/2−az/n)>1/n and d(1/2−bz/n)>1/nd(1/2-bz/n)>1/nd(1/2−bz/n)>1/n.

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.TwoHalfPhase
open TwoBlockerArithmetic

/-- With any open upper bound beyond Z², two half-phase runners have an
actual strictly safe clock between 1 and that bound. No band-chain or
component certificate is assumed. -/
theorem LonelyRunner.TwoHalfPhase.strict_before {n slow fast L : ℝ}
    (hn : 10 ≤ n) (hslow : 0 < slow) (horder : slow < fast)
    (hL : ((n+2)/(n-2))^2 < L) :
    ∃z ∈ Set.Ioo 1 L,
      1/n < ndist (1/2-slow*z/n) ∧ 1/n < ndist (1/2-fast*z/n) := by sorry
Source
Wade Hunter, lonely-runner research repository, https://github.com/huntrontrakkr/lonely-runner; local source snapshot 9b5f51aa235e321a3ec794c9bf60358933a8e6dc, lean/LonelyRunner/TwoHalfPhase.lean, lines 256–290, declaration LonelyRunner.TwoHalfPhase.strict_before. 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