Skip to content

Commit af9ab55

Browse files
TanebMatthewDaggitt
authored andcommitted
Make sure RawRing defines rawRingWithoutOne (#1967)
1 parent f0e3dc4 commit af9ab55

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/Algebra/Bundles/Raw.agda

+9-5
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,18 @@ record RawRing c ℓ : Set (suc (c ⊔ ℓ)) where
213213
; *-rawMagma; *-rawMonoid
214214
)
215215

216-
+-rawGroup : RawGroup c ℓ
217-
+-rawGroup = record
216+
rawRingWithoutOne : RawRingWithoutOne c ℓ
217+
rawRingWithoutOne = record
218218
{ _≈_ = _≈_
219-
; _∙_ = _+_
220-
; ε = 0#
221-
; _⁻¹ = -_
219+
; _+_ = _+_
220+
; _*_ = _*_
221+
; -_ = -_
222+
; 0# = 0#
222223
}
223224

225+
open RawRingWithoutOne rawRingWithoutOne public
226+
using (+-rawGroup)
227+
224228
------------------------------------------------------------------------
225229
-- Raw bundles with 3 binary operations
226230
------------------------------------------------------------------------

0 commit comments

Comments
 (0)