Skip to content

Conversation

petros-marko
Copy link
Collaborator

Along with the function declaration, store a fake ast node that allows us to refer to the function name.

This feels very hacky but looking at the smtlib instructions that Haskell fixpoint emits, I think this is what it does too(?) The function declarations also get uncurried here, so if we ever rely on currying we need to come up with a better system.

Copy link
Collaborator

@cole-k cole-k left a comment

Choose a reason for hiding this comment

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

LGTM assuming that we also generate int sorts for functions in LH.

@petros-marko petros-marko merged commit a00a55f into main Sep 29, 2025
7 checks passed
@petros-marko petros-marko deleted the petros-marko/functions-hack branch September 29, 2025 16:23
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