Left to Solve
Problems / MathOverflow (not formalized)

Equality of multisets

Open, not yet stated in LeanMathOverflow (not formalized)CombinatoricsLogic & Foundationsdifficulty55/100

Statement

I have tested this statement with several examples and it seems to hold true in all cases. Is there an elegant way to prove it, assuming it is indeed correct? A proof that avoids case-by-case analysis would be preferable.

Statement: Let . For a sequence of positive integers define a multiset

Let be four such sequences with the property that their middle entries agree: and assume that the boundary entries agree as multisets: \begin{equation}\label{eq:boundary} \{a_1,a_{k},a_1',a_{k}'\} = \{b_1,b_{k},b_1',b_{k}'\}. \end{equation} Finally suppose (as multiset) \begin{equation}\label{eq:union} \mathcal{N}(A)\cup\mathcal{N}(A') =\mathcal{N}(B)\cup\mathcal{N}(B'). \end{equation} Then, up to swapping and and up to reversing any entire sequence (reversal means replacing by ), we have

Posed by Gyan Ranjan Rout · co.combinatorics, set-theory, additive-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-501760.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-501760.lean

import Mathlib

/-!
# Equality of multisets

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_501760