Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ Deprecated names
∣∣-trans ↦ ∥-trans
```

* In `Algebra.Structures`:
```agda
uniqueˡ-⁻¹ ↦ Algebra.Properties.Group.inverseˡ-unique
uniqueʳ-⁻¹ ↦ Algebra.Properties.Group.inverseʳ-unique
```

* In `Data.List.Base`:
```agda
and ↦ Data.Bool.ListAction.and
Expand Down
1 change: 0 additions & 1 deletion src/Algebra/Module/Bundles.agda
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ open import Algebra.Module.Definitions
open import Function.Base using (flip)
open import Level using (Level; _⊔_; suc)
open import Relation.Binary.Core using (Rel)
open import Relation.Nullary using (¬_)
import Relation.Binary.Reasoning.Setoid as ≈-Reasoning

private
Expand Down
13 changes: 9 additions & 4 deletions src/Algebra/Module/Structures.agda
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import Algebra.Definitions as Defs
open import Algebra.Module.Definitions
using (module LeftDefs; module RightDefs; module BiDefs;
module SimultaneousBiDefs)
import Algebra.Properties.AbelianGroup as AbelianGroupProperties
open import Algebra.Structures using (IsCommutativeMonoid; IsAbelianGroup)
open import Data.Product.Base using (_,_; proj₁; proj₂)
open import Level using (Level; _⊔_)
Expand Down Expand Up @@ -213,10 +214,12 @@ module _ (ring : Ring r ℓr)
( isGroup to +ᴹ-isGroup
; inverseˡ to -ᴹ‿inverseˡ
; inverseʳ to -ᴹ‿inverseʳ
; uniqueˡ-⁻¹ to uniqueˡ‿-ᴹ
; uniqueʳ-⁻¹ to uniqueʳ‿-ᴹ
)

open AbelianGroupProperties record { isAbelianGroup = +ᴹ-isAbelianGroup } public
using () renaming (inverseˡ-unique to uniqueˡ‿-ᴹ; inverseʳ-unique to uniqueʳ‿-ᴹ)


record IsRightModule (*ᵣ : Opᵣ R M) : Set (r ⊔ m ⊔ ℓr ⊔ ℓm) where
open Defs ≈ᴹ
field
Expand All @@ -241,10 +244,12 @@ module _ (ring : Ring r ℓr)
( isGroup to +ᴹ-isGroup
; inverseˡ to -ᴹ‿inverseˡ
; inverseʳ to -ᴹ‿inverseʳ
; uniqueˡ-⁻¹ to uniqueˡ‿-ᴹ
; uniqueʳ-⁻¹ to uniqueʳ‿-ᴹ
)

open AbelianGroupProperties record { isAbelianGroup = +ᴹ-isAbelianGroup } public
using () renaming (inverseˡ-unique to uniqueˡ‿-ᴹ; inverseʳ-unique to uniqueʳ‿-ᴹ)


module _ (R-ring : Ring r ℓr) (S-ring : Ring s ℓs)
(≈ᴹ : Rel {m} M ℓm) (+ᴹ : Op₂ M) (0ᴹ : M) (-ᴹ : Op₁ M)
where
Expand Down
1 change: 0 additions & 1 deletion src/Algebra/Morphism.agda
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ module Algebra.Morphism where

import Algebra.Morphism.Definitions as MorphismDefinitions
open import Algebra
import Algebra.Properties.Group as GroupP
open import Function.Base
open import Level
open import Relation.Binary.Core using (Rel; _Preserves_⟶_)
Expand Down
8 changes: 8 additions & 0 deletions src/Algebra/Structures.agda
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,18 @@ record IsGroup (_∙_ : Op₂ A) (ε : A) (_⁻¹ : Op₁ A) : Set (a ⊔ ℓ) w
uniqueˡ-⁻¹ : ∀ x y → (x ∙ y) ≈ ε → x ≈ (y ⁻¹)
uniqueˡ-⁻¹ = Consequences.assoc∧id∧invʳ⇒invˡ-unique
setoid ∙-cong assoc identity inverseʳ
{-# WARNING_ON_USAGE uniqueˡ-⁻¹
"Warning: uniqueˡ-⁻¹ was deprecated in v2.3.
Please use Algebra.Properties.Group.inverseˡ-unique instead. "
#-}

uniqueʳ-⁻¹ : ∀ x y → (x ∙ y) ≈ ε → y ≈ (x ⁻¹)
uniqueʳ-⁻¹ = Consequences.assoc∧id∧invˡ⇒invʳ-unique
setoid ∙-cong assoc identity inverseˡ
{-# WARNING_ON_USAGE uniqueʳ-⁻¹
"Warning: uniqueʳ-⁻¹ was deprecated in v2.3.
Please use Algebra.Properties.Group.inverseʳ-unique instead. "
#-}

isInvertibleMagma : IsInvertibleMagma _∙_ ε _⁻¹
isInvertibleMagma = record
Expand Down