Mathlib v3 is deprecated. Go to Mathlib v4

Theorem equiv.perm.eq_swap_of_is_cycle_of_apply_apply_eq_self

Modification history