\[\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: 28.7 s
Input Error: 11.8
Output Error: 8.5
Log:
Profile: 🕒
\(\begin{cases} \left(\left(\left(y \cdot x - b \cdot c\right) \cdot z + \left(x \cdot a\right) \cdot \left(-t\right)\right) - b \cdot \left(-i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) & \text{when } z \le -6.174920535553626 \cdot 10^{+53} \\ \left(\left(x \cdot \left(y \cdot z\right) + x \cdot \left(-t \cdot a\right)\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) & \text{when } z \le 2.825386653059976 \cdot 10^{-52} \\ \left(\left(\left(y \cdot x - b \cdot c\right) \cdot z + \left(x \cdot a\right) \cdot \left(-t\right)\right) - b \cdot \left(-i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) & \text{otherwise} \end{cases}\)

    if z < -6.174920535553626e+53 or 2.825386653059976e-52 < z

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

    if -6.174920535553626e+53 < z < 2.825386653059976e-52

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