Left to Solve
Problems / MathOverflow (not formalized)

max # of words with restricted total content

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

Statement

This is the sort of problems in combinatorics with a rather innocent look that turn out to be quite challenging - at least for a bunch of physicists! :)

Suppose we have a multiset on a finite alphabet . Given a length , what is the maximum number of different words of size we can produce (assuming, obviously, no replacement -- (EDIT: i.e. no re-use of elements of (?)))?

Let me further specify the problem with a simple example. Now we take and . Taking , we could have, for instance, or . In this case it is easy to see that we cannot form more than 3 different words.

Perhaps someone more familiar with combinatorics than me could give the correct phrasing to the problem!

Posed by Pluvio · 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-112195.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-112195.lean

import Mathlib

/-!
# max # of words with restricted total content

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_112195