\[\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: 31.5 s
Input Error: 5.6
Output Error: 5.6
Log:
Profile: 🕒
\(\left(j \cdot \left(c \cdot t - y \cdot i\right) + x \cdot \left(y \cdot z - a \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)\)
  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. Using strategy rm
    5.6
  3. Applied add-exp-log to get
    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \color{red}{j \cdot \left(c \cdot t - i \cdot y\right)} \leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \color{blue}{e^{\log \left(j \cdot \left(c \cdot t - i \cdot y\right)\right)}}\]
    17.7
  4. Applied taylor to get
    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + e^{\log \left(j \cdot \left(c \cdot t - i \cdot y\right)\right)} \leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + e^{\log \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}\]
    17.7
  5. Taylor expanded around inf to get
    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + e^{\log \color{red}{\left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}} \leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + e^{\log \color{blue}{\left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}}\]
    17.7
  6. Applied simplify to get
    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + e^{\log \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)} \leadsto \left(\left(j \cdot t\right) \cdot c - \left(i \cdot j\right) \cdot y\right) + \left(\left(y \cdot z - t \cdot a\right) \cdot x - b \cdot \left(c \cdot z - i \cdot a\right)\right)\]
    5.7

  7. Applied final simplification
  8. Applied simplify to get
    \[\color{red}{\left(\left(j \cdot t\right) \cdot c - \left(i \cdot j\right) \cdot y\right) + \left(\left(y \cdot z - t \cdot a\right) \cdot x - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \leadsto \color{blue}{\left(j \cdot \left(c \cdot t - y \cdot i\right) + x \cdot \left(y \cdot z - a \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)}\]
    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)))))