Average Error: 11.7 → 11.6
Time: 1.3m
Precision: 64
Internal Precision: 384
\[\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}\;x \le -1.4659819313966282 \cdot 10^{-46}:\\ \;\;\;\;(j \cdot \left(c \cdot t - i \cdot y\right) + \left(\left(z \cdot y - a \cdot t\right) \cdot x - \left(\sqrt[3]{\left(z \cdot c - i \cdot a\right) \cdot b} \cdot \sqrt[3]{\left(z \cdot c - i \cdot a\right) \cdot b}\right) \cdot \left(\sqrt[3]{z \cdot c - i \cdot a} \cdot \sqrt[3]{b}\right)\right))_*\\ \mathbf{if}\;x \le 4.7247497622831104 \cdot 10^{-304}:\\ \;\;\;\;(j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(a \cdot i - c \cdot z\right) \cdot b - \left(a \cdot x\right) \cdot t\right))_*\\ \mathbf{if}\;x \le +\infty:\\ \;\;\;\;(j \cdot \left(c \cdot t - i \cdot y\right) + \left(\left(z \cdot y - a \cdot t\right) \cdot x - \left(\sqrt[3]{\left(z \cdot c - i \cdot a\right) \cdot b} \cdot \sqrt[3]{\left(z \cdot c - i \cdot a\right) \cdot b}\right) \cdot \left(\sqrt[3]{z \cdot c - i \cdot a} \cdot \sqrt[3]{b}\right)\right))_*\\ \mathbf{else}:\\ \;\;\;\;(j \cdot \left(c \cdot t - i \cdot y\right) + \left(\left(z \cdot y - a \cdot t\right) \cdot x - \left(\sqrt[3]{\left(z \cdot c - i \cdot a\right) \cdot b} \cdot \sqrt[3]{\left(z \cdot c - i \cdot a\right) \cdot b}\right) \cdot \left(\sqrt[3]{z \cdot c - i \cdot a} \cdot \sqrt[3]{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 2 regimes
  2. if x < -1.4659819313966282e-46 or 4.7247497622831104e-304 < x

    1. Initial program 10.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. Applied simplify10.0

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

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

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

    if -1.4659819313966282e-46 < x < 4.7247497622831104e-304

    1. Initial program 16.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. Applied simplify16.0

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

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

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

Runtime

Time bar (total: 1.3m)Debug logProfile

herbie shell --seed '#(1070131407 1246090267 3027482374 2150728003 2026520792 2347815650)' +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)))))