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

spec_affirm can't see obvious equality #1060

Open
jonhnet opened this issue Apr 5, 2024 · 0 comments
Open

spec_affirm can't see obvious equality #1060

jonhnet opened this issue Apr 5, 2024 · 0 comments

Comments

@jonhnet
Copy link
Collaborator

jonhnet commented Apr 5, 2024

I'm chasing down a proof failure inside a spec fn, and got to this point:

let remaining_journal = self.journal.i().discard_old(in_flight_map.seq_end);
let _ = spec_affirm( remaining_journal == self.journal.i().discard_old(in_flight_map.seq_end) );

...and the spec_affirm on the second line fails. That shouldn't be. Recording attached.

2024-04-05-15-31-27.zip

(This issue is a bit block-y for me; I can stumble along working in proof fns, but right now I'm suspicious that my spec fn definition has a problem and I can't diagnose it.)

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

1 participant