Commit 2022-12-14 16:48 4f850b67

View on Github →

feat: port Data.SetLike.Basic (#993) mathlib3 SHA: fc2ed6f838ce7c9b7c7171e58d78eaf7b438fb0e porting notes:

  1. on SetLike.exists and SetLike.forall, the statement had to be massaged from ∃ x ∈ p, q ⟨x, ‹_›⟩ to ∃ (x : B) (h : x ∈ p), q ⟨x, ‹_›⟩. Is this a bug? Answer: No, this is because ∃ x ∈ p is now sugar for ∃ x, x ∈ p ∧ ... instead of ∃ x, ∃ (h : x ∈ p), ...
  2. some lemmas were tagged with @[mono] but we don't have this attribute yet. I removed them but left porting notes with "TODO" to add them back.

Estimated changes

added theorem SetLike.coe_eq_coe
added theorem SetLike.coe_injective
added theorem SetLike.coe_mem
added theorem SetLike.coe_mono
added theorem SetLike.coe_set_eq
added theorem SetLike.coe_sort_coe
added theorem SetLike.coe_strictMono
added theorem SetLike.coe_subset_coe
added theorem SetLike.exists_of_lt
added theorem SetLike.ext'
added theorem SetLike.ext'_iff
added theorem SetLike.ext
added theorem SetLike.ext_iff
added theorem SetLike.le_def
added theorem SetLike.mem_coe