Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:
Nat.lt_pow_self
(leanprover#6200)
This PR upstreams `Nat.lt_pow_self` and `Nat.lt_two_pow` from Mathlib and uses them to prove the simp theorem `Nat.mod_two_pow`. This simplifies expressions like `System.Platform.numBits % 2 ^ System.Platform.numBits = System.Platform.numBits`, which is needed for leanprover#6188.
- Loading branch information