Commit 2020-10-06 12:41 99e308d3
View on Github →chore(parity): even and odd in semiring (#4473)
Replaces the ad-hoc nat.even
, nat.odd
, int.even
and int.odd
by definitions that make sense in semirings and get that odd
can be rintros
/rcases
'ed. This requires almost no change except that even
is not longer usable as a dot notation (which I see as a feature since I find even n
to be more readable than n.even
).