Lexicographically largest incidence matrix
Statement
I have simple algorithmic question, but I can't find any source where this algorithm is explained in details. Let's assume that we have incidence (with 0 and 1 values) matrix of size . Let we apply simultaneously all pairs of row and column permutations to this incidence matrix. Obviously because we have finite ordered set, there exist lexicographically largest value of this matrix.
Question is: what is the best algorithm that allows to find this biggest value?
Example input (Fano plane incidence matrix):
Example output:
Posed by Ihromant · matrices, computational-complexity, order-theory, incidence-geometry
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-475391.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-475391.lean
import Mathlib /-! # Lexicographically largest incidence matrix Source: https://mathoverflow.net/questions/475391 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_475391 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_475391