Files
agdaproofs/Groups/Actions/Definition.agda
2020-01-05 15:06:35 +00:00

19 lines
860 B
Agda
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{-# OPTIONS --safe --warning=error --without-K #-}
open import Setoids.Setoids
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import Groups.Definition
module Groups.Actions.Definition where
record GroupAction {m n o p : _} {A : Set m} {S : Setoid {m} {o} A} {_·_ : A A A} {B : Set n} (G : Group S _·_) (X : Setoid {n} {p} B) : Set (m n o p) where
open Group G
open Setoid S renaming (__ to _G_)
open Setoid X renaming (__ to _X_)
field
action : A B B
actionWellDefined1 : {g h : A} {x : B} (g G h) action g x X action h x
actionWellDefined2 : {g : A} {x y : B} (x X y) action g x X action g y
identityAction : {x : B} action 0G x X x
associativeAction : {x : B} {g h : A} action (g · h) x X action g (action h x)