File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -112,3 +112,8 @@ Other minor additions
112
112
take-drop-id : take m v ++ drop m v ≡ v
113
113
zipWith-replicate : zipWith {n = n} _⊕_ (replicate x) (replicate y) ≡ replicate (x ⊕ y)
114
114
```
115
+
116
+ * Add new properties to ` Data.Integer.Properties ` :
117
+ ``` agda
118
+ +-*-commutativeSemiring : CommutativeSemiring 0ℓ 0ℓ
119
+ ```
Original file line number Diff line number Diff line change @@ -1292,6 +1292,11 @@ private
1292
1292
{ isSemiring = +-*-isSemiring
1293
1293
}
1294
1294
1295
+ +-*-commutativeSemiring : CommutativeSemiring 0ℓ 0ℓ
1296
+ +-*-commutativeSemiring = record
1297
+ { isCommutativeSemiring = +-*-isCommutativeSemiring
1298
+ }
1299
+
1295
1300
+-*-ring : Ring 0ℓ 0ℓ
1296
1301
+-*-ring = record
1297
1302
{ isRing = +-*-isRing
You can’t perform that action at this time.
0 commit comments