Retained baseline speeds are strict at a failed-window boundary
ProvedLonelyRunner.FailedWindow.baseline_safe_boundaryformalizationlonely-runnerlrc-shared-repair-20261007number-theory
Write for distance to the nearest integer. Let satisfy , , , , and with . Then . All quotients in the conclusion are real.
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.FailedWindow
open Farey BadCover
set_option maxHeartbeats 1000000 in
/-- If b is a unit modulo r in the failed GW window, the left endpoint of
an mr-band is strictly safe for every retained baseline speed. -/
theorem LonelyRunner.FailedWindow.baseline_safe_boundary {n r m b a c v : ℤ}
(hr : 0 < r) (hrn : r < n) (hlarge : n ≤ 2*r) (hm : 1 ≤ m)
(hab : n-r ≤ b) (hfail : b < m*(n-r))
(hunit : a*b-c*r=1)
(hv : 0 < v) (hvn : v < n) (hne : v ≠ r) :
(1:ℝ)/n < ndist ((v:ℝ)*((a:ℝ)/r-1/((n:ℝ)*m*r))) := by sorry
Source
Wade Hunter, lonely-runner research repository, https://github.com/huntrontrakkr/lonely-runner; local source snapshot 9b5f51aa235e321a3ec794c9bf60358933a8e6dc, lean/LonelyRunner/FailedWindow.lean, lines 11–85, declaration LonelyRunner.FailedWindow.baseline_safe_boundary. AI-assisted formalization. The snapshot identifier records the submitted local source; it is not a claim that this commit is publicly hosted.