\[\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: 34.7 s
Input Error: 11.6
Output Error: 9.1
Log:
Profile: 🕒
\(\begin{cases} x \cdot \left(y \cdot z\right) + \left(\left(\left(-a\right) \cdot \left(t \cdot x - i \cdot b\right) + \left(t \cdot c - i \cdot y\right) \cdot j\right) - b \cdot \left(c \cdot z\right)\right) & \text{when } a \le -5.515998170921551 \cdot 10^{-09} \\ \left(\left(y \cdot z - t \cdot a\right) \cdot x - \left(\left(b \cdot c\right) \cdot z + \left(a \cdot i\right) \cdot \left(-b\right)\right)\right) + \left(c \cdot t - y \cdot i\right) \cdot j & \text{when } a \le 5.1461142464501995 \cdot 10^{-05} \\ x \cdot \left(y \cdot z\right) + \left(\left(\left(-a\right) \cdot \left(t \cdot x - i \cdot b\right) + \left(t \cdot c - i \cdot y\right) \cdot j\right) - b \cdot \left(c \cdot z\right)\right) & \text{otherwise} \end{cases}\)

    if a < -5.515998170921551e-09 or 5.1461142464501995e-05 < a

    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)\]
      15.3
    2. Using strategy rm
      15.3
    3. Applied sub-neg to get
      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \color{red}{\left(c \cdot z - i \cdot a\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      15.3
    4. Applied distribute-lft-in to get
      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{red}{b \cdot \left(c \cdot z + \left(-i \cdot a\right)\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{\left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      15.3
    5. Using strategy rm
      15.3
    6. Applied sub-neg to get
      \[\left(x \cdot \color{red}{\left(y \cdot z - t \cdot a\right)} - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \left(x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      15.3
    7. Applied distribute-lft-in to get
      \[\left(\color{red}{x \cdot \left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \left(\color{blue}{\left(x \cdot \left(y \cdot z\right) + x \cdot \left(-t \cdot a\right)\right)} - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      15.3
    8. Applied associate--l+ to get
      \[\color{red}{\left(\left(x \cdot \left(y \cdot z\right) + x \cdot \left(-t \cdot a\right)\right) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \color{blue}{\left(x \cdot \left(y \cdot z\right) + \left(x \cdot \left(-t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right)\]
      15.3
    9. Applied associate-+l+ to get
      \[\color{red}{\left(x \cdot \left(y \cdot z\right) + \left(x \cdot \left(-t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)} \leadsto \color{blue}{x \cdot \left(y \cdot z\right) + \left(\left(x \cdot \left(-t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)}\]
      15.3
    10. Applied simplify to get
      \[x \cdot \left(y \cdot z\right) + \color{red}{\left(\left(x \cdot \left(-t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \leadsto x \cdot \left(y \cdot z\right) + \color{blue}{\left(\left(\left(-a\right) \cdot \left(t \cdot x - i \cdot b\right) + \left(t \cdot c - i \cdot y\right) \cdot j\right) - b \cdot \left(c \cdot z\right)\right)}\]
      8.1

    if -5.515998170921551e-09 < a < 5.1461142464501995e-05

    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)\]
      9.2
    2. Using strategy rm
      9.2
    3. Applied sub-neg to get
      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \color{red}{\left(c \cdot z - i \cdot a\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      9.2
    4. Applied distribute-lft-in to get
      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{red}{b \cdot \left(c \cdot z + \left(-i \cdot a\right)\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{\left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      9.1
    5. Applied taylor to get
      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right) + \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)\]
      9.3
    6. Taylor expanded around inf to get
      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right) + \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) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right) + \color{blue}{\left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}\]
      9.3
    7. Applied simplify to get
      \[\color{red}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(-i \cdot a\right)\right)\right) + \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)} \leadsto \color{blue}{\left(\left(y \cdot z - t \cdot a\right) \cdot x - \left(\left(b \cdot c\right) \cdot z + \left(a \cdot i\right) \cdot \left(-b\right)\right)\right) + \left(c \cdot t - y \cdot i\right) \cdot j}\]
      9.8

  1. 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)))))