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

CayleyDickson: some cleanups, remove funext #1801

Conversation

Alizter
Copy link
Collaborator

@Alizter Alizter commented Jan 8, 2024

I've being playing around with the proofs in Cayley-Dickson and here are some speedups and cleanups.

Notably funext is removed by using the old intro-revert trick when eliminating multiple hyps of a HIT.

@Alizter Alizter requested a review from jdchristensen January 8, 2024 20:26
@jdchristensen
Copy link
Collaborator

Nice!

@Alizter Alizter force-pushed the ps/branch/cayleydickson__some_cleanups__remove_funext branch from b093650 to 5efe1b9 Compare January 8, 2024 21:56
@Alizter
Copy link
Collaborator Author

Alizter commented Jan 8, 2024

@jdchristensen I've used lhs a few times, but it didn't interact well in cd_op_right_identity due to the extreme blow up of term size causing coq to lag. The reason is because we are using rewrite in the operation. At some point we should try to do this cleanly as the rewrite terms are really bad for performance when unfolded.

@Alizter Alizter merged commit eb4de4b into HoTT:master Jan 9, 2024
23 checks passed
@Alizter Alizter deleted the ps/branch/cayleydickson__some_cleanups__remove_funext branch January 9, 2024 10:09
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