Left to Solve
Problems / MathOverflow (not formalized)

1..n game, how to analyze?

Open, not yet stated in LeanMathOverflow (not formalized)Uncategoriseddifficulty55/100

Statement

I came up with a simple game.

A permutation of 1..n is available for purchase in that order. 2 players each have m in money each to bid for one number at a time in the permutation in order and will get that score for purchasing it. The player who won the previous auction starts bidding for the next number A player may bid zero and then wins if the other player does not bid. In the end, only the score counts, not remaining money.

Naturally, by a simple strategy-stealing argument, there has to be a winning move for the first player, and there can only be one such winning move.

E.g. the case n=5, m=8

Each example shows only one line of play:

54321: 5 wins // (bid for) 5: P1=5, P2 pass 4: P1=3, P2=4 3: P2=3 2: P2=1, P1=2 1: P1=1 wins

54321: 6 loses // 5: P1=6, P2 pass 4: P1=2, P2 = 3 3: P2=2 2: P2=2 wins

52431: 4 wins // 5: P1=4, P2 pass 2: P1=1, P2=2 4: P2=4 3: P2=2, P1=3 wins

Becase a player needs to win 8 points to win, and there are a total of 8 money per player, it seems natural that the number n is worth about n. My conjecture is that a winning bid in the special case if the first number in the permutation is p, is always p or p-1

Has this game been considered …

Posed by Carl Johan · 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-41837.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-41837.lean

import Mathlib

/-!
# 1..n game, how to analyze?

Source: https://mathoverflow.net/questions/41837
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_41837

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_41837