variant of All for Vec
typing for shapes
proof that well typed shapes preserve the type of well typed paths that point to them