Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2022-07-23 17:07 4050b906

View on Github →

refactor(data/set/countable): golf using _root_.countable, review API (#15624)

  • add set.countable_coe_iff, set.countable.to_subtype, set.to_countable, set.countable_univ, countable.to_set, set.countable.exists_surjective;
  • generalize some lemmas from [encodable] to [countable];
  • move section enumerate up to use it in countable_iff_exists_subset_range;
  • golf some proofs using facts about _root_.countable;
  • drop countable_encodable and countable_encodable', use set.to_countable instead.

Estimated changes

modified theorem set.countable_Union
added theorem set.countable_coe_iff
modified theorem set.countable_empty
deleted theorem set.countable_encodable'
deleted theorem set.countable_encodable
modified theorem set.countable_pi
modified theorem set.countable_range
added theorem set.countable_univ
added theorem set.countable_univ_pi
added theorem set.to_countable