Skip to content

Commit 654a7a9

Browse files
jamesmckinnaandreasabel
authored andcommitted
fixes issue #1688 (#2254)
1 parent 98a6a8c commit 654a7a9

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ New modules
4646
Additions to existing modules
4747
-----------------------------
4848

49+
* Exporting more `Raw` substructures from `Algebra.Bundles.Ring`:
50+
```agda
51+
rawNearSemiring : RawNearSemiring _ _
52+
rawRingWithoutOne : RawRingWithoutOne _ _
53+
+-rawGroup : RawGroup _ _
54+
4955
* In `Algebra.Module.Bundles`, raw bundles are re-exported and the bundles expose their raw counterparts.
5056
5157
* In `Algebra.Module.Construct.DirectProduct`:

src/Algebra/Bundles.agda

+6
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,9 @@ record Ring c ℓ : Set (suc (c ⊔ ℓ)) where
961961
; semiringWithoutAnnihilatingZero
962962
)
963963

964+
open NearSemiring nearSemiring public
965+
using (rawNearSemiring)
966+
964967
open AbelianGroup +-abelianGroup public
965968
using () renaming (group to +-group; invertibleMagma to +-invertibleMagma; invertibleUnitalMagma to +-invertibleUnitalMagma)
966969

@@ -974,6 +977,9 @@ record Ring c ℓ : Set (suc (c ⊔ ℓ)) where
974977
; 1# = 1#
975978
}
976979

980+
open RawRing rawRing public
981+
using (rawRingWithoutOne; +-rawGroup)
982+
977983

978984
record CommutativeRing c ℓ : Set (suc (c ⊔ ℓ)) where
979985
infix 8 -_

0 commit comments

Comments
 (0)