Skip to content

Commit 98f778c

Browse files
committed
add mono
1 parent c89b4b8 commit 98f778c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Mathlib/Data/Set/Countable.lean

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,9 @@ theorem uncountable_univ_iff : (@univ α).Uncountable ↔ Uncountable α := by
354354
theorem uncountable_univ [h : Uncountable α] : (@univ α).Uncountable :=
355355
uncountable_univ_iff.2 h
356356

357+
protected lemma Uncountable.mono {s t : Set α} (h : s ⊆ t) : s.Uncountable → t.Uncountable :=
358+
mt (·.mono h)
359+
357360
theorem uncountable_of_countable_compl [Uncountable α] {s : Set α} (hs : sᶜ.Countable) :
358361
s.Uncountable := fun h =>
359362
Set.uncountable_univ (α := α) (by simpa using hs.union h)

0 commit comments

Comments
 (0)