Zulip Chat Archive
Stream: general
Topic: Different but equivalent type in function input
Jamie Reason (Aug 16 2022 at 16:09):
Hey, I had a function input which requires a term of type matrix fin (n+1) fin (n+1) D
but it was failing because I only have a term of type matrix (fin 1 ⊕ fin n) (fin 1 ⊕ fin n) D
. fin_sum_fin_equiv
gives equivalence between fin 1 ⊕ fin n
and fin (n+1)
, but how do I use this?
Eric Wieser (Aug 16 2022 at 16:15):
Last updated: Dec 20 2023 at 11:08 UTC