\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\]
↓
\[\begin{array}{l}
t_1 := t \cdot i - z \cdot c\\
t_2 := j \cdot \left(a \cdot c - y \cdot i\right)\\
t_3 := y \cdot z - t \cdot a\\
t_4 := \left(x \cdot t_3 + b \cdot t_1\right) + t_2\\
\mathbf{if}\;t_4 \leq -\infty:\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right) + \left(y \cdot \left(x \cdot z\right) - a \cdot \left(x \cdot t\right)\right)\\
\mathbf{elif}\;t_4 \leq 10^{+307}:\\
\;\;\;\;\mathsf{fma}\left(x, t_3, \mathsf{fma}\left(b, t_1, t_2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(z \cdot \left(x \cdot y\right) + \left(i \cdot \left(t \cdot b - y \cdot j\right) + c \cdot \left(a \cdot j\right)\right)\right) - c \cdot \left(z \cdot b\right)\\
\end{array}
\]
(FPCore (x y z t a b c i j)
:precision binary64
(+
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i))))
(* j (- (* c a) (* y i)))))
↓
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (- (* t i) (* z c)))
(t_2 (* j (- (* a c) (* y i))))
(t_3 (- (* y z) (* t a)))
(t_4 (+ (+ (* x t_3) (* b t_1)) t_2)))
(if (<= t_4 (- INFINITY))
(+ (* c (- (* a j) (* z b))) (- (* y (* x z)) (* a (* x t))))
(if (<= t_4 1e+307)
(fma x t_3 (fma b t_1 t_2))
(-
(+ (* z (* x y)) (+ (* i (- (* t b) (* y j))) (* c (* a j))))
(* c (* z b)))))))
if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i)))) < -inf.0
Initial program 100
\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\]
Simplified100
\[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t \cdot i - z \cdot c, j \cdot \left(a \cdot c - y \cdot i\right)\right)\right)}
\]
Proof
[Start]100
\[ \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\]
associate-+l- [=>]100
\[ \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)}
\]
fma-neg [=>]100
\[ \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, -\left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)}
\]
neg-sub0 [=>]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{0 - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)}\right)
\]
associate-+l- [<=]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\left(0 - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)}\right)
\]
neg-sub0 [<=]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\left(-b \cdot \left(c \cdot z - t \cdot i\right)\right)} + j \cdot \left(c \cdot a - y \cdot i\right)\right)
\]
distribute-rgt-neg-in [=>]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{b \cdot \left(-\left(c \cdot z - t \cdot i\right)\right)} + j \cdot \left(c \cdot a - y \cdot i\right)\right)
\]
fma-def [=>]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(b, -\left(c \cdot z - t \cdot i\right), j \cdot \left(c \cdot a - y \cdot i\right)\right)}\right)
\]
sub-neg [=>]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, -\color{blue}{\left(c \cdot z + \left(-t \cdot i\right)\right)}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
distribute-neg-in [=>]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{\left(-c \cdot z\right) + \left(-\left(-t \cdot i\right)\right)}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
+-commutative [=>]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{\left(-\left(-t \cdot i\right)\right) + \left(-c \cdot z\right)}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
remove-double-neg [=>]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{t \cdot i} + \left(-c \cdot z\right), j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
sub-neg [<=]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{t \cdot i - c \cdot z}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
*-commutative [=>]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t \cdot i - \color{blue}{z \cdot c}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
*-commutative [=>]100
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t \cdot i - z \cdot c, j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right)\right)
\]
Taylor expanded in i around 0 61.81
\[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right) + \left(\left(y \cdot z - a \cdot t\right) \cdot x + c \cdot \left(a \cdot j\right)\right)}
\]
Simplified61.81
\[\leadsto \color{blue}{c \cdot \left(a \cdot j - z \cdot b\right) + x \cdot \left(y \cdot z - a \cdot t\right)}
\]
Proof
[Start]61.81
\[ -1 \cdot \left(c \cdot \left(b \cdot z\right)\right) + \left(\left(y \cdot z - a \cdot t\right) \cdot x + c \cdot \left(a \cdot j\right)\right)
\]
\[ \color{blue}{\left(-1 \cdot \left(c \cdot \left(b \cdot z\right)\right) + c \cdot \left(a \cdot j\right)\right) + x \cdot \left(z \cdot y - t \cdot a\right)}
\]
+-commutative [<=]61.81
\[ \color{blue}{\left(c \cdot \left(a \cdot j\right) + -1 \cdot \left(c \cdot \left(b \cdot z\right)\right)\right)} + x \cdot \left(z \cdot y - t \cdot a\right)
\]
mul-1-neg [=>]61.81
\[ \left(c \cdot \left(a \cdot j\right) + \color{blue}{\left(-c \cdot \left(b \cdot z\right)\right)}\right) + x \cdot \left(z \cdot y - t \cdot a\right)
\]
unsub-neg [=>]61.81
\[ \color{blue}{\left(c \cdot \left(a \cdot j\right) - c \cdot \left(b \cdot z\right)\right)} + x \cdot \left(z \cdot y - t \cdot a\right)
\]
*-commutative [=>]61.81
\[ \left(c \cdot \left(a \cdot j\right) - \color{blue}{\left(b \cdot z\right) \cdot c}\right) + x \cdot \left(z \cdot y - t \cdot a\right)
\]
*-commutative [=>]61.81
\[ \left(c \cdot \left(a \cdot j\right) - \color{blue}{\left(z \cdot b\right)} \cdot c\right) + x \cdot \left(z \cdot y - t \cdot a\right)
\]
cancel-sign-sub-inv [=>]61.81
\[ \color{blue}{\left(c \cdot \left(a \cdot j\right) + \left(-z \cdot b\right) \cdot c\right)} + x \cdot \left(z \cdot y - t \cdot a\right)
\]
mul-1-neg [<=]61.81
\[ \left(c \cdot \left(a \cdot j\right) + \color{blue}{\left(-1 \cdot \left(z \cdot b\right)\right)} \cdot c\right) + x \cdot \left(z \cdot y - t \cdot a\right)
\]
*-commutative [=>]61.81
\[ \left(c \cdot \left(a \cdot j\right) + \color{blue}{c \cdot \left(-1 \cdot \left(z \cdot b\right)\right)}\right) + x \cdot \left(z \cdot y - t \cdot a\right)
\]
distribute-lft-in [<=]61.81
\[ \color{blue}{c \cdot \left(a \cdot j + -1 \cdot \left(z \cdot b\right)\right)} + x \cdot \left(z \cdot y - t \cdot a\right)
\]
Taylor expanded in y around 0 44.02
\[\leadsto c \cdot \left(a \cdot j - z \cdot b\right) + \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + y \cdot \left(z \cdot x\right)\right)}
\]
if -inf.0 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i)))) < 9.99999999999999986e306
Initial program 1.29
\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\]
Simplified1.29
\[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t \cdot i - z \cdot c, j \cdot \left(a \cdot c - y \cdot i\right)\right)\right)}
\]
Proof
[Start]1.29
\[ \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\]
associate-+l- [=>]1.29
\[ \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)}
\]
fma-neg [=>]1.29
\[ \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, -\left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)}
\]
neg-sub0 [=>]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{0 - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)}\right)
\]
associate-+l- [<=]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\left(0 - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)}\right)
\]
neg-sub0 [<=]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\left(-b \cdot \left(c \cdot z - t \cdot i\right)\right)} + j \cdot \left(c \cdot a - y \cdot i\right)\right)
\]
distribute-rgt-neg-in [=>]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{b \cdot \left(-\left(c \cdot z - t \cdot i\right)\right)} + j \cdot \left(c \cdot a - y \cdot i\right)\right)
\]
fma-def [=>]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(b, -\left(c \cdot z - t \cdot i\right), j \cdot \left(c \cdot a - y \cdot i\right)\right)}\right)
\]
sub-neg [=>]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, -\color{blue}{\left(c \cdot z + \left(-t \cdot i\right)\right)}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
distribute-neg-in [=>]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{\left(-c \cdot z\right) + \left(-\left(-t \cdot i\right)\right)}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
+-commutative [=>]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{\left(-\left(-t \cdot i\right)\right) + \left(-c \cdot z\right)}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
remove-double-neg [=>]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{t \cdot i} + \left(-c \cdot z\right), j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
sub-neg [<=]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{t \cdot i - c \cdot z}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
*-commutative [=>]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t \cdot i - \color{blue}{z \cdot c}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
*-commutative [=>]1.29
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t \cdot i - z \cdot c, j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right)\right)
\]
if 9.99999999999999986e306 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i))))
Initial program 98.23
\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\]
Simplified98.23
\[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t \cdot i - z \cdot c, j \cdot \left(a \cdot c - y \cdot i\right)\right)\right)}
\]
Proof
[Start]98.23
\[ \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\]
associate-+l- [=>]98.23
\[ \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)}
\]
fma-neg [=>]98.23
\[ \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, -\left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)}
\]
neg-sub0 [=>]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{0 - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)}\right)
\]
associate-+l- [<=]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\left(0 - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)}\right)
\]
neg-sub0 [<=]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\left(-b \cdot \left(c \cdot z - t \cdot i\right)\right)} + j \cdot \left(c \cdot a - y \cdot i\right)\right)
\]
distribute-rgt-neg-in [=>]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{b \cdot \left(-\left(c \cdot z - t \cdot i\right)\right)} + j \cdot \left(c \cdot a - y \cdot i\right)\right)
\]
fma-def [=>]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(b, -\left(c \cdot z - t \cdot i\right), j \cdot \left(c \cdot a - y \cdot i\right)\right)}\right)
\]
sub-neg [=>]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, -\color{blue}{\left(c \cdot z + \left(-t \cdot i\right)\right)}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
distribute-neg-in [=>]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{\left(-c \cdot z\right) + \left(-\left(-t \cdot i\right)\right)}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
+-commutative [=>]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{\left(-\left(-t \cdot i\right)\right) + \left(-c \cdot z\right)}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
remove-double-neg [=>]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{t \cdot i} + \left(-c \cdot z\right), j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
sub-neg [<=]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, \color{blue}{t \cdot i - c \cdot z}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
*-commutative [=>]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t \cdot i - \color{blue}{z \cdot c}, j \cdot \left(c \cdot a - y \cdot i\right)\right)\right)
\]
*-commutative [=>]98.23
\[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t \cdot i - z \cdot c, j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right)\right)
\]
Taylor expanded in i around 0 41.42
\[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right) + \left(\left(y \cdot z - a \cdot t\right) \cdot x + \left(i \cdot \left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right) + c \cdot \left(a \cdot j\right)\right)\right)}
\]
\[\leadsto \begin{array}{l}
\mathbf{if}\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right) \leq -\infty:\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right) + \left(y \cdot \left(x \cdot z\right) - a \cdot \left(x \cdot t\right)\right)\\
\mathbf{elif}\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right) \leq 10^{+307}:\\
\;\;\;\;\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t \cdot i - z \cdot c, j \cdot \left(a \cdot c - y \cdot i\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(z \cdot \left(x \cdot y\right) + \left(i \cdot \left(t \cdot b - y \cdot j\right) + c \cdot \left(a \cdot j\right)\right)\right) - c \cdot \left(z \cdot b\right)\\
\end{array}
\]
Alternatives
Alternative 1
Error
7.56%
Cost
5832
\[\begin{array}{l}
t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\
t_2 := j \cdot \left(a \cdot c - y \cdot i\right)\\
t_3 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + t_1\right) + t_2\\
\mathbf{if}\;t_3 \leq -\infty:\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right) + \left(y \cdot \left(x \cdot z\right) - a \cdot \left(x \cdot t\right)\right)\\
\mathbf{elif}\;t_3 \leq 10^{+307}:\\
\;\;\;\;\left(\left(x \cdot \left(y \cdot z\right) - x \cdot \left(t \cdot a\right)\right) + t_1\right) + t_2\\
\mathbf{else}:\\
\;\;\;\;\left(z \cdot \left(x \cdot y\right) + \left(i \cdot \left(t \cdot b - y \cdot j\right) + c \cdot \left(a \cdot j\right)\right)\right) - c \cdot \left(z \cdot b\right)\\
\end{array}
\]
Alternative 2
Error
9%
Cost
5705
\[\begin{array}{l}
t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;t_1 \leq -\infty \lor \neg \left(t_1 \leq 10^{+307}\right):\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right) + \left(y \cdot \left(x \cdot z\right) - a \cdot \left(x \cdot t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
Alternative 3
Error
7.56%
Cost
5704
\[\begin{array}{l}
t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;t_1 \leq -\infty:\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right) + \left(y \cdot \left(x \cdot z\right) - a \cdot \left(x \cdot t\right)\right)\\
\mathbf{elif}\;t_1 \leq 10^{+307}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;\left(z \cdot \left(x \cdot y\right) + \left(i \cdot \left(t \cdot b - y \cdot j\right) + c \cdot \left(a \cdot j\right)\right)\right) - c \cdot \left(z \cdot b\right)\\
\end{array}
\]
herbie shell --seed 2023088
(FPCore (x y z t a b c i j)
:name "Data.Colour.Matrix:determinant from colour-2.3.3, A"
:precision binary64
:herbie-target
(if (< x -1.469694296777705e-64) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2.0) (pow (* t i) 2.0))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))) (if (< x 3.2113527362226803e-147) (- (* (- (* b i) (* x a)) t) (- (* z (* c b)) (* j (- (* c a) (* y i))))) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2.0) (pow (* t i) 2.0))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i))))))
(+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))