Average Error: 11.3 → 12.0
Time: 41.1s
Precision: 64
Internal Precision: 320
\[\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)\]
\[\begin{array}{l} \mathbf{if}\;j \le -1.266832138883621 \cdot 10^{-152}:\\ \;\;\;\;\left(\left(\sqrt[3]{\left(y \cdot z - t \cdot a\right) \cdot x} \cdot \sqrt[3]{\left(y \cdot z - t \cdot a\right) \cdot x}\right) \cdot \sqrt[3]{\left(y \cdot z - t \cdot a\right) \cdot x} - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;j \le 2.519232656812621 \cdot 10^{-194}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z\right) + \left(x \cdot t\right) \cdot \left(-a\right)\right) - b \cdot \left(c \cdot z - i \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y \cdot z - t \cdot a\right) \cdot x - \left(\sqrt[3]{\sqrt[3]{c \cdot z - i \cdot a}} \cdot \sqrt[3]{\sqrt[3]{c \cdot z - i \cdot a} \cdot \sqrt[3]{c \cdot z - i \cdot a}}\right) \cdot \left(\left(\sqrt[3]{c \cdot z - i \cdot a} \cdot \sqrt[3]{c \cdot z - i \cdot a}\right) \cdot b\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \end{array}\]

Error

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

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Split input into 3 regimes
  2. if j < -1.266832138883621e-152

    1. Initial program 9.0

      \[\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)\]
    2. Using strategy rm
    3. Applied add-cube-cbrt9.3

      \[\leadsto \left(\color{blue}{\left(\sqrt[3]{x \cdot \left(y \cdot z - t \cdot a\right)} \cdot \sqrt[3]{x \cdot \left(y \cdot z - t \cdot a\right)}\right) \cdot \sqrt[3]{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)\]

    if -1.266832138883621e-152 < j < 2.519232656812621e-194

    1. Initial program 16.3

      \[\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)\]
    2. Using strategy rm
    3. Applied sub-neg16.3

      \[\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)\]
    4. Applied distribute-lft-in16.3

      \[\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)\]
    5. Using strategy rm
    6. Applied distribute-lft-neg-in16.3

      \[\leadsto \left(\left(x \cdot \left(y \cdot z\right) + x \cdot \color{blue}{\left(\left(-t\right) \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)\]
    7. Applied associate-*r*16.8

      \[\leadsto \left(\left(x \cdot \left(y \cdot z\right) + \color{blue}{\left(x \cdot \left(-t\right)\right) \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. Taylor expanded around 0 17.8

      \[\leadsto \left(\left(x \cdot \left(y \cdot z\right) + \left(x \cdot \left(-t\right)\right) \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \color{blue}{0}\]

    if 2.519232656812621e-194 < j

    1. Initial program 9.9

      \[\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)\]
    2. Using strategy rm
    3. Applied add-cube-cbrt10.1

      \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \color{blue}{\left(\left(\sqrt[3]{c \cdot z - i \cdot a} \cdot \sqrt[3]{c \cdot z - i \cdot a}\right) \cdot \sqrt[3]{c \cdot z - i \cdot a}\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
    4. Applied associate-*r*10.1

      \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{\left(b \cdot \left(\sqrt[3]{c \cdot z - i \cdot a} \cdot \sqrt[3]{c \cdot z - i \cdot a}\right)\right) \cdot \sqrt[3]{c \cdot z - i \cdot a}}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
    5. Using strategy rm
    6. Applied add-cube-cbrt10.1

      \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\sqrt[3]{c \cdot z - i \cdot a} \cdot \sqrt[3]{c \cdot z - i \cdot a}\right)\right) \cdot \sqrt[3]{\color{blue}{\left(\sqrt[3]{c \cdot z - i \cdot a} \cdot \sqrt[3]{c \cdot z - i \cdot a}\right) \cdot \sqrt[3]{c \cdot z - i \cdot a}}}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
    7. Applied cbrt-prod10.2

      \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\sqrt[3]{c \cdot z - i \cdot a} \cdot \sqrt[3]{c \cdot z - i \cdot a}\right)\right) \cdot \color{blue}{\left(\sqrt[3]{\sqrt[3]{c \cdot z - i \cdot a} \cdot \sqrt[3]{c \cdot z - i \cdot a}} \cdot \sqrt[3]{\sqrt[3]{c \cdot z - i \cdot a}}\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
  3. Recombined 3 regimes into one program.
  4. Final simplification12.0

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \le -1.266832138883621 \cdot 10^{-152}:\\ \;\;\;\;\left(\left(\sqrt[3]{\left(y \cdot z - t \cdot a\right) \cdot x} \cdot \sqrt[3]{\left(y \cdot z - t \cdot a\right) \cdot x}\right) \cdot \sqrt[3]{\left(y \cdot z - t \cdot a\right) \cdot x} - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;j \le 2.519232656812621 \cdot 10^{-194}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z\right) + \left(x \cdot t\right) \cdot \left(-a\right)\right) - b \cdot \left(c \cdot z - i \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y \cdot z - t \cdot a\right) \cdot x - \left(\sqrt[3]{\sqrt[3]{c \cdot z - i \cdot a}} \cdot \sqrt[3]{\sqrt[3]{c \cdot z - i \cdot a} \cdot \sqrt[3]{c \cdot z - i \cdot a}}\right) \cdot \left(\left(\sqrt[3]{c \cdot z - i \cdot a} \cdot \sqrt[3]{c \cdot z - i \cdot a}\right) \cdot b\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \end{array}\]

Runtime

Time bar (total: 41.1s)Debug logProfile

herbie shell --seed 2018221 
(FPCore (x y z t a b c i j)
  :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)))))