Average Error: 11.5 → 12.1
Time: 54.2s
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 -1.1727151848895586 \cdot 10^{-117}:\\ \;\;\;\;(j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(z \cdot y - t \cdot a\right) \cdot x - \left(\left(\sqrt[3]{b} \cdot \sqrt[3]{b}\right) \cdot \left(c \cdot z - a \cdot i\right)\right) \cdot \sqrt[3]{b}\right))_*\\ \mathbf{elif}\;b \le 1.2515882254088035 \cdot 10^{-200}:\\ \;\;\;\;(j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(z \cdot y - t \cdot a\right) \cdot x\right))_*\\ \mathbf{else}:\\ \;\;\;\;(j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(z \cdot y - t \cdot a\right) \cdot x - \sqrt{b} \cdot \left(\left(c \cdot z - a \cdot i\right) \cdot \sqrt{b}\right)\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

Derivation

  1. Split input into 3 regimes
  2. if b < -1.1727151848895586e-117

    1. Initial program 8.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. Simplified8.3

      \[\leadsto \color{blue}{(j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(z \cdot y - t \cdot a\right) \cdot x - \left(z \cdot c - i \cdot a\right) \cdot b\right))_*}\]
    3. Using strategy rm
    4. Applied add-cube-cbrt8.7

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

      \[\leadsto (j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(z \cdot y - t \cdot a\right) \cdot x - \color{blue}{\left(\left(z \cdot c - i \cdot a\right) \cdot \left(\sqrt[3]{b} \cdot \sqrt[3]{b}\right)\right) \cdot \sqrt[3]{b}}\right))_*\]

    if -1.1727151848895586e-117 < b < 1.2515882254088035e-200

    1. Initial program 16.7

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

      \[\leadsto \color{blue}{(j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(z \cdot y - t \cdot a\right) \cdot x - \left(z \cdot c - i \cdot a\right) \cdot b\right))_*}\]
    3. Using strategy rm
    4. Applied add-cube-cbrt16.8

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

      \[\leadsto (j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(z \cdot y - t \cdot a\right) \cdot x - \color{blue}{\left(\left(z \cdot c - i \cdot a\right) \cdot \left(\sqrt[3]{b} \cdot \sqrt[3]{b}\right)\right) \cdot \sqrt[3]{b}}\right))_*\]
    6. Taylor expanded around 0 18.2

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

    if 1.2515882254088035e-200 < b

    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. Simplified9.9

      \[\leadsto \color{blue}{(j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(z \cdot y - t \cdot a\right) \cdot x - \left(z \cdot c - i \cdot a\right) \cdot b\right))_*}\]
    3. Using strategy rm
    4. Applied add-sqr-sqrt10.0

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \le -1.1727151848895586 \cdot 10^{-117}:\\ \;\;\;\;(j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(z \cdot y - t \cdot a\right) \cdot x - \left(\left(\sqrt[3]{b} \cdot \sqrt[3]{b}\right) \cdot \left(c \cdot z - a \cdot i\right)\right) \cdot \sqrt[3]{b}\right))_*\\ \mathbf{elif}\;b \le 1.2515882254088035 \cdot 10^{-200}:\\ \;\;\;\;(j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(z \cdot y - t \cdot a\right) \cdot x\right))_*\\ \mathbf{else}:\\ \;\;\;\;(j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(z \cdot y - t \cdot a\right) \cdot x - \sqrt{b} \cdot \left(\left(c \cdot z - a \cdot i\right) \cdot \sqrt{b}\right)\right))_*\\ \end{array}\]

Reproduce

herbie shell --seed 2019091 +o rules:numerics
(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)))))