Zulip Chat Archive

Stream: general

Topic: inter_eq_of_self_of_subset


Reid Barton (Dec 22 2018 at 05:26):

Should these lemmas from data.set.basic be simp lemmas? I was surprised when simp didn't solve these statements automatically.

theorem inter_eq_self_of_subset_left {s t : set α} (h : s  t) : s  t = s :=
by finish [subset_def, ext_iff, iff_def]

theorem inter_eq_self_of_subset_right {s t : set α} (h : t  s) : s  t = t :=
by finish [subset_def, ext_iff, iff_def]

Last updated: Dec 20 2023 at 11:08 UTC