Average Error: 11.8 → 12.0
Time: 47.3s
Precision: 64
Internal Precision: 128
\[\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}\;b \le -3.684135956526559 \cdot 10^{-229}:\\ \;\;\;\;\left(t \cdot c - y \cdot i\right) \cdot j + \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 \left(\sqrt[3]{y \cdot z - t \cdot a} \cdot \sqrt[3]{x}\right) - b \cdot \left(z \cdot c - i \cdot a\right)\right)\\ \mathbf{elif}\;b \le 7.885420545156577 \cdot 10^{-146}:\\ \;\;\;\;\left(t \cdot c - y \cdot i\right) \cdot j + \left(y \cdot z - t \cdot a\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y \cdot z - t \cdot a\right) \cdot x - \sqrt{b} \cdot \left(\sqrt{b} \cdot \left(z \cdot c - i \cdot a\right)\right)\right) + \left(t \cdot c - y \cdot i\right) \cdot j\\ \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

Derivation

  1. Split input into 3 regimes
  2. if b < -3.684135956526559e-229

    1. Initial program 10.6

      \[\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.8

      \[\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)\]
    4. Using strategy rm
    5. Applied cbrt-prod10.8

      \[\leadsto \left(\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 \color{blue}{\left(\sqrt[3]{x} \cdot \sqrt[3]{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. Taylor expanded around -inf 12.3

      \[\leadsto \left(\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 \left(\sqrt[3]{x} \cdot \sqrt[3]{y \cdot z - t \cdot a}\right) - \color{blue}{\left(z \cdot \left(b \cdot c\right) - a \cdot \left(i \cdot b\right)\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
    7. Simplified10.8

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

    if -3.684135956526559e-229 < b < 7.885420545156577e-146

    1. Initial program 17.5

      \[\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. Taylor expanded around 0 17.6

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

    if 7.885420545156577e-146 < b

    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-sqr-sqrt9.1

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

      \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{\sqrt{b} \cdot \left(\sqrt{b} \cdot \left(c \cdot z - i \cdot a\right)\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}\;b \le -3.684135956526559 \cdot 10^{-229}:\\ \;\;\;\;\left(t \cdot c - y \cdot i\right) \cdot j + \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 \left(\sqrt[3]{y \cdot z - t \cdot a} \cdot \sqrt[3]{x}\right) - b \cdot \left(z \cdot c - i \cdot a\right)\right)\\ \mathbf{elif}\;b \le 7.885420545156577 \cdot 10^{-146}:\\ \;\;\;\;\left(t \cdot c - y \cdot i\right) \cdot j + \left(y \cdot z - t \cdot a\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y \cdot z - t \cdot a\right) \cdot x - \sqrt{b} \cdot \left(\sqrt{b} \cdot \left(z \cdot c - i \cdot a\right)\right)\right) + \left(t \cdot c - y \cdot i\right) \cdot j\\ \end{array}\]

Reproduce

herbie shell --seed 2019089 
(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)))))