Commit 2022-08-16 13:24 1d7f4798
View on Github →feat(data/set/basic): Add set.nontrivial
predicate and API (#15867)
Analogously to the existing set.subsingleton
, we add set.nontrivial
and the corresponding API.
This allows for dot notation to be used for set.nontrivial
(which is equivalent to ¬ set.subsingleton
).
We also make some small changes to set.subsingleton
, mostly style tweaks, a rename, and a missing lemma.