Left to Solve
Problems / MathOverflow (not formalized)

Best known constant for parallel sorting

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

Statement

I recently found myself talking about Szemerédi's mathematics, and briefly discussed his famous sorting network, discovered with Ajtai and Komlós. Apparently their algorithm is not practical because it takes time for a fairly large constant , and so in practice it is better to go for an algorithm that takes time, say, . I have read that reducing this constant is still an interesting open problem, and wondered if there was a good place to find out what the status of this problem is.

The answer may depend on exactly what is required of the algorithm, so let me ask a precise question, though I may be interested in answers to slightly different but related questions. Let's suppose you have objects to sort, and you want to minimize the number of rounds. In each round you can partition the objects into pairs and compare each pair, and in between rounds you can do whatever computations you want. [See below -- I've changed my mind about that last point.] The number of rounds you need is of the form , but what is known about the constant ?

If I understand correctly, the question I've just asked isn't the usual one, since usually one …

Posed by gowers · co.combinatorics, algorithms

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

import Mathlib

/-!
# Best known constant for parallel sorting

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_92176