A game: building a bounded degree graph
Statement
Given positive integers and . Two players build a graph, starting with vertices and no edges. On each turn, a player joins two yet not joined vertices by an edge. It is forbidden to get a vertex of degree greater than . The player who has no legal move loses. Who wins?
If I am not mistaken or missing other source, this was proposed for and by Dmitry Maximov to the math circle high school students. It appeared to be harder than expected, but I hope that I may prove that, for , for vertices the second player wins and for vertices the first player wins.
Posed by Fedor Petrov · graph-theory, combinatorial-game-theory
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-260574.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-260574.lean
import Mathlib /-! # A game: building a bounded degree graph Source: https://mathoverflow.net/questions/260574 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_260574 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_260574