Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2017-10-24 22:31 dd9f766f

View on Github →

feat(data/num,data/nat/cast,...): nat,num,int,rat.cast, list stuff

Estimated changes

added theorem eq_inv_iff_mul_eq_one
modified theorem eq_inv_mul_iff_mul_eq
modified theorem eq_mul_inv_iff_mul_eq
modified theorem eq_sub_iff_add_eq
added theorem inv_eq_iff_mul_eq_one
modified theorem inv_mul_eq_iff_eq_mul
modified theorem mul_inv_eq_iff_eq_mul
deleted theorem exists_lt_of_nat
deleted theorem int_of_nat_eq_of_nat
deleted def of_nat
deleted theorem of_nat_add
deleted theorem of_nat_bit0
deleted theorem of_nat_bit1
deleted theorem of_nat_le_of_nat
deleted theorem of_nat_le_of_nat_iff
deleted theorem of_nat_mul
deleted theorem of_nat_one
deleted theorem of_nat_pos
deleted theorem of_nat_sub
deleted theorem rat_coe_eq_of_nat
deleted theorem rat_of_nat_eq_of_nat
deleted theorem zero_le_of_nat
added theorem coe_rat_eq_of_rat
added theorem exists_lt_nat
modified def lift_rat_fun
modified def lift_rat_op
added theorem int.cast_add
added theorem int.cast_bit0
added theorem int.cast_bit1
added theorem int.cast_coe_nat
added theorem int.cast_eq_zero
added theorem int.cast_id
added theorem int.cast_inj
added theorem int.cast_le
added theorem int.cast_lt
added theorem int.cast_lt_zero
added theorem int.cast_mul
added theorem int.cast_ne_zero
added theorem int.cast_neg
added theorem int.cast_neg_of_nat
added theorem int.cast_nonneg
added theorem int.cast_nonpos
added theorem int.cast_of_nat
added theorem int.cast_one
added theorem int.cast_pos
added theorem int.cast_sub
added theorem int.cast_sub_nat_nat
added theorem int.cast_zero
added theorem int.coe_nat_dvd
deleted theorem int.coe_nat_dvd_left
deleted theorem int.coe_nat_dvd_right
added theorem int.coe_nat_eq_zero
added theorem int.coe_nat_inj'
added theorem int.coe_nat_le
added theorem int.coe_nat_lt
added theorem int.coe_nat_ne_zero
added theorem int.coe_nat_pos
added theorem int.dvd_nat_abs
added theorem int.mul_cast_comm
added theorem int.nat_abs_dvd
added theorem list.diff_cons
added theorem list.diff_eq_foldl
added theorem list.diff_nil
added theorem list.erase_comm
added theorem nat.cast_add
added theorem nat.cast_add_one
added theorem nat.cast_bit0
added theorem nat.cast_bit1
added theorem nat.cast_eq_zero
added theorem nat.cast_id
added theorem nat.cast_inj
added theorem nat.cast_le
added theorem nat.cast_lt
added theorem nat.cast_mul
added theorem nat.cast_ne_zero
added theorem nat.cast_nonneg
added theorem nat.cast_one
added theorem nat.cast_pos
added theorem nat.cast_pred
added theorem nat.cast_sub
added theorem nat.cast_succ
added theorem nat.cast_zero
added theorem nat.mul_cast_comm
deleted def int.of_znum
deleted def int.znum_coe
deleted def nat.of_num
deleted def nat.of_pos_num
deleted def num.nat_num_coe
modified def nzsnum.drec'
modified def snum.drec'
added def znum.cmp
deleted theorem num.add_to_nat
added theorem num.cast_add
added theorem num.cast_cmp'
added theorem num.cast_cmp
added theorem num.cast_inj
added theorem num.cast_le
added theorem num.cast_lt
added theorem num.cast_mul
added theorem num.cast_one
added theorem num.cast_succ'
added theorem num.cast_succ
added theorem num.cast_zero
deleted theorem num.cmp_dec
added theorem num.cmp_eq
modified theorem num.lt_iff_cmp
deleted theorem num.mul_to_nat
deleted theorem num.one_to_nat
deleted theorem num.succ'_to_nat
deleted theorem num.succ_to_nat
deleted theorem num.zero_to_nat
deleted theorem pos_num.add_to_nat
added theorem pos_num.cast_add
added theorem pos_num.cast_add_comm
added theorem pos_num.cast_cmp'
added theorem pos_num.cast_cmp
added theorem pos_num.cast_inj
added theorem pos_num.cast_le
added theorem pos_num.cast_lt
added theorem pos_num.cast_mul
added theorem pos_num.cast_one
added theorem pos_num.cast_pos
added theorem pos_num.cast_succ
deleted theorem pos_num.cmp_dec
deleted theorem pos_num.cmp_dec_theorem
added theorem pos_num.cmp_eq
modified theorem pos_num.lt_iff_cmp
deleted theorem pos_num.mul_to_nat
added theorem pos_num.one_le_cast
deleted theorem pos_num.one_to_nat
deleted theorem pos_num.succ_to_nat
modified theorem pos_num.to_nat_inj
deleted theorem pos_num.to_nat_pos
added theorem znum.cast_one
added theorem znum.cast_zero
deleted theorem norm_num.bit0_le_one
deleted theorem norm_num.bit0_le_zero
deleted theorem norm_num.bit1_le_bit0
deleted theorem norm_num.bit1_le_one
deleted theorem norm_num.bit1_le_zero
deleted theorem norm_num.one_le_bit0
deleted theorem norm_num.one_le_bit1
deleted theorem norm_num.one_le_one
deleted theorem norm_num.pow_bit0
deleted theorem norm_num.pow_bit0_helper
deleted theorem norm_num.pow_bit1
deleted theorem norm_num.pow_bit1_helper
deleted theorem norm_num.pow_eq_pow_nat
deleted theorem norm_num.pow_one
deleted theorem norm_num.pow_zero
deleted theorem norm_num.zero_le_bit0
deleted theorem norm_num.zero_le_bit1
deleted theorem norm_num.zero_le_one
deleted theorem norm_num.zero_le_zero
deleted def num.add1
deleted def num.add_n
deleted theorem num.bit0_le_bit0
deleted theorem num.denote_add1
deleted def num.num_le
deleted theorem num.one_le_denote
deleted def num.pos_le
deleted theorem num.zero_le_denote
deleted def num.znum_le
added theorem option.bind_eq_some
added theorem option.bind_none
modified theorem option.bind_some
modified def option.filter
modified def option.guard
modified theorem option.guard_eq_some
modified def option.iget
added theorem option.map_eq_some
added theorem option.map_none
added theorem option.map_some
modified theorem option.mem_def
added theorem option.none_ne_some
modified theorem option.some_inj
deleted theorem linear_order_cases_on_eq
deleted theorem linear_order_cases_on_gt
deleted theorem linear_order_cases_on_lt
added theorem rat.cast_add
added theorem rat.cast_bit0
added theorem rat.cast_bit1
added theorem rat.cast_coe_int
added theorem rat.cast_coe_nat
added theorem rat.cast_eq_zero
added theorem rat.cast_id
added theorem rat.cast_inj
added theorem rat.cast_le
added theorem rat.cast_lt
added theorem rat.cast_lt_zero
added theorem rat.cast_mk
added theorem rat.cast_mk_of_ne_zero
added theorem rat.cast_mul
added theorem rat.cast_ne_zero
added theorem rat.cast_neg
added theorem rat.cast_nonneg
added theorem rat.cast_nonpos
added theorem rat.cast_of_int
added theorem rat.cast_one
added theorem rat.cast_pos
added theorem rat.cast_sub
added theorem rat.cast_zero
deleted theorem rat.coe_int_add
modified theorem rat.coe_int_eq_mk
added theorem rat.coe_int_eq_of_int
deleted theorem rat.coe_int_inj
deleted theorem rat.coe_int_le
deleted theorem rat.coe_int_lt
deleted theorem rat.coe_int_mul
deleted theorem rat.coe_int_neg
deleted theorem rat.coe_int_one
deleted theorem rat.coe_int_sub
deleted theorem rat.coe_nat_rat_eq_mk
added theorem rat.denom_dvd
added theorem rat.mk_eq_div
added theorem rat.mul_cast_comm
added theorem rat.num_dvd
added theorem rat.of_int_eq_mk