Left to Solve
Problems / MathOverflow (not formalized)

Counting number of ways to place bags and marbles inside bags so all bags contain an odd number of marbles

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

Statement

There was a famous trick question posed once in math.stackexchange here. The question can be loosely translated to "Is it possible to place nine marbles into four bags so that each bag has an odd amount of marbles?"

If we don't allow for bags to be inside bags this is clearly impossible. However putting all of the marbles into a bag and the putting each bag inside another bag gives us a possible solution. I would like to know how many ways there are to so this for an arbitrary number of bags and an arbitrary number of marbles . Of course the problem is ambiguous. So I have tried to formalize it as follows:

Consider the set and a positive integer . Now consider the set of multisets of subsets of such that:

• There are exactly elements in

• Subsets can appear more than once in ( So for example can contain the same subset twice)

• Each subset in has an odd number of elements

• Two intersecting subsets and in satisfy or

• Every element of belongs to at least one of the subsets in .

We call two multisets and of isomorphic if there is a bijection of …

Posed by Gorka · co.combinatorics, enumerative-combinatorics

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-196419.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-196419.lean

import Mathlib

/-!
# Counting number of ways to place bags and marbles inside bags so all bags contain an odd number of marbles

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_196419