Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2017-11-19 05:53 8067812e

View on Github →

feat(data/multiset): filter, count, distrib lattice

Estimated changes

deleted theorem list.count_cons_ge_count
modified theorem list.count_pos
deleted theorem list.count_pos_of_mem
added theorem list.countp_pos
deleted theorem list.countp_pos_of_mem
added theorem list.diff_append
modified theorem list.map_const
deleted theorem list.mem_of_count_pos
modified theorem multiset.card_add
added theorem multiset.card_repeat
added theorem multiset.card_sub
added theorem multiset.coe_count
added theorem multiset.coe_countp
added theorem multiset.coe_filter
added def multiset.count
added theorem multiset.count_add
added theorem multiset.count_eq_zero
added theorem multiset.count_inter
added theorem multiset.count_pos
added theorem multiset.count_repeat
added theorem multiset.count_sub
added theorem multiset.count_union
added theorem multiset.count_zero
added def multiset.countp
added theorem multiset.countp_add
added theorem multiset.countp_pos
added theorem multiset.countp_sub
added theorem multiset.countp_zero
deleted theorem multiset.empty_subset
added theorem multiset.eq_repeat'
added theorem multiset.eq_repeat
modified theorem multiset.eq_zero_of_le_zero
added theorem multiset.ext
added def multiset.filter
added theorem multiset.filter_add
added theorem multiset.filter_eq_nil
added theorem multiset.filter_inter
added theorem multiset.filter_le
added theorem multiset.filter_sub
modified theorem multiset.filter_subset
modified theorem multiset.filter_union
added theorem multiset.filter_zero
added theorem multiset.inf_eq_inter
added theorem multiset.le_filter
added theorem multiset.le_iff_count
added theorem multiset.map_const
modified theorem multiset.mem_filter
deleted theorem multiset.not_mem_empty
added theorem multiset.not_mem_zero
added theorem multiset.of_mem_filter
added def multiset.repeat
added theorem multiset.repeat_le_coe
modified theorem multiset.singleton_coe
added theorem multiset.sub_add'
added theorem multiset.sub_add_inter
added theorem multiset.sub_inter
deleted theorem multiset.subset_empty_iff
added theorem multiset.sup_eq_union
added theorem multiset.zero_subset
added theorem nat.pred_sub
added theorem nat.sub_add_eq_max
added theorem nat.sub_add_min
added theorem nat.sub_min