Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lemmas about semiring structure induced by _× x #2272

Merged
merged 8 commits into from
Feb 5, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fixed name clash
jamesmckinna committed Feb 2, 2024
commit 98e8363141d138c43807dd2104ac078b6fe6481d
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@ Additions to existing modules

* In `Algebra.Properties.Semiring.Mult`:
```agda
×-homo-0 : ∀ x → 0 × x ≈ 0# * x
×-homo-0# : ∀ x → 0 × x ≈ 0# * x
```

* In `Data.Fin.Properties`:
4 changes: 2 additions & 2 deletions src/Algebra/Properties/Semiring/Mult.agda
Original file line number Diff line number Diff line change
@@ -36,8 +36,8 @@ open import Algebra.Properties.Monoid.Mult +-monoid public

-- (0 ×_) is (0# *_)

×-homo-0 : ∀ x → 0 × x ≈ 0# * x
×-homo-0 x = sym (zeroˡ x)
×-homo-0# : ∀ x → 0 × x ≈ 0# * x
×-homo-0# x = sym (zeroˡ x)

-- (n ×_) commutes with _*_