Skip to content

Commit 29b22d6

Browse files
committed
move importation
1 parent 3cbb91b commit 29b22d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Algebra/Properties/Monoid/Reasoning.agda

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ open import Algebra.Bundles using (Monoid)
1111

1212
module Algebra.Properties.Monoid.Reasoning {o ℓ} (M : Monoid o ℓ) where
1313

14+
open import Algebra.Structures using (IsMagma)
15+
1416
open Monoid M
1517
using (Carrier; _∙_; _≈_; setoid; isMagma; semigroup; ε; sym; identityˡ
1618
; identityʳ ; ∙-cong; refl; assoc; ∙-congˡ; ∙-congʳ; trans)
@@ -49,7 +51,7 @@ open IntroElim public
4951

5052
module Cancellers {a b c : Carrier} (inv : a ∙ c ≈ ε) where
5153

52-
cancelʳ : (b ∙ a) ∙ c ≈ b
54+
cancelʳ : (b ∙ a) ∙ c ≈ b
5355
cancelʳ = trans (assoc b a c) (trans (∙-congˡ inv) (identityʳ b))
5456

5557
cancelˡ : a ∙ (c ∙ b) ≈ b

0 commit comments

Comments
 (0)