Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: setup simp lemmas: 'msb -> getLsb -> decide ...' (#3436)
This is a follow up to 'leanprover-community/batteries#645', where the simp lemmas were requested: leanprover-community/batteries#645 (comment) --- Note that @semorrison asked to use `(Fin.last _)` to index. Now that we use a `Nat` to index `msb` , the pattern `(Fin.last _)` would not have the width be automatically inferred. Therefore, I've changed the definitions to use `Nat` for indexing. --------- Co-authored-by: Siddharth Bhat Mala <[email protected]> Co-authored-by: Scott Morrison <[email protected]>
- Loading branch information