mathlib
mathlib copied to clipboard
feat(data/int|nat/modeq): add modneq notation
I just have some formatting suggestions.
@eric-wieser I think a point in having
modneqas a reducible definition is that it gives a way to havemodneq-specific dot notation that falls back onnot. It's similar to whyneqexists.
Until we have such dot notation, I don't think there's any point introducing the name though.
@eric-wieser i removed the def as suggested. I think we need to keep the lemma but open to remove it if there are better alternatives to solve goals as:
example : 19 ≢ 6 [ZMOD 11] := by norm_num [modneq_iff]