lean4
lean4 copied to clipboard
feat: characterize BitVec.toInt in terms of BitVec.toNat
This characterizes toInt in terms of toNat.
This PR is stacked on https://github.com/leanprover/lean4/pull/3480 to write the theorems in a style that includes the width zero case.
Done, I've made the requested changes. The PR is still in draft mode as it is stacked on top of https://github.com/leanprover/lean4/pull/3480.
awaiting-review
Mathlib CI status (docs):
- ❗ Std/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase 72d233d181baa183a5288a3a52defd219015e952 --onto 5b15e1a9f3c0d1283df7f2e2f3f1b1dc59f92cf6. (2024-02-25 22:10:54)
Looks good. Please ping me once #3480 is in, and conflicts have been resolved here, and I will put this on the queue.
Superceded by https://github.com/leanprover/lean4/commit/23a202b6bec6348301c65a3260d52f561d3b55fb