Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Property 12 — internal-step and activation effects on blocks

Proved
BulteauTranspositions.NPHard.property_12

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

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

Suppose the external triples of a block-decomposed instance (I,B) are partitioned into valid variables A, and a well-ordered triple t=(d,e,f) yields (I′,B′). One of two cases holds. If t is internal in block h₀, every surviving symbol stays in its block, and the order of any two surviving symbols in the same block other than h₀ is preserved. Otherwise t is the activation triple (x,y,z) of a variable [(a,b,c),(x,y,z)] in A; b moves to that variable’s target block, every other surviving symbol stays in its block, and the order of every pair of surviving symbols other than b is preserved.

Differences from the source:

  • encoding: finite alphabets and a set of disjoint oriented triples → natural-number symbol names and a list of triples with a duplicate-free flattened alphabet; reason: finite alphabets admit injective naming; triple list order has no operational significance
  • encoding: a set partition of external triples and an l-block decomposition → lists with exact membership and no duplicates, and cuts whose final endpoint is the span; reason: list order is auxiliary; block numbering and occupied-symbol order agree with the source
Preamble
import Definitions.Def_BulteauTranspositions_NPHard_Blocks
Formal statement
namespace BulteauTranspositions.NPHard

theorem property_12 (C D : Context) (As : List Variable) (t : Triple)
    (hpart : VariablePartition C As) (hvalid : ∀ A ∈ As, A.Valid C)
    (hs : ContextStep C t D) :
    (Internal C t ∧
      (∀ a ∈ D.inst.symbols, D.block a = C.block a) ∧
      ∀ a ∈ D.inst.symbols, ∀ b ∈ D.inst.symbols,
        D.block a = D.block b → D.block a ≠ C.block t.1 →
        C.inst.Before a b → D.inst.Before a b) ∨
    (∃ A ∈ As, t = A.xyz ∧ D.block A.abc.2.1 = C.block A.abc.1 ∧
      (∀ a ∈ D.inst.symbols, a ≠ A.abc.2.1 → D.block a = C.block a) ∧
      ∀ a ∈ D.inst.symbols, ∀ b ∈ D.inst.symbols,
        a ≠ A.abc.2.1 → b ≠ A.abc.2.1 → C.inst.Before a b → D.inst.Before a b) := by sorry

end BulteauTranspositions.NPHard
Source
Bulteau, Fertin and Rusu, Sorting by Transpositions is Difficult, supplied PDF arXiv:1011.1157v1, Property 12, printed p. 12 = PDF p. 12; 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