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

chore: adaptations for nightly-2024-10-17 #60

Merged
merged 8 commits into from
Oct 18, 2024
Merged

Conversation

kim-em
Copy link
Collaborator

@kim-em kim-em commented Oct 18, 2024

(Note this is a PR for bump/v4.14.0, not master. We can review this now, and then we'll merge bump/v4.14.0 into master on release day.)

reduceEval := fun e => do
let e ← whnf e
if e.isAppOfArity ``BitVec.ofFin 2 then
have : 2^n - 1 + 1 = 2^n := Nat.sub_one_add_one_eq_of_pos (Nat.two_pow_pos n)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just created #61 which should make this unnecessary. Could you rebase and see if you can remove all the -1s?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah nevermind, I just did it.

@kim-em kim-em merged commit 0dc6370 into master Oct 18, 2024
3 checks passed
@eric-wieser
Copy link
Member

(Note this is a PR for bump/v4.14.0, not master. We can review this now, and then we'll merge bump/v4.14.0 into master on release day.)

I thought you said you weren't going to merge this into master?

@eric-wieser
Copy link
Member

I've force pushed master to roll this back, and pushed 0dc6370 to bump/v4.14.0, which is what I think you meant to do.

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