Error for more or less standard variational formulation using two cross products

From the ufl documentation: Form language β€” Unified Form Language (UFL) 2019.2.0.dev0 documentation

The operator cross accepts as arguments two logically vector-valued expressions and returns a vector which is the cross product (vector product) of the two vectors:

πšŒπš›πš˜πšœπšœ(𝚟,𝚠)↔vΓ—w=(v1w2βˆ’v2w1,v2w0βˆ’v0w2,v0w1βˆ’v1w0)

Note that this operator is only defined for vectors of length three.