Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…r#4200) This PR extracts `msb_eq_false_iff_two_mul_lt` and `msb_eq_true_iff_two_mul_ge` from leanprover#4179, and uses them to prove a theorem that characterizes `BitVec.toInt` in terms of `BitVec.msb`. This lemma will be useful to prove a bit-blasting theorem for `BitVec.slt` and `BitVec.sle`. Also cleans up an existing proof (`toInt_eq_toNat_cond `), which turns out to be provable by `rfl`. --------- Co-authored-by: Kim Morrison <[email protected]>
- Loading branch information