Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2022-11-11 04:41 cead9313

View on Github →

refactor(*): simplifying import hierarchy up to dat.rat.order (#17435) My apologies that this is essentially unreviewable. I promise not to have dropped anything. :-) I appreciate that big PRs are terrible, but if I can't get this stuff through CI in a timely manner I just can't work on this refactor. This PR introduces some technical debt: the lemmas in data.nat.basic / data.nat.order.basic / data.nat.order.lemmas / data.nat.lemmas (and similarly for data.int.*) are a total mess, organised mainly by trying to reduce import dependency for linear_ordered_field ℚ. We're going to have to go back and reorganise these later. Before: data rat order before After: data rat order after That's reduced the import depth for data.rat.order from 33 to 25. (For reference a week ago it had been at 59.)

Estimated changes

deleted theorem mul_eq_zero
deleted theorem mul_eq_zero_comm
deleted theorem mul_eq_zero_of_left
deleted theorem mul_eq_zero_of_right
deleted theorem mul_ne_zero_comm
deleted theorem mul_ne_zero_iff
deleted theorem mul_self_eq_zero
deleted theorem mul_self_ne_zero
deleted theorem ne_zero_of_eq_one
deleted theorem one_ne_zero
deleted theorem zero_eq_mul
deleted theorem zero_eq_mul_self
deleted theorem zero_ne_mul_self
deleted theorem zero_ne_one
added theorem mul_eq_zero
added theorem mul_eq_zero_comm
added theorem mul_eq_zero_of_left
added theorem mul_eq_zero_of_right
added theorem mul_ne_zero_comm
added theorem mul_ne_zero_iff
added theorem mul_self_eq_zero
added theorem mul_self_ne_zero
added theorem ne_zero_of_eq_one
added theorem one_ne_zero
added theorem pullback_nonzero
added theorem zero_eq_mul
added theorem zero_eq_mul_self
added theorem zero_ne_mul_self
added theorem zero_ne_one
deleted theorem nat.div_div_div_eq_div
deleted theorem nat.dvd_div_iff
deleted theorem nat.dvd_div_of_mul_dvd
deleted theorem nat.dvd_iff_div_mul_eq
deleted theorem nat.dvd_iff_dvd_dvd
deleted theorem nat.dvd_iff_le_div_mul
deleted theorem nat.dvd_left_iff_eq
deleted theorem nat.dvd_left_injective
deleted theorem nat.dvd_right_iff_eq
deleted theorem nat.dvd_sub'
deleted theorem nat.eq_zero_of_dvd_of_lt
deleted theorem nat.lt_one_iff
deleted theorem nat.mod_div_self
deleted theorem nat.succ_div
deleted theorem nat.succ_div_of_dvd
deleted theorem nat.succ_div_of_not_dvd
deleted theorem rel_hom_class.map_inf
deleted theorem rel_hom_class.map_sup
deleted theorem rel_iso.apply_inv_self
deleted theorem rel_iso.coe_mul
deleted theorem rel_iso.coe_one
deleted theorem rel_iso.inv_apply_self
deleted theorem rel_iso.mul_apply
deleted theorem rel_iso.range_eq
deleted def subrel
deleted theorem subrel_val