AFTD Auto-Formalizing Theoretical Domains

op1525_finite_action_fiber_stabilizer_or_complement

theoremverified

If a finite group preserves a signature and each signature fiber has at most as many elements as the group, then any point whose complement has the same signature either has a nontrivial stabilizer or can be moved to its complement.

Statement

theorem op1525_finite_action_fiber_stabilizer_or_complement
    {G X Y : Type*} [Group G] [Fintype G] [Fintype X] [DecidableEq Y]
    [MulAction G X] (signature : X → Y) (complement : X → X)
    (hinv : ∀ (g : G) (x : X), signature (g • x) = signature x)
    (hcomp : ∀ x : X, signature (complement x) = signature x)
    (hsize : ∀ x : X, Fintype.card {y : X // signature y = signature x} ≤ Fintype.card G)
    (x : X) :
    (∃ g : G, g ≠ 1 ∧ g • x = x) ∨ (∃ g : G, g • x = complement x)
Source
Elementary orbit-fiber cardinality, used for the paired-transversal bottleneck in OP-1525.
Verified
17 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

The proof, explained

We argue by cases on whether the stabilizer of x is nontrivial. If some non-identity element fixes x, the first disjunct holds directly. Otherwise, the stabilizer of x is trivial, so the orbit map g ↦ g • x maps G injectively into the signature fiber of x. Since the fiber has cardinality at most |G|, this injective map between finite sets of equal size is a bijection; because complement x shares the same signature, it lies in the fiber and must be in the orbit of x, proving the second disjunct.

  1. Either the stabilizer of x contains a non-identity element, which proves the theorem, or we may assume the stabilizer contains no non-identity elements.

    We split into cases based on whether there exists g ∈ G with g ≠ 1 and g • x = x. In the affirmative case, the first branch of the disjunction holds immediately via Or.inl.

    lines 9–11

    uses Or.inl

      classical
      by_cases h : ∃ g : G, g ≠ 1 ∧ g • x = x
      · exact Or.inl h
  2. It suffices to show that some group element sends x to its complement, and under the remaining case, any group element fixing x must be the identity.

    Having ruled out a nontrivial stabilizer, we focus on the second disjunct. If an element g ∈ G satisfies g • x = x, it must equal 1, since otherwise (g, g ≠ 1) would contradict the assumption of the branch.

    lines 12–16

      · right
        have htriv : ∀ g : G, g • x = x → g = 1 := by
          intro g hg
          by_contra hne
          exact h ⟨g, hne, hg⟩
  3. Define the orbit map φ sending g ∈ G to g • x in the signature fiber of x.

    Because the G-action preserves the signature (hinv), g • x has the same signature as x for every g ∈ G, making φ a well-defined function into the fiber {y : X // signature y = signature x}.

    line 17

        let φ : G → {y : X // signature y = signature x} := fun g => ⟨g • x, hinv g x⟩
  4. The orbit map φ is injective.

    Suppose φ a = φ b, so a • x = b • x by extracting values with Subtype.val via congrArg. Multiplying by a⁻¹ on the left and applying the action law mul_smul gives (a⁻¹ * b) • x = x. Since the stabilizer of x is trivial, a⁻¹ * b = 1, which implies a = b by inv_mul_eq_one.mp.

    lines 18–25

    uses congrArg, Subtype.val, mul_smul, inv_mul_eq_one.mp

        have hinj : Function.Injective φ := by
          intro a b hab
          have heq : a • x = b • x := congrArg Subtype.val hab
          have hfix : (a⁻¹ * b) • x = x := by
            have hx := congrArg (fun z : X => a⁻¹ • z) heq
            simpa [mul_smul] using hx.symm
          have hab' := htriv (a⁻¹ * b) hfix
          exact inv_mul_eq_one.mp hab'
  5. The group G and the signature fiber of x have equal cardinality.

    The injectivity of φ implies |G| ≤ |{y : X // signature y = signature x}| via Fintype.card_le_of_injective. Combined with the hypothesis hsize that the fiber has size at most |G|, antisymmetry of ≤ (le_antisymm) establishes equality.

    lines 26–27

    uses le_antisymm, Fintype.card_le_of_injective

        have hcard : Fintype.card G = Fintype.card {y : X // signature y = signature x} :=
          le_antisymm (Fintype.card_le_of_injective φ hinj) (hsize x)
  6. The orbit map φ is surjective.

    For a map between finite types of the same cardinality, injectivity implies bijectivity by Fintype.bijective_iff_injective_and_card, so φ is surjective.

    lines 28–29

    uses Fintype.bijective_iff_injective_and_card

        have hsurj : Function.Surjective φ :=
          ((Fintype.bijective_iff_injective_and_card φ).2 ⟨hinj, hcard⟩).2
  7. There exists g ∈ G such that g • x = complement x.

    By hypothesis hcomp, complement x has the same signature as x and thus belongs to the signature fiber. By the surjectivity of φ, there exists g ∈ G mapping to it, yielding g • x = complement x after projecting with Subtype.val via congrArg.

    lines 30–31

    uses congrArg, Subtype.val

        obtain ⟨g, hg⟩ := hsurj ⟨complement x, hcomp x⟩
        exact ⟨g, congrArg Subtype.val hg⟩
Or.inl
From a proof of a, proves the disjunction a ∨ b.
congrArg
If a = b, then f a = f b for any function f.
Subtype.val
Projects an element of a subtype to the underlying type.
mul_smul
In a group or monoid action, (g * h) • x = g • (h • x).
inv_mul_eq_one.mp
In a group, a⁻¹ * b = 1 implies a = b.
le_antisymm
If a ≤ b and b ≤ a in a partial order, then a = b.
Fintype.card_le_of_injective
An injective map between finite types implies the domain has cardinality at most the codomain.
Fintype.bijective_iff_injective_and_card
A function between finite types of equal cardinality is bijective if and only if it is injective.

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

theorem op1525_finite_action_fiber_stabilizer_or_complement    {G X Y : Type*} [Group G] [Fintype G] [Fintype X] [DecidableEq Y]    [MulAction G X] (signature : X → Y) (complement : X → X)    (hinv : ∀ (g : G) (x : X), signature (g • x) = signature x)    (hcomp : ∀ x : X, signature (complement x) = signature x)    (hsize : ∀ x : X, Fintype.card {y : X // signature y = signature x} ≤ Fintype.card G)    (x : X) :    (∃ g : G, g ≠ 1 ∧ g • x = x) ∨ (∃ g : G, g • x = complement x) := by  classical  by_cases h : ∃ g : G, g ≠ 1 ∧ g • x = x  · exact Or.inl h  · right    have htriv : ∀ g : G, g • x = x → g = 1 := by      intro g hg      by_contra hne      exact h ⟨g, hne, hg⟩    let φ : G → {y : X // signature y = signature x} := fun g => ⟨g • x, hinv g x⟩    have hinj : Function.Injective φ := by      intro a b hab      have heq : a • x = b • x := congrArg Subtype.val hab      have hfix : (a⁻¹ * b) • x = x := by        have hx := congrArg (fun z : X => a⁻¹ • z) heq        simpa [mul_smul] using hx.symm      have hab' := htriv (a⁻¹ * b) hfix      exact inv_mul_eq_one.mp hab'    have hcard : Fintype.card G = Fintype.card {y : X // signature y = signature x} :=      le_antisymm (Fintype.card_le_of_injective φ hinj) (hsize x)    have hsurj : Function.Surjective φ :=      ((Fintype.bijective_iff_injective_and_card φ).2 ⟨hinj, hcard⟩).2    obtain ⟨g, hg⟩ := hsurj ⟨complement x, hcomp x⟩    exact ⟨g, congrArg Subtype.val hg⟩
See it in the graphDiscuss this resultChallenge it