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

Rework displayed category reasoning. #1153

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

jpoiret
Copy link
Contributor

@jpoiret jpoiret commented Sep 6, 2024

This small PR improves the reasoning system for displayed categories, both in terms of ergonomy and performance. Proofs that were previously costly in terms of memory and time are now near instantaneous, and the proof terms are much more focused and readable.

We don't have many displayed category equality proofs right now, and I think this was probably due to how hard they were to use.

@maxsnew maxsnew self-assigned this Sep 9, 2024
@maxsnew
Copy link
Collaborator

maxsnew commented Sep 10, 2024

This seems to have conflicts with the just merged #1149 can you resolve them?

This new technique is both more performant, more readable and reduces
boilerplate.
@maxsnew maxsnew merged commit 581748b into agda:master Sep 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants