Skip to content

Conversation

jamesmckinna
Copy link
Contributor

@jamesmckinna jamesmckinna commented Dec 28, 2024

This is a do-over of #2426 , which I think should be regarded as having introduced a bug, which this PR fixes, as well as the original issue #1131 .

This also addresses the left/right issue discussed extensively on the original PR and in #2532 .

Fortunately the original PR was v2.2, so this is not breaking, indeed should be a 'silent' refactoring.

Outstanding issue: refactor further to make use of LeftCongruent and RightCongruent from Algebra.Definitions, which changes explicit quantification as now to implicit quantification... I'm inclined to do this, so feedback welcome!

@JacquesCarette
Copy link
Contributor

I don't want to go either way on this until we decide what left and right mean.

@jamesmckinna
Copy link
Contributor Author

I don't want to go either way on this until we decide what left and right mean.

As discussed also on #2532 there is an internally/locally coherent notion of left/right already present in the affected modules, which the previous PR violated (so: in that sense, a 'bug'), and this restores that internal/local coherence.

The 'global' questions of what coherent/consistent design does the library adopt will clearly break some modules in favour of maintaining the choices in others, but that seems a different question to the one at hand of restoring the 'local' choices here.

@JacquesCarette
Copy link
Contributor

I'm willing to allow it for #2532 . Local coherence is good.

Copy link
Contributor

@JacquesCarette JacquesCarette left a comment

Choose a reason for hiding this comment

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

Ok, restoring local coherence is sufficient reason to go ahead now.

@MatthewDaggitt MatthewDaggitt added this pull request to the merge queue Jan 2, 2025
Merged via the queue into agda:master with commit d481f5c Jan 2, 2025
2 checks passed
@jamesmckinna jamesmckinna deleted the issue2532 branch January 3, 2025 06:57
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.

3 participants