Commit 2026-11-18 11:02 4694f180
View on Github →feat: s ≠ ∅ simplifies to s.Nonempty for Set and Finset (#45636)
- New simp lemmas
Set.ne_empty_iff_nonemptyandFinset.ne_empty_iff_nonempty : s ≠ ∅ ↔ s.Nonempty, andSet.empty_ne_iff_nonemptyandFinset.empty_ne_iff_nonempty : ∅ ≠ s ↔ s.Nonempty. Set.nonempty_iff_ne_empty,Finset.nonempty_iff_ne_emptyandSet.nonempty_iff_empty_neare deprecated in favour of them.Set.Nonempty.ne_emptyandFinset.Nonempty.ne_emptyare now simp lemmas.Sym2.toFinset_ne_empty,Set.singleton_ne_empty,Set.empty_ne_singleton,Finset.singleton_ne_empty,Finset.empty_ne_singleton,Finset.cons_ne_emptyandFinset.insert_ne_emptyare deprecated in favour of their_nonemptyversions (Sym2.toFinset_nonemptyis new).- Proofs that relied on the old simp normal form are adapted to the new one.