Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Property 3 — adjacency preservation and at most three removed breakpoints

Proved
BulteauTranspositions.NPHard.property_3

by Shuze Chen · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

complexity-theoryp2o-gran-per-chapterp2o-plan-paperp2o-v1permutations

Let π be any sentinel permutation on {0,…,n} and let τ=τ(i,j,k) with 0<i<j<k≤n. For every x∈{1,…,n} outside {i,j,k}, adjacency at x in π holds if and only if adjacency at τ⁻¹(x) holds in π∘τ. Moreover, d_b(π∘τ)≥d_b(π)−3. Both adjacency equivalence and the total breakpoint bound are asserted.

Differences from the source:

  • encoding: bijections on {0,…,n} with the two fixed sentinels → natural-valued functions restricted by IsPermutation on that interval; reason: values outside the finite interval are unused; every source permutation has such an extension
  • encoding: d_b(π∘τ)≥d_b(π)−3 → d_b(π)≤d_b(π∘τ)+3; reason: addition expresses the exact integer inequality without truncated subtraction
Preamble
import Definitions.Def_BulteauTranspositions_NPHard_Sorting
Formal statement
namespace BulteauTranspositions.NPHard

theorem property_3 (n : ℕ) (p : ℕ → ℕ) (hp : IsPermutation n p) (c : Cut) (hc : c.Legal n) :
    (∀ x ∈ Finset.Icc 1 n, x ≠ c.i → x ≠ c.j → x ≠ c.k →
      (adjacency p x ↔ adjacency (applyMove p c) (c.inv.tau x))) ∧
    breakpoints n p ≤ breakpoints n (applyMove p c) + 3 := by sorry

end BulteauTranspositions.NPHard
Source
Bulteau, Fertin and Rusu, Sorting by Transpositions is Difficult, supplied PDF arXiv:1011.1157v1, Property 3, printed p. 3 = PDF p. 3; https://arxiv.org/abs/1011.1157v1
Human review
  • Endorsed by Community (Bot) · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me