Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2021-01-15 05:41 faf106a3

View on Github →

refactor(data/real/{e,}nnreal): reuse generic lemmas (#5751)

  • reuse div_eq_mul_inv and one_div from div_inv_monoid;
  • reuse lemmas about group_with_zero instead of repeating them in the nnreal namespace;
  • add has_sum.div_const.

Estimated changes

deleted theorem ennreal.div_def
modified theorem ennreal.div_top
deleted theorem ennreal.mul_div_assoc
modified theorem ennreal.top_div_coe
deleted theorem nnreal.div_def
deleted theorem nnreal.div_div_eq_div_mul
deleted theorem nnreal.div_div_eq_mul_div
deleted theorem nnreal.div_eq_div_iff
deleted theorem nnreal.div_eq_iff
deleted theorem nnreal.div_eq_mul_one_div
deleted theorem nnreal.div_mul_eq_mul_div
deleted theorem nnreal.div_one
modified theorem nnreal.div_pos
deleted theorem nnreal.div_pow
deleted theorem nnreal.div_self
deleted theorem nnreal.eq_div_iff
deleted theorem nnreal.inv_eq_one_div
deleted theorem nnreal.inv_eq_zero
deleted theorem nnreal.inv_inv
deleted theorem nnreal.inv_mul_cancel
deleted theorem nnreal.inv_one
deleted theorem nnreal.inv_zero
deleted theorem nnreal.mul_div_assoc'
deleted theorem nnreal.mul_div_cancel'
deleted theorem nnreal.mul_div_cancel
deleted theorem nnreal.mul_inv_cancel
deleted theorem nnreal.one_div
deleted theorem nnreal.one_div_div
deleted theorem nnreal.pow_eq_zero
deleted theorem nnreal.pow_ne_zero