AFTD Auto-Formalizing Theoretical Domains

perm_sign_eq_one_of_odd_order

theoremverified

For any finite type α and any permutation σ of α, if the order of σ is odd, then the sign of σ is 1.

Statement

theorem perm_sign_eq_one_of_odd_order {α : Type*} [DecidableEq α] [Fintype α] (σ : Equiv.Perm α) (h : Odd (orderOf σ)) : Equiv.Perm.sign σ = 1
Source
arXiv:2611.29409 Lemma 3.1 proof
Verified
25 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Used by 1
  • perm_signed_lcm_two_sub_orderFor any finite type α and permutation σ of α, the signed difference (sgn(σ) : ℤ) * lcm(2, o(σ)) - (sgn(σ) : ℤ) * o(σ) equals o(σ) if o(σ)…

Read back from the Lean

For any finite type α with decidable equality and any permutation σ of α, if the order of σ (in the group of permutations Equiv.Perm α) is odd, then the sign of σ is equal to 1.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

Because the signature map is a group homomorphism, raising the sign of σ to the power of the order of σ equals the sign of the identity permutation, which is 1. Since the sign of a permutation is an integer unit, it can only be 1 or -1. If it were -1, raising it to the odd order of σ would yield -1 rather than 1, so the sign must be 1.

  1. (sign σ) ^ (orderOf σ) = 1

    Since the signature `Equiv.Perm.sign` is a group homomorphism to ℤˣ, it commutes with powers by `map_pow`. Raising σ to its order gives the identity permutation by `pow_orderOf_eq_one`, and the signature maps the identity to 1 by `map_one`.

    lines 3–4

    uses map_pow, pow_orderOf_eq_one, map_one

      have h1 : (Equiv.Perm.sign σ) ^ (orderOf σ) = 1 := by
        rw [← map_pow, pow_orderOf_eq_one, map_one]
  2. Either sign σ = 1 or sign σ = -1; the case sign σ = 1 immediately settles the theorem.

    Because the signature takes values in the units of ℤ, `Int.units_eq_one_or` splits the proof into two cases: sign σ = 1 or sign σ = -1. When sign σ = 1, the goal is already solved.

    lines 5–6

    uses Int.units_eq_one_or

      rcases Int.units_eq_one_or (Equiv.Perm.sign σ) with h2 | h2
      · exact h2
  3. The case sign σ = -1 is impossible.

    Substituting sign σ = -1 into the relation (sign σ) ^ (orderOf σ) = 1 yields (-1) ^ (orderOf σ) = 1. Since the order of σ is odd, `h.neg_one_pow` simplifies the left-hand side to -1, producing -1 = 1, an arithmetic contradiction that `norm_num` dispatches.

    lines 7–8

    uses h.neg_one_pow

      · rw [h2, h.neg_one_pow] at h1
        norm_num at h1
map_pow
A monoid homomorphism preserves powers: f (a ^ n) = (f a) ^ n.
pow_orderOf_eq_one
In any monoid, an element raised to the power of its order is 1.
map_one
A monoid homomorphism maps the identity element 1 to 1.
Int.units_eq_one_or
Every unit of the integers is either 1 or -1.
h.neg_one_pow
Raising -1 to an odd power yields -1.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- A permutation of odd order has sign 1. -/theorem perm_sign_eq_one_of_odd_order {α : Type*} [DecidableEq α] [Fintype α] (σ : Equiv.Perm α) (h : Odd (orderOf σ)) : Equiv.Perm.sign σ = 1 := by  have h1 : (Equiv.Perm.sign σ) ^ (orderOf σ) = 1 := by    rw [← map_pow, pow_orderOf_eq_one, map_one]  rcases Int.units_eq_one_or (Equiv.Perm.sign σ) with h2 | h2  · exact h2  · rw [h2, h.neg_one_pow] at h1    norm_num at h1
See it in the graphDiscuss this resultChallenge it