Skip to content

Commit ebbac9b

Browse files
committed
solution to agda#1917
1 parent aff1a42 commit ebbac9b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/Algebra/Bundles.agda

+2-2
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ record SemiringWithoutOne c ℓ : Set (suc (c ⊔ ℓ)) where
504504

505505
open NearSemiring nearSemiring public
506506
using
507-
( _≉_; +-rawMagma; +-magma; +-unitalMagma; +-semigroup
507+
( +-rawMagma; +-magma; +-unitalMagma; +-semigroup
508508
; +-rawMonoid; +-monoid
509509
; *-rawMagma; *-magma; *-semigroup
510510
; rawNearSemiring
@@ -542,7 +542,7 @@ record CommutativeSemiringWithoutOne c ℓ : Set (suc (c ⊔ ℓ)) where
542542

543543
open SemiringWithoutOne semiringWithoutOne public
544544
using
545-
( _≉_; +-rawMagma; +-magma; +-unitalMagma; +-semigroup; +-commutativeSemigroup
545+
( +-rawMagma; +-magma; +-unitalMagma; +-semigroup; +-commutativeSemigroup
546546
; *-rawMagma; *-magma; *-semigroup
547547
; +-rawMonoid; +-monoid; +-commutativeMonoid
548548
; nearSemiring; rawNearSemiring

src/Algebra/Structures.agda

+3-1
Original file line numberDiff line numberDiff line change
@@ -358,14 +358,16 @@ record IsSemiringWithoutOne (+ * : Op₂ A) (0# : A) : Set (a ⊔ ℓ) where
358358
zero : Zero 0# *
359359

360360
open IsCommutativeMonoid +-isCommutativeMonoid public
361-
using (isEquivalence)
361+
using (setoid)
362362
renaming
363363
( comm to +-comm
364364
; isMonoid to +-isMonoid
365365
; isCommutativeMagma to +-isCommutativeMagma
366366
; isCommutativeSemigroup to +-isCommutativeSemigroup
367367
)
368368

369+
open Setoid setoid public
370+
369371
*-isMagma : IsMagma *
370372
*-isMagma = record
371373
{ isEquivalence = isEquivalence

0 commit comments

Comments
 (0)