We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
simp_ifs
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
While using Aeneas I ran into the following situation where I expected simp_ifs to close the goal, yet it did nothing.
theorem extracted_3 (r i : Std.Usize) (dst : Std.Slice Bool) (i1 : Std.Usize) (i1_post : (↑i1 : ℕ) = (↑i : ℕ) + (↑r : ℕ)) (h : i1 < dst.len) : (if h : i.val + r.val + dst.length - (i.val + r.val) ≤ Std.Usize.max then True else False) := by simp_ifs -- Does nothing. have: i.val + r.val + dst.length - (i.val + r.val) ≤ Std.Usize.max := by scalar_tac simp only [this, reduceDIte]
I'm still able to close the goal using simp with the explicit if condition discharged by scalar_tac.
simp
if
scalar_tac
Discussion on this issue has already happened privately on Zulip.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
While using Aeneas I ran into the following situation where I expected
simp_ifs
to close the goal, yet it did nothing.I'm still able to close the goal using
simp
with the explicitif
condition discharged byscalar_tac
.Discussion on this issue has already happened privately on Zulip.
The text was updated successfully, but these errors were encountered: