A frog hopping puzzle with a flavor of design theory and resource allocation
Statement
I heard this problem from friends in theoretical computer science. Start with frogs at position . Each move, the player selects a frog (say at position ) to move forward by at most steps, where is the total number of frogs currently at position (before the move, so it includes the frog itself). Let be the minimal number of moves it needs to move all frogs to position .
Obtaining the following two bounds are at the difficulty of tech-company interview questions:
Proposition 1. .
Proof. We shall prove . Label the frogs by to , and without loss of generality, we may assume each time we move the largest labeled frog in its location. Then each time the frog can at most move by steps, so the frog takes at least steps to position .
Proposition 2. (asymptotically).
Proof (sloppy). Divide and conquer. Move of them to the position (each taking only one step, so steps in total); then move the rest to using steps. Then repeat the same to move everything to . So and solving the …
Posed by Yifeng Huang · co.combinatorics, combinatorial-designs
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-487139.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-487139.lean
import Mathlib /-! # A frog hopping puzzle with a flavor of design theory and resource allocation Source: https://mathoverflow.net/questions/487139 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_487139 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_487139