leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: general

Topic: When to use `Finset` as opposed to `TreeSet` or `HashSet`?


Mai (Feb 11 2026 at 22:26):

Title, basically

Henrik Böving (Feb 11 2026 at 22:28):

If you are not planning to execute your code there is little point in using a Tree or Hash Set.

Eric Wieser (Feb 12 2026 at 00:08):

Finset is preferable when you want to talk about an arbitrary type that really has no comparison or hash operation


Last updated: Feb 28 2026 at 14:05 UTC

Theme Simple by wildflame © 2016 Powered by jekyll