Open bvssvni opened 4 years ago
One idea is to introduce a swap_sign(a, b)
function that returns the sign given that a
and b
are swapped.
Another problem is that when you take the exponential, multiplication turns into addition, so anti-commutativity on multiplication implies anti-commutativity on addition. This leads to unsoundness in quaternion algebra, because addition is commutative.
One idea is to lift quaternions into vectors and multiplication into quaternion multiplication.
One idea is to use type judgements on quaternions. Pattern matching for binding variables could fail by default on type judgement.
Quaternions are non-commutative, so some equivalences e.g.
(a * b) <=> (b * a)
are not sound.