Commit 2024-02-25 19:55 da1fa193
View on Github →chore: add instance from Nat.AtLeastTwo n
to NeZero n
(#10964)
This PR cleans up some lemmas where we're taking named instance parameters [h : Nat.AtLeastTwo n]
and manually proving inequalities like 0 < n
from h
by adding an instance of NeZero n
from Nat.AtLeastTwo n
as well as a couple of other helper lemmas.
This removes Nat.AtLeastTwo.ne_zero
, as NeZero.ne_zero
replaces it.