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

Variable renaming required to trigger a quantifier #964

Open
jonhnet opened this issue Jan 19, 2024 · 1 comment
Open

Variable renaming required to trigger a quantifier #964

jonhnet opened this issue Jan 19, 2024 · 1 comment

Comments

@jonhnet
Copy link
Collaborator

jonhnet commented Jan 19, 2024

This line

                self.length_marshalling.parsable_property(slice.i(data@));

ought to be equivalent (even at the triggering level) to this:

                let lm = self.length_marshalling;
                let ld = len_slice.i(data@);
                lm.parsable_property(ld);

...and yet in this example, the second invocation is required to complete the proof. I can imagine why adding terms might hit a rich trigger pattern I otherwise missed, but the renaming is reducing terms. Mysterious (and unfriendly).

2024-01-19-13-19-55.zip

@tjhance
Copy link
Collaborator

tjhance commented Jan 29, 2024

I don't believe the 2 snippets are equivalent. len_slice is not the same as slice.

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

No branches or pull requests

2 participants