Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2022-02-10 20:44 fb41da97

View on Github →

feat(algebra/module/basic): turn implications into iffs (#11937)

  • Turn the following implications into iff, rename them accordingly, and make the type arguments explicit (M has to be explicit when using it in rw, otherwise one will have unsolved type-class arguments)
eq_zero_of_two_nsmul_eq_zero -> two_nsmul_eq_zero
eq_zero_of_eq_neg -> self_eq_neg
ne_neg_of_ne_zero -> self_ne_neg
  • Also add two variants
  • Generalize ne_neg_iff_ne_zero to work in modules over a ring

Estimated changes

deleted theorem eq_zero_of_eq_neg
deleted theorem ne_neg_of_ne_zero
added theorem neg_eq_self
added theorem neg_ne_self
added theorem self_eq_neg
added theorem self_ne_neg
added theorem two_nsmul_eq_zero