\[\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: 1.1 m
Input Error: 12.1
Output Error: 12.1
Log:
Profile: 🕒
\(\begin{cases} \left(\left(y \cdot \left(z \cdot x\right) + \left(x \cdot a\right) \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - i \cdot a\right)\right) + \left(t \cdot c - y \cdot i\right) \cdot j & \text{when } a \le -6.98440695816069 \cdot 10^{+41} \\ \left(\left(z \cdot y - a \cdot t\right) \cdot x - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(t \cdot c - y \cdot i\right) \cdot j & \text{when } a \le -1.3007339030447009 \cdot 10^{-76} \\ \left(\left(z \cdot y - a \cdot t\right) \cdot x - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(t \cdot c - y \cdot i\right) \cdot j & \text{when } a \le -1.8985061614970748 \cdot 10^{-304} \\ \left(\left(z \cdot y - a \cdot t\right) \cdot x - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(t \cdot c - y \cdot i\right) \cdot j & \text{when } a \le 4.765727021694945 \cdot 10^{-226} \\ \left(\left(y \cdot \left(z \cdot x\right) + \left(x \cdot a\right) \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - i \cdot a\right)\right) + \left(t \cdot c - y \cdot i\right) \cdot j & \text{when } a \le 4.886437969511779 \cdot 10^{-122} \\ \left(\left(\left(j \cdot c\right) \cdot t + \left(-t\right) \cdot \left(a \cdot x\right)\right) - i \cdot \left(j \cdot y - a \cdot b\right)\right) + z \cdot \left(y \cdot x - b \cdot c\right) & \text{when } a \le 2.0854671531066334 \cdot 10^{+161} \\ \left(\left(y \cdot \left(z \cdot x\right) + \left(x \cdot a\right) \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - i \cdot a\right)\right) + \left(t \cdot c - y \cdot i\right) \cdot j & \text{otherwise} \end{cases}\)

    if a < -6.98440695816069e+41 or 4.765727021694945e-226 < a < 4.886437969511779e-122 or 2.0854671531066334e+161 < 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.7
    2. Using strategy rm
      15.7
    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)\]
      15.7
    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)\]
      15.7
    5. Applied taylor to get
      \[\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) \leadsto \left(\left(x \cdot \left(y \cdot z\right) + -1 \cdot \left(a \cdot \left(t \cdot x\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      13.8
    6. Taylor expanded around inf to get
      \[\left(\left(x \cdot \left(y \cdot z\right) + \color{red}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\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(\left(x \cdot \left(y \cdot z\right) + \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)}\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      13.8
    7. Applied simplify to get
      \[\color{red}{\left(\left(x \cdot \left(y \cdot z\right) + -1 \cdot \left(a \cdot \left(t \cdot x\right)\right)\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(\left(y \cdot \left(z \cdot x\right) + \left(x \cdot a\right) \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - i \cdot a\right)\right) + \left(t \cdot c - y \cdot i\right) \cdot j}\]
      16.3

    if -6.98440695816069e+41 < a < -1.3007339030447009e-76 or -1.8985061614970748e-304 < a < 4.765727021694945e-226

    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.9
    2. Using strategy rm
      9.9
    3. Applied add-sqr-sqrt 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(\sqrt{\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)}\right)}^2}\]
      35.8
    4. Applied taylor to get
      \[{\left(\sqrt{\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)}\right)}^2 \leadsto {\left(\sqrt{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}\right)}^2\]
      36.3
    5. Taylor expanded around inf to get
      \[{\left(\sqrt{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \color{red}{\left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}}\right)}^2 \leadsto {\left(\sqrt{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \color{blue}{\left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}}\right)}^2\]
      36.3
    6. Applied simplify to get
      \[{\left(\sqrt{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}\right)}^2 \leadsto \left(\left(y \cdot z - t \cdot a\right) \cdot x - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(\left(j \cdot t\right) \cdot c - i \cdot \left(y \cdot j\right)\right)\]
      9.3

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

    if -1.3007339030447009e-76 < a < -1.8985061614970748e-304

    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.8
    2. Using strategy rm
      9.8
    3. Applied add-sqr-sqrt 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(\sqrt{\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)}\right)}^2}\]
      36.7
    4. Applied taylor to get
      \[{\left(\sqrt{\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)}\right)}^2 \leadsto {\left(\sqrt{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}\right)}^2\]
      36.8
    5. Taylor expanded around inf to get
      \[{\left(\sqrt{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \color{red}{\left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}}\right)}^2 \leadsto {\left(\sqrt{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \color{blue}{\left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}}\right)}^2\]
      36.8
    6. Applied simplify to get
      \[{\left(\sqrt{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}\right)}^2 \leadsto \left(\left(y \cdot z - t \cdot a\right) \cdot x - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(\left(j \cdot t\right) \cdot c - i \cdot \left(y \cdot j\right)\right)\]
      9.5

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

    if 4.886437969511779e-122 < a < 2.0854671531066334e+161

    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)\]
      10.8
    2. Using strategy rm
      10.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)\]
      10.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)\]
      10.8
    5. Applied taylor to get
      \[\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) \leadsto \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) + \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)\]
      11.0
    6. Taylor expanded around inf to get
      \[\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) + \color{red}{\left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)} \leadsto \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) + \color{blue}{\left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}\]
      11.0
    7. Applied simplify to get
      \[\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 - i \cdot a\right)\right) + \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)} \leadsto \color{blue}{\left(\left(\left(y \cdot x\right) \cdot z + \left(x \cdot a\right) \cdot \left(-t\right)\right) - \left(z \cdot c - a \cdot i\right) \cdot b\right) + \left(c \cdot t - i \cdot y\right) \cdot j}\]
      11.2
    8. Applied taylor to get
      \[\left(\left(\left(y \cdot x\right) \cdot z + \left(x \cdot a\right) \cdot \left(-t\right)\right) - \left(z \cdot c - a \cdot i\right) \cdot b\right) + \left(c \cdot t - i \cdot y\right) \cdot j \leadsto \left(\left(\left(y \cdot x\right) \cdot z + \left(x \cdot a\right) \cdot \left(-t\right)\right) - \left(b \cdot \left(c \cdot z\right) - b \cdot \left(a \cdot i\right)\right)\right) + \left(c \cdot t - i \cdot y\right) \cdot j\]
      11.2
    9. Taylor expanded around inf to get
      \[\left(\left(\left(y \cdot x\right) \cdot z + \left(x \cdot a\right) \cdot \left(-t\right)\right) - \color{red}{\left(b \cdot \left(c \cdot z\right) - b \cdot \left(a \cdot i\right)\right)}\right) + \left(c \cdot t - i \cdot y\right) \cdot j \leadsto \left(\left(\left(y \cdot x\right) \cdot z + \left(x \cdot a\right) \cdot \left(-t\right)\right) - \color{blue}{\left(b \cdot \left(c \cdot z\right) - b \cdot \left(a \cdot i\right)\right)}\right) + \left(c \cdot t - i \cdot y\right) \cdot j\]
      11.2
    10. Applied simplify to get
      \[\color{red}{\left(\left(\left(y \cdot x\right) \cdot z + \left(x \cdot a\right) \cdot \left(-t\right)\right) - \left(b \cdot \left(c \cdot z\right) - b \cdot \left(a \cdot i\right)\right)\right) + \left(c \cdot t - i \cdot y\right) \cdot j} \leadsto \color{blue}{\left(\left(x \cdot y - b \cdot c\right) \cdot z + \left(i \cdot \left(a \cdot b\right) + \left(-a\right) \cdot \left(x \cdot t\right)\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)}\]
      10.5
    11. Applied taylor to get
      \[\left(\left(x \cdot y - b \cdot c\right) \cdot z + \left(i \cdot \left(a \cdot b\right) + \left(-a\right) \cdot \left(x \cdot t\right)\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \left(\left(x \cdot y - b \cdot c\right) \cdot z + \left(i \cdot \left(a \cdot b\right) + \left(-a\right) \cdot \left(x \cdot t\right)\right)\right) + \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)\]
      10.7
    12. Taylor expanded around inf to get
      \[\left(\left(x \cdot y - b \cdot c\right) \cdot z + \left(i \cdot \left(a \cdot b\right) + \left(-a\right) \cdot \left(x \cdot t\right)\right)\right) + \color{red}{\left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)} \leadsto \left(\left(x \cdot y - b \cdot c\right) \cdot z + \left(i \cdot \left(a \cdot b\right) + \left(-a\right) \cdot \left(x \cdot t\right)\right)\right) + \color{blue}{\left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right)}\]
      10.7
    13. Applied simplify to get
      \[\left(\left(x \cdot y - b \cdot c\right) \cdot z + \left(i \cdot \left(a \cdot b\right) + \left(-a\right) \cdot \left(x \cdot t\right)\right)\right) + \left(j \cdot \left(c \cdot t\right) - y \cdot \left(j \cdot i\right)\right) \leadsto \left(\left(\left(t \cdot c\right) \cdot j - \left(j \cdot i\right) \cdot y\right) + \left(b \cdot \left(i \cdot a\right) + \left(-a\right) \cdot \left(x \cdot t\right)\right)\right) + \left(y \cdot x - c \cdot b\right) \cdot z\]
      10.6

    14. Applied final simplification
    15. Applied simplify to get
      \[\color{red}{\left(\left(\left(t \cdot c\right) \cdot j - \left(j \cdot i\right) \cdot y\right) + \left(b \cdot \left(i \cdot a\right) + \left(-a\right) \cdot \left(x \cdot t\right)\right)\right) + \left(y \cdot x - c \cdot b\right) \cdot z} \leadsto \color{blue}{\left(\left(\left(j \cdot c\right) \cdot t + \left(-t\right) \cdot \left(a \cdot x\right)\right) - i \cdot \left(j \cdot y - a \cdot b\right)\right) + z \cdot \left(y \cdot x - b \cdot c\right)}\]
      9.9

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