\[\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: 5.3
Output Error: 4.1
Log:
Profile: 🕒
\(\begin{cases} \left(t \cdot c - i \cdot y\right) \cdot j + \left(\left(z \cdot y - a \cdot t\right) \cdot x - b \cdot \left(c \cdot z - a \cdot i\right)\right) & \text{when } b \le -2.9646195f-05 \\ \left(z \cdot y - a \cdot t\right) \cdot x - \left(\left(z \cdot b - t \cdot j\right) \cdot c - \left(\left(-y\right) \cdot \left(j \cdot i\right) + i \cdot \left(b \cdot a\right)\right)\right) & \text{when } b \le 3.9561528f+09 \\ \left(\left(-j\right) \cdot \left(i \cdot y\right) + \left(z \cdot y\right) \cdot x\right) - \left(\left(a \cdot x - c \cdot j\right) \cdot t + b \cdot \left(c \cdot z - a \cdot i\right)\right) & \text{otherwise} \end{cases}\)

    if b < -2.9646195f-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)\]
      3.4
    2. Using strategy rm
      3.4
    3. Applied add-cube-cbrt 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(\sqrt[3]{b \cdot \left(c \cdot z - i \cdot a\right)}\right)}^3}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      3.6
    4. Applied taylor to get
      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - {\left(\sqrt[3]{b \cdot \left(c \cdot z - i \cdot a\right)}\right)}^3\right) + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \left(\left(y \cdot \left(x \cdot z\right) - a \cdot \left(t \cdot x\right)\right) - {\left(\sqrt[3]{b \cdot \left(c \cdot z - i \cdot a\right)}\right)}^3\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      4.1
    5. Taylor expanded around inf to get
      \[\left(\color{red}{\left(y \cdot \left(x \cdot z\right) - a \cdot \left(t \cdot x\right)\right)} - {\left(\sqrt[3]{b \cdot \left(c \cdot z - i \cdot a\right)}\right)}^3\right) + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \left(\color{blue}{\left(y \cdot \left(x \cdot z\right) - a \cdot \left(t \cdot x\right)\right)} - {\left(\sqrt[3]{b \cdot \left(c \cdot z - i \cdot a\right)}\right)}^3\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
      4.1
    6. Applied simplify to get
      \[\left(\left(y \cdot \left(x \cdot z\right) - a \cdot \left(t \cdot x\right)\right) - {\left(\sqrt[3]{b \cdot \left(c \cdot z - i \cdot a\right)}\right)}^3\right) + j \cdot \left(c \cdot t - i \cdot y\right) \leadsto \left(\left(y \cdot \left(x \cdot z\right) - \left(t \cdot x\right) \cdot a\right) - b \cdot \left(c \cdot z - a \cdot i\right)\right) + \left(c \cdot t - i \cdot y\right) \cdot j\]
      3.8

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

    if -2.9646195f-05 < b < 3.9561528f+09

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

    11. Applied final simplification

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