Goddyn–Wong acceleration window
DefinitionLRC_GWgoddyn-wonglonely-runner
For natural numbers , the Goddyn–Wong window condition asserts that every integer with has a common factor with . This predicate expresses the individual acceleration criterion used in the Lonely Runner problem.
Definition code
import Mathlib.Data.Nat.GCD.Basic namespace LonelyRunner.SeparatedReplacements def GW (n r m : ℕ) : Prop := ∀ b : ℕ, n-r ≤ b → b < m*(n-r) → ¬ Nat.Coprime r b end LonelyRunner.SeparatedReplacements
Source
Wade Hunter, AI-assisted Lonely Runner research, lean/LonelyRunner/SeparatedReplacements.lean, definition GW; https://github.com/huntrontrakkr/lonely-runner