Skip to content

Rework uninterpreted functions.#3219

Open
yav wants to merge 4 commits intomasterfrom
issue_3195
Open

Rework uninterpreted functions.#3219
yav wants to merge 4 commits intomasterfrom
issue_3195

Conversation

@yav
Copy link
Copy Markdown
Member

@yav yav commented May 4, 2026

Factors out uninterpreted code into a separate modules, and reworks the code to use the same code path for both the rount-trip and non-round-trip variants of the code.

This allows us to use the sharing uninterpreted functions implementation in both cases, which fixes #3195.

The code seems to have also fixed #3166, I think, because we don't have a special case for 0 arity functions.

Factors out uninterpreted code into a separate modules, and reworks the code to use the same code path for both the rount-trip and non-round-trip variants of the code.

This allows us to use the sharing uninterpreted functions implementation in both cases, which fixes #3195.

The code seems to have also fixed #3166, I think, because we don't have a special case for 0 arity functions.
Comment thread saw-core-what4/src/SAWCoreWhat4/Common.hs Outdated
Comment thread saw-core-what4/src/SAWCoreWhat4/ReturnTrip.hs Outdated
Comment thread saw-core-what4/src/SAWCoreWhat4/ReturnTrip.hs Outdated
Comment thread saw-core-what4/src/SAWCoreWhat4/ReturnTrip.hs Outdated
Comment thread saw-core-what4/src/SAWCoreWhat4/ReturnTrip.hs Outdated
Comment thread saw-core-what4/src/SAWCoreWhat4/Uninterp.hs Outdated
Comment thread saw-core-what4/src/SAWCoreWhat4/Uninterp.hs Outdated
Comment thread saw-core-what4/src/SAWCoreWhat4/Uninterp.hs Outdated
Comment thread saw-core-what4/src/SAWCoreWhat4/Uninterp.hs Outdated
Comment thread saw-core-what4/src/SAWCoreWhat4/Uninterp.hs Outdated
case arrT of

-- Special case for when reinterpreting uninterpreted functions.
-- Thechnically, this is just an optimization (i.e., we could
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
-- Thechnically, this is just an optimization (i.e., we could
-- Technically, this is just an optimization (i.e., we could

Another typo :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants