\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
Test:
Linear.Matrix:det33 from linear-1.19.1.3
Bits:
128 bits
Bits error versus x
Bits error versus y
Bits error versus z
Bits error versus t
Bits error versus a
Bits error versus b
Bits error versus c
Bits error versus i
Bits error versus j
Time: 20.0 s
Input Error: 5.6
Output Error: 5.6
Log:
Profile: 🕒
\((\left(t \cdot c - y \cdot i\right) * j + \left(x \cdot \left(z \cdot y - a \cdot t\right)\right))_* - (a * \left(-i\right) + \left(c \cdot z\right))_* \cdot b\)
  1. Started with
    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
    5.6
  2. Applied simplify to get
    \[\color{red}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)} \leadsto \color{blue}{(\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - b \cdot \left(c \cdot z - i \cdot a\right)}\]
    5.6
  3. Using strategy rm
    5.6
  4. Applied sub-neg to get
    \[(\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - b \cdot \color{red}{\left(c \cdot z - i \cdot a\right)} \leadsto (\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - b \cdot \color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\]
    5.6
  5. Applied distribute-lft-in to get
    \[(\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - \color{red}{b \cdot \left(c \cdot z + \left(-i \cdot a\right)\right)} \leadsto (\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - \color{blue}{\left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)}\]
    5.6
  6. Applied taylor to get
    \[(\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right) \leadsto (\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - \left(b \cdot \left(c \cdot z\right) + -1 \cdot \left(b \cdot \left(a \cdot i\right)\right)\right)\]
    5.6
  7. Taylor expanded around inf to get
    \[(\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - \left(b \cdot \left(c \cdot z\right) + \color{red}{-1 \cdot \left(b \cdot \left(a \cdot i\right)\right)}\right) \leadsto (\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - \left(b \cdot \left(c \cdot z\right) + \color{blue}{-1 \cdot \left(b \cdot \left(a \cdot i\right)\right)}\right)\]
    5.6
  8. Applied simplify to get
    \[\color{red}{(\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - \left(b \cdot \left(c \cdot z\right) + -1 \cdot \left(b \cdot \left(a \cdot i\right)\right)\right)} \leadsto \color{blue}{(\left(t \cdot c - y \cdot i\right) * j + \left(x \cdot \left(z \cdot y - a \cdot t\right)\right))_* - (a * \left(-i\right) + \left(c \cdot z\right))_* \cdot b}\]
    5.6

  9. Removed slow pow expressions

Original test:


(lambda ((x default) (y default) (z default) (t default) (a default) (b default) (c default) (i default) (j default))
  #:name "Linear.Matrix:det33 from linear-1.19.1.3"
  (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))