/-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Yury Kudryashov
-/
module
public import Mathlib.Algebra.Group.Action.TypeTags
/-!
# Pretransitive group actions
This file defines a typeclass for pretransitive group actions.
## Notation
- `a • b` is used as notation for `SMul.smul a b`.
- `a +ᵥ b` is used as notation for `VAdd.vadd a b`.
## Implementation details
This file should avoid depending on other parts of `GroupTheory`, to avoid import cycles.
More sophisticated lemmas belong in `GroupTheory.GroupAction`.
## Tags
group action
-/
public section
assert_not_exists MonoidWithZero
open Function (Injective Surjective)
variable {M G α β : Type*}
/-!
### (Pre)transitive action
`M` acts pretransitively on `α` if for any `x y` there is `g` such that `g • x = y` (or `g +ᵥ x = y`
for an additive action). A transitive action should furthermore have `α` nonempty.
In this section we define typeclasses `MulAction.IsPretransitive` and
`AddAction.IsPretransitive` and provide `MulAction.exists_smul_eq`/`AddAction.exists_vadd_eq`,
`MulAction.surjective_smul`/`AddAction.surjective_vadd` as public interface to access this
property. We do not provide typeclasses `*Action.IsTransitive`; users should assume
`[MulAction.IsPretransitive M α] [Nonempty α]` instead.
-/
/-- `M` acts pretransitively on `α` if for any `x y` there is `g` such that `g +ᵥ x = y`.
A transitive action should furthermore have `α` nonempty. -/
class AddAction.IsPretransitive (M α : Type*) [VAdd M α] : Prop where
/-- There is `g` such that `g +ᵥ x = y`. -/
exists_vadd_eq : ∀ x y : α, ∃ g : M, g +ᵥ x = y
/-- `M` acts pretransitively on `α` if for any `x y` there is `g` such that `g • x = y`.
A transitive action should furthermore have `α` nonempty. -/
@[to_additive (attr := mk_iff)]
class MulAction.IsPretransitive (M α : Type*) [SMul M α] : Prop where
/-- There is `g` such that `g • x = y`. -/
exists_smul_eq : ∀ x y : α, ∃ g : M, g • x = y
@[to_additive]
instance MulAction.instIsPretransitiveOfSubsingleton
{M α : Type*} [Monoid M] [MulAction M α] [Subsingleton α] :
MulAction.IsPretransitive M α where
exists_smul_eq x y := ⟨1, by
simp only [one_smul, Subsingleton.elim x y] ⟩
namespace MulAction
variable (M) [SMul M α] [IsPretransitive M α]
@[to_additive]
lemma exists_smul_eq (x y : α) : ∃ m : M, m • x = y := IsPretransitive.exists_smul_eq x y
@[to_additive]
lemma surjective_smul (x : α) : Surjective fun c : M ↦ c • x := exists_smul_eq M x
/-- The left regular action of a group on itself is transitive. -/
@[to_additive /-- The regular action of a group on itself is transitive. -/]
instance Regular.isPretransitive [Group G] : IsPretransitive G G :=
⟨fun x y ↦ ⟨y * x⁻¹, inv_mul_cancel_right _ _⟩⟩
/-- The right regular action of a group on itself is transitive. -/
@[to_additive /-- The right regular action of an additive group on itself is transitive. -/]
instance Regular.isPretransitive_mulOpposite [Group G] : IsPretransitive Gᵐᵒᵖ G :=
⟨fun x y ↦ ⟨.op (x⁻¹ * y), mul_inv_cancel_left _ _⟩⟩
/-- If `G` is a group acting multiplicatively on a set, then the action is transitive if there is
a single element whose orbit is everything. -/
@[to_additive /-- If `G` is a group acting additively on a set, then the action is transitive if
there is a single element whose orbit is everything. -/]
lemma IsPretransitive.of_orbit {X : Type*} [Group G] [MulAction G X] {x₀ : X}
(ha : ∀ x, ∃ g : G, g • x₀ = x) :
IsPretransitive G X := by
constructor
intro x y
rcases ha x with ⟨g, rfl⟩
rcases ha y with ⟨h, rfl⟩
exact ⟨h * g⁻¹, by simp [mul_smul]⟩
end MulAction
namespace MulAction
@[to_additive]
lemma IsPretransitive.of_smul_eq {M N α : Type*} [SMul M α] [SMul N α] [IsPretransitive M α]
(f : M → N) (hf : ∀ {c : M} {x : α}, f c • x = c • x) : IsPretransitive N α where
exists_smul_eq x y := (exists_smul_eq x y).elim fun m h ↦ ⟨f m, hf.trans h⟩
end MulAction
section CompatibleScalar
@[to_additive]
lemma MulAction.IsPretransitive.of_isScalarTower (M : Type*) {N α : Type*} [Monoid N] [SMul M N]
[MulAction N α] [SMul M α] [IsScalarTower M N α] [IsPretransitive M α] : IsPretransitive N α :=
of_smul_eq (fun x : M ↦ x • 1) (smul_one_smul N _ _)
end CompatibleScalar
/-! ### `Additive`, `Multiplicative` -/
section
open Additive Multiplicative
instance Additive.addAction_isPretransitive [Monoid α] [MulAction α β]
[MulAction.IsPretransitive α β] : AddAction.IsPretransitive (Additive α) β :=
⟨@MulAction.exists_smul_eq α _ _ _⟩
instance Multiplicative.mulAction_isPretransitive [AddMonoid α] [AddAction α β]
[AddAction.IsPretransitive α β] : MulAction.IsPretransitive (Multiplicative α) β :=
⟨@AddAction.exists_vadd_eq α _ _ _⟩
end
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland