Average Error: 11.7 → 11.1
Time: 1.6m
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 -7.012001019871531 \cdot 10^{-125}:\\ \;\;\;\;(\left(z \cdot y - a \cdot t\right) \cdot x + \left(j \cdot \left(c \cdot t - i \cdot y\right)\right))_* - \left(\sqrt[3]{z \cdot c - i \cdot a} \cdot \sqrt[3]{z \cdot c - i \cdot a}\right) \cdot \left(\sqrt[3]{z \cdot c - i \cdot a} \cdot b\right)\\ \mathbf{if}\;x \le 5.579040417004258 \cdot 10^{-106}:\\ \;\;\;\;\left(t \cdot c - i \cdot y\right) \cdot j - (b \cdot \left(c \cdot z - i \cdot a\right) + \left(\left(t \cdot x\right) \cdot a\right))_*\\ \mathbf{else}:\\ \;\;\;\;(\left(z \cdot y - a \cdot t\right) \cdot x + \left(j \cdot \left(c \cdot t - i \cdot y\right)\right))_* - \left(\sqrt[3]{z \cdot c - i \cdot a} \cdot \sqrt[3]{z \cdot c - i \cdot a}\right) \cdot \left(\sqrt[3]{z \cdot c - i \cdot a} \cdot b\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 < -7.012001019871531e-125 or 5.579040417004258e-106 < x

    1. Initial program 8.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. Applied simplify8.9

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

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

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

    if -7.012001019871531e-125 < x < 5.579040417004258e-106

    1. Initial program 16.2

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

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

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

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

Runtime

Time bar (total: 1.6m)Debug logProfile

herbie shell --seed '#(1070960995 739739648 2531964651 3069671617 351857262 3877178482)' +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)))))