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

Remove VampIR target from compiler frontend #2841

Closed
janmasrovira opened this issue Jun 19, 2024 · 4 comments · Fixed by #3104
Closed

Remove VampIR target from compiler frontend #2841

janmasrovira opened this issue Jun 19, 2024 · 4 comments · Fixed by #3104
Assignees
Milestone

Comments

@janmasrovira
Copy link
Collaborator

It was communicated by @cwgoes that we should remove the current VampIR support from the codebase.

@lukaszcz
Copy link
Collaborator

We can remove the user-facing CLI commands, but we should not remove the VampIR compilation pipeline. I just realized this compilation method (after modifications) can be used to translate Juvix code to SMT constraints, enabling formal verification of program properties. We might want that in the future.

@lukaszcz
Copy link
Collaborator

enabling formal verification of program properties

Or rather automated bug-finding with SMT/constraint solvers: finding values of arguments for a pure Juvix function such that a given property (represented as a pure boolean Juvix function) is not satisfied.

@lukaszcz
Copy link
Collaborator

lukaszcz commented Jul 16, 2024

enabling formal verification of program properties

Or rather automated bug-finding with SMT/constraint solvers: finding values of arguments for a pure Juvix function such that a given property (represented as a pure boolean Juvix function) is not satisfied.

Or automated test-case generation by finding valuesx, y such that p(x, y) = true where p is a specification of f (p(x, y) = true iff f x = y)

In any case, I think we should keep the VampIR pipeline; we might still use it

@paulcadman
Copy link
Collaborator

We can remove the user-facing CLI commands, but we should not remove the VampIR compilation pipeline. I just realized this compilation method (after modifications) can be used to translate Juvix code to SMT constraints, enabling formal verification of program properties. We might want that in the future.

Understood, thanks.

@paulcadman paulcadman changed the title Remove code related to VampIR Remove VampIR target from compiler frontend Jul 16, 2024
@lukaszcz lukaszcz added this to the 0.6.7 milestone Oct 8, 2024
@lukaszcz lukaszcz self-assigned this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants