Average Error: 25.8 → 25.8
Time: 5.3m
Precision: 64
Internal Precision: 576
\[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\]
\[\begin{array}{l} \mathbf{if}\;\left(\left(x \cdot y2 - y3 \cdot z\right) \cdot \left(y0 \cdot c - y1 \cdot a\right) - \left(\left(t \cdot y2 - y3 \cdot y\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\right)\right) + \left(\left(b \cdot a - c \cdot i\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(x \cdot j - k \cdot z\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) \le -6.926060522855229 \cdot 10^{+211}:\\ \;\;\;\;\left(\left(x \cdot y2 - y3 \cdot z\right) \cdot \left(y0 \cdot c - y1 \cdot a\right) - \left(\left(t \cdot y2 - y3 \cdot y\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\right)\right) + \left(\left(b \cdot a - c \cdot i\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(x \cdot j - k \cdot z\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\\ \mathbf{elif}\;\left(\left(x \cdot y2 - y3 \cdot z\right) \cdot \left(y0 \cdot c - y1 \cdot a\right) - \left(\left(t \cdot y2 - y3 \cdot y\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\right)\right) + \left(\left(b \cdot a - c \cdot i\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(x \cdot j - k \cdot z\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) \le 1.7927249933405161 \cdot 10^{+254}:\\ \;\;\;\;\left(\left(b \cdot a - c \cdot i\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(x \cdot j - k \cdot z\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(\left(\left(j \cdot t - y \cdot k\right) \cdot \left(y4 \cdot b - i \cdot y5\right) + \left(\left(y0 \cdot c - y1 \cdot a\right) \cdot \sqrt[3]{x \cdot y2 - y3 \cdot z}\right) \cdot \left(\sqrt[3]{x \cdot y2 - y3 \cdot z} \cdot \sqrt[3]{x \cdot y2 - y3 \cdot z}\right)\right) - \left(\left(t \cdot y2 - y3 \cdot y\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t - y \cdot k\right) \cdot \left(y4 \cdot b - i \cdot y5\right) - \left(\left(t \cdot y2 - y3 \cdot y\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\right)\right) + \left(\left(b \cdot a - c \cdot i\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(x \cdot j - k \cdot z\right) \cdot \left(y0 \cdot b - y1 \cdot i\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

Bits error versus k

Bits error versus y0

Bits error versus y1

Bits error versus y2

Bits error versus y3

Bits error versus y4

Bits error versus y5

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Split input into 3 regimes
  2. if (+ (- (+ 0 (* (- (* y2 x) (* z y3)) (- (* y0 c) (* y1 a)))) (- (* (- (* y4 c) (* y5 a)) (- (* y2 t) (* y y3))) (* (- (* k y2) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* z t))) (* (- (* j x) (* z k)) (- (* b y0) (* i y1))))) < -6.926060522855229e+211

    1. Initial program 33.3

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\]
    2. Initial simplification33.3

      \[\leadsto \left(\left(\left(j \cdot t - k \cdot y\right) \cdot \left(y4 \cdot b - y5 \cdot i\right) + \left(y2 \cdot x - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) - \left(\left(y4 \cdot c - y5 \cdot a\right) \cdot \left(y2 \cdot t - y \cdot y3\right) - \left(k \cdot y2 - y3 \cdot j\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)\right) + \left(\left(b \cdot a - i \cdot c\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(j \cdot x - z \cdot k\right) \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\]
    3. Taylor expanded around 0 33.2

      \[\leadsto \left(\left(\color{blue}{0} + \left(y2 \cdot x - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) - \left(\left(y4 \cdot c - y5 \cdot a\right) \cdot \left(y2 \cdot t - y \cdot y3\right) - \left(k \cdot y2 - y3 \cdot j\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)\right) + \left(\left(b \cdot a - i \cdot c\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(j \cdot x - z \cdot k\right) \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\]

    if -6.926060522855229e+211 < (+ (- (+ 0 (* (- (* y2 x) (* z y3)) (- (* y0 c) (* y1 a)))) (- (* (- (* y4 c) (* y5 a)) (- (* y2 t) (* y y3))) (* (- (* k y2) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* z t))) (* (- (* j x) (* z k)) (- (* b y0) (* i y1))))) < 1.7927249933405161e+254

    1. Initial program 4.8

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\]
    2. Initial simplification4.8

      \[\leadsto \left(\left(\left(j \cdot t - k \cdot y\right) \cdot \left(y4 \cdot b - y5 \cdot i\right) + \left(y2 \cdot x - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) - \left(\left(y4 \cdot c - y5 \cdot a\right) \cdot \left(y2 \cdot t - y \cdot y3\right) - \left(k \cdot y2 - y3 \cdot j\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)\right) + \left(\left(b \cdot a - i \cdot c\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(j \cdot x - z \cdot k\right) \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\]
    3. Using strategy rm
    4. Applied add-cube-cbrt4.9

      \[\leadsto \left(\left(\left(j \cdot t - k \cdot y\right) \cdot \left(y4 \cdot b - y5 \cdot i\right) + \color{blue}{\left(\left(\sqrt[3]{y2 \cdot x - z \cdot y3} \cdot \sqrt[3]{y2 \cdot x - z \cdot y3}\right) \cdot \sqrt[3]{y2 \cdot x - z \cdot y3}\right)} \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) - \left(\left(y4 \cdot c - y5 \cdot a\right) \cdot \left(y2 \cdot t - y \cdot y3\right) - \left(k \cdot y2 - y3 \cdot j\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)\right) + \left(\left(b \cdot a - i \cdot c\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(j \cdot x - z \cdot k\right) \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\]
    5. Applied associate-*l*4.9

      \[\leadsto \left(\left(\left(j \cdot t - k \cdot y\right) \cdot \left(y4 \cdot b - y5 \cdot i\right) + \color{blue}{\left(\sqrt[3]{y2 \cdot x - z \cdot y3} \cdot \sqrt[3]{y2 \cdot x - z \cdot y3}\right) \cdot \left(\sqrt[3]{y2 \cdot x - z \cdot y3} \cdot \left(y0 \cdot c - y1 \cdot a\right)\right)}\right) - \left(\left(y4 \cdot c - y5 \cdot a\right) \cdot \left(y2 \cdot t - y \cdot y3\right) - \left(k \cdot y2 - y3 \cdot j\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)\right) + \left(\left(b \cdot a - i \cdot c\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(j \cdot x - z \cdot k\right) \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\]

    if 1.7927249933405161e+254 < (+ (- (+ 0 (* (- (* y2 x) (* z y3)) (- (* y0 c) (* y1 a)))) (- (* (- (* y4 c) (* y5 a)) (- (* y2 t) (* y y3))) (* (- (* k y2) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* z t))) (* (- (* j x) (* z k)) (- (* b y0) (* i y1)))))

    1. Initial program 48.7

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\]
    2. Initial simplification48.7

      \[\leadsto \left(\left(\left(j \cdot t - k \cdot y\right) \cdot \left(y4 \cdot b - y5 \cdot i\right) + \left(y2 \cdot x - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) - \left(\left(y4 \cdot c - y5 \cdot a\right) \cdot \left(y2 \cdot t - y \cdot y3\right) - \left(k \cdot y2 - y3 \cdot j\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)\right) + \left(\left(b \cdot a - i \cdot c\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(j \cdot x - z \cdot k\right) \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\]
    3. Taylor expanded around 0 48.5

      \[\leadsto \left(\left(\left(j \cdot t - k \cdot y\right) \cdot \left(y4 \cdot b - y5 \cdot i\right) + \color{blue}{0}\right) - \left(\left(y4 \cdot c - y5 \cdot a\right) \cdot \left(y2 \cdot t - y \cdot y3\right) - \left(k \cdot y2 - y3 \cdot j\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)\right) + \left(\left(b \cdot a - i \cdot c\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(j \cdot x - z \cdot k\right) \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\]
  3. Recombined 3 regimes into one program.
  4. Final simplification25.8

    \[\leadsto \begin{array}{l} \mathbf{if}\;\left(\left(x \cdot y2 - y3 \cdot z\right) \cdot \left(y0 \cdot c - y1 \cdot a\right) - \left(\left(t \cdot y2 - y3 \cdot y\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\right)\right) + \left(\left(b \cdot a - c \cdot i\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(x \cdot j - k \cdot z\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) \le -6.926060522855229 \cdot 10^{+211}:\\ \;\;\;\;\left(\left(x \cdot y2 - y3 \cdot z\right) \cdot \left(y0 \cdot c - y1 \cdot a\right) - \left(\left(t \cdot y2 - y3 \cdot y\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\right)\right) + \left(\left(b \cdot a - c \cdot i\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(x \cdot j - k \cdot z\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\\ \mathbf{elif}\;\left(\left(x \cdot y2 - y3 \cdot z\right) \cdot \left(y0 \cdot c - y1 \cdot a\right) - \left(\left(t \cdot y2 - y3 \cdot y\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\right)\right) + \left(\left(b \cdot a - c \cdot i\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(x \cdot j - k \cdot z\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) \le 1.7927249933405161 \cdot 10^{+254}:\\ \;\;\;\;\left(\left(b \cdot a - c \cdot i\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(x \cdot j - k \cdot z\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(\left(\left(j \cdot t - y \cdot k\right) \cdot \left(y4 \cdot b - i \cdot y5\right) + \left(\left(y0 \cdot c - y1 \cdot a\right) \cdot \sqrt[3]{x \cdot y2 - y3 \cdot z}\right) \cdot \left(\sqrt[3]{x \cdot y2 - y3 \cdot z} \cdot \sqrt[3]{x \cdot y2 - y3 \cdot z}\right)\right) - \left(\left(t \cdot y2 - y3 \cdot y\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t - y \cdot k\right) \cdot \left(y4 \cdot b - i \cdot y5\right) - \left(\left(t \cdot y2 - y3 \cdot y\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\right)\right) + \left(\left(b \cdot a - c \cdot i\right) \cdot \left(y \cdot x - z \cdot t\right) - \left(x \cdot j - k \cdot z\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\\ \end{array}\]

Runtime

Time bar (total: 5.3m)Debug logProfile

herbie shell --seed 2018215 
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
  :name "Linear.Matrix:det44 from linear-1.19.1.3"
  (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i)))) (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a)))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))