\[\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: 46.1 s
Input Error: 5.7
Output Error: 4.9
Log:
Profile: 🕒
\(\begin{cases} \left(\left(x \cdot \left(y \cdot z - t \cdot a\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) & \text{when } b \le -4.0834056f-22 \\ \left(\left(\left(y \cdot z - t \cdot a\right) \cdot x - \left(b \cdot z - t \cdot j\right) \cdot c\right) - \left(a \cdot b\right) \cdot \left(-i\right)\right) + j \cdot \left(-i \cdot y\right) & \text{when } b \le 1.7948867f-26 \\ \left(x \cdot \left(y \cdot z - t \cdot a\right) - {\left(b \cdot \left(c \cdot z - i \cdot a\right)\right)}^{1}\right) + j \cdot \left(c \cdot t - i \cdot y\right) & \text{otherwise} \end{cases}\)

    if b < -4.0834056f-22

    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)\]
      4.5
    2. Using strategy rm
      4.5
    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)\]
      4.5
    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)\]
      4.5
    5. Applied associate--r+ 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)} + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \color{blue}{\left(\left(x \cdot \left(y \cdot z - t \cdot a\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)\]
      4.5

    if -4.0834056f-22 < b < 1.7948867f-26

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

    if 1.7948867f-26 < 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.1
    2. Using strategy rm
      5.1
    3. Applied pow1 to get
      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{red}{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 \left(y \cdot z - t \cdot a\right) - \color{blue}{{\left(b \cdot \left(c \cdot z - i \cdot a\right)\right)}^{1}}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      5.1

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