Skip to content

Commit dab0763

Browse files
committed
merge and proof refactoring
1 parent b0179f5 commit dab0763

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,9 @@ Deprecated names
159159
New modules
160160
-----------
161161

162-
<<<<<<< HEAD
163162
* `Algebra.Module.Properties.{Bimodule|LeftModule|RightModule}`.
164163

165164
* `Algebra.Morphism.Construct.DirectProduct`.
166-
=======
167-
* `Algebra.Properties.Monoid` adding consequences for identity for monoids
168-
>>>>>>> bbf664506 (update)
169165

170166
* `Data.List.Base.{and|or|any|all}` have been lifted out into `Data.Bool.ListAction`.
171167

src/Algebra/Properties/Monoid.agda

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ module _ (a≈ε : a ≈ ε) where
5151
module _ (inv : a ∙ c ≈ ε) where
5252

5353
cancelʳ : b (b ∙ a) ∙ c ≈ b
54-
cancelʳ b = trans (assoc b a c) (trans (∙-congˡ inv) (identityʳ b))
54+
cancelʳ b = trans (uv≈w⇒xu∙v≈xw inv b) (identityʳ b)
5555

5656
cancelˡ : b a ∙ (c ∙ b) ≈ b
57-
cancelˡ b = trans (sym (assoc a c b)) (trans (∙-congʳ inv) (identityˡ b))
57+
cancelˡ b = trans (uv≈w⇒u∙vx≈wx inv b) (identityˡ b)
5858

5959
insertˡ : b b ≈ a ∙ (c ∙ b)
6060
insertˡ = sym ∘ cancelˡ

0 commit comments

Comments
 (0)