Commit 2024-03-26 23:09 5bc68d9f
View on Github →chore(Data/Nat): Use Std lemmas (#11661)
Move basic Nat lemmas from Data.Nat.Order.Basic and Data.Nat.Pow to Data.Nat.Defs. Most proofs need adapting, but that's easily solved by replacing the general mathlib lemmas by the new Std Nat-specific lemmas and using omega.
Other changes
- Move the last few lemmas left in
Data.Nat.PowtoAlgebra.GroupPower.Order - Move the deprecated aliases from
Data.Nat.PowtoAlgebra.GroupPower.Order - Move the
bit/bit0/bit1lemmas fromData.Nat.Order.BasictoData.Nat.Bits - Fix some fallout from not importing
Data.Nat.Order.Basicanymore - Add a few
Nat-specific lemmas to help fix the fallout (look fornolint simpNF) - Turn
Nat.mul_self_le_mul_self_iffandNat.mul_self_lt_mul_self_iffaround (they were misnamed) - Make more arguments to
Nat.one_lt_powimplicit