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

conditional elaboration of theories for cvc5 #734

Merged
merged 16 commits into from
Feb 25, 2025

Conversation

clayrat
Copy link
Contributor

@clayrat clayrat commented Jan 22, 2025

No description provided.

@@ -519,7 +530,7 @@ interpSymbols cfg =
$ FFunc (FVar 1)
(mapSort (FVar 0) (FVar 1))

bagCountSort = FAbs 0 $ FFunc (bagSort $ FVar 0) $ FFunc (FVar 0) intSort
bagCountSort = FAbs 0 $ FFunc (FVar 0) $ FFunc (bagSort $ FVar 0) intSort
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is likely to cause wreckage in LH. The arguments needed to be already flipped in 9172c8f for #724.

At this point, it seems we need to test this for both cvc5 and z3.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is a breaking change, I will update the corresponding assume/define in LH when I'm done with this PR. On the flip side, the Set_add is as of now unused in LH, I'll add it as well.

The reason these have to flipped is that we don't do any elaboration at all for CVC5, mapping LF theories onto it directly. The alternative is to introduce a micro-elaboration step for CVC5 just to flip the arguments for Bag_count.

@clayrat clayrat changed the title [WIP] conditional elaboration of theories for cvc5 conditional elaboration of theories for cvc5 Feb 6, 2025
@nikivazou nikivazou merged commit 569889e into ucsd-progsys:develop Feb 25, 2025
3 checks 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.

3 participants