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

[ refactor ] Algebra.Properties.Semiring.Divisibility and friends #2579

Merged
merged 3 commits into from
Feb 19, 2025

Conversation

jamesmckinna
Copy link
Contributor

@jamesmckinna jamesmckinna commented Feb 10, 2025

Cosmetic (non-breaking): : simplifies imports and some proofs. Lifted out from #2573

NB. Could go further (but then would be breaking):

  • define NonTrivial to mean 1# ≉ 0# (rather than 0# ≉ 1# as used currently), and refactor to use NonTrivial as hypothesis (Blast! clashes with Data.Nat.Base.NonTrivial with a different semantics...)
  • redefine mutual divisibility using Relation.Binary.Construct.Interior.Symmetric, and exploit the generic properties of such relations
  • ...

@jamesmckinna jamesmckinna added this to the v2.3 milestone Feb 10, 2025
@jamesmckinna jamesmckinna changed the title [ refactor ] [ refactor ] Algebra.Properties.Semiring.Divisibility and friends Feb 10, 2025
@jamesmckinna
Copy link
Contributor Author

jamesmckinna commented Feb 12, 2025

Suggest: merging this as-is, but lifting out the breaking changes alluded to above as a separate issue #2582 for downstream consideration? or should I fix the fixity bugs referred to there in this PR?

@MatthewDaggitt MatthewDaggitt added this pull request to the merge queue Feb 19, 2025
Merged via the queue into agda:master with commit 9897c20 Feb 19, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants