Permutation generation problem using swaps
Statement
This is motivated by Aaronson's post, Probability of generating a desired permutation by random swaps. I am interested in a related problem where the swaps are given in the input.
We're given as input a "target permutation" , as well as an list of pairs of indices . Starting with the list , pair swaps the elements at positions and . Indices are not necessarily distinct.
Can we generate the target permutation by applying the given swaps in some order? Each swap must be used exactly once, so this is different from testing membership in a permutation group.
Is this problem NP-complete? Is it efficiently solvable?
This was asked on TCS SE without getting any answer
Posed by Mohammad Al-Turkistany · co.combinatorics, computational-complexity, permutations
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-464686.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-464686.lean
import Mathlib /-! # Permutation generation problem using swaps Source: https://mathoverflow.net/questions/464686 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_464686 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_464686