Skip to content

Add variable_name_mapping to print_model, print_failure_info #2560

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

Closed
wants to merge 8 commits into from

Conversation

palinatolmach
Copy link
Contributor

@palinatolmach palinatolmach commented Aug 6, 2024

Related to runtimeverification/kontrol#747.

This PR adds an additional (optional) parameter variable_name_mapping to print_model and print_failure_info functions. The mapping is a dictionary generated during kontrol build, which stores a mapping between the K representation (VV0_from_114b9705) and original (from) function input names.

This mapping is needed to translate variable names back from a K representation during model/counterexample generation.

@palinatolmach palinatolmach marked this pull request as draft August 29, 2024 11:57
@palinatolmach
Copy link
Contributor Author

Closing as stale. Will implement it in a new PR.

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