/-
Copyright (c) 2022 Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies
-/
module
public import Mathlib.Algebra.Group.Action.Faithful
public import Mathlib.Algebra.Order.Group.End
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Tautological action by relation automorphisms
-/
public section
assert_not_exists MonoidWithZero
namespace RelHom
variable {α : Type*} {r : α → α → Prop}
/-- The tautological action by `r →r r` on `α`. -/
instance applyMulAction : MulAction (r →r r) α where
smul := (⇑)
one_smul _ := rfl
mul_smul _ _ _ := rfl
@[simp] lemma smul_def (f : r →r r) (a : α) : f • a = f a := rfl
instance apply_faithfulSMul : FaithfulSMul (r →r r) α where eq_of_smul_eq_smul h := RelHom.ext h
end RelHom
namespace RelEmbedding
variable {α : Type*} {r : α → α → Prop}
/-- The tautological action by `r ↪r r` on `α`. -/
instance applyMulAction : MulAction (r ↪r r) α where
smul := (⇑)
one_smul _ := rfl
mul_smul _ _ _ := rfl
@[simp] lemma smul_def (f : r ↪r r) (a : α) : f • a = f a := rfl
instance apply_faithfulSMul : FaithfulSMul (r ↪r r) α where eq_of_smul_eq_smul h := ext h
end RelEmbedding
namespace RelIso
variable {α : Type*} {r : α → α → Prop}
/-- The tautological action by `r ≃r r` on `α`. -/
instance applyMulAction : MulAction (r ≃r r) α where
smul := (⇑)
one_smul _ := rfl
mul_smul _ _ _ := rfl
@[simp] lemma smul_def (f : r ≃r r) (a : α) : f • a = f a := rfl
instance apply_faithfulSMul : FaithfulSMul (r ≃r r) α where eq_of_smul_eq_smul h := RelIso.ext h
end RelIso
¤ Dauer der Verarbeitung: 0.2 Sekunden
¤
*© Formatika GbR, Deutschland