Zulip Chat Archive

Stream: Is there code for X?

Topic: equiv from fin n coming from card = n


Kevin Buzzard (Mar 28 2023 at 12:20):

Do we have something like this? Asking for an UG.

import data.finset.card

example (S : Type) (v : finset S) (n : ) (hv : v.card = n) : fin n  v :=
sorry

Adam Topaz (Mar 28 2023 at 12:21):

docs#fintype.equiv_fin I think?

Adam Topaz (Mar 28 2023 at 12:21):

Plus some equiv for fins of the same size

Adam Topaz (Mar 28 2023 at 12:21):

Maybe docs#fin.congr ?

Kevin Buzzard (Mar 28 2023 at 12:21):

That should do it -- thanks!

Adam Topaz (Mar 28 2023 at 12:22):

That uses the wrong card, but there should be some equiv between fin m and fin n given m=n, I just don’t remember the name

Adam Topaz (Mar 28 2023 at 12:24):

oh it's docs#fin.cast

Adam Topaz (Mar 28 2023 at 12:25):

or docs#equiv.fin_congr


Last updated: Dec 20 2023 at 11:08 UTC