lean4
lean4 copied to clipboard
feat: add BitVec.ult/ule_ofNat
This supersedes https://github.com/leanprover/std4/pull/664, and adds lemmas that mirror ofNat_{add,sub}_ofNat for ult, ule.
Mathlib CI status (docs):
- ❗ Std/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase b6ed97bb3dad824d3c1fc82dbf290ef0505c42d0 --onto 6719af350fde9339354f28d091458df39a4af9d4. (2024-02-22 02:08:35)
awaiting-review
I don't think either of these should be simp rules. There is active work on integrating SAT solving into Lean, and in the ground case, I think it'd be useful to keep the Bitvec types around.
They're no longer simp lemmas.
awaiting-review