agda-gset/Algebra/GSet.agda

28 lines
1 KiB
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.

open import Algebra.Bundles
open import Level
open import Data.Product
open import Relation.Binary.PropositionalEquality
module Algebra.GSet {c : Level} where
open Group using () renaming (Carrier to _)
record G-Set (G : Group c ) : Set (suc (c )) where
open Group G using (ε; _∙_)
field
X : Set c
_⊳_ : G X X
field
ε⊳ : {x : X} ε x x
∘⊳ : {g h : G } {x : X} (g h) x (g (h x))
open G-Set using () renaming (X to _)
isEquivariant : {G : Group c } (X Y : G-Set G) (f : X Y ) Set c
isEquivariant {G} X Y f = {g : G } {x : X } f (g ⊳ˣ x) g ⊳ʸ (f x)
where
open G-Set X using () renaming (_⊳_ to _⊳ˣ_)
open G-Set Y using () renaming (_⊳_ to _⊳ʸ_)
record G-Set-Morphism (G : Group c ) (X Y : G-Set G) : Set (suc (c )) where
field
u : X Y -- u for underlying
isEqui : isEquivariant X Y u