Left to Solve
Problems / MathOverflow (not formalized)

Counting Selections of Entries such having an Extremal Permutation of length n^2+1

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

Statement

Let be permutations of length . By Erdos-Szekeres Theorem. any would have a monotone subsequence(increasing or decreasing)of length . Say a permutation of length is an extremal permutation if it contains exactly monotone subsequence of length .

We say for denoting a set of entries of . We say an entries set having a extremal permutation if the very monotone subsequence of length of such is located at this .

For example: Let

This has an extremal permutations . The monotone subsequence is which is located at .

I can prove that there are many that do not have an extremal permutation .Also I have made a polynomial time algorithm to decide if such have or not have such extremal permutation.

The problem is: Considering the all entries set s how can we count

THE NUMBER OF SUCH s HAVING AN EXTREMAL PERMUTATION?

First ,let's consider a simpler case. I have proved that if is in , then must …

Posed by WangYao · co.combinatorics, permutations, 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-91959.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-91959.lean

import Mathlib

/-!
# Counting Selections of Entries such having an Extremal  Permutation of length n^2+1

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_91959