Skip to content

[ fix ] in non-commutative settings distinguish _∣ˡ_ and _∣ʳ_ - #2604

Merged
gallais merged 10 commits into
agda:masterfrom
gallais:divisibility
Mar 7, 2025
Merged

gallais merged 10 commits into
agda:masterfrom
gallais:divisibility

Conversation

@gallais

@gallais gallais commented Feb 20, 2025

Copy link
Copy Markdown
Member

No description provided.

@JacquesCarette JacquesCarette left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@MatthewDaggitt MatthewDaggitt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise looks good!

@jamesmckinna

Copy link
Copy Markdown
Collaborator

Very nice!

@MatthewDaggitt MatthewDaggitt added this to the v2.3 milestone Mar 3, 2025
@MatthewDaggitt
MatthewDaggitt added this pull request to the merge queue Mar 3, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Mar 3, 2025
@gallais

gallais commented Mar 3, 2025 •

Copy link
Copy Markdown
Member Author

#2631 kicked up a conflict with this PR and the principled fix is ironically to stick with what I
have and thus reverse the refactoring?!

@jamesmckinna

Copy link
Copy Markdown
Collaborator

#2631 kicked up a conflict with this PR and the principled fix is ironically to stick with what I have and thus reverse the refactoring?!

I think I do not understand why this should be the 'principled' fix. One way to piggy-back on that PR is to propagate the trans refl optimisation to each of your new proofs, or have I really not understood what is going on here?

Separately (downstream, or expanding this PR?) we should perhaps consider/have already considered adding Algebra.Properties.CommutativeMonoid.Divisibility, and making that module (and CommutativeMagma/CommutativeSemigroup 'above' it) be the repository of properties of _∣_?

@gallais
gallais enabled auto-merge March 7, 2025 09:57
@gallais
gallais added this pull request to the merge queue Mar 7, 2025
Merged via the queue into agda:master with commit 5288e72 Mar 7, 2025
jamesmckinna added a commit to jamesmckinna/agda-stdlib that referenced this pull request Mar 17, 2025
)

* [ fix ] in non-commutative settings distinguish _∣ˡ_ and _∣ʳ_

* [ new ] Prefix & Suffix as Left & Right division

* [ fix ] my cockup

* [ new ] ∙-cong-∣

* [ cleanup ] in the commutative case we don't care about the direction

* [ refactor ] Moving propositional results in their own module

* [ fix ] forgot the OPTIONS

* [ cleanup ] According to agda#2631

---------

Co-authored-by: jamesmckinna <31931406+jamesmckinna@users.noreply.github.com>
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