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

Implement and verify the naive translation of lazy/force to thunks #98

Merged
merged 5 commits into from
Jun 12, 2024

Conversation

mattam82
Copy link
Collaborator

@mattam82 mattam82 commented Jun 10, 2024

This is based on the latest metacoq, whose -unsafe-erasure includes a translation from cofixpoints to fix + lazy/force (yet unverified, as this requires a fair bit of knowledge about the productivity condition). So CertiCoq now supports cofixpoints when used with that pipeline. We do the lazy/force translation to lambdas/applications in the first translation phase and verify that it correctly simulates the reduction rules of lazy/force. We add a lazy factorial test in the benchmarks.

@mattam82 mattam82 merged commit f0e1554 into master Jun 12, 2024
1 check passed
@mattam82 mattam82 deleted the naive-cofix-translation branch June 12, 2024 11:56
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.

1 participant