Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Cycles after the coset transposition

Open
QAlgorithms.Papers.Independent.Extend50.P20.cycles_coset_transposition

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let r≥0r\ge0r≥0, let π∈Sr\pi\in S_rπ∈Sr​, and embed π\piπ into Sr+1S_{r+1}Sr+1​ by fixing its new final point r+1r+1r+1. For a∈{1,…,r+1}a\in\{1,\ldots,r+1\}a∈{1,…,r+1} set σ=(a,r+1)π\sigma=(a,r+1)\piσ=(a,r+1)π, with the transposition applied after the embedding. Counting fixed points as cycles,

ℓr+1(σ)=ℓr(π)+{0,a≠r+1,1,a=r+1.\ell_{r+1}(\sigma)=\ell_r(\pi)+\begin{cases}0,&a\ne r+1,\\1,&a=r+1.\end{cases}ℓr+1​(σ)=ℓr​(π)+{0,1,​a=r+1,a=r+1.​

For a fixed π\piπ, every non-final choice of aaa has the same cycle count. This is the coset-representative comparison used in the recurrence; no constancy throughout a coset is asserted.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P20
Formal statement
noncomputable section

open scoped BigOperators Matrix ComplexOrder

open Filter

namespace QAlgorithms.Papers.Independent.Extend50.P20

attribute [local instance] Classical.propDecidable

/-- Lemma 12, PDF p.23, Eq.(109), with N=r+1. Multiplication is the
transposition (a,N) after the embedding fixing N. For a fixed pi, all
non-final choices of a give the same cycle count. -/
theorem cycles_coset_transposition (r : ℕ) (pi : Equiv.Perm (Fin r)) (a : Fin (r+1)) :
    cycleCount (Equiv.swap a (Fin.last r) * fixLast pi) =
      cycleCount pi + (if a = Fin.last r then 1 else 0) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P20

end
Source
Optimal Multi-port-based Teleportation Schemes, arXiv:2011.09256v3, PDF p. 23, Lemma 12 / Eq. (109)
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For every natural number rrr, every permutation π\piπ of {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1}, and every a∈{0,…,r}a\in\{0,\ldots,r\}a∈{0,…,r}, extend π\piπ to π^\widehat\piπ on {0,…,r}\{0,\ldots,r\}{0,…,r} by fixing rrr. If c(ρ)c(\rho)c(ρ) denotes the number of cycles of length at least two in a permutation ρ\rhoρ, plus its number of fixed points, then

c((a r)∘π^)=c(π)+{1,a=r,0,a≠r.c\bigl((a\ r)\circ\widehat\pi\bigr) = c(\pi)+ \begin{cases} 1,&a=r,\\ 0,&a\ne r. \end{cases}c((a r)∘π)=c(π)+{1,0,​a=r,a=r.​

Here the extension is applied first and the swap of aaa and rrr second; when a=ra=ra=r, that swap is the identity. The case r=0r=0r=0 is included: a=0a=0a=0 is then the only choice, and the equality reads 1=0+11=0+11=0+1.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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