Zulip Chat Archive

Stream: mathlib4

Topic: Range of an injection between finsets


Jeremy Tan (Sep 09 2024 at 08:32):

Let e : s ↪ t where s,t are finsets. Is there a cleaner computable way to write the range of e than (t.filter fun y ↦ ∃ x : s, (e x).1 = y)?

Yaël Dillies (Sep 09 2024 at 09:40):

s.attach.map e?

Edward van de Meent (Sep 09 2024 at 10:01):

is Finset.map not computable?

Edward van de Meent (Sep 09 2024 at 10:02):

ah nevermind, i see i didn't quite understand the question.


Last updated: May 02 2025 at 03:31 UTC