A short primitive flank preserves all retained baseline speeds
ProvedLonelyRunner.FailedFlank.baseline_safe_offsetformalizationlonely-runnerlrc-shared-repair-20261007number-theory
Write for distance to the nearest integer. Let and . Assume , , , , , , and . Then .
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.FailedFlank
open Farey BadCover LargeDeletionMatching
set_option maxHeartbeats 1000000 in
/-- Every retained baseline speed is safe strictly inside the left half of
the single-deletion component specified by the inverse of b modulo r. -/
theorem LonelyRunner.FailedFlank.baseline_safe_offset {n r b a c v : ℤ} {e : ℝ}
(hr : 0 < r) (hrn : r < n) (hlarge : n ≤ 2*r) (hab : n-r ≤ b)
(hunit : a*b-c*r=1) (hv : 0 < v) (hvn : v < n) (hne : v ≠ r)
(he : 0 < e) (hemax : e < 1/((n:ℝ)*r))
(heb : e*b < ((n:ℝ)-r)/((n:ℝ)*r)) :
(1:ℝ)/n < ndist ((v:ℝ)*((a:ℝ)/r-e)) := by sorry
Source
Wade Hunter, lonely-runner research repository, https://github.com/huntrontrakkr/lonely-runner; local source snapshot 9b5f51aa235e321a3ec794c9bf60358933a8e6dc, lean/LonelyRunner/FailedFlank.lean, lines 14–87, declaration LonelyRunner.FailedFlank.baseline_safe_offset. AI-assisted formalization. The snapshot identifier records the submitted local source; it is not a claim that this commit is publicly hosted.