Applied category theory at work: proarrow now comes with a well-typed einsum imp...
Sjoerd Visscher @sjoerd_visscher@types.pl
Applied category theory at work: proarrow now comes with a well-typed einsum implementation, optimized through open hypergraphs. The same spec runs in any hypergraph category (matrices, relations, string diagrams), and with a bit of tensor-network plumbing it keeps up with numpy. einsum @"kl,jkk,ijx,li->li" v u t w becomes: