Skip to content

Commit 172bdc8

Browse files
committed
refactor: use ε-central
1 parent 9f93f03 commit 172bdc8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Algebra/Construct/Centre/Monoid.agda

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ module Algebra.Construct.Centre.Monoid
1313
{c ℓ} (monoid : Monoid c ℓ)
1414
where
1515

16-
open import Algebra.Consequences.Setoid using (identity⇒central)
1716
open import Algebra.Morphism.Structures
1817
open import Algebra.Morphism.MonoidMonomorphism using (isMonoid)
1918
open import Function.Base using (id)
2019

20+
open import Algebra.Properties.Monoid monoid using (ε-central)
21+
2122
private
2223
module G = Monoid monoid
2324

@@ -35,7 +36,7 @@ open import Algebra.Construct.Centre.Semigroup G.semigroup as Z public
3536
ε : Center
3637
ε = record
3738
{ ι = G.ε
38-
; central = identity⇒central G.setoid {_∙_ = G._∙_} G.identity
39+
; central = ε-central
3940
}
4041

4142
domain : RawMonoid _ _

0 commit comments

Comments
 (0)