Documentation

CslibFrontier.Foundations.GroupTheory.Perm.ReverseCycle

Reversing one cycle of a permutation #

Equiv.Perm.reverseCycle σ x is the permutation that runs the cycle of σ through x backwards and agrees with σ everywhere else: it sends y to σ⁻¹ y when y is on the cycle of x and to σ y otherwise. It is σ * c⁻¹ * c⁻¹ for c = σ.cycleOf x, so it has the same sign as σ (Equiv.Perm.sign_reverseCycle). It has the same cycles as sets (Equiv.Perm.support_cycleOf_reverseCycle), reversing twice gives back σ (Equiv.Perm.reverseCycle_reverseCycle), and it differs from σ when the cycle has odd length (Equiv.Perm.reverseCycle_ne), since a cycle equals its reverse only when it has length 2.

This is the involution behind the standard cancellation of the permutations with an odd cycle in the Leibniz expansion of the determinant of a skew-symmetric matrix, the step in the proof of Tutte's determinant criterion for perfect matchings [Tut47]. The last result restates "all cycles have even length" through Equiv.Perm.cycleType (Equiv.Perm.forall_even_cycleType_iff).

Main definitions #

Main results #

References #

theorem Equiv.Perm.SameCycle.of_forall_sameCycle_apply {α : Type u_1} {σ ρ : Perm α} (h : ∀ (y : α), σ.SameCycle y (ρ y)) {y z : α} (hyz : ρ.SameCycle y z) :
σ.SameCycle y z

If ρ moves every point within its σ-cycle, then every ρ-cycle lies inside a σ-cycle.

def Equiv.Perm.reverseCycle {α : Type u_1} [Fintype α] [DecidableEq α] (σ : Perm α) (x : α) :
Perm α

Reverse the cycle of σ through x: the result sends y to σ⁻¹ y on that cycle and to σ y elsewhere (Equiv.Perm.reverseCycle_apply).

theorem Equiv.Perm.reverseCycle_apply {α : Type u_1} [Fintype α] [DecidableEq α] (σ : Perm α) (x y : α) :
(σ.reverseCycle x) y = if σ.SameCycle x y then σ⁻¹ y else σ y
theorem Equiv.Perm.sign_reverseCycle {α : Type u_1} [Fintype α] [DecidableEq α] (σ : Perm α) (x : α) :

Reversing a cycle preserves the sign.

theorem Equiv.Perm.sameCycle_reverseCycle_iff {α : Type u_1} [Fintype α] [DecidableEq α] {σ : Perm α} {x y z : α} :

Reversing a cycle preserves the relation of lying on a common cycle.

theorem Equiv.Perm.mem_support_reverseCycle {α : Type u_1} [Fintype α] [DecidableEq α] {σ : Perm α} {x y : α} :

Reversing a cycle preserves the support.

theorem Equiv.Perm.support_cycleOf_reverseCycle {α : Type u_1} [Fintype α] [DecidableEq α] (σ : Perm α) (x y : α) :

Reversing a cycle preserves every cycle as a set.

theorem Equiv.Perm.reverseCycle_reverseCycle {α : Type u_1} [Fintype α] [DecidableEq α] (σ : Perm α) (x : α) :

Reversing the same cycle twice gives back the permutation.

theorem Equiv.Perm.apply_ne_of_odd_card_support_cycleOf {α : Type u_1} [Fintype α] [DecidableEq α] {σ : Perm α} {x : α} (hx : Odd (σ.cycleOf x).support.card) :
σ x ≠ x

A point on a cycle of odd length is moved: fixed points have empty cycleOf support.

theorem Equiv.Perm.reverseCycle_ne {α : Type u_1} [Fintype α] [DecidableEq α] {σ : Perm α} {x : α} (hx : Odd (σ.cycleOf x).support.card) :

Reversing a cycle of odd length changes the permutation.

theorem Equiv.Perm.forall_even_cycleType_iff {α : Type u_1} [Fintype α] [DecidableEq α] {σ : Perm α} :
(∀ n ∈ σ.cycleType, Even n) ↔ ∀ (x : α), Even (σ.cycleOf x).support.card

All cycle lengths of σ are even exactly when the cycle of every point has a support of even size (fixed points have empty cycleOf support).